/* ==========================================================================
   RHX6900 — "The Revenge of Retail"
   Design system: Bloomberg terminal chrome housing bright Robinhood "ledger
   cards" — the visual tension between institutional dark-mode and retail's
   bright, legible app UI is the whole point of the brief.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  /* ---- dark terminal chrome ---- */
  --bg:            #07080A;
  --bg-raised:     #0c0e0f;
  --surface:       rgba(255,255,255,0.035);
  --surface-strong:rgba(255,255,255,0.06);
  --border:        rgba(255,255,255,0.09);
  --border-green:  rgba(0,200,5,0.35);

  --green:         #00C805;
  --green-dim:     #00930f;
  --green-deep:    #063d0c;
  --green-glow:    rgba(0,200,5,0.45);

  --red:           #ff4d4d;

  --white:         #F6F7F5;
  --gray:          #8A928D;
  --gray-dim:      #565b58;

  /* ---- bright "ledger card" surfaces (the retail app, inset into the terminal) ---- */
  --paper:         #F5F7F1;
  --paper-raised:  #FFFFFF;
  --ink:           #0B1210;
  --ink-dim:       #55605A;
  --paper-border:  rgba(11,18,16,0.09);

  /* ---- type ---- */
  --f-display: 'Archivo Expanded', sans-serif;
  --f-body:    'Space Grotesk', sans-serif;
  --f-mono:    'IBM Plex Mono', monospace;

  /* ---- fx ---- */
  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.25,.1,.25,1);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

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

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

body{
  background:var(--bg);
  color:var(--white);
  font-family:var(--f-body);
  overflow-x:hidden;
  min-height:100vh;
  cursor:default;
  line-height:1.5;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ list-style:none; }
::selection{ background:var(--green); color:#000; }

.mono{ font-family:var(--f-mono); }
.accent-text{ color:var(--green); }

::-webkit-scrollbar{ width:8px; }
::-webkit-scrollbar-track{ background:var(--bg); }
::-webkit-scrollbar-thumb{ background:var(--green-deep); border-radius:10px; }
::-webkit-scrollbar-thumb:hover{ background:var(--green-dim); }

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

/* ==========================================================================
   Background ambience
   ========================================================================== */
.grid-overlay{
  position:fixed; inset:0; pointer-events:none; z-index:1;
  background-image:
    linear-gradient(rgba(0,200,5,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,5,0.05) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 10%, transparent 75%);
  opacity:0.5;
}
.noise{
  position:fixed; inset:0; pointer-events:none; z-index:2; opacity:0.03; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow{
  position:fixed; z-index:3; width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(0,200,5,0.07) 0%, transparent 70%);
  pointer-events:none; transform:translate(-50%,-50%);
  transition:opacity .3s ease;
}

/* ==========================================================================
   Loading screen — terminal boot sequence
   ========================================================================== */
#loader{
  position:fixed; inset:0; z-index:9999; background:var(--bg);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px;
  transition:opacity .7s var(--ease), visibility .7s var(--ease);
}
#loader.hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-logo{
  width:72px; height:72px; border-radius:50%;
  animation:loaderPulse 1.6s ease-in-out infinite;
  filter:drop-shadow(0 0 24px var(--green-glow));
}
@keyframes loaderPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.08); } }
.loader-ticker-label{
  font-family:var(--f-mono); font-size:11px; letter-spacing:.25em; color:var(--green);
  text-transform:uppercase;
}
.loader-log{
  font-family:var(--f-mono); font-size:11px; color:var(--gray); letter-spacing:.05em;
  height:16px; text-align:center;
}
.loader-bar{ width:260px; height:2px; background:var(--border); position:relative; overflow:hidden; border-radius:2px; }
.loader-bar-fill{ position:absolute; left:0; top:0; height:100%; width:0%; background:var(--green); transition:width .3s ease; }

/* ==========================================================================
   Ticker tape
   ========================================================================== */
