:root {
  --primary: #06283B;
  --accent: #F7B901;
  --surface: #ffffff;
  --muted: #6c7c87;
  --ink: #10283b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--primary);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(247, 185, 1, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(71, 160, 194, 0.22), transparent 50%),
    linear-gradient(160deg, #041824 0%, #06283B 42%, #0d3a52 100%);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 6vw, 72px);
  max-width: 720px;
  margin: 0 auto;
}

.brand {
  margin: 0 0 18px;
  font-family: Outfit, "Source Sans 3", sans-serif;
  font-size: clamp(42px, 10vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  animation: rise 0.7s ease both;
}

.headline {
  margin: 0 0 28px;
  max-width: 16ch;
  font-family: Outfit, "Source Sans 3", sans-serif;
  font-size: clamp(22px, 4.5vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
  animation: rise 0.7s ease 0.08s both;
}

.device {
  margin: 0 0 28px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(247, 185, 1, 0.14);
  border: 1px solid rgba(247, 185, 1, 0.35);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: rise 0.7s ease 0.16s both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  animation: rise 0.7s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 220px);
  padding: 16px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-family: Outfit, "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #1a1400;
  box-shadow: 0 12px 30px rgba(247, 185, 1, 0.35);
}

.btn-primary:hover {
  background: #ffc933;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn[hidden] {
  display: none !important;
}

.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

.hint {
  margin: 22px 0 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.55;
  animation: rise 0.7s ease 0.32s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }
}
