:root {
  --bg: #05060a;
  --ink: #f4f1ea;
  --muted: #a39e94;
  --line: rgba(244, 241, 234, 0.12);
  --signal: #e6ff3d;
  --signal-ink: #11130a;
  --panel: rgba(255, 255, 255, 0.035);
  --soft: #d8d3c8;
  --hot: #ff5a36;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Outfit, system-ui, sans-serif;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(230, 255, 61, 0.14), transparent 55%),
    radial-gradient(640px 420px at 0% 20%, rgba(255, 90, 54, 0.1), transparent 50%),
    var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  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: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 18%, transparent 72%);
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }

header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 20px;
  min-height: 56px;
  padding: 10px 0;
  background: rgba(5, 6, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; line-height: 0; }
.logo-mark {
  display: block;
  width: min(360px, 40vw);
  height: 64px;
  background: url("logo.png?v=5") left center / contain no-repeat;
}
nav { display: flex; gap: 16px; color: var(--muted); font-size: 0.88rem; flex-wrap: wrap; justify-content: flex-end; }
nav a:hover { color: var(--ink); }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.header-cta, .btn-primary { background: var(--signal); color: var(--signal-ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn:hover, .header-cta:hover { transform: translateY(-2px); }

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 18px 0 0;
}
.crumb a:hover { color: var(--signal); }
.crumb span { opacity: 0.5; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 40px;
  min-height: calc(100vh - 90px);
}
.kicker {
  color: var(--signal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
}
h1, h2, h3 { font-family: Syne, sans-serif; letter-spacing: -0.045em; font-weight: 700; }
h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  line-height: 0.95;
  max-width: 12ch;
  margin-bottom: 14px;
}
h1 em { font-style: normal; color: var(--signal); }
.lede {
  font-size: 1.08rem;
  color: var(--soft);
  max-width: 42ch;
  font-weight: 300;
  margin-bottom: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trust {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.stage {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(230, 255, 61, 0.08), transparent 42%),
    linear-gradient(20deg, rgba(255, 90, 54, 0.1), transparent 45%),
    #0a0c12;
  padding: 18px;
}
.stage-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--signal);
  margin-bottom: 12px;
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.stage-card {
  border-radius: 16px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background: rgba(0, 0, 0, 0.28);
  padding: 14px;
  opacity: 0;
  transform: translateY(14px);
  animation: riseIn 0.7s ease both;
}
.stage-card:nth-child(1) { animation-delay: 0.1s; }
.stage-card:nth-child(2) { animation-delay: 0.2s; }
.stage-card:nth-child(3) { animation-delay: 0.3s; }
.stage-card:nth-child(4) { animation-delay: 0.4s; }
.stage-card b { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.stage-card span { color: var(--muted); font-size: 0.84rem; }
.pulse-bar {
  margin-top: 14px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.pulse-bar i {
  display: block;
  height: 100%;
  width: 42%;
  background: var(--signal);
  border-radius: inherit;
  animation: barRun 2.8s ease-in-out infinite;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes barRun {
  0% { transform: translateX(-20%); width: 28%; }
  50% { transform: translateX(40%); width: 55%; }
  100% { transform: translateX(120%); width: 28%; }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

section { padding: 64px 0; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 0.98; margin-bottom: 12px; max-width: 18ch; }
.intro { color: var(--soft); max-width: 64ch; font-size: 1.02rem; font-weight: 300; }
.prose { color: var(--soft); max-width: 68ch; font-size: 1.02rem; font-weight: 300; }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--ink); font-weight: 650; }

.split-3, .split-2, .faq { display: grid; gap: 12px; margin-top: 24px; }
.split-3 { grid-template-columns: repeat(3, 1fr); }
.split-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}
.card h3 { font-size: 1.12rem; line-height: 1.15; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.num {
  font-family: Syne, sans-serif;
  color: var(--signal);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.float-card { animation: floatSoft 5.8s ease-in-out infinite; }
.float-card:nth-child(2) { animation-delay: 0.8s; }
.float-card:nth-child(3) { animation-delay: 1.5s; }

.band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(230, 255, 61, 0.07), transparent 42%),
    #0c0e14;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
}
.list { display: grid; gap: 0; }
.list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.list strong { font-weight: 600; }
.list span { color: var(--muted); font-size: 0.94rem; }

.steps { counter-reset: step; display: grid; gap: 12px; margin-top: 24px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--signal);
  color: var(--signal-ink);
  font-family: Syne, sans-serif;
  font-weight: 800;
}
.step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.95rem; }

details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
details summary {
  cursor: pointer;
  font-family: Syne, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details p { margin-top: 8px; color: var(--muted); }

.cta-band {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 24px;
  background:
    linear-gradient(120deg, rgba(230, 255, 61, 0.08), transparent 45%),
    var(--panel);
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.related a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.84rem;
  color: var(--soft);
  background: var(--panel);
}
.related a:hover { border-color: rgba(230, 255, 61, 0.4); color: var(--ink); }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
#states .hub-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  #states .hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  #states .hub-grid { grid-template-columns: 1fr; }
}
.hub-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 255, 61, 0.35);
}
.hub-card .tag {
  color: var(--signal);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.hub-card h3 { font-size: 1.15rem; }
.hub-card p { color: var(--muted); font-size: 0.9rem; }

.scroll-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-in.is-in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer nav { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 12px; }

@media (max-width: 960px) {
  .hero, .split-3, .split-2, .band, .cta-band, .hub-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .list div { grid-template-columns: 1fr; gap: 4px; }
  h1, h2 { max-width: none; }
  header { grid-template-columns: auto auto; }
  header nav { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-card, .float-card, .pulse-bar i, .scroll-in {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
