/* ==========================================================================
   KNOX — compute exchange terminal
   Identity: vault-steel ground · burnished reserve gold · liquid mercury
   Type: mono-led terminal (data/labels/headlines) + system sans body
   ========================================================================== */

/* ----- tokens ----- */
:root {
  --bg:        #0A0C11;
  --bg-2:      #0C0F15;
  --surface:   #12151C;
  --surface-2: #171B23;
  --surface-3: #1E232E;
  --line:      #262B36;
  --line-2:    #333A48;

  --text:  #E9ECF2;
  --muted: #8B94A5;
  --dim:   #616B7C;

  --gold:   #E6B450;   /* reserve gold — primary accent */
  --gold-2: #C6902E;
  --gold-3: #8A6516;
  --mercury:#A9BED2;   /* liquid silver — secondary */
  --verify: #57E0A8;   /* proof / verified — semantic only */
  --alert:  #F0724E;   /* sell / halt — semantic only */

  --gold-glow: rgba(230, 180, 80, 0.16);
  --grid-line: rgba(255, 255, 255, 0.028);

  --ff-mono: "JetBrains Mono", "SFMono-Regular", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --ff-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --maxw: 1200px;

  --shadow: 0 24px 60px -28px rgba(0,0,0,0.7);
  --ring: 0 0 0 1px var(--line);
}

:root[data-theme="light"] {
  --bg:        #EEEFF2;
  --bg-2:      #E9EBEF;
  --surface:   #FFFFFF;
  --surface-2: #F5F6F8;
  --surface-3: #EDEFF3;
  --line:      #DDE0E7;
  --line-2:    #C9CDD7;

  --text:  #14181F;
  --muted: #59606E;
  --dim:   #8A92A0;

  --gold:   #A9781A;
  --gold-2: #8A6516;
  --gold-3: #C6902E;
  --mercury:#4C627A;
  --verify: #12885B;
  --alert:  #C6472A;

  --gold-glow: rgba(169, 120, 26, 0.14);
  --grid-line: rgba(10, 12, 17, 0.04);
  --shadow: 0 24px 50px -30px rgba(30,40,60,0.28);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:        #EEEFF2;
    --bg-2:      #E9EBEF;
    --surface:   #FFFFFF;
    --surface-2: #F5F6F8;
    --surface-3: #EDEFF3;
    --line:      #DDE0E7;
    --line-2:    #C9CDD7;
    --text:  #14181F;
    --muted: #59606E;
    --dim:   #8A92A0;
    --gold:   #A9781A;
    --gold-2: #8A6516;
    --gold-3: #C6902E;
    --mercury:#4C627A;
    --verify: #12885B;
    --alert:  #C6472A;
    --gold-glow: rgba(169, 120, 26, 0.14);
    --grid-line: rgba(10, 12, 17, 0.04);
    --shadow: 0 24px 50px -30px rgba(30,40,60,0.28);
  }
}

/* ==========================================================================
   ROBINHOOD SKIN — swaps the reserve-gold accent for Robinhood signal-green.
   Structure/type stay identical; only the accent tokens change, so the whole
   page (buttons, dots, hero gradient, glows, charts) re-tints in one switch.
   ========================================================================== */
:root[data-skin="rh"] {
  --gold:   #00C805;   /* Robinhood green */
  --gold-2: #00A804;
  --gold-3: #0B7D14;
  --mercury:#8FD9A6;
  --gold-glow: rgba(0, 200, 5, 0.18);
}
:root[data-skin="rh"][data-theme="light"] {
  --gold:   #009E0A;
  --gold-2: #007D08;
  --gold-3: #00930B;
  --mercury:#2E7D4A;
  --gold-glow: rgba(0, 158, 10, 0.14);
}
@media (prefers-color-scheme: light) {
  :root[data-skin="rh"]:not([data-theme="dark"]) {
    --gold:   #009E0A;
    --gold-2: #007D08;
    --gold-3: #00930B;
    --mercury:#2E7D4A;
    --gold-glow: rgba(0, 158, 10, 0.14);
  }
}

