:root {
  --ink: #e8eef6;
  --muted: #8b9bb0;
  --deep: #070b12;
  --panel: #0e1520;
  --line: rgba(196, 165, 116, 0.22);
  --brass: #c4a574;
  --brass-bright: #e0c49a;
  --signal: #6ea8c9;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--deep);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(110, 168, 201, 0.18), transparent 55%),
    radial-gradient(700px 420px at 92% 8%, rgba(196, 165, 116, 0.14), transparent 50%),
    linear-gradient(165deg, #0a1018 0%, #070b12 48%, #0c121c 100%);
}

.grid-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(232, 238, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 238, 246, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 64px 32px, 64px 32px;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  background: var(--brass);
  color: #0a0e14 !important;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 0.35rem;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--brass-bright);
  color: #0a0e14 !important;
}

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(3.5rem, 12vh, 7rem) 1.5rem 3.5rem;
  min-height: calc(100vh - 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--signal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 16vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-shadow: 0 0 80px rgba(110, 168, 201, 0.15);
}

.lead {
  margin: 1.4rem 0 0;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.btn.primary {
  background: var(--brass);
  color: #0a0e14;
}

.btn.primary:hover {
  background: var(--brass-bright);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.secondary:hover {
  border-color: var(--brass);
  transform: translateY(-1px);
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  border-top: 1px solid var(--line);
}

.section-title {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.steps li {
  padding: 1.25rem 1.15rem;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.steps strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.steps span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-brand {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s ease forwards;
}

.reveal:nth-child(1) {
  animation-delay: 0.05s;
}
.reveal:nth-child(2) {
  animation-delay: 0.15s;
}
.reveal:nth-child(3) {
  animation-delay: 0.28s;
}
.reveal:nth-child(4) {
  animation-delay: 0.4s;
}

.steps .reveal:nth-child(1) {
  animation-delay: 0.1s;
}
.steps .reveal:nth-child(2) {
  animation-delay: 0.22s;
}
.steps .reveal:nth-child(3) {
  animation-delay: 0.34s;
}

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

@media (prefers-reduced-motion: reduce) {
  .grid-glow {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .btn {
    transition: none;
  }
}
