/* TurboFlow — landing page styles */
:root {
  --accent: #0ABAB5;
  --accent-rgb: 10, 186, 181;
  --bg: #050908;
  --bg2: #070d0c;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-solid: #0a1110;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #e9efee;
  --dim: #8fa19e;
  --faint: #5c6c6a;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "DM Sans", system-ui, sans-serif;
  --ts: 1;     /* type scale */
  --sp: 1;     /* spacing scale */
  --max: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: calc(16px * var(--ts));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-motion *, body.no-motion *::before, body.no-motion *::after {
  animation-duration: 0.001s !important;
  transition-duration: 0.001s !important;
}
::selection { background: rgba(var(--accent-rgb), 0.3); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(24px, 4vw); }

/* ---------- type ---------- */
.mono-label {
  font-family: var(--mono);
  font-size: calc(11px * var(--ts));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mono-label::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--accent);
  display: inline-block;
}
.chapter {
  font-family: var(--mono);
  font-size: calc(11px * var(--ts));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
h1, h2 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: calc(clamp(44px, 5.6vw, 78px) * var(--ts)); }
h2 { font-size: calc(clamp(32px, 3.6vw, 52px) * var(--ts)); }
.lede {
  color: var(--dim);
  font-size: calc(clamp(15px, 1.15vw, 18px) * var(--ts));
  line-height: 1.7;
  max-width: 56ch;
  text-wrap: pretty;
}
.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: calc(46px * var(--ts));
  padding: 0 calc(26px * var(--ts));
  border-radius: 999px;
  font-size: calc(14.5px * var(--ts));
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #03211f;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 32px 0 rgba(var(--accent-rgb), 0.35);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: rgba(var(--accent-rgb), 0.55); color: var(--accent); }
.btn-sm { height: calc(38px * var(--ts)); padding: 0 calc(18px * var(--ts)); font-size: calc(13.5px * var(--ts)); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 9, 8, 0.6);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.brand {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 10px;
}
.brand img { width: 30px; height: 30px; display: block; }
.nav-main { display: flex; gap: 6px; margin-left: 16px; }
.nav-main a {
  font-size: 14px; color: var(--dim);
  padding: 8px 14px; border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-main a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-cta .docs-link { font-size: 14px; color: var(--dim); transition: color 0.2s ease; }
.header-cta .docs-link:hover { color: var(--text); }

/* ---------- sections ---------- */
.section { padding: calc(clamp(90px, 10vw, 150px) * var(--sp)) 0; position: relative; }
.section-head {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: calc(56px * var(--sp));
  position: relative;
}
.big-num {
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-58%);
  font-size: calc(clamp(120px, 16vw, 220px) * var(--ts));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  user-select: none;
}
.section-head .row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.hr-line { border: 0; border-top: 1px solid var(--line-soft); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: 68px;
  overflow: hidden;
}
#chair-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
}
#hero-flow {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  /* radial atmosphere */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 42% at 50% 78%, rgba(var(--accent-rgb), 0.10), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, black 30%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(56px * var(--sp)) max(24px, 4vw) calc(36px * var(--sp));
}
.hero-copy { display: flex; flex-direction: column; gap: calc(26px * var(--sp)); }
.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.store-pills { display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono);
  font-size: calc(11.5px * var(--ts));
  letter-spacing: 0.08em;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  transition: all 0.2s ease;
  background: transparent;
}
.pill:hover { color: var(--accent); border-color: rgba(var(--accent-rgb), 0.5); }

.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: auto;
}
.stat-card {
  border: 1px solid var(--line);
  background: rgba(5, 9, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: calc(22px * var(--sp)) calc(26px * var(--sp));
  display: flex; flex-direction: column; gap: 6px;
}
.stat-card .k { font-family: var(--mono); font-size: calc(11px * var(--ts)); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.stat-card .v { font-size: calc(clamp(30px, 2.6vw, 40px) * var(--ts)); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.stat-card .d { font-size: calc(13px * var(--ts)); color: var(--dim); }
.stat-tagline {
  display: flex; align-items: center;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.06);
  border-radius: 14px;
  padding: calc(22px * var(--sp)) calc(26px * var(--sp));
  max-width: 320px;
}
.stat-tagline p {
  font-family: var(--mono);
  font-size: calc(13px * var(--ts));
  line-height: 1.75;
  color: var(--accent);
  letter-spacing: 0.02em;
}

h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--accent); }