/* ----- reset-ish ----- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; text-wrap: balance; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold); color: #0A0C11; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----- layout ----- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.h-lead {
  font-family: var(--ff-mono);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(2.1rem, 5.2vw, 4.1rem);
}
.h-sec {
  font-family: var(--ff-mono);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
}
.lead-sub {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  max-width: 60ch;
}
.mono { font-family: var(--ff-mono); }
.num  { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }
.gold-text { color: var(--gold); }

/* ----- nav ----- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--ff-mono); font-weight: 700; letter-spacing: 0.02em; }
.brand__mark { width: 30px; height: 30px; }
.brand__name { font-size: 1.06rem; }
.brand__name b { color: var(--gold); }
.nav__links { display: flex; gap: 26px; margin-left: 14px; }
.nav__links a {
  font-family: var(--ff-mono); font-size: 13px; color: var(--muted);
  letter-spacing: 0.02em; transition: color .2s; position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__spacer { margin-left: auto; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

/* ----- buttons ----- */
.btn {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  transition: border-color .2s, background .2s, transform .1s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.btn:hover { border-color: var(--gold); background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn--gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #120C00; border-color: transparent; font-weight: 700;
  box-shadow: 0 6px 20px -8px var(--gold-glow);
}
.btn--gold:hover { box-shadow: 0 10px 30px -8px var(--gold-glow); background: linear-gradient(180deg, #F0C264, var(--gold-2)); }
.btn--sm { padding: 8px 13px; font-size: 12px; }
.btn--ghost { border-color: var(--line); color: var(--muted); }
.btn--ghost:hover { color: var(--text); }
.icon-btn {
  width: 34px; height: 34px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: transparent;
  color: var(--muted); transition: color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--gold); border-color: var(--gold); }

/* ----- pills / chips ----- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 5px 11px;
  background: var(--surface);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--verify); box-shadow: 0 0 8px var(--verify); }
.dot--live { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
@media (prefers-reduced-motion: reduce){ .dot--live{ animation: none } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.9;
}
.hero__grid-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000 20%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 70% 20%, #000 20%, transparent 80%);
}
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; min-height: 74vh; }
.hero__copy { max-width: 640px; }
.hero__copy .h-lead { margin: 22px 0 20px; }
.hero__copy .h-lead .grad {
  background: linear-gradient(100deg, var(--gold) 0%, color-mix(in srgb, var(--gold) 45%, #ffffff) 45%, var(--mercury) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-family: var(--ff-mono); font-size: 12px; color: var(--dim); }

/* reveal on load */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.d1{transition-delay:.06s} .reveal.d2{transition-delay:.14s} .reveal.d3{transition-delay:.22s} .reveal.d4{transition-delay:.3s}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1; transform:none} }