.tape{
  position:relative; z-index:50; width:100%; background:#000; border-bottom:1px solid var(--border);
  overflow:hidden; height:34px; display:flex; align-items:center;
}
.tape-track{
  display:flex; white-space:nowrap; gap:48px; padding-left:48px;
  animation:tapeScroll 38s linear infinite;
  font-family:var(--f-mono); font-size:12px; letter-spacing:.03em;
}
.tape:hover .tape-track{ animation-play-state:paused; }
@keyframes tapeScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.tape-item{ display:flex; align-items:center; gap:8px; color:var(--gray); }
.tape-item b{ color:var(--white); font-weight:500; }
.tape-up{ color:var(--green); }
.tape-down{ color:var(--red); }
.tape-sep{ color:var(--gray-dim); }

/* ==========================================================================
   Navigation
   ========================================================================== */
header#nav{
  position:sticky; top:0; z-index:100; width:100%;
  border-bottom:1px solid transparent;
  transition:background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
header#nav.scrolled{
  background:rgba(7,8,10,0.72);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  border-bottom-color:var(--border);
}
.nav-inner{ max-width:1400px; margin:0 auto; padding:16px 32px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ width:38px; height:38px; border-radius:50%; }
.brand-name{ font-family:var(--f-display); font-weight:800; font-size:16px; letter-spacing:.02em; }
.brand-tick{ font-family:var(--f-mono); font-size:11px; color:var(--green); letter-spacing:.05em; }

.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{ font-size:13.5px; font-weight:500; color:var(--gray); position:relative; padding:6px 0; transition:color .25s ease; }
.nav-links a:hover{ color:var(--white); }
.nav-links a::after{ content:''; position:absolute; left:0; bottom:0; height:1px; width:0; background:var(--green); transition:width .3s var(--ease); }
.nav-links a:hover::after{ width:100%; }