/* hero composition */
.hero-main { position: relative; display: flex; flex-direction: column; }
.hero-chair {
  position: relative;
  display: flex; justify-content: center;
  pointer-events: none;
  width: min(780px, 92vw);
  height: min(660px, 74vh);
  margin: 0 auto;
  align-self: center;
}
.hero-chair::before { content: none; }
.ascii-deco {
  position: absolute;
  font-family: var(--mono);
  font-size: calc(12px * var(--ts));
  line-height: 1.9;
  letter-spacing: 0.3em;
  color: rgba(var(--accent-rgb), 0.38);
  margin: 0;
  pointer-events: none;
  animation: decoFloat 9s ease-in-out infinite;
}
.ascii-deco .hot {
  color: #d6fffd;
  text-shadow: 0 0 14px rgba(var(--accent-rgb), 0.9);
}
.ascii-deco .warm { color: rgba(var(--accent-rgb), 0.85); text-shadow: 0 0 8px rgba(var(--accent-rgb), 0.45); }
.ascii-deco.left { left: 4%; top: 22%; }
.ascii-deco.right { right: 3%; bottom: 20%; animation-delay: -4.5s; text-align: right; }

/* side columns flanking the chair */
.hero-side {
  position: absolute;
  top: 17%;
  display: flex; flex-direction: column;
  gap: calc(38px * var(--sp));
  align-items: flex-start;
  text-align: left;
  animation: decoFloat 9s ease-in-out infinite;
}
.hero-side.left { left: -6%; }
.hero-side.right { right: -9%; animation-delay: -4.5s; }
body.no-motion .hero-side { animation: none; }
.hero-side .ascii-deco { position: static; animation: none; }
.tagline-mini {
  font-family: var(--mono);
  font-size: calc(13px * var(--ts));
  line-height: 2.3;
  letter-spacing: 0.06em;
  color: rgba(var(--accent-rgb), 0.75);
  margin: 0;
  white-space: nowrap;
}
.tagline-mini b { font-weight: 600; color: var(--accent); text-shadow: 0 0 16px rgba(var(--accent-rgb), 0.5); }
.stat-mini { display: flex; flex-direction: column; gap: 5px; pointer-events: auto; }
.stat-mini .k { font-family: var(--mono); font-size: calc(10.5px * var(--ts)); letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.stat-mini .v { font-size: calc(clamp(28px, 2.4vw, 36px) * var(--ts)); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
.stat-mini .d { font-size: calc(12.5px * var(--ts)); color: var(--dim); }
@keyframes decoFloat { 50% { transform: translateY(-12px); } }
body.no-motion .ascii-deco { animation: none; }
.deco-pulse {
  position: absolute;
  left: 50%; bottom: 24%;
  width: 90px; height: 34px;
  margin-left: -45px;
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 50%;
  opacity: 0;
  animation: decoPulse 4.6s ease-out infinite;
  pointer-events: none;
}
@keyframes decoPulse {
  0% { transform: scale(0.25); opacity: 0.7; }
  55% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
body.no-motion .deco-pulse { animation: none; opacity: 0; }
@media (max-width: 1180px) {
  .ascii-deco { display: none; }
  .tagline-mini { display: none; }
  .deco-pulse { display: none; }
  .hero-chair { width: 100%; height: auto; flex-direction: column; align-items: center; gap: 6px; }
  #hero #chair-canvas { position: relative; inset: auto; width: 100%; height: min(420px, 52vh); }
  .hero-side { position: static; display: flex; flex-direction: row; gap: 40px; align-items: flex-start; justify-content: center; animation: none; }
  .hero-side .stat-mini { align-items: center; text-align: center; }
}

/* hero variant: center (default) — poster: headline, spotlit chair, stats */
.hero[data-variant="center"] .hero-main { display: grid; justify-items: center; }
.hero[data-variant="center"] .hero-copy { align-items: center; text-align: center; margin: 0 auto; align-self: center; justify-self: center; max-width: 880px; }
.hero[data-variant="center"] .lede { margin: 0 auto; }
.hero[data-variant="center"] .hero-ctas { justify-content: center; }
.hero[data-variant="center"] .hero-chair { margin-top: calc(-12px * var(--sp)); }
.hero[data-variant="center"] .hero-stats { margin-top: calc(28px * var(--sp)); }

/* hero variant: split */
.hero[data-variant="split"] .hero-inner { justify-content: center; }
.hero[data-variant="split"] .hero-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 24px; }
.hero[data-variant="split"] .hero-copy { max-width: 600px; align-items: flex-start; text-align: left; }
.hero[data-variant="split"] .hero-chair { width: 100%; height: min(520px, 60vh); }
.hero[data-variant="split"] .hero-stats { margin-top: calc(48px * var(--sp)); }

/* hero variant: type (oversized typographic, chair as backdrop) */
.hero[data-variant="type"] .hero-inner { justify-content: flex-end; }
.hero[data-variant="type"] .hero-main { display: block; }
.hero[data-variant="type"] .hero-copy { align-items: flex-start; text-align: left; gap: calc(20px * var(--sp)); position: relative; z-index: 1; }
.hero[data-variant="type"] h1 {
  font-size: calc(clamp(54px, 8vw, 116px) * var(--ts));
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.98;
  max-width: 12ch;
}
.hero[data-variant="type"] .lede { max-width: 44ch; }
.hero[data-variant="type"] .hero-chair {
  position: absolute;
  right: -2%; bottom: -6%;
  z-index: 0;
  opacity: 0.85;
  width: min(560px, 42vw); height: min(520px, 58vh);
}
.hero[data-variant="type"] .hero-stats { margin-top: calc(48px * var(--sp)); position: relative; z-index: 1; }

/* ---------- ticker ---------- */
.ticker-section { background: var(--bg2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
}
.live-art {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 26px 26px 20px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(var(--accent-rgb), 0.06), transparent 70%),
    var(--panel);
  overflow: hidden;
}
.live-art figcaption {
  font-family: var(--mono);
  font-size: calc(10.5px * var(--ts));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
}
.ascii-img { width: 100%; display: block; }
.chain-feed {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-solid);
  overflow: hidden;
}
.chain-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: calc(12.5px * var(--ts));
  color: var(--dim);
}
.chain-row:last-child { border-bottom: 0; }
.chain-row .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--faint);
}
.chain-row.live { color: var(--text); }
.chain-row.live .dot { background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.8); animation: pulse 1.6s ease infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 2px rgba(var(--accent-rgb), 0.3); } }
.chain-row .hash { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: 0.02em; }
.chain-row .block { color: var(--faint); }
.chain-row .status { letter-spacing: 0.14em; text-transform: uppercase; font-size: calc(10.5px * var(--ts)); }
.chain-row.live .status { color: var(--accent); }

