/* ============ Mongoose.trading ============
   Headlines: Archivo Expanded Black · UI: Space Grotesk · Labels: Space Mono · Body: Inter
   Motion: GSAP + ScrollTrigger + SplitText + Lenis (script.js)
=============================================== */
:root {
  --bg: #070410;
  --bg2: #0d081d;
  --card: #120b26;
  --line: rgba(178, 158, 235, 0.14);
  --line-soft: rgba(178, 158, 235, 0.08);
  --text: #f4f1fc;
  --muted: #a59bc8;
  --green: #4ef04e;
  --green-dim: rgba(78, 240, 78, 0.35);
  --green-soft: rgba(78, 240, 78, 0.1);
  --big: "Archivo", "Space Grotesk", sans-serif;
  --disp: "Space Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.boot .hero-inner { visibility: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--green); }
::selection { background: var(--green); color: #06130a; }

.mono {
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
/* everything set in the display face runs expanded — the Monument look */
.h-title, .sec-title, .panel h3, .feat-copy h3, .fee-big, .wordmark, .sec-ghost, .panel-num, .lounge-track {
  font-stretch: 125%;
}
.container { max-width: 1320px; margin: 0 auto; padding: 0 max(24px, 4vw); }

/* film grain — cheap depth on flat darks */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 95; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.045;
}

/* ---------- custom scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #241a44; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #322459; }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; z-index: 120; height: 2px; width: 0;
  background: var(--green); box-shadow: 0 0 10px rgba(78, 240, 78, 0.7);
}

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform 0.5s var(--ease), background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.hidden { transform: translateY(-110%); }
.nav.scrolled {
  background: rgba(7, 4, 16, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  max-width: 1500px; margin: 0 auto; padding: 16px max(24px, 3vw);
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--disp); font-weight: 700; letter-spacing: 0.1em; font-size: 14px;
}
.brand img { border-radius: 50%; }
.tld { font-style: normal; color: var(--green); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  position: relative; font-size: 10.5px; color: var(--muted);
  padding: 4px 0; transition: color 0.25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--green); transform: scaleX(0); transform-origin: right center;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left center; }

/* ============ BUTTONS ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 600; font-size: 15px;
  padding: 15px 30px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); background: rgba(255, 255, 255, 0.03);
  overflow: hidden; white-space: nowrap; isolation: isolate;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: 0; border-radius: inherit;
  background: var(--green);
  transform: translateY(102%); transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #06130a; border-color: transparent; }
.btn-primary {
  background: var(--green); color: #06130a; border-color: transparent;
  box-shadow: 0 10px 34px rgba(78, 240, 78, 0.22);
}
.btn-primary::before { background: #eafbea; }
.btn-primary:hover { color: #06130a; box-shadow: 0 14px 44px rgba(78, 240, 78, 0.36); }
.btn-ghost { background: transparent; }
.btn-small { padding: 10px 20px; font-size: 13px; }
.btn-big { padding: 19px 42px; font-size: 17px; }

/* ============ SECTION PRIMITIVES ============ */
.sec-label {
  position: relative; padding-top: 20px;
  font-size: 11px; color: var(--green); margin-bottom: 26px;
}
.sec-label::before {
  content: ""; position: absolute; top: 0; left: 0; height: 1px; width: min(440px, 100%);
  background: linear-gradient(90deg, var(--green), rgba(78, 240, 78, 0.05));
  transform: scaleX(var(--rule, 0)); transform-origin: left center;
}
.sec-head { padding-top: clamp(90px, 14vh, 160px); margin-bottom: clamp(40px, 6vh, 70px); }
.sec-title {
  font-family: var(--big); font-weight: 900; text-transform: uppercase;
  font-size: clamp(28px, 4.6vw, 74px); line-height: 1.02; letter-spacing: -0.02em;
}
.sec-title .ln { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.sec-sub { color: var(--muted); font-size: 17px; max-width: 560px; margin-top: 26px; }
.sec-head { position: relative; }
.sec-ghost {
  position: absolute; right: 0; bottom: -0.1em; z-index: 0;
  font-family: var(--big); font-weight: 900; line-height: 0.85; letter-spacing: -0.02em;
  font-size: clamp(100px, 13vw, 230px);
  color: transparent; -webkit-text-stroke: 1px rgba(178, 158, 235, 0.16);
  pointer-events: none; user-select: none;
}
.fees .sec-ghost { -webkit-text-stroke-color: rgba(6, 19, 10, 0.22); right: max(24px, 4vw); bottom: auto; top: 8vh; }
.pnl-container, .fees-container { position: relative; }
.pnl-container .sec-ghost { bottom: auto; top: clamp(70px, 11vh, 130px); }
.h-title .ln { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ============ HERO ============ */
/* clean editorial split: type owns the left column, the art lives in a framed card on the right */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 36px; }
.hero-aurora {
  position: absolute; left: 50%; top: -30%;
  width: 1300px; height: 900px; pointer-events: none;
  background:
    radial-gradient(closest-side at 30% 60%, rgba(78, 240, 78, 0.07), transparent 65%),
    radial-gradient(closest-side at 65% 35%, rgba(124, 77, 255, 0.18), transparent 70%);
  filter: blur(12px);
  animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translateX(-56%) scale(1) rotate(-2deg); opacity: 0.85; }
  to { transform: translateX(-44%) scale(1.1) rotate(2deg); opacity: 1; }
}
.hero-inner {
  position: relative; width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 0 max(24px, 3vw);
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.hero .sec-label { margin-bottom: clamp(20px, 3.5vh, 36px); }
.h-title {
  font-family: var(--big); font-weight: 900; text-transform: uppercase;
  font-size: clamp(31px, 4.4vw, 72px); line-height: 1.0; letter-spacing: -0.02em;
  margin-bottom: clamp(22px, 3.5vh, 36px);
}
.hero-lede { color: var(--muted); font-size: 17.5px; max-width: 470px; margin-bottom: clamp(24px, 4vh, 38px); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* framed artwork card */
.hero-art {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 1.12 / 1;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 80px rgba(124, 77, 255, 0.12);
}
.hero-art::before, .hero-art::after {
  content: "+"; position: absolute; z-index: 2; font-family: var(--mono); font-size: 14px; color: var(--green-dim);
}
.hero-art::before { top: 10px; left: 14px; }
.hero-art::after { top: 10px; right: 14px; }
/* the chase — sprite-strip animation, hunter and prey */
.chase {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(120% 90% at 72% 8%, rgba(124, 77, 255, 0.28), transparent 60%),
    linear-gradient(180deg, #241947 0%, #150e2c 58%, #0c0820 100%);
}
.chase-ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 16%;
  background: linear-gradient(180deg, rgba(7, 4, 16, 0) 0%, rgba(7, 4, 16, 0.6) 100%);
}
.chase-ground::before {
  content: ""; position: absolute; left: -120px; right: -120px; top: 30%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(178, 158, 235, 0.28) 0 26px, transparent 26px 92px);
  animation: floor 0.7s linear infinite;
}
@keyframes floor { from { transform: translateX(0); } to { transform: translateX(-92px); } }
.runner {
  position: absolute; display: block;
  background-repeat: no-repeat; background-size: 400% 100%;
}
.runner::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -6%; height: 10%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.5), transparent);
}
.runner.mongoose {
  left: 5%; bottom: 12%; width: 42%; aspect-ratio: 304 / 436;
  background-image: url("assets/anim/mongoose-run.webp");
  animation: sprite4 0.52s steps(4) infinite;
}
.runner.snake {
  right: 5%; bottom: 12%; width: 38%; aspect-ratio: 359 / 182;
  background-image: url("assets/anim/snake-flee.webp");
  animation: sprite4 0.44s steps(4) infinite;
}
@keyframes sprite4 { from { background-position-x: 0%; } to { background-position-x: 133.3333%; } }
.hero-art-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 38px 18px 14px; font-size: 10px; color: var(--green);
  background: linear-gradient(transparent, rgba(7, 4, 16, 0.85));
}
.hero-stats {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(14px, 3vh, 30px);
}
.stat {
  flex: 1 1 200px; padding: 22px 26px 4px 0; margin-right: 26px;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: none; margin-right: 0; }