.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-social{ width:34px; height:34px; border:1px solid var(--border); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--gray); transition:all .25s ease; }
.nav-social:hover{ border-color:var(--border-green); color:var(--green); transform:translateY(-2px); }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:600; font-size:13.5px; padding:11px 22px; border-radius:100px; border:1px solid transparent; transition:all .3s var(--ease); white-space:nowrap; }
.btn-primary{ background:var(--green); color:#03170a; position:relative; overflow:hidden; box-shadow:0 0 0 0 var(--green-glow); }
.btn-primary:hover{ box-shadow:0 0 30px var(--green-glow); transform:translateY(-2px); }
.btn-ghost{ border-color:var(--border); color:var(--white); background:rgba(255,255,255,0.02); }
.btn-ghost:hover{ border-color:var(--border-green); background:var(--surface-strong); }
.btn-lg{ padding:17px 34px; font-size:15px; }
.nav-toggle{ display:none; width:40px; height:40px; border:1px solid var(--border); border-radius:8px; background:none; color:var(--white); align-items:center; justify-content:center; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center; padding:60px 32px 100px; overflow:hidden; }
.hero-bg{
  position:absolute; inset:0; z-index:0;
  background-image:linear-gradient(180deg, rgba(7,8,10,.55) 0%, rgba(7,8,10,.9) 55%, var(--bg) 100%), url('assets/banner.png');
  background-size:cover; background-position:center; filter:saturate(0.9);
}
.hero-candles{ position:absolute; inset:0; z-index:1; opacity:.35; pointer-events:none; }
.hero-particles{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.hero-particles span{ position:absolute; width:3px; height:3px; background:var(--green); border-radius:50%; opacity:0; box-shadow:0 0 8px var(--green-glow); animation:floatUp linear infinite; }
@keyframes floatUp{ 0%{ transform:translateY(0); opacity:0; } 10%{ opacity:.7; } 90%{ opacity:.4; } 100%{ transform:translateY(-100vh); opacity:0; } }

.hero-inner{ position:relative; z-index:5; max-width:1400px; margin:0 auto; width:100%; display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px; font-family:var(--f-mono); font-size:12px;
  color:var(--green); letter-spacing:.12em; text-transform:uppercase; margin-bottom:22px;
  padding:7px 14px; border:1px solid var(--border-green); border-radius:100px; background:rgba(0,200,5,0.06);
  max-width:100%;
}
.dot-live{ width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 8px var(--green); animation:blink 1.6s ease-in-out infinite; flex-shrink:0; }
.dot-live.small{ width:6px; height:6px; }
@keyframes blink{ 0%,100%{opacity:1;} 50%{opacity:.3;} }

.hero-title{ font-family:var(--f-display); font-weight:900; line-height:.92; letter-spacing:-.01em; font-size:clamp(3.2rem, 8vw, 7.2rem); color:var(--white); }
.hero-title .accent{
  background:linear-gradient(120deg, var(--green) 20%, #6dffb0 50%, var(--green) 80%);
  background-size:200% auto; -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:shine 6s linear infinite;
}
@keyframes shine{ to{ background-position:200% center; } }
.hero-sub{ font-family:var(--f-mono); font-size:15px; color:var(--gray); letter-spacing:.06em; margin-top:22px; text-transform:uppercase; }
.hero-copy{ max-width:520px; margin-top:26px; font-size:17px; color:#c7ccc8; line-height:1.7; }
.hero-copy strong{ color:var(--white); }
.hero-ctas{ display:flex; gap:16px; margin-top:38px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:36px; margin-top:52px; flex-wrap:wrap; }
.hstat b{ display:block; font-family:var(--f-mono); font-size:22px; color:var(--white); }
.hstat span{ font-size:11px; color:var(--gray); letter-spacing:.08em; text-transform:uppercase; }
.hstat.up b{ color:var(--green); }
.hstat.down b{ color:var(--red); }

/* hero visual / coin + ledger cards */
.hero-visual{ position:relative; height:560px; display:flex; align-items:center; justify-content:center; }
.hero-coin-wrap{ position:relative; width:340px; height:340px; animation:coinFloat 5.5s ease-in-out infinite; }
@keyframes coinFloat{ 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-22px) rotate(3deg); } }
.hero-coin-wrap img{ width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 30px 60px rgba(0,200,5,0.25)); }
.hero-ring{ position:absolute; inset:-40px; border:1px solid var(--border-green); border-radius:50%; animation:ringSpin 20s linear infinite; }
.hero-ring::before, .hero-ring::after{ content:''; position:absolute; width:6px; height:6px; background:var(--green); border-radius:50%; box-shadow:0 0 10px var(--green); }
.hero-ring::before{ top:-3px; left:calc(50% - 3px); }
.hero-ring::after{ bottom:-3px; left:calc(50% - 3px); }
@keyframes ringSpin{ to{ transform:rotate(360deg); } }

/* Ledger cards — the signature element: bright paper cards floating in dark chrome */
.ledger-card{
  background:var(--paper-raised); color:var(--ink); border-radius:16px; padding:16px 18px;
  box-shadow:0 24px 50px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.6) inset;
  font-family:var(--f-body);
}
.hero-visual .ledger-card{ position:absolute; width:172px; animation:cardFloat 6s ease-in-out infinite; }
.ledger-card.lc1{ top:6%; left:-8%; animation-delay:0s; }
.ledger-card.lc2{ bottom:12%; right:-10%; animation-delay:1.2s; }
.ledger-card.lc3{ top:50%; right:-16%; animation-delay:2.4s; }
@keyframes cardFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-14px); } }
.lc-top{ display:flex; align-items:center; justify-content:space-between; }
.lc-label{ font-family:var(--f-mono); font-size:10px; color:var(--ink-dim); letter-spacing:.08em; text-transform:uppercase; }
.lc-dot{ width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 6px var(--green); animation:blink 1.6s ease-in-out infinite; }
.lc-val{ font-family:var(--f-display); font-weight:800; font-size:19px; margin-top:6px; color:var(--ink); }