/* ---------- ghost marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: calc(28px * var(--sp)) 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 60s linear infinite;
}
.marquee-track span {
  font-size: calc(clamp(64px, 7.5vw, 110px) * var(--ts));
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13);
  padding-right: 60px;
}
.marquee-track span i { font-style: normal; -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.45); }
@keyframes marquee { to { transform: translateX(-50%); } }
body.no-motion .marquee-track { animation: none; }

/* ---------- pitch ---------- */
.pitch { text-align: center; }
.pitch h2 { font-size: calc(clamp(40px, 5vw, 72px) * var(--ts)); max-width: 18ch; margin: 22px auto 26px; }
.pitch .lede { margin: 0 auto; }

/* ---------- features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.feature-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: calc(30px * var(--sp)) calc(30px * var(--sp)) calc(34px * var(--sp));
  display: flex; flex-direction: column; gap: 14px;
  grid-column: span 3;
  transition: border-color 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover { border-color: rgba(var(--accent-rgb), 0.4); background: rgba(var(--accent-rgb), 0.03); }
.feature-card::after {
  content: "";
  position: absolute;
  right: -8px; bottom: -8px;
  width: 150px; height: 150px;
  background-image: radial-gradient(rgba(var(--accent-rgb), 0.5) 1px, transparent 1.5px);
  background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(circle at 100% 100%, black 20%, transparent 75%);
  mask-image: radial-gradient(circle at 100% 100%, black 20%, transparent 75%);
  opacity: 0.16;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature-card:hover::after { opacity: 0.45; }
.feature-card .num {
  font-family: var(--mono);
  font-size: calc(11px * var(--ts));
  letter-spacing: 0.16em;
  color: var(--accent);
}
.feature-card h3 { font-size: calc(20px * var(--ts)); font-weight: 500; letter-spacing: -0.01em; }
.feature-card p { color: var(--dim); font-size: calc(14.5px * var(--ts)); line-height: 1.7; text-wrap: pretty; }
.feature-card.span2 { grid-column: span 2; }
.feature-card.wide { grid-column: span 6; flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.feature-card.wide .fc-left { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.proof-chips { display: flex; flex-direction: column; gap: 10px; min-width: 260px; }
.proof-chips .chip {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: calc(12px * var(--ts));
  letter-spacing: 0.06em;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
}
.proof-chips .chip::before { content: "✓"; color: var(--accent); font-size: 12px; }
.feature-stat {
  font-family: var(--mono);
  color: var(--faint);
  font-size: calc(11px * var(--ts));
  letter-spacing: 0.1em;
  margin-top: auto;
  padding-top: 10px;
  display: flex; gap: 18px; flex-wrap: wrap;
}
.feature-stat b { color: var(--accent); font-weight: 500; }
.feature-art {
  width: 100%;
  display: block;
  margin-top: 6px;
}
.fc-art {
  width: min(340px, 38%);
  align-self: center;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 55%, transparent 85%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 55%, transparent 85%);
}

/* ---------- app showcase ---------- */
.app-section { background: var(--bg2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.app-copy { display: flex; flex-direction: column; gap: 24px; }
.qr-row { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.qr-box {
  width: 104px; height: 104px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #0c1312;
}
.qr-box canvas { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.qr-note { font-family: var(--mono); font-size: calc(11.5px * var(--ts)); color: var(--faint); line-height: 1.8; letter-spacing: 0.04em; }

.device-stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.device-stage::before {
  content: "";
  position: absolute; inset: 10% 0;
  background: radial-gradient(ellipse 60% 55% at 55% 50%, rgba(var(--accent-rgb), 0.12), transparent 70%);
  pointer-events: none;
}
.desk-mock {
  position: absolute;
  left: 0; top: 6%;
  width: min(380px, 78%);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 13, 12, 0.92);
  backdrop-filter: blur(6px);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--faint);
  z-index: 0;
}
.desk-mock .traffic { display: flex; gap: 5px; }
.desk-mock .traffic i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.14); display: block; }
.desk-mock nav { display: flex; gap: 14px; }
.desk-mock nav span.on { color: var(--accent); }