/* hero claim card */
.claim-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.claim-card::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(120% 60% at 80% -10%, var(--gold-glow), transparent 60%);
  pointer-events:none;
}
.claim-card__top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.claim-card__label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }
.claim-card__id { font-family: var(--ff-mono); font-size: 12px; color: var(--mercury); margin-top: 2px; }
.claim-card__hero-num { font-family: var(--ff-mono); font-weight: 700; font-size: 2.2rem; letter-spacing: -0.02em; margin: 18px 0 2px; }
.claim-card__unit { color: var(--muted); font-family: var(--ff-mono); font-size: 12px; }
.claim-spark { width: 100%; height: 64px; margin: 14px 0 6px; }
.claim-card__rows { display: grid; gap: 9px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.crow { display: flex; justify-content: space-between; align-items: center; font-family: var(--ff-mono); font-size: 12.5px; }
.crow span:first-child { color: var(--muted); }
.crow .num { color: var(--text); }
.badge-verified { display:inline-flex; align-items:center; gap:6px; color: var(--verify); font-family: var(--ff-mono); font-size: 11px; letter-spacing:.06em; text-transform:uppercase; }

/* ----- stat strip ----- */
.statstrip {
  position: relative; z-index: 2;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(8px);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 20px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__k { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.stat__v { font-family: var(--ff-mono); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat__d { font-size: 11.5px; color: var(--muted); margin-top: 2px; font-family: var(--ff-mono); }
.up { color: var(--verify); } .down { color: var(--alert); }

/* ==========================================================================
   THE SHIFT (comparison)
   ========================================================================== */
.shift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.panel {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 30px; position: relative; overflow: hidden;
}
.panel--closed { }
.panel--open { border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--gold-glow) 40%, var(--surface)), var(--surface)); }
.panel__tag { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.panel--open .panel__tag { color: var(--gold); }
.panel__title { font-family: var(--ff-mono); font-weight: 700; font-size: 1.4rem; margin: 8px 0 20px; letter-spacing: -0.02em; }
.flist { display: grid; gap: 14px; }
.fitem { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.96rem; }
.fitem svg { margin-top: 3px; }
.fitem b { color: var(--text); font-weight: 600; }
.fitem span { color: var(--muted); }
.x-mark { color: var(--alert); } .c-mark { color: var(--verify); }

/* ==========================================================================
   PIPELINE (how it works)
   ========================================================================== */
.pipeline { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.pstep { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-right: 0; background: var(--surface); }
.pstep:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.pstep:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.pstep__n { font-family: var(--ff-mono); font-size: 12px; color: var(--gold); letter-spacing: 0.1em; }
.pstep__ico { width: 40px; height: 40px; margin: 16px 0 14px; color: var(--gold); }
.pstep__t { font-family: var(--ff-mono); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.pstep__d { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.pstep__flow { position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 3; width: 18px; height: 18px; color: var(--gold-2); background: var(--bg); border-radius: 50%; display: grid; place-items: center; }
.pstep:last-child .pstep__flow { display: none; }

/* ==========================================================================
   MECHANICS grid
   ========================================================================== */
.mech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.mcard {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  padding: 26px; transition: border-color .25s, transform .25s, background .25s;
}
.mcard:hover { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); transform: translateY(-3px); background: var(--surface-2); }
.mcard__ico { width: 38px; height: 38px; color: var(--gold); margin-bottom: 16px; }
.mcard__t { font-family: var(--ff-mono); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.mcard__d { color: var(--muted); font-size: 0.92rem; margin-top: 9px; }
.mcard__meta { margin-top: 16px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--dim); text-transform: uppercase; display:flex; align-items:center; gap:8px; }

/* ==========================================================================
   LIVE MARKET / CONTRACT panel
   ========================================================================== */
.market { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 44px; }
.term {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
}
.term__bar { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.term__dots { display: flex; gap: 6px; }
.term__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display:block; }
.term__title { font-family: var(--ff-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.term__badge { margin-left: auto; }
.badge-demo { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.badge-live .dot { background: var(--verify); box-shadow: 0 0 8px var(--verify); }

.term__body { padding: 22px; }
.mkt-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.mkt-price__v { font-family: var(--ff-mono); font-weight: 700; font-size: 2.4rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mkt-price__c { font-family: var(--ff-mono); font-size: 13px; padding: 3px 8px; border-radius: 6px; }
.mkt-price__c.up { background: color-mix(in srgb, var(--verify) 16%, transparent); }
.mkt-price__c.down { background: color-mix(in srgb, var(--alert) 16%, transparent); }
#price-chart { width: 100%; height: 120px; margin: 16px 0 6px; }

.mkt-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 12px; }
.metric { background: var(--surface); padding: 15px 16px; }
.metric__k { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.metric__v { font-family: var(--ff-mono); font-weight: 700; font-size: 1.15rem; margin-top: 5px; font-variant-numeric: tabular-nums; }

.contract-box { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 22px; display: flex; flex-direction: column; }
.contract-box h3 { font-family: var(--ff-mono); font-size: 1.05rem; letter-spacing: -0.01em; }
.addr {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  font-family: var(--ff-mono); font-size: 12.5px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 11px 13px; color: var(--mercury);
}
.addr code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr__actions { margin-left: auto; display: flex; gap: 6px; }
.param-list { display: grid; gap: 11px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.param { display: flex; justify-content: space-between; align-items: center; font-family: var(--ff-mono); font-size: 12.5px; }
.param span { color: var(--muted); }
.param b { font-variant-numeric: tabular-nums; }
.contract-box .btn { margin-top: 18px; width: 100%; justify-content: center; }
.status-line { margin-top: 12px; font-family: var(--ff-mono); font-size: 11px; color: var(--dim); text-align: center; }

/* ==========================================================================
   TOKENOMICS
   ========================================================================== */
.tok-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; margin-top: 44px; }
.donut-wrap { position: relative; display: grid; place-items: center; }
#donut { width: 300px; height: 300px; max-width: 100%; }
.donut-center { position: absolute; text-align: center; }
.donut-center b { font-family: var(--ff-mono); font-size: 1.5rem; display: block; }
.donut-center span { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.tok-legend { display: grid; gap: 14px; }
.legend-item { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; }
.legend-item i { width: 12px; height: 12px; border-radius: 3px; }
.legend-item .lname { font-size: 0.95rem; }
.legend-item .lname small { display: block; color: var(--dim); font-size: 0.8rem; font-family: var(--ff-mono); }
.legend-item .lpct { font-family: var(--ff-mono); font-weight: 700; font-variant-numeric: tabular-nums; }

.launch-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
.fact { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 20px; }
.fact__k { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.fact__v { font-family: var(--ff-mono); font-weight: 700; font-size: 1.5rem; margin-top: 8px; letter-spacing: -0.02em; }
.fact__d { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   PHASES
   ========================================================================== */
.phases { margin-top: 44px; display: grid; gap: 0; }
.phase { display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase__id { font-family: var(--ff-mono); }
.phase__id b { color: var(--gold); font-size: 1.1rem; display: block; }
.phase__id span { font-size: 11px; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; }
.phase__body h3 { font-family: var(--ff-mono); font-size: 1.2rem; letter-spacing: -0.01em; }
.phase__body p { color: var(--muted); margin-top: 8px; max-width: 62ch; }
.phase__body .status { display:inline-flex; margin-top: 12px; }

/* ==========================================================================
   CTA + footer
   ========================================================================== */
.cta-final {
  border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line));
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 140% at 50% -20%, var(--gold-glow), transparent 55%),
    var(--surface);
  padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden;
}
.cta-final .h-sec { margin-bottom: 16px; }
.cta-final p { color: var(--muted); max-width: 54ch; margin: 0 auto 28px; }
.cta-final .hero__cta { justify-content: center; }

.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; }
.footer__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.footer__col h4 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--muted); font-size: 0.9rem; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer__bottom p { font-family: var(--ff-mono); font-size: 11.5px; color: var(--dim); }
.disclaimer { font-size: 11px; color: var(--dim); max-width: 80ch; margin-top: 10px; line-height: 1.5; }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--ff-mono); font-size: 13px; padding: 12px 18px; border-radius: var(--r-sm);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* section header block */
.sec-head { max-width: 720px; }
.sec-head .h-sec { margin: 16px 0 14px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .hero__in { grid-template-columns: 1fr; gap: 36px; min-height: auto; }
  .hero__visual { order: -1; }
  .statstrip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .shift-grid, .market, .tok-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pstep, .pstep:first-child, .pstep:last-child { border-radius: 0; border-right: 1px solid var(--line); }
  .pstep__flow { display: none; }
  .mech-grid { grid-template-columns: 1fr 1fr; }
  .launch-facts { grid-template-columns: 1fr 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .statstrip, .mkt-metrics, .pipeline, .mech-grid, .launch-facts { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .phase { grid-template-columns: 1fr; gap: 10px; }
  .nav__actions .btn--connect-label { display: none; }
  .footer__in { grid-template-columns: 1fr; }
}

/* ----- network badge (nav) ----- */
.net-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 100px;
  padding: 5px 11px; background: var(--surface);
}
.net-badge b { color: var(--text); font-weight: 600; }
.net-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold-glow); }
@media (max-width: 1040px) { .net-badge { display: none; } }

/* ----- skin toggle: gold ⇄ Robinhood green ----- */
.skin-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 100px; padding: 3px; background: var(--surface);
}
.skin-toggle button {
  width: 24px; height: 24px; border-radius: 50%; border: 0; background: transparent;
  display: grid; place-items: center; cursor: pointer; padding: 0; position: relative;
}
.skin-toggle button i { width: 13px; height: 13px; border-radius: 50%; display: block; border: 1.5px solid transparent; }
.skin-toggle button[data-skin-opt="knox"] i { background: #E6B450; }
.skin-toggle button[data-skin-opt="rh"] i { background: #00C805; }
.skin-toggle button[aria-pressed="true"] i { border-color: var(--text); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px currentColor; }
.skin-toggle button[data-skin-opt="knox"][aria-pressed="true"] { color: #E6B450; }
.skin-toggle button[data-skin-opt="rh"][aria-pressed="true"] { color: #00C805; }

/* Robinhood "powered by" chip in the market panel */
.rh-strip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-family: var(--ff-mono); font-size: 11px; color: var(--dim); letter-spacing: 0.03em;
}
.rh-strip svg { color: var(--gold); }