.scroll-cue{ position:absolute; bottom:36px; left:50%; transform:translateX(-50%); z-index:5; display:flex; flex-direction:column; align-items:center; gap:8px; font-family:var(--f-mono); font-size:10px; letter-spacing:.2em; color:var(--gray); text-transform:uppercase; }
.scroll-cue .line{ width:1px; height:34px; background:linear-gradient(var(--green), transparent); animation:scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine{ 0%{ transform:scaleY(0); transform-origin:top; } 50%{ transform:scaleY(1); transform-origin:top; } 51%{ transform-origin:bottom;} 100%{ transform:scaleY(0); transform-origin:bottom; } }

/* ==========================================================================
   Live market strip
   ========================================================================== */
.market-strip-section{ position:relative; z-index:20; background:var(--bg-raised); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.market-strip{ max-width:1400px; margin:0 auto; padding:18px 32px; display:flex; flex-wrap:wrap; gap:34px; align-items:center; }
.ms-item{ display:flex; flex-direction:column; gap:4px; }
.ms-k{ font-family:var(--f-mono); font-size:10px; color:var(--gray); letter-spacing:.1em; text-transform:uppercase; }
.ms-v{ font-family:var(--f-mono); font-size:15px; color:var(--white); }
.ms-updated{ margin-left:auto; flex-direction:row; align-items:center; gap:8px; }
.ms-updated span:last-child{ font-family:var(--f-mono); font-size:11px; color:var(--gray); }
.ms-v.up{ color:var(--green); }
.ms-v.down{ color:var(--red); }

/* ==========================================================================
   Section shared
   ========================================================================== */
section{ position:relative; z-index:5; padding:140px 32px; }
.section-inner{ max-width:1300px; margin:0 auto; }
.eyebrow{ font-family:var(--f-mono); font-size:12px; color:var(--green); letter-spacing:.2em; text-transform:uppercase; display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.eyebrow::before{ content:''; width:22px; height:1px; background:var(--green); }
.section-title{ font-family:var(--f-display); font-weight:800; font-size:clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing:-.01em; line-height:1.05; max-width:820px; }
.section-desc{ font-size:16px; color:var(--gray); max-width:620px; margin-top:20px; line-height:1.7; }
.reveal{ opacity:0; transform:translateY(36px); transition:opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ==========================================================================
   Story / Evolution log
   ========================================================================== */
.story{ background:linear-gradient(180deg, var(--bg) 0%, var(--bg-raised) 100%); }
.movement-quote{
  font-family:var(--f-display); font-weight:700; font-size:clamp(1.6rem,3vw,2.4rem); line-height:1.35;
  max-width:920px; margin:36px 0 60px; color:var(--white); border-left:2px solid var(--green); padding-left:28px;
}
.movement-quote span{ color:var(--green); }

.evolution-log{ margin-top:60px; border-left:1px solid var(--border); padding-left:0; }
.evo-node{ padding:26px 0 26px 32px; border-bottom:1px solid var(--border); position:relative; transition:background .3s ease; }
.evo-node:hover{ background:rgba(255,255,255,0.02); }
.evo-node::before{ content:''; position:absolute; left:-1px; top:32px; width:9px; height:9px; border-radius:50%; background:var(--bg); border:2px solid var(--gray-dim); transform:translateX(-50%); }
.evo-node.evo-final::before{ border-color:var(--green); box-shadow:0 0 0 5px rgba(0,200,5,0.1); }
.evo-line{ display:flex; align-items:baseline; gap:16px; }
.evo-tag{ font-family:var(--f-mono); font-size:12px; color:var(--gray-dim); }
.evo-name{ font-family:var(--f-display); font-weight:800; font-size:22px; }
.evo-node p{ margin-top:10px; max-width:640px; color:var(--gray); font-size:14.5px; line-height:1.7; padding-left:36px; }
.evo-node.evo-final{ background:rgba(0,200,5,0.04); border-radius:var(--radius-md); border-bottom:1px solid var(--border-green); }

/* ==========================================================================
   Why Robinhood Chain / Retail vs Institutions
   ========================================================================== */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:56px; }
.ledger-card.flat{ position:static; width:auto; animation:none; }
.ledger-card.flat p{ font-size:13px; color:var(--ink-dim); margin-top:10px; line-height:1.6; }
.ledger-card.flat .lc-val{ font-size:20px; }

.versus{ background:var(--bg-raised); }
.versus-ledger{ display:grid; grid-template-columns:1fr 1fr; gap:0; margin-top:56px; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; }
.versus-col{ padding:44px 40px; }
.versus-old{ background:rgba(255,255,255,0.015); border-right:1px solid var(--border); }
.versus-new{ background:rgba(0,200,5,0.045); }
.versus-head{ font-family:var(--f-display); font-weight:800; font-size:24px; margin-bottom:22px; }
.versus-col ul{ display:flex; flex-direction:column; gap:16px; }
.versus-col li{ font-size:14.5px; color:var(--gray); line-height:1.6; padding-left:20px; position:relative; }
.versus-col li::before{ content:'—'; position:absolute; left:0; color:var(--gray-dim); }
.versus-new li::before{ content:'▲'; color:var(--green); font-size:10px; top:4px; }
.versus-col em{ color:var(--white); font-style:normal; font-weight:600; }

/* ==========================================================================
   Market Terminal
   ========================================================================== */
.terminal-section{ background:var(--bg); }
.terminal{ border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); box-shadow:0 40px 100px rgba(0,0,0,.5); margin-top:56px; }
.terminal-topbar{ display:flex; align-items:center; justify-content:space-between; padding:14px 22px; border-bottom:1px solid var(--border); background:rgba(255,255,255,0.02); }
.terminal-dots{ display:flex; gap:7px; }
.terminal-dots span{ width:10px; height:10px; border-radius:50%; background:var(--gray-dim); }
.terminal-title{ font-size:12px; color:var(--gray); letter-spacing:.1em; }
.terminal-clock{ font-size:12px; color:var(--green); }

.terminal-grid{ display:grid; grid-template-columns:240px 1fr 280px; min-height:560px; }
.terminal-col{ border-right:1px solid var(--border); padding:22px; }
.terminal-col:last-child{ border-right:none; }
.tcol-label{ font-family:var(--f-mono); font-size:10px; color:var(--gray); letter-spacing:.12em; text-transform:uppercase; margin-bottom:16px; }
.tcol-sub{ text-transform:none; letter-spacing:0; color:var(--gray-dim); }

.watchlist-item{ display:flex; justify-content:space-between; align-items:center; padding:9px 0; border-bottom:1px solid rgba(255,255,255,0.05); font-family:var(--f-mono); font-size:12px; }
.watchlist-item b{ color:var(--white); font-weight:500; }
.watchlist-item .wl-price{ text-align:right; }
.watchlist-item .wl-change{ display:block; font-size:10px; }

.trending-list{ display:flex; flex-direction:column; gap:8px; }
.trend-item{ display:flex; align-items:center; gap:10px; padding:8px; border-radius:10px; background:rgba(255,255,255,0.02); border:1px solid var(--border); }
.trend-item img{ width:22px; height:22px; border-radius:50%; flex-shrink:0; background:var(--gray-dim); }
.trend-name{ font-family:var(--f-mono); font-size:11px; color:var(--white); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.trend-chain{ font-family:var(--f-mono); font-size:9px; color:var(--gray-dim); text-transform:uppercase; }
.term-loading, .term-empty{ font-family:var(--f-mono); font-size:11px; color:var(--gray-dim); padding:10px 0; }

.terminal-chart-wrap{ display:flex; flex-direction:column; height:100%; gap:14px; }
.chart-frame{ flex:1; border-radius:var(--radius-sm); overflow:hidden; border:1px solid var(--border); min-height:380px; background:#050505; position:relative; }
.chart-frame iframe{ width:100%; height:100%; border:0; min-height:380px; }
.mini-stats-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.mini-stat{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:14px; }
.mini-stat .ms-label{ font-family:var(--f-mono); font-size:10px; color:var(--gray); text-transform:uppercase; letter-spacing:.08em; }
.mini-stat .ms-val{ font-family:var(--f-mono); font-size:15px; color:var(--white); margin-top:6px; }

.order-flow{ display:flex; flex-direction:column; gap:14px; }
.of-row{ display:flex; flex-direction:column; gap:6px; }
.of-top{ display:flex; justify-content:space-between; font-family:var(--f-mono); font-size:10px; color:var(--gray); text-transform:uppercase; letter-spacing:.06em; }
.of-bar{ height:8px; border-radius:4px; overflow:hidden; display:flex; background:rgba(255,255,255,0.06); }
.of-buy{ background:var(--green); height:100%; }
.of-sell{ background:var(--red); height:100%; }
.of-bottom{ display:flex; justify-content:space-between; font-family:var(--f-mono); font-size:10px; }
.of-bottom .buys{ color:var(--green); }
.of-bottom .sells{ color:var(--red); }

.sentiment-gauge{ display:flex; flex-direction:column; gap:10px; }
.gauge-track{ position:relative; height:10px; border-radius:6px; background:linear-gradient(90deg, var(--red), var(--gray-dim) 50%, var(--green)); }
.gauge-marker{ position:absolute; top:-4px; width:3px; height:18px; background:var(--white); border-radius:2px; left:50%; transition:left .6s var(--ease); box-shadow:0 0 8px rgba(255,255,255,0.6); }
.gauge-fill{ display:none; }
.gauge-labels{ display:flex; justify-content:space-between; font-family:var(--f-mono); font-size:9px; color:var(--gray-dim); text-transform:uppercase; letter-spacing:.05em; }
.gauge-readout{ font-size:14px; color:var(--white); margin-top:4px; }
.gauge-note{ font-size:11.5px; color:var(--gray-dim); line-height:1.6; margin-top:6px; }

.terminal-ticker{ border-top:1px solid var(--border); background:#000; overflow:hidden; height:38px; display:flex; align-items:center; }
.terminal-ticker-track{ display:flex; white-space:nowrap; gap:44px; padding-left:32px; animation:tapeScroll 32s linear infinite; font-family:var(--f-mono); font-size:11.5px; color:var(--gray); }
.terminal-ticker:hover .terminal-ticker-track{ animation-play-state:paused; }

/* ==========================================================================
   Tokenomics
   ========================================================================== */
.tokenomics{ background:var(--bg-raised); }
.token-layout{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; margin-top:60px; }
.pie-wrap{ position:relative; display:flex; align-items:center; justify-content:center; }
.pie-coin{ position:absolute; width:120px; height:120px; animation:coinFloat 5.5s ease-in-out infinite; filter:drop-shadow(0 10px 30px rgba(0,200,5,.3)); }
svg.pie{ transform:rotate(-90deg); }
.pie-legend{ display:flex; flex-direction:column; gap:14px; margin-top:24px; }
.legend-item{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--gray); }
.legend-swatch{ width:11px; height:11px; border-radius:3px; }
.token-stats-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }

/* ==========================================================================
   Market Statistics
   ========================================================================== */
.stats-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; margin-top:56px; }

/* ==========================================================================
   How to Buy
   ========================================================================== */
.buy-steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; margin-top:64px; }
.step-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:26px 22px; position:relative; transition:all .35s var(--ease); }
.step-card:hover{ transform:translateY(-6px); border-color:var(--border-green); box-shadow:0 20px 50px rgba(0,200,5,0.08); }
.step-num{ font-family:var(--f-mono); font-size:26px; color:var(--green-dim); font-weight:600; opacity:.6; }
.step-card h4{ font-family:var(--f-display); font-size:17px; margin:14px 0 10px; }
.step-card p{ font-size:13px; color:var(--gray); line-height:1.6; }