.phone {
  position: relative; z-index: 1;
  width: min(300px, 80%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 38px;
  background: #070d0c;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 6px rgba(255, 255, 255, 0.03);
  padding: 14px;
}
.phone-screen {
  border-radius: 26px;
  background: linear-gradient(180deg, #0a1211, #060b0a);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 18px 16px 22px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 480px;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.phone-search {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}
.phone-deposit {
  font-size: 11px; font-weight: 600;
  background: var(--accent); color: #03211f;
  border-radius: 999px; padding: 8px 14px;
}
.phone-balance { display: flex; flex-direction: column; gap: 3px; padding: 6px 2px; }
.phone-balance .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.phone-balance .v { font-size: 28px; font-weight: 500; letter-spacing: -0.01em; }
.coin-row {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 13px 14px;
}
.coin-ic {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  border: 1px solid var(--line);
  color: var(--dim);
}
.coin-row .nm { display: flex; flex-direction: column; }
.coin-row .nm b { font-size: 13.5px; font-weight: 600; }
.coin-row .nm span { font-family: var(--mono); font-size: 9.5px; color: var(--faint); letter-spacing: 0.1em; }
.coin-row .chg { margin-left: auto; font-family: var(--mono); font-size: 12px; }
.chg.up { color: var(--accent); }
.chg.down { color: #e8788a; }
.coin-spark { width: 56px; height: 22px; margin-left: auto; }
.phone-cta {
  margin-top: auto;
  text-align: center;
  background: var(--accent); color: #03211f;
  font-size: 13px; font-weight: 600;
  border-radius: 999px; padding: 13px;
}

/* ---------- final CTA ---------- */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(var(--accent-rgb), 0.12), transparent 70%);
  pointer-events: none;
}
.final-cta .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final-cta h2 { font-size: calc(clamp(40px, 4.6vw, 64px) * var(--ts)); }
.cta-chair {
  width: min(420px, 64vw);
  display: block;
  margin-bottom: -10px;
}
.slogan-line {
  font-size: calc(17px * var(--ts));
  color: var(--dim);
}
.slogan-line b { color: var(--text); font-weight: 600; }
.slogan-line em { font-style: italic; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg2); }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: calc(64px * var(--sp)) 0 calc(48px * var(--sp));
}
.footer-main .col h4 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint); font-weight: 500;
  margin-bottom: 18px;
}
.footer-main .col a { display: block; color: var(--dim); font-size: 14px; padding: 5px 0; transition: color 0.2s ease; }
.footer-main .col a:hover { color: var(--accent); }
.risk {
  border-top: 1px solid var(--line-soft);
  padding: 28px 0;
  color: var(--faint);
  font-size: calc(12px * var(--ts));
  line-height: 1.8;
  max-width: 880px;
  text-wrap: pretty;
}
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: 0.08em;
  color: var(--faint);
}
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-main { display: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat-tagline { max-width: none; }
  .feature-card, .feature-card.span2 { grid-column: span 6; }
  .app-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .live-grid { grid-template-columns: 1fr; }
  .fc-art { width: min(300px, 80%); }
  .hero[data-variant="split"] .hero-main { grid-template-columns: 1fr; }
  .hero[data-variant="split"] .hero-chair { height: min(420px, 50vh); }
  .hero[data-variant="type"] .hero-chair { position: relative; right: auto; bottom: auto; }
  .big-num { display: none; }
}

@media (max-width: 640px) {
  .site-header .wrap { gap: 16px; }
  .header-cta .docs-link { display: none; }
  .chain-row { grid-template-columns: 16px minmax(0, 1fr) auto; }
  .chain-row .block { display: none; }
  .hero-side { gap: 28px; }
  .marquee-track span { font-size: 52px; }
  .footer-main { grid-template-columns: 1fr; }
  .feature-card.wide { flex-direction: column; }
  .fc-art { align-self: flex-start; }
}
