/* ============================================================
   WANE FINANCE — landing
   ============================================================ */

body.landing { background: var(--bg-0); }

#stars {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ======================= NAV ======================= */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: min(1180px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 12px 10px 20px;
  border-radius: 18px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 800; letter-spacing: 0.06em;
}
.brand b { color: var(--brand-hot); font-weight: 400; margin-left: 1px; }
.brand-mark { height: 26px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px;
  background: var(--brand);
  transition: right 0.3s var(--ease-spring);
}
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ======================= HERO ======================= */
.hero {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 168px 24px 60px;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  align-items: center; gap: 30px;
  min-height: min(92vh, 940px);
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 20px 0 22px;
  text-shadow: 0 0 60px rgba(96,96,252,0.3);
}
.lede { font-size: 17.5px; color: var(--ink-dim); max-width: 55ch; }
.lede b { color: var(--ink); }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 34px; flex-wrap: wrap; }

.hero-stats {
  display: flex; align-items: center; gap: 22px;
  padding: 18px 26px; width: fit-content;
  border-radius: var(--r-md);
}
.hero-stats i { width: 1px; align-self: stretch; background: var(--stroke); }
.hstat { display: flex; flex-direction: column; gap: 2px; }
.hs-v { font-size: 21px; font-weight: 600; }
.hs-l { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.02em; }

.hero-moon { position: relative; aspect-ratio: 1; }
#moon { width: 100%; height: 100%; }
.moon-caption {
  position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); white-space: nowrap;
}

/* ======================= TICKER ======================= */
.ticker {
  position: relative; z-index: 1;
  border-block: 1px solid var(--stroke-soft);
  background: rgba(9, 11, 22, 0.6);
  overflow: hidden;
  padding: 13px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex; gap: 44px; width: max-content;
  animation: ticker-run 38s linear infinite;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-dim);
  white-space: nowrap;
}
.ticker-track b { color: var(--brand-hot); font-weight: 600; }
.ticker-track .tk-burn b { color: var(--ember); }
@keyframes ticker-run { to { transform: translateX(-50%); } }

/* ======================= SECTIONS ======================= */
.section {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 110px 24px 30px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800; line-height: 1.15;
  margin: 16px 0 14px;
}
.section-sub { color: var(--ink-dim); max-width: 62ch; font-size: 16.5px; margin-bottom: 12px; }

/* ---------- bento ---------- */
.bento {
  display: grid; gap: 18px; margin-top: 42px;
  grid-template-columns: repeat(6, 1fr);
}
.bcard { grid-column: span 2; overflow: hidden; border-radius: var(--r-lg); position: relative; }
.bcard:nth-child(1), .bcard:nth-child(2) { grid-column: span 3; }
.bcard-in { position: relative; z-index: 1; padding: 30px 30px 26px; }
.bcard-embers { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75; }
.bcard h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 16px 0 10px; }
.bcard p { color: var(--ink-dim); font-size: 15px; }
.bcard p b { color: var(--ink); }
.bcard-ic {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; color: var(--ink-dim);
  background: var(--glass-strong); border: 1px solid var(--stroke);
}
.ember-ic { background: rgba(255,122,61,0.14); border-color: rgba(255,122,61,0.3); color: var(--ember); }
.night-ic { background: rgba(96,96,252,0.14); border-color: rgba(96,96,252,0.3); color: var(--moon-glow); }
.bcard-tag {
  display: inline-block; margin-top: 16px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px dashed var(--stroke); color: var(--ink-faint);
}
.bcard:not(.gborder) { background: var(--glass); border: 1px solid var(--stroke-soft); backdrop-filter: blur(12px); }

/* ---------- flow ---------- */
.flow {
  display: flex; align-items: stretch; gap: 10px;
  margin-top: 42px; flex-wrap: wrap;
}
.fstep {
  flex: 1 1 150px;
  padding: 22px 20px;
  border-radius: var(--r-md);
  background: var(--glass); border: 1px solid var(--stroke-soft);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s, box-shadow 0.3s;
}
.fstep:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.18); }
.fstep.hot {
  background: rgba(255,122,61,0.1);
  border-color: rgba(255,122,61,0.35);
}
.fnum { font-size: 11px; color: var(--brand-hot); letter-spacing: 0.2em; }
.fstep h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin: 10px 0 8px; }
.fstep p { font-size: 13px; color: var(--ink-dim); line-height: 1.55; }
.farrow { align-self: center; color: var(--ink-faint); font-size: 18px; }