.stat-num { font-size: 34px; font-weight: 700; display: block; line-height: 1.1; letter-spacing: 0; }
.stat-num i { font-style: normal; color: var(--green); font-size: 22px; }
.stat-label { font-size: 12.5px; color: var(--muted); display: block; max-width: 200px; }

/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg2); overflow: hidden;
}
.ticker-row { padding: 16px 0; overflow: hidden; }
.ticker-track {
  display: flex; gap: 38px; width: max-content; align-items: center;
  animation: ticker 36s linear infinite;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  color: var(--muted); white-space: nowrap; text-transform: uppercase;
}
.ticker-track .dot { color: var(--green); font-size: 7px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ 01 GUARD — horizontal rail ============ */
.guard { position: relative; }
.rail-wrap { overflow: hidden; position: relative; }
.rail-progress {
  position: absolute; left: max(24px, 4vw); bottom: 4.5vh; z-index: 5;
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; color: var(--muted);
}
.rail-progress #railIdx { color: var(--green); }
.rail-bar { width: 170px; height: 1px; background: var(--line); display: block; }
.rail-bar b { display: block; height: 100%; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left center; }
@media (max-width: 900px) { .rail-progress { display: none; } }
.rail {
  display: flex; align-items: stretch; gap: clamp(18px, 2vw, 30px);
  padding: 2vh max(24px, 4vw) 12vh; width: max-content;
  will-change: transform;
}
.panel {
  position: relative; width: min(46vw, 580px); min-height: min(64vh, 560px);
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 3vw, 46px); display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.panel:hover {
  border-color: rgba(78, 240, 78, 0.4); transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.panel:hover .panel-num { -webkit-text-stroke-color: var(--green); }
.panel::before, .panel::after {
  content: "+"; position: absolute; font-family: var(--mono); font-size: 14px; color: var(--green-dim);
}
.panel::before { top: 12px; left: 16px; }
.panel::after { bottom: 12px; right: 16px; }
.panel-num {
  font-family: var(--big);
  font-size: clamp(64px, 7vw, 120px); line-height: 1; font-weight: 900;
  color: transparent; -webkit-text-stroke: 1.5px var(--green-dim);
  margin-bottom: auto;
  transition: -webkit-text-stroke-color 0.35s ease;
}
.panel h3 {
  font-family: var(--big); font-weight: 800; text-transform: uppercase;
  font-size: clamp(20px, 2vw, 32px); line-height: 1.08; letter-spacing: -0.01em;
  margin: 26px 0 16px;
}
.panel p { color: var(--muted); font-size: 15.5px; max-width: 420px; }
.panel-tag {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  font-size: 10.5px; color: var(--green);
}
.panel-art { padding: 0; border: 1px solid var(--line); justify-content: flex-end; width: min(60vw, 700px); }
.panel-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.panel-quote {
  position: relative; z-index: 1; margin: 0; padding: 28px clamp(24px, 2.6vw, 40px);
  background: linear-gradient(transparent, rgba(7, 4, 16, 0.92));
  font-family: var(--disp); font-size: clamp(17px, 1.4vw, 22px); font-style: italic; color: var(--text);
}

/* ============ 02 DEMO — pinned phone ============ */
.demo { position: relative; background: var(--bg2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.demo .sec-head { margin-bottom: 0; padding-bottom: 4vh; }
.demo-stage { min-height: 100vh; display: flex; align-items: center; }
.demo-grid {
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 6vh max(24px, 4vw);
  display: grid; grid-template-columns: 1fr auto; gap: clamp(30px, 5vw, 90px); align-items: center;
}
.demo-side { display: flex; flex-direction: column; gap: 30px; }
.demo-step {
  font-size: 12px; color: var(--muted); line-height: 1.9;
  padding-left: 22px; border-left: 1px solid var(--line);
  opacity: 0.35; transition: opacity 0.4s ease, border-color 0.4s ease;
}
.demo-step b { display: block; color: var(--green); font-weight: 700; }
.demo-step.on { opacity: 1; border-left-color: var(--green); }
.phone {
  width: min(400px, 88vw);
  background: #0e1621; border: 1px solid rgba(178, 158, 235, 0.2); border-radius: 36px;
  padding: 14px 12px 20px;
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.65), 0 0 90px rgba(124, 77, 255, 0.16);
  will-change: transform;
}
.phone.armed { box-shadow: 0 50px 110px rgba(0, 0, 0, 0.65), 0 0 110px rgba(78, 240, 78, 0.28); }
.phone-top {
  display: flex; gap: 10px; align-items: center;
  padding: 4px 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.phone-top img { border-radius: 50%; }
.phone-title strong { display: block; font-family: var(--disp); font-size: 14px; line-height: 1.2; }
.phone-title span { font-size: 11.5px; color: #6c7a8a; }
.phone-chat { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 10px; }
.msg {
  max-width: 94%; border-radius: 14px; padding: 9px 12px 7px;
  font-size: 12.5px; line-height: 1.45; color: #e7ecf0; font-family: var(--body);
}
.msg p { margin: 0 0 4px; }
.msg .m-title { font-weight: 600; }
.msg .m-dim { color: #8b98a5; font-style: italic; }
.msg time { display: block; text-align: right; font-size: 10px; color: #6c7a8a; margin-top: 3px; }
.msg-out { align-self: flex-end; background: #2b5278; border-bottom-right-radius: 5px; }
.msg-out code { font-family: var(--mono); font-size: 11px; letter-spacing: 0; }
.msg-in { align-self: flex-start; background: #182533; border-bottom-left-radius: 5px; }
.msg-guard { border: 1px solid rgba(78, 240, 78, 0.45); box-shadow: 0 0 28px rgba(78, 240, 78, 0.16); }
.tg-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 9px; }
.tg-btns span {
  background: rgba(255, 255, 255, 0.08); border-radius: 7px;
  padding: 7px 4px; text-align: center; font-size: 11px; white-space: nowrap;
}
.tg-btns .wide { grid-column: span 2; }
.tg-btns .hot {
  background: rgba(78, 240, 78, 0.22); box-shadow: inset 0 0 0 1px rgba(78, 240, 78, 0.55);
}

/* ============ 03 PNL ============ */
.pnl { padding-bottom: clamp(70px, 10vh, 130px); }
.pnl-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 80px);
  align-items: center; padding-top: clamp(90px, 14vh, 160px);
}
.pnl-copy .sec-sub { margin-top: 26px; }
.pnl-art {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 70px rgba(78, 240, 78, 0.09);
  transform-style: preserve-3d; will-change: transform;
}
.pnl-art img { width: 100%; }
.pnl-shine {
  position: absolute; inset: -40%; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.12) 50%, transparent 58%);
  transform: translateX(-70%);
}

/* ============ 04 FEATURES ============ */
.feat-rows { display: flex; flex-direction: column; gap: clamp(80px, 14vh, 150px); padding-bottom: clamp(70px, 10vh, 130px); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.feat-flip .feat-media { order: 2; }
.feat-media {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4 / 3;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s var(--ease), border-color 0.4s ease;
}
.feat-media:hover { transform: scale(1.015); border-color: rgba(78, 240, 78, 0.3); }
.feat-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, transparent 55%, rgba(7, 4, 16, 0.55));
}
.feat-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.feat-num {
  font-size: 12px; color: var(--green); margin-bottom: 18px;
}
.feat-copy h3 {
  font-family: var(--big); font-weight: 800; text-transform: uppercase;
  font-size: clamp(20px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.feat-copy p { color: var(--muted); margin-bottom: 22px; max-width: 520px; }
.feat-copy ul { list-style: none; display: flex; flex-direction: column; }
.feat-copy li {
  position: relative; padding: 12px 0 12px 30px; font-size: 15px;
  border-top: 1px solid var(--line-soft);
}
.feat-copy li::before {
  content: "→"; position: absolute; left: 0; top: 11px;
  color: var(--green); font-family: var(--mono); font-size: 13px;
}

/* ============ 05 HOW ============ */
.how { background: var(--bg2); border-top: 1px solid var(--line-soft); padding-bottom: clamp(80px, 12vh, 140px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-bottom: 60px; }
.step { padding: 34px 30px 10px 0; margin-right: 30px; border-right: 1px solid var(--line-soft); }
.step:last-child { border-right: none; margin-right: 0; }
.step-num { font-size: 12px; color: var(--green); margin-bottom: 20px; display: block; }
.step h3 { font-family: var(--disp); font-size: 21px; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.cta-center { text-align: center; }

/* ============ 06 FEES — full-bleed green statement ============ */
.fees {
  padding: clamp(90px, 14vh, 170px) 0 clamp(80px, 12vh, 150px);
  background: var(--green); color: #06130a;
}
.fees ::selection { background: #06130a; color: var(--green); }
.fees .sec-label { color: #06130a; }
.fees .sec-label::before { background: linear-gradient(90deg, #06130a, rgba(6, 19, 10, 0.05)); }
.fees-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(36px, 5vw, 90px); align-items: center; position: relative; z-index: 1; }
.fee-big {
  font-family: var(--big); font-weight: 900; line-height: 0.78; letter-spacing: -0.02em;
  font-size: clamp(120px, 19vw, 300px);
  color: #06130a;
  display: flex; align-items: baseline;
}
.fee-big i { font-style: normal; font-size: 0.42em; letter-spacing: 0; transform: translateY(-0.85em); }
#feeCount { display: block; line-height: 0.78; font-variant-numeric: tabular-nums; }
.fee-big-sub { color: rgba(6, 19, 10, 0.72); font-size: 18px; margin-top: 26px; font-weight: 500; }
.fee-table { border-top: 1px solid rgba(6, 19, 10, 0.4); }
.fee-line {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 19px 2px; border-bottom: 1px solid rgba(6, 19, 10, 0.22); font-size: 15px;
}
.fee-line span { color: rgba(6, 19, 10, 0.66); }
.fee-line strong { font-family: var(--disp); white-space: nowrap; color: #06130a; }

/* ============ 07 LOUNGE ============ */
.lounge {
  position: relative; overflow: hidden; text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 90% at 50% 115%, rgba(78, 240, 78, 0.13), transparent 65%),
    var(--bg2);
}
.lounge-marquee { padding: 26px 0 0; overflow: hidden; opacity: 0.5; }
.lounge-track {
  display: flex; gap: 44px; width: max-content; align-items: center;
  animation: ticker 30s linear infinite;
  font-family: var(--big); font-weight: 700; font-size: clamp(30px, 3.8vw, 58px);
  letter-spacing: 0; white-space: nowrap; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(178, 158, 235, 0.4);
}
.lounge-track .dot { color: var(--green); -webkit-text-stroke: 0; font-size: 0.25em; }
.lounge-inner { position: relative; padding: clamp(60px, 9vh, 110px) max(24px, 4vw) clamp(80px, 11vh, 130px); display: flex; flex-direction: column; align-items: center; }
.lounge-float {
  position: absolute; z-index: 0; padding: 12px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  font-size: 11px; color: var(--text); white-space: nowrap;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.lf-1 { left: 6%; top: 24%; transform: rotate(-5deg); color: var(--green); }
.lf-2 { right: 5%; top: 18%; transform: rotate(3.5deg); }
.lf-3 { right: 11%; bottom: 16%; transform: rotate(-2.5deg); color: var(--green); }
@media (max-width: 1000px) { .lounge-float { display: none; } }
.lounge-inner .sec-sub { margin: 26px auto 38px; }
.lounge-inner .cta-row { justify-content: center; }
.lounge-handle { margin-top: 30px; font-size: 12px; color: var(--green); }

/* ============ 08 FAQ ============ */
.faq-sec { padding-bottom: clamp(80px, 12vh, 150px); }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 26px 8px;
  font-family: var(--disp); font-weight: 600; font-size: clamp(17px, 1.6vw, 21px);
  display: flex; align-items: baseline; gap: 22px;
  transition: color 0.25s ease, padding-left 0.35s var(--ease);
}
.faq summary:hover { color: var(--green); padding-left: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.q-num { font-size: 11px; color: var(--green); flex-shrink: 0; }
.faq summary i { margin-left: auto; position: relative; width: 14px; height: 14px; flex-shrink: 0; align-self: center; }
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; background: var(--green); transition: transform 0.3s var(--ease);
}
.faq summary i::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq summary i::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq details[open] summary i::after { transform: scaleY(0); }
.faq details p { padding: 0 8px 26px 0; color: var(--muted); font-size: 15.5px; max-width: 720px; }

/* ============ FINAL ============ */
.final { padding: clamp(110px, 18vh, 220px) 0 clamp(90px, 14vh, 170px); position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; left: 50%; bottom: -340px; transform: translateX(-50%);
  width: 1000px; height: 640px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(78, 240, 78, 0.12), transparent 70%);
}
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 34px; text-align: center; position: relative; }
.final-inner img { border-radius: 50%; box-shadow: 0 0 70px rgba(78, 240, 78, 0.3); }
.final-sub {
  font-size: 11px; color: var(--muted);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px;
}

/* ============ LEGAL SUBPAGES ============ */
.legal { max-width: 800px; padding: 150px 0 90px; }
.legal .sec-title { margin-bottom: 18px; }
.legal-updated { font-size: 10px; color: var(--muted); display: block; margin-bottom: 44px; }
.legal h2 {
  font-family: var(--disp); font-weight: 700; font-size: 19px;
  margin: 42px 0 12px; color: var(--text);
}
.legal p, .legal li { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0 18px; }
.legal li { margin-bottom: 8px; }
.legal li strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--green); }
.legal a:hover { text-decoration: underline; }
.legal-fine { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 13px; opacity: 0.8; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); background: var(--bg2); overflow: hidden; }
.wordmark {
  display: block;
  font-family: var(--big); font-weight: 900; white-space: nowrap;
  font-size: 7vw; line-height: 0.9; letter-spacing: -0.02em;
  padding: 6vh max(24px, 3vw) 0; text-transform: uppercase;
  will-change: transform;
  transition: color 0.45s var(--ease);
}
.wordmark span { color: var(--green); transition: color 0.45s var(--ease); }
.wordmark:hover { color: var(--green); }
.wordmark:hover span { color: var(--text); }
.footer-inner {
  padding-top: 6vh; padding-bottom: 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--disp); font-weight: 700; letter-spacing: 0.1em; font-size: 12.5px;
}
.footer-brand img { border-radius: 50%; }
.footer-links { display: flex; gap: 26px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 10.5px; color: var(--muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--green); }
.f-ic { display: inline-flex; align-items: center; gap: 8px; }
.ic {
  display: inline-block; width: 13px; height: 13px; flex-shrink: 0;
  background: var(--muted); transition: background 0.2s ease;
  -webkit-mask: var(--ic) no-repeat center / contain;
  mask: var(--ic) no-repeat center / contain;
}
.ic-x { --ic: url("assets/icons/x.png"); }
.ic-mail { --ic: url("assets/icons/mail.png"); width: 15px; }
.f-ic:hover .ic { background: var(--green); }
.footer-fine { width: 100%; color: var(--muted); font-size: 12.5px; opacity: 0.7; max-width: 720px; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .lounge-track, .hero-aurora, .runner, .chase-ground::before { animation: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .demo-grid { grid-template-columns: 1fr; justify-items: center; }
  .demo-side { flex-direction: row; gap: 16px; width: 100%; }
  .demo-step { flex: 1; font-size: 10.5px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding-top: 104px; }
  .hero-art { aspect-ratio: 16 / 10; }
  .rail { flex-direction: column; width: auto; padding-bottom: 8vh; }
  .panel, .panel-art { width: 100%; min-height: 0; }
  .panel-art { aspect-ratio: 4 / 3; }
  .panel-num { font-size: 70px; margin-bottom: 8px; }
  .pnl-grid, .feat, .fees-grid { grid-template-columns: 1fr; }
  .pnl-grid > *, .feat > *, .fees-grid > * { min-width: 0; }
  .feat-flip .feat-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; margin-right: 0; padding: 26px 0 18px; border-bottom: 1px solid var(--line-soft); }
  .step:last-child { border-bottom: none; }
  .hero-stats { border-top-color: var(--line-soft); }
  .stat { flex: 1 1 140px; padding: 18px 14px 4px 0; margin-right: 14px; }
  .demo-side { flex-direction: column; }
  .wordmark { font-size: 12.8vw; white-space: normal; line-height: 1; }
  .wordmark span { display: block; }
}
@media (max-width: 520px) {
  .nav-inner { gap: 12px; padding: 12px 16px; }
  .brand span { font-size: 12px; }
  .brand .tld { display: none; }
  .btn-small { padding: 8px 14px; font-size: 12px; }
  .sec-label { font-size: 10px; }
  .hero-lede { font-size: 16px; }
  .stat-num { font-size: 26px; }
}
