/* ---------- tokens ---------- */
:root {
  --bg: #04040b;
  --bg-2: #07070f;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-2: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-3: rgba(255, 255, 255, 0.2);
  --text: #f4f5fb;
  --muted: rgba(244, 245, 251, 0.62);
  --dim: rgba(244, 245, 251, 0.4);
  --up: #3ddc97;
  --up-soft: rgba(61, 220, 151, 0.12);
  --down: #ff5c6c;
  --down-soft: rgba(255, 92, 108, 0.12);
  --accent: #6f86ff;
  --tick: #ededfa;

  --display: "Clash Display", "Outfit", system-ui, sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 32px;

  --wrap: 1440px;
  --gutter: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: 0.01em; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.up { color: var(--up); }
.down { color: var(--down); }

/* ---------- rails: framed column + section hairlines ---------- */
.rail { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.rail > .col { border-inline: 1.5px solid var(--line); position: relative; }
.hair { position: relative; height: 1px; background: var(--line); }
.hair .rail { position: relative; height: 1px; }
.hair .rail::before, .hair .rail::after {
  content: ""; position: absolute; top: -5px; width: 11px; height: 11px;
  background:
    linear-gradient(var(--line-3), var(--line-3)) center / 1px 100% no-repeat,
    linear-gradient(var(--line-3), var(--line-3)) center / 100% 1px no-repeat;
}
.hair .rail::before { left: calc(var(--gutter) - 5px); }
.hair .rail::after { right: calc(var(--gutter) - 5px); }

/* corner ticks used on framed boxes */
.ticks { position: relative; }
.ticks::before, .ticks::after {
  content: ""; position: absolute; width: 6px; height: 6px; pointer-events: none; z-index: 2;
}
.ticks::before { top: -1px; left: -1px; border-top: 1px solid var(--tick); border-left: 1px solid var(--tick); }
.ticks::after { right: -1px; bottom: -1px; border-right: 1px solid var(--tick); border-bottom: 1px solid var(--tick); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 10px 0 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0.5px 0.5px rgba(255,255,255,.14), inset 0 1px 3px rgba(255,255,255,.08), inset 0 2px 8px rgba(255,255,255,.04);
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(61,220,151,.18); animation: pulse 2s var(--ease) infinite; }
.h2 {
  font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; text-transform: uppercase;
  word-spacing: 0.08em; text-align: center;
}
.h3 {
  font-size: clamp(22px, 2vw, 28px); line-height: 1.2;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.78) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-weight: 300; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; }
.head { display: flex; flex-direction: column; align-items: center; gap: var(--s4); text-align: center; padding: var(--s10) var(--s5) var(--s8); }
.head .lede { max-width: 34rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 52px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  font-weight: 500; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--line-3); background: transparent; color: #fff;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), color .35s;
}
.btn:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.04); }
.btn.solid {
  background: #fff; color: #07070f; border: 4px solid rgba(255,255,255,.2); background-clip: padding-box;
  padding: 0 10px 0 22px;
}
.btn.solid:hover { transform: translateY(-1px); background: #fff; }
.btn.solid .arrow {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #07070f;
  transition: transform .35s var(--ease);
}
.btn.solid:hover .arrow { transform: translateX(3px); }
.btn.solid .arrow svg { width: 15px; height: 15px; }
.btn.sm { height: 44px; padding: 0 18px; font-size: 13px; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(4,4,11,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head .col { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; padding: 0 var(--s5); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: 0.08em; }
.brand img { width: 26px; height: auto; }
.nav { display: flex; gap: 34px; }
.nav a { color: rgba(255,255,255,.72); font-size: 15px; transition: color .3s; }
.nav a:hover { color: #fff; }
.head-cta { justify-self: end; display: flex; align-items: center; gap: var(--s2); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; place-items: center; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
.menu-btn span + span { margin-top: 5px; }
.site-head.open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
.site-head.open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.drawer { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .col { padding-bottom: 0; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s5); padding: 104px var(--s5) 0; }
.hero h1 { font-size: clamp(56px, 8.4vw, 124px); line-height: .92; letter-spacing: 0.005em; }
.hero h1 .stop { color: var(--accent); }
.hero .tagline {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(16px, 1.7vw, 22px); letter-spacing: 0.14em; line-height: 1.5;
  color: rgba(255,255,255,.86); display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .9em;
}
.hero .tagline span:nth-child(2) { color: #fff; }
.hero .lede { max-width: 30rem; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); color: var(--dim); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-3); }
.facts { list-style: none; margin: 0; padding: 0; }

/* horizon glow */
.horizon { position: absolute; left: 50%; top: 560px; width: 1700px; height: 1700px; transform: translateX(-50%); border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, #05050d 96%, transparent 100%);
  box-shadow: 0 -1px 0 rgba(170,190,255,.55), 0 -18px 60px rgba(90,110,255,.35), 0 -80px 180px rgba(70,80,220,.28);
  animation: breathe 9s ease-in-out infinite;
}
.hero-glow { position: absolute; left: 50%; top: 360px; width: 900px; height: 420px; transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(50% 50% at 50% 60%, rgba(111,134,255,.35), transparent 70%); filter: blur(10px);
  animation: drift 14s ease-in-out infinite;
}

/* hero stage */
.stage { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s6); padding: 72px var(--s5) 96px; max-width: 1080px; margin: 0 auto; }
.player {
  display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  width: min(100%, 250px);
}
.player.p1 { justify-self: end; animation: float 7s ease-in-out infinite; }
.player.p2 { justify-self: start; animation: float 7s ease-in-out -3.5s infinite; }
.player .who { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 13px; color: #fff; }
.p1 .avatar { background: linear-gradient(135deg, #2c8d68, #174d3a); }
.p2 .avatar { background: linear-gradient(135deg, #b23a4a, #5d1d27); }
.player .side { font-family: var(--display); font-size: 30px; line-height: 1; display: flex; align-items: center; gap: 8px; }
.player .side svg { width: 20px; height: 20px; }
.player .amt { font-size: 15px; color: #fff; }
.player .note { font-size: 12px; color: var(--dim); }
.stage-foot { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.stage-foot b { color: #fff; font-weight: 500; }

/* ---------- phone / mini app ---------- */
.phone {
  position: relative; width: 320px; border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #262833, #0d0e14 40%, #1b1c24);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 120px rgba(20,30,120,.55), 0 20px 50px rgba(0,0,0,.6);
  animation: float 8s ease-in-out -1s infinite;
}
.phone .screen { border-radius: 35px; overflow: hidden; background: #0b0c12; display: flex; flex-direction: column; }
.tg-bar { display: flex; align-items: center; justify-content: space-between; padding: 34px 16px 10px; background: #12131b; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; }
.tg-bar .x { color: #62a8ff; font-size: 14px; }
.tg-bar .ttl { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.tg-bar .ttl b { font-weight: 600; font-size: 14px; }
.tg-bar .ttl small { color: var(--dim); font-size: 11px; }
.tg-bar .dots { color: var(--muted); letter-spacing: 1px; }
.app { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.app-row { display: flex; align-items: center; justify-content: space-between; }
.mkt { display: flex; align-items: center; gap: 10px; }
.mkt img { width: 28px; height: 28px; border-radius: 50%; }
.mkt b { font-family: var(--display); font-size: 18px; letter-spacing: .04em; }
.mkt small { display: block; color: var(--dim); font-size: 11px; }
.status { height: 24px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: rgba(111,134,255,.14); color: #b9c4ff; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.locked { background: rgba(255,196,84,.14); color: #ffd07a; }
.clock-card { border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.06); padding: 14px; text-align: center; }
.clock-card small { display: block; color: var(--dim); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.clock-card .big { font-size: 44px; font-weight: 600; line-height: 1.1; margin-top: 4px; }
.clock-card .window { color: var(--muted); font-size: 11px; }
.meter { height: 3px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #b3c0ff); border-radius: inherit; transition: width .25s linear; }
.spark { height: 64px; }
.spark svg { width: 100%; height: 100%; }
.duel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; }
.seat { border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.seat.u { background: var(--up-soft); border: 1px solid rgba(61,220,151,.22); }
.seat.d { background: var(--down-soft); border: 1px solid rgba(255,92,108,.22); text-align: right; }
.seat small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.seat b { font-family: var(--display); font-size: 17px; }
.seat span { font-size: 12px; color: #fff; }
.vs { align-self: center; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--dim); }
.app-btn { margin-top: 4px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #07070f; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.app-note { text-align: center; font-size: 10.5px; color: var(--dim); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: var(--s6) var(--s5) var(--s7); display: flex; flex-direction: column; gap: var(--s4); border-right: 1px solid var(--line); min-height: 300px; transition: background .4s var(--ease); }
.step:last-child { border-right: 0; }
.step:hover { background: var(--panel); }
.step .n { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); font-family: var(--display); font-weight: 600; font-size: 15px; }
.step h3 { font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.step p { color: var(--muted); font-size: 15px; font-weight: 300; }
.step .art { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 6px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 12.5px; }
.chip img { width: 18px; height: 18px; border-radius: 50%; }
.pick { flex: 1; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--display); font-size: 16px; letter-spacing: .06em; }
.pick.u { background: var(--up-soft); color: var(--up); border: 1px solid rgba(61,220,151,.25); }
.pick.d { background: var(--down-soft); color: var(--down); border: 1px solid rgba(255,92,108,.25); }
.pick svg { width: 14px; height: 14px; }
.mini-duel { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 13px; }
.mini-duel .vs { font-size: 12px; }
.pot { flex: 1; padding: 12px; border-radius: 12px; border: 1px solid rgba(61,220,151,.22); background: var(--up-soft); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.pot b { font-family: var(--display); font-size: 18px; color: var(--up); }

/* ---------- house statement ---------- */
.house { padding: var(--s10) var(--s5); display: flex; flex-direction: column; align-items: center; gap: var(--s6); text-align: center; position: relative; overflow: hidden; }
.house::before { content: ""; position: absolute; inset: auto 10% -40% 10%; height: 70%; background: radial-gradient(50% 50% at 50% 50%, rgba(111,134,255,.16), transparent 70%); pointer-events: none; }
.house .big { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(38px, 6.4vw, 96px); line-height: 1; letter-spacing: 0; max-width: 12ch; }
.reveal-words .w { opacity: .16; transition: opacity .4s linear; }
.reveal-words .w.on { opacity: 1; }
.house .lede { max-width: 36rem; font-size: clamp(16px, 1.4vw, 19px); }
.split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s5); width: min(100%, 760px); margin-top: var(--s4); }
.split .side-card { padding: var(--s5); border: 1px solid var(--line-2); background: var(--panel); border-radius: var(--r-md); text-align: left; }
.split .side-card small { color: var(--dim); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.split .side-card b { display: block; font-family: var(--display); font-size: 24px; margin-top: 6px; }
.fee-core { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: var(--s4) var(--s5); border-radius: 999px; border: 1px dashed var(--line-3); }
.fee-core b { font-family: var(--display); font-size: 26px; }
.fee-core small { color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- feature row (tabs + panel) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 560px; }
.feature > * { padding: var(--s8) var(--s7); }
.feature .copy { display: flex; flex-direction: column; justify-content: center; gap: var(--s5); border-right: 1px solid var(--line); }
.feature .copy .lede { max-width: 30rem; }
.tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tab { display: grid; grid-template-columns: 34px 1fr auto; gap: var(--s3); align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--dim); transition: color .3s; }
.tab .i { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 11px; font-family: var(--mono); }
.tab .t { font-size: 15px; }
.tab .tm { font-family: var(--mono); font-size: 12px; }
.tab.on { color: #fff; }
.tab.on .i { border-color: #fff; background: #fff; color: #07070f; }
.feature .visual { position: relative; display: grid; place-items: center; overflow: hidden; background:
  radial-gradient(60% 60% at 50% 45%, rgba(111,134,255,.14), transparent 70%); }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); }

/* minute console */
.console { position: relative; width: min(100%, 470px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(20,21,32,.92), rgba(10,10,18,.92)); box-shadow: 0 30px 90px rgba(0,0,0,.55); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); }
.console .top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.console .now { font-size: clamp(36px, 4vw, 52px); font-weight: 600; color: #fff; line-height: 1; }
.timeline { position: relative; height: 38px; }
.timeline .track { position: absolute; left: 0; right: 0; top: 16px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; }
.timeline .fill { height: 100%; width: 0; background: linear-gradient(90deg, rgba(111,134,255,.6), var(--accent)); }
.timeline .lock { position: absolute; top: 16px; height: 6px; left: 91.666%; right: 0; background: repeating-linear-gradient(135deg, rgba(255,196,84,.55) 0 3px, transparent 3px 6px); border-radius: 0 6px 6px 0; }
.timeline .head-dot { position: absolute; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(111,134,255,.3); transform: translateX(-50%); left: 0; }
.timeline .lbl { position: absolute; top: 0; font-size: 10px; color: var(--dim); font-family: var(--mono); transform: translateX(-50%); }
.console .duel .seat b { font-size: 20px; }
.console .result { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.console .result b { color: #fff; font-weight: 500; }

/* ---------- markets ---------- */
.markets { display: grid; grid-template-columns: repeat(3, 1fr); }
.market { position: relative; display: flex; flex-direction: column; gap: var(--s4); padding: var(--s5); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 300px; transition: background .4s var(--ease); }
.market:nth-child(3n) { border-right: 0; }
.market:nth-last-child(-n+3) { border-bottom: 0; }
.market:hover { background: var(--panel); }
.market header { display: flex; justify-content: space-between; align-items: center; }
.market .id { display: flex; gap: 12px; align-items: center; }
.market .id img { width: 38px; height: 38px; border-radius: 50%; }
.market h3 { font-size: 20px; letter-spacing: .04em; }
.market .id small { display: block; color: var(--dim); font-size: 13px; }
.market .live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--up); }
.market .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s var(--ease) infinite; }
.market .chart { flex: 1; min-height: 110px; position: relative; }
.market .chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.market .chart path.line { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.market.in .chart path.line { stroke-dashoffset: 0; }
.market .chart .area { opacity: 0; transition: opacity 1s .5s; }
.market.in .chart .area { opacity: 1; }
.market .chart .empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: 13px; }
.market footer { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.market .px { font-size: 20px; color: #fff; }
.market .chg { font-size: 13px; }
.market .src { font-size: 11.5px; color: var(--dim); }
.list-banner { display: flex; flex-direction: column; align-items: center; gap: var(--s5); text-align: center; padding: var(--s10) var(--s5); }
.list-banner .lede { max-width: 38rem; }
.list-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 760px); border: 1px solid rgba(243, 226, 164, .35); border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, rgba(243, 226, 164, .08), transparent); }
.list-facts div { display: flex; flex-direction: column; gap: 6px; padding: var(--s5); border-right: 1px solid var(--line); }
.list-facts div:last-child { border-right: 0; }
.list-facts small { color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.list-facts b { font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; color: #f3e2a4; }
.list-banner .fine { color: var(--dim); font-size: 13px; max-width: 36rem; }
.note-row { padding: var(--s4) var(--s5); border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; text-align: center; }
.stock-board { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s6) var(--s5); border-top: 1px solid var(--line); }
.stock-board > p { margin: 0; color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.stock-board > div { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s3); }
.stock-board span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: var(--s4) var(--s2); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); font-family: var(--display); font-weight: 600; letter-spacing: .04em; }
.stock-board img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.stock-board small { display: block; color: var(--dim); font-family: var(--body); font-size: 11px; font-weight: 400; letter-spacing: 0; text-align: center; }

/* ---------- modes + stakes ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.card { position: relative; padding: var(--s7) var(--s6); display: flex; flex-direction: column; gap: var(--s4); border-right: 1px solid var(--line); min-height: 360px; overflow: hidden; }
.card:last-child { border-right: 0; }
.card .tag { align-self: flex-start; }
.card .lede { max-width: 26rem; }
.card ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; }
.card li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.82); font-size: 15px; }
.card li::before { content: ""; width: 14px; height: 1px; background: var(--line-3); }
.card .glyph { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid var(--line); pointer-events: none; }
.card .glyph::after { content: ""; position: absolute; inset: 36px; border-radius: 50%; border: 1px solid var(--line); }
.stake-panel { padding: var(--s8) var(--s6); display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s8); align-items: center; }
.stake-panel .copy { display: flex; flex-direction: column; gap: var(--s4); }
.range-card { padding: var(--s6); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); display: flex; flex-direction: column; gap: var(--s5); }
.range-top { display: flex; justify-content: space-between; align-items: baseline; }
.range-top .val { font-family: var(--display); font-size: clamp(36px, 4vw, 54px); line-height: 1; }
.range-top .val small { font-family: var(--body); font-size: 16px; color: var(--muted); margin-left: 6px; }
.range-top .lim { color: var(--dim); font-size: 13px; text-align: right; }
.range { position: relative; height: 26px; }
.range .rt { position: absolute; top: 11px; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); }
.range .rf { position: absolute; top: 11px; left: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(111,134,255,.5), var(--accent)); transition: width .6s var(--ease); }
.range .rk { position: absolute; top: 3px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(111,134,255,.22); transition: left .6s var(--ease); }
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.preset { height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-family: var(--mono); font-size: 14px; transition: all .3s var(--ease); }
.preset:hover { border-color: var(--line-3); }
.preset[aria-pressed="true"] { background: #fff; color: #07070f; border-color: #fff; }
.math { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.math div { background: var(--bg-2); padding: 12px 14px; }
.math small { display: block; color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.math b { font-family: var(--mono); font-weight: 500; font-size: 14px; }

/* ---------- live game board ---------- */
.board-wrap { padding: 0 var(--s5) var(--s9); display: flex; flex-direction: column; align-items: center; gap: var(--s7); }
.board { width: min(100%, 1040px); border-radius: var(--r-xl); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(18,19,30,.95), rgba(8,8,15,.95)); box-shadow: 0 40px 140px rgba(40,50,160,.28); overflow: hidden; }
.board .bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.board .body { display: grid; grid-template-columns: 1fr 1.1fr 1fr; }
.board .seat-lg { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.board .seat-lg.u { background: linear-gradient(180deg, rgba(61,220,151,.08), transparent 70%); }
.board .seat-lg.d { background: linear-gradient(180deg, rgba(255,92,108,.08), transparent 70%); text-align: right; align-items: flex-end; }
.seat-lg small { color: var(--dim); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.seat-lg .side { font-family: var(--display); font-size: clamp(34px, 3.4vw, 48px); line-height: 1; display: flex; gap: 10px; align-items: center; }
.seat-lg .side svg { width: 26px; height: 26px; }
.seat-lg .amt { font-size: 18px; }
.board .center { padding: 24px; border-inline: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.board .center small { color: var(--dim); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.board .center .big { font-size: clamp(48px, 5vw, 72px); font-weight: 600; line-height: 1; }
.board .center .vs-lg { font-family: var(--display); color: var(--dim); font-size: 14px; letter-spacing: .3em; }
.board .chart-lg { height: 160px; border-top: 1px solid var(--line); position: relative; }
.board .chart-lg svg { width: 100%; height: 100%; }
.board .chart-lg .tag-open { position: absolute; left: 20px; top: 14px; font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); width: min(100%, 1040px); align-items: start; }
.shots .vid { grid-column: 1 / -1; }
.shots .shot { max-width: 300px; justify-self: center; width: 100%; }
.shot { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); background: #0b0c12; }
.shot img { width: 100%; height: auto; }
.shot figcaption, .vid figcaption { padding: 10px 12px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
figure { margin: 0; }
.vid { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); background: #0b0c12; }
.vid .frame { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.vid.ready .frame { aspect-ratio: auto; }
.vid video { width: 100%; height: auto; }
.vid .hold { position: absolute; inset: 0; display: grid; place-items: center; }
.vid .hold img { width: 44px; opacity: .6; animation: pulse 2s ease-in-out infinite; }

/* ---------- community ---------- */
.community { display: grid; grid-template-columns: repeat(3, 1fr); }
.link-card { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s6); padding: var(--s6) var(--s5); border-right: 1px solid var(--line); min-height: 200px; transition: background .4s var(--ease); }
.link-card:last-child { border-right: 0; }
a.link-card:hover { background: var(--panel); }
.link-card .ic { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 12px; }
.link-card .ic svg { width: 20px; height: 20px; }
.link-card .row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); }
.link-card h3 { font-size: 20px; }
.link-card p { color: var(--muted); font-size: 14px; }
.link-card .go { width: 20px; height: 20px; color: var(--muted); transition: transform .35s var(--ease), color .3s; }
a.link-card:hover .go { transform: translate(3px, -3px); color: #fff; }
.ca { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.copy-btn { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.copy-btn:disabled { opacity: .4; cursor: not-allowed; }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn.copied { border-color: var(--up); color: var(--up); }

/* ---------- final cta ---------- */
.final { position: relative; overflow: hidden; padding: 160px var(--s5); display: flex; flex-direction: column; align-items: center; gap: var(--s6); text-align: center; }
.final h2 { font-size: clamp(40px, 6.6vw, 100px); line-height: .98; text-transform: uppercase; }
.final h2 span { display: block; color: rgba(255,255,255,.5); }
.final .ring { position: absolute; left: 50%; top: 100%; width: 1400px; height: 1400px; transform: translate(-50%, -34%); border-radius: 50%; pointer-events: none;
  box-shadow: 0 -1px 0 rgba(170,190,255,.5), 0 -20px 80px rgba(90,110,255,.3); background: radial-gradient(closest-side, #05050d 97%, transparent 100%); }
.final > *:not(.ring) { position: relative; z-index: 1; }

/* ---------- footer ---------- */
.site-foot .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s5); padding: var(--s6) var(--s5); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: var(--s5); }
.site-foot nav a { color: var(--muted); font-size: 15px; transition: color .3s; }
.site-foot nav a:hover { color: #fff; }
.socials { display: flex; gap: var(--s2); }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: all .3s var(--ease); }
.socials a:hover { color: #fff; border-color: var(--line-3); }
.socials svg { width: 16px; height: 16px; }
.site-foot .legal { display: grid; grid-template-columns: 1fr auto; gap: var(--s5); padding: var(--s5); color: var(--dim); font-size: 12.5px; line-height: 1.6; }
.site-foot .legal p { max-width: 62rem; }

/* ---------- motion ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@keyframes drift { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-48%) translateY(-14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes tickflip { 0% { opacity: .35; transform: translateY(-3px); } 100% { opacity: 1; transform: none; } }

.enter { opacity: 0; animation: rise .9s var(--ease) forwards; }
.enter.d1 { animation-delay: .08s; } .enter.d2 { animation-delay: .16s; } .enter.d3 { animation-delay: .24s; }
.enter.d4 { animation-delay: .32s; } .enter.d5 { animation-delay: .5s; }
.sr-in { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.sr-in.in { opacity: 1; transform: none; }
.flip { animation: tickflip .3s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .enter, .sr-in { opacity: 1; transform: none; }
  .reveal-words .w { opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .nav { gap: 24px; }
  .stage { grid-template-columns: 1fr auto 1fr; gap: var(--s5); }
  .feature > * { padding: var(--s7) var(--s6); }
  .shots { grid-template-columns: 1fr 1fr 1fr; }
  .shots .vid { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nav, .head-cta .btn.ghost { display: none; }
  .menu-btn { display: grid; }
  .site-head .col { grid-template-columns: 1fr auto; }
  .drawer { display: block; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
  .site-head.open .drawer { max-height: 420px; }
  .drawer .col { display: flex; flex-direction: column; padding: var(--s2) var(--s5) var(--s5); gap: 2px; }
  .drawer a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); color: rgba(255,255,255,.82); }
  .drawer .btn { margin-top: var(--s4); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature { grid-template-columns: 1fr; }
  .feature .copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .markets { grid-template-columns: 1fr 1fr; }
  .market:nth-child(3n) { border-right: 1px solid var(--line); }
  .market:nth-child(2n) { border-right: 0; }
  .market:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .market:nth-last-child(-n+2) { border-bottom: 0; }
  .stake-panel { grid-template-columns: 1fr; gap: var(--s6); }
  .stock-board > div { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  :root { --gutter: 20px; }
  .head { padding: var(--s9) var(--s4) var(--s7); }
  .hero-copy { padding: 72px var(--s4) 0; gap: var(--s4); }
  .stage { grid-template-columns: 1fr 1fr; padding: 56px var(--s4) 88px; gap: var(--s3); }
  .stage .phone { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .player { width: 100%; padding: 14px; }
  .player.p1, .player.p2 { justify-self: stretch; animation: none; }
  .player .side { font-size: 24px; }
  .horizon { top: 620px; width: 1200px; height: 1200px; }
  .stage-foot { bottom: 32px; }
  .duo, .community { grid-template-columns: 1fr; }
  .card, .link-card { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .card:last-child, .link-card:last-child { border-bottom: 0; }
  .card { padding: var(--s7) var(--s5); }
  .card ul { margin-top: var(--s3); }
  .board .body { grid-template-columns: 1fr 1fr; }
  .board .center { grid-column: 1 / -1; grid-row: 1; border-inline: 0; border-bottom: 1px solid var(--line); }
  .board .seat-lg { padding: 20px; }
  .house { padding: var(--s9) var(--s4); }
  .split { grid-template-columns: 1fr 1fr; }
  .split .fee-core { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .final { padding: 120px var(--s4); }
  .site-foot .legal { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .head-cta .btn.solid { height: 44px; font-size: 12px; padding: 0 6px 0 14px; gap: 8px; }
  .head-cta .btn.solid .arrow { width: 26px; height: 26px; }
  .actions { flex-direction: column; width: 100%; max-width: 340px; }
  .actions .btn { width: 100%; }
  .phone { width: 272px; border-radius: 38px; }
  .phone .screen { border-radius: 30px; }
  .clock-card .big { font-size: 38px; }
  .steps, .markets { grid-template-columns: 1fr; }
  .step, .market { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; min-height: 0; }
  .step:last-child, .market:last-child { border-bottom: 0 !important; }
  .market { min-height: 240px; }
  .stock-board > div { grid-template-columns: repeat(3, 1fr); }
  .list-facts { grid-template-columns: 1fr; }
  .list-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .list-facts div:last-child { border-bottom: 0; }
  .feature > * { padding: var(--s7) var(--s4); }
  .feature { min-height: 0; }
  .stake-panel { padding: var(--s7) var(--s4); }
  .range-card { padding: var(--s5); }
  .math { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots .shot:last-child { display: none; }
  .board-wrap { padding: 0 var(--s3) var(--s8); }
  .board .bar { padding: 14px 16px; }
  .board .seat-lg { padding: 16px; }
  .board .chart-lg { height: 120px; }
  .site-foot .top { flex-direction: column; align-items: flex-start; }
  .console { padding: var(--s4); }
  .console .duel .seat b { font-size: 15px; white-space: nowrap; }
  .timeline .lbl.mid { display: none; }
}

/* ---------- docs ---------- */
.doc-hero .head { padding-bottom: var(--s6); }
.doc-hero .head .lede { max-width: 40rem; }
.glance { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.glance div { padding: var(--s5); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.glance div:last-child { border-right: 0; }
.glance small { color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.glance b { font-weight: 500; font-size: 16px; }

.doc-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.doc-grid > * { min-width: 0; }
.doc-nav { position: sticky; top: 76px; align-self: start; max-height: calc(100vh - 76px); overflow: auto; display: flex; flex-direction: column; padding: var(--s6) var(--s5); border-right: 1px solid var(--line); }
.doc-nav p { color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s3); }
.doc-nav a { position: relative; padding: 8px 0 8px 14px; color: var(--muted); font-size: 14.5px; transition: color .3s; }
.doc-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 0; background: #fff; transform: translateY(-50%); transition: height .35s var(--ease); }
.doc-nav a:hover { color: #fff; }
.doc-nav a.on { color: #fff; }
.doc-nav a.on::before { height: 18px; }

.doc-body { padding: var(--s6) var(--s8) var(--s9); max-width: 860px; }
.doc-body section { padding: var(--s7) 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s4); scroll-margin-top: 96px; }
.doc-body section:first-child { padding-top: var(--s4); }
.doc-body .sec-n { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.doc-body h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.doc-body p { color: rgba(255,255,255,.76); font-weight: 300; font-size: 16.5px; line-height: 1.75; max-width: 44rem; }
.doc-body p b, .doc-body li b { color: #fff; font-weight: 500; }
.doc-body a:not(.btn) { color: #fff; border-bottom: 1px solid var(--line-3); transition: border-color .3s; }
.doc-body a:not(.btn):hover { border-color: #fff; }
.doc-body code { font-family: var(--mono); font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: rgba(255,255,255,.8); word-break: break-all; }
.doc-body .fine { font-size: 14px; color: var(--dim); }

.doc-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.doc-steps li { counter-increment: s; background: var(--bg-2); padding: 16px 18px 16px 58px; position: relative; color: rgba(255,255,255,.76); font-weight: 300; line-height: 1.6; }
.doc-steps li::before { content: "0" counter(s); position: absolute; left: 18px; top: 16px; font-family: var(--mono); font-size: 12px; color: var(--dim); line-height: 1.9; }

.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list li { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: rgba(255,255,255,.76); font-weight: 300; line-height: 1.6; }

.callout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.callout { padding: var(--s5); border-radius: var(--r-md); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); display: flex; flex-direction: column; gap: 8px; }
.callout small { color: var(--dim); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.callout p { font-size: 15px; line-height: 1.65; }
.callout .price { font-family: var(--display); font-size: 32px; font-weight: 600; line-height: 1; }

.timeline-doc { display: grid; gap: 0; border-left: 1px solid var(--line-2); margin-left: 6px; }
.timeline-doc div { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: var(--s4); padding: 10px 0 10px 22px; align-items: baseline; }
.timeline-doc div::before { content: ""; position: absolute; left: -4px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-3); }
.timeline-doc div:nth-child(3)::before { border-color: #ffd07a; background: #ffd07a; }
.timeline-doc div:nth-child(4)::before { border-color: var(--accent); background: var(--accent); }
.timeline-doc div:nth-child(5)::before { border-color: var(--up); background: var(--up); }
.timeline-doc span { color: #fff; font-size: 14px; }
.timeline-doc p { font-size: 15px; line-height: 1.6; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-md); }
.doc-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc-body th { text-align: left; padding: 12px 16px; color: var(--dim); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.02); border-bottom: 1px solid var(--line); }
.doc-body td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: rgba(255,255,255,.8); vertical-align: middle; }
.doc-body tr:last-child td { border-bottom: 0; }
.doc-body td.num { font-size: 13.5px; white-space: nowrap; }
.tk { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.tk img { width: 22px; height: 22px; border-radius: 50%; }

.fee-bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); max-width: 520px; }
.fee-bar .seg { display: flex; flex-direction: column; justify-content: center; padding: 0 16px; gap: 2px; }
.fee-bar .seg b { font-family: var(--display); font-size: 20px; }
.fee-bar .seg small { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.fee-bar .house { background: rgba(111,134,255,.14); border-right: 1px solid var(--line-2); }
.fee-bar .invite { background: rgba(61,220,151,.08); }

.doc-cta { margin-top: var(--s7); padding: var(--s6); border-radius: var(--r-lg); border: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap;
  background: radial-gradient(80% 140% at 100% 100%, rgba(111,134,255,.18), transparent 60%), rgba(255,255,255,.015); }

.nav a[aria-current="page"] { color: #fff; }

@media (max-width: 1024px) {
  .glance { grid-template-columns: repeat(3, 1fr); }
  .glance div:nth-child(3) { border-right: 0; }
  .glance div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .doc-nav { position: sticky; top: 76px; z-index: 5; max-height: none; flex-direction: row; gap: var(--s4); overflow-x: auto; padding: 0 var(--s5); border-right: 0; border-bottom: 1px solid var(--line); background: rgba(4,4,11,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); scrollbar-width: none; }
  .doc-nav::-webkit-scrollbar { display: none; }
  .doc-nav p { display: none; }
  .doc-nav a { white-space: nowrap; padding: 14px 0; flex: none; }
  .doc-nav a::before { left: 0; right: 0; top: auto; bottom: -1px; width: 0; height: 1px; transform: none; transition: width .35s var(--ease); }
  .doc-nav a.on::before { width: 100%; height: 1px; }
  .doc-body { padding: var(--s5) var(--s6) var(--s8); max-width: none; }
  .doc-body section { scroll-margin-top: 136px; }
}
@media (max-width: 560px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .glance div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); padding: var(--s4); }
  .glance div:nth-child(2n) { border-right: 0 !important; }
  .glance div:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0 !important; }
  .doc-nav { padding: 0 var(--s4); }
  .doc-body { padding: var(--s4) var(--s4) var(--s7); }
  .doc-body p { font-size: 15.5px; }
  .callout-grid { grid-template-columns: 1fr; }
  .timeline-doc div { grid-template-columns: 1fr; gap: 2px; }
  .doc-cta { padding: var(--s5); }
  .doc-cta .btn { width: 100%; }
  .doc-body td, .doc-body th { padding: 11px 12px; }
  .doc-body td.num { white-space: normal; }
}