/* ---------- split visual ---------- */
.split-visual { margin-top: 34px; padding: 26px 30px; border-radius: var(--r-lg); }
.sv-head { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 14px; }
.sv-bar { display: flex; height: 62px; border-radius: 13px; overflow: hidden; font-size: 13.5px; }
.sv-floor, .sv-dao {
  display: flex; flex-direction: column; justify-content: center; padding: 0 20px; gap: 1px;
}
.sv-floor {
  flex: 0 0 60%;
  background: var(--ember);
  color: #1c0a02; font-weight: 700;
}
.sv-dao {
  flex: 1;
  background: rgba(96,96,252,0.32);
  font-weight: 700;
}
.sv-floor i, .sv-dao i { font-style: normal; font-size: 11px; font-weight: 500; opacity: 0.75; }
.sv-note { font-size: 12.5px; margin-top: 12px; }

/* ---------- personas ---------- */
.personas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 42px; }
.pcard { padding: 26px 22px; border-radius: var(--r-md); transition: transform 0.4s var(--ease-spring); }
.pcard:hover { transform: translateY(-6px); }
.p-ic { color: var(--brand-hot); }
.pcard h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; margin: 14px 0 8px; }
.pcard p { font-size: 13.5px; color: var(--ink-dim); }

/* ---------- tokenomics ---------- */
.tk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 42px; }
.tk { padding: 28px 24px; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 8px; }
.tk-v { font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
.tk-l { font-size: 13px; color: var(--ink-dim); }
.tk-note { font-size: 13.5px; margin-top: 18px; }

/* ---------- status table ---------- */
.status-table { margin-top: 38px; border-radius: var(--r-lg); overflow: hidden; padding: 8px; }
.strow {
  display: grid; grid-template-columns: 1.1fr 1.6fr 0.7fr;
  gap: 18px; align-items: center;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  transition: background 0.2s;
}
.strow:hover:not(.shead) { background: rgba(255,255,255,0.03); }
.strow + .strow { border-top: 1px solid var(--stroke-soft); }
.shead {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.strow span:first-child { font-weight: 600; }
.pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
}
.pill.ok { background: rgba(74,222,128,0.12); color: var(--ok); border: 1px solid rgba(74,222,128,0.3); }
.pill.wip { background: rgba(251,191,36,0.1); color: var(--warn); border: 1px solid rgba(251,191,36,0.3); }
.pill.later { background: rgba(96,96,252,0.12); color: var(--moon-glow); border: 1px solid rgba(96,96,252,0.3); }

/* ---------- disclaimers ---------- */
.disc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 42px; }
.disc { padding: 26px 28px; border-radius: var(--r-md); }
.disc h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--brand-hot); }
.disc p { font-size: 14px; color: var(--ink-dim); }

/* ---------- final CTA ---------- */
.cta-final {
  position: relative; z-index: 1;
  margin-top: 120px;
  padding: 130px 24px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--stroke-soft);
  background: var(--bg-1);
}
#cta-embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-in { position: relative; }
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; line-height: 1.12;
  margin-bottom: 18px;
}
.cta-final p { max-width: 52ch; margin: 0 auto 32px; }

/* ---------- footer ---------- */
.footer {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  max-width: 1180px; margin: 0 auto;
  padding: 30px 24px 40px;
  border-top: 1px solid var(--stroke-soft);
  flex-wrap: wrap;
}
.f-brand { font-size: 12.5px; letter-spacing: 0.18em; color: var(--brand-hot); }
.f-note { font-size: 12.5px; }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; text-align: center; min-height: unset; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-moon { max-width: 420px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bcard, .bcard:nth-child(1), .bcard:nth-child(2) { grid-column: span 2; }
  .personas, .tk-grid { grid-template-columns: repeat(2, 1fr); }
  .farrow { display: none; }
  .fstep { flex-basis: 45%; }
}
@media (max-width: 620px) {
  .hero-stats { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-stats i { height: 1px; width: 100%; }
  .personas, .tk-grid, .disc-grid { grid-template-columns: 1fr; }
  .fstep { flex-basis: 100%; }
  .strow { grid-template-columns: 1fr; gap: 6px; }
  .strow.shead { display: none; }
}