/* ==========================================================================
   Buy CTA
   ========================================================================== */
.buy-cta{ text-align:center; padding:100px 40px; border-radius:var(--radius-lg); border:1px solid var(--border-green); background:radial-gradient(ellipse at 50% 0%, rgba(0,200,5,0.1), transparent 60%), var(--surface); position:relative; overflow:hidden; }
.buy-cta h2{ font-family:var(--f-display); font-size:clamp(2rem,4.4vw,3.4rem); font-weight:800; max-width:760px; margin:0 auto 20px; }
.buy-cta p{ color:var(--gray); max-width:520px; margin:0 auto 40px; }
.pulse-btn{ position:relative; }
.pulse-btn::after{ content:''; position:absolute; inset:-4px; border-radius:100px; border:1px solid var(--green); animation:pulseRing 2s ease-out infinite; opacity:0; }
@keyframes pulseRing{ 0%{ opacity:.6; transform:scale(1); } 100%{ opacity:0; transform:scale(1.25); } }
.contract-box{ margin-top:38px; display:inline-flex; align-items:center; gap:14px; padding:14px 20px; background:rgba(0,0,0,0.4); border:1px solid var(--border); border-radius:100px; font-family:var(--f-mono); font-size:13px; max-width:100%; }
.contract-box span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.copy-btn{ background:var(--surface-strong); border:1px solid var(--border); border-radius:100px; padding:7px 14px; font-family:var(--f-mono); font-size:11px; color:var(--white); transition:all .25s ease; flex-shrink:0; }
.copy-btn:hover{ border-color:var(--border-green); color:var(--green); }
.copy-btn.copied{ background:var(--green); color:#03170a; border-color:var(--green); }

/* ==========================================================================
   Roadmap
   ========================================================================== */
.roadmap-line{ position:relative; margin-top:70px; padding-left:32px; }
.roadmap-line::before{ content:''; position:absolute; left:0; top:6px; bottom:6px; width:1px; background:linear-gradient(var(--green), var(--border) 90%); }
.rm-item{ position:relative; padding-bottom:56px; }
.rm-item:last-child{ padding-bottom:0; }
.rm-item::before{ content:''; position:absolute; left:-37px; top:2px; width:11px; height:11px; border-radius:50%; background:var(--bg); border:2px solid var(--green); box-shadow:0 0 0 4px rgba(0,200,5,0.08); }
.rm-phase{ font-family:var(--f-mono); font-size:11px; color:var(--green); letter-spacing:.1em; text-transform:uppercase; }
.rm-item h4{ font-family:var(--f-display); font-size:20px; margin:8px 0 10px; }
.rm-item p{ font-size:14px; color:var(--gray); max-width:560px; line-height:1.7; }

/* ==========================================================================
   Featured quotes
   ========================================================================== */
.quotes-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:56px; }
.quote-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:30px; transition:all .3s var(--ease); }
.quote-card:hover{ border-color:var(--border-green); transform:translateY(-4px); }
.quote-card p{ font-size:15px; line-height:1.6; color:var(--white); }
.quote-handle{ margin-top:18px; font-size:12px; color:var(--green); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list{ margin-top:56px; border-top:1px solid var(--border); }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{ width:100%; background:none; border:0; color:var(--white); text-align:left; padding:22px 4px; display:flex; justify-content:space-between; align-items:center; font-family:var(--f-display); font-size:17px; font-weight:700; }
.faq-icon{ font-family:var(--f-mono); color:var(--green); font-size:20px; transition:transform .3s var(--ease); flex-shrink:0; margin-left:20px; }
.faq-item.open .faq-icon{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.faq-a p{ padding:0 4px 22px; color:var(--gray); font-size:14.5px; line-height:1.7; max-width:760px; }

/* ==========================================================================
   Community
   ========================================================================== */
.community-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:56px; }
.comm-card{ padding:40px; border-radius:var(--radius-lg); border:1px solid var(--border); background:var(--surface); display:flex; flex-direction:column; gap:18px; transition:all .35s var(--ease); position:relative; overflow:hidden; }
.comm-card:hover{ border-color:var(--border-green); transform:translateY(-6px); background:var(--surface-strong); }
.comm-icon{ width:52px; height:52px; border-radius:50%; border:1px solid var(--border-green); display:flex; align-items:center; justify-content:center; color:var(--green); }
.comm-card h3{ font-family:var(--f-display); font-size:22px; }
.comm-card p{ color:var(--gray); font-size:14px; }
.comm-cta{ align-self:flex-start; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer{ border-top:1px solid var(--border); padding:70px 32px 32px; background:var(--bg-raised); }
.footer-top{ max-width:1300px; margin:0 auto; display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; padding-bottom:50px; border-bottom:1px solid var(--border); }
.footer-brand{ display:flex; align-items:center; gap:12px; }
.footer-brand img{ width:40px; height:40px; border-radius:50%; }
.footer-quote{ max-width:420px; font-family:var(--f-display); font-size:19px; font-weight:700; line-height:1.4; }
.footer-quote span{ color:var(--green); }
.footer-socials{ display:flex; gap:12px; }
.footer-bottom{ max-width:1300px; margin:24px auto 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-family:var(--f-mono); font-size:11px; color:var(--gray-dim); letter-spacing:.05em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ height:400px; order:-1; }
  .terminal-grid{ grid-template-columns:1fr; }
  .terminal-col{ border-right:none; border-bottom:1px solid var(--border); }
  .why-grid{ grid-template-columns:1fr 1fr; }
  .versus-ledger{ grid-template-columns:1fr; }
  .versus-old{ border-right:none; border-bottom:1px solid var(--border); }
  .token-layout{ grid-template-columns:1fr; }
  .buy-steps{ grid-template-columns:repeat(3,1fr); }
  .community-grid{ grid-template-columns:1fr; }
  .stats-grid{ grid-template-columns:repeat(3,1fr); }
  .quotes-grid{ grid-template-columns:1fr; }
  .mini-stats-row{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 720px){
  .nav-links, .nav-actions .btn-ghost{ display:none; }
  .nav-toggle{ display:flex; }
  section{ padding:90px 20px; }
  .hero{ padding:40px 20px 80px; }
  .why-grid{ grid-template-columns:1fr; }
  .buy-steps{ grid-template-columns:1fr 1fr; }
  .footer-top{ flex-direction:column; }
  .ledger-card.lc1, .ledger-card.lc2, .ledger-card.lc3{ display:none; }
  .hero-stats{ gap:24px; }
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .market-strip{ gap:20px; }
  .ms-updated{ margin-left:0; }
}

@media (max-width: 480px){
  .buy-steps{ grid-template-columns:1fr; }
  .nav-inner{ padding:14px 18px; }
  .stats-grid{ grid-template-columns:1fr; }
}

/* mobile nav drawer */
.mobile-drawer{ position:fixed; inset:0; z-index:200; background:rgba(7,8,10,0.97); backdrop-filter:blur(20px); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:28px; opacity:0; visibility:hidden; transition:all .4s var(--ease); }
.mobile-drawer.open{ opacity:1; visibility:visible; }
.mobile-drawer a{ font-family:var(--f-display); font-size:26px; font-weight:700; color:var(--white); }
.mobile-drawer-close{ position:absolute; top:24px; right:24px; width:40px; height:40px; border:1px solid var(--border); border-radius:8px; display:flex; align-items:center; justify-content:center; background:none; color:var(--white); }
