/* =====================================================================
   RogerAI — marketing site. White room, quiet wiring.
   Consumes tokens.css. Minimalism is the brief: lots of air, one accent
   (volt), with live/ember/gold used only as small signals.
   ===================================================================== */

/* ---------- reset / base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { display: block; }
code, pre { font-family: var(--font-mono); }
::selection { background: var(--volt-tint); color: var(--volt); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ember { color: var(--ember); }
.cs { color: var(--gold); }

.eyebrow {
  display: inline-block; font-size: var(--t-micro); font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--ink-400);
  margin-bottom: var(--s-4);
}
.inline {
  font-size: 0.88em; background: var(--paper-3); color: var(--ink-900);
  padding: 2px 7px; border-radius: var(--r-xs); border: 1px solid var(--hairline);
}

/* ---------- reveal primitive ------------------------------------ */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--d-4) var(--ease-out-quint), transform var(--d-4) var(--ease-out-quint);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- live dot -------------------------------------------- */
.livedot { position: relative; display: inline-flex; width: var(--dot-size, 8px); height: var(--dot-size, 8px); }
.livedot__core, .livedot__ring {
  position: absolute; inset: 0; border-radius: 50%;
  width: var(--dot-size, 8px); height: var(--dot-size, 8px);
  background: var(--dot, var(--live));
}
.livedot__core { box-shadow: 0 0 0 2px var(--paper); }
.livedot__ring { animation: ring 2.4s var(--ease-out-quint) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(2.8); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .livedot__ring { animation: none; opacity: 0; } }

/* ---------- ASCII signature accents ----------------------------- */
/* on-air pulse  ((•))  — the lineage/transmit motif, in mono */
.onair {
  font-family: var(--font-mono); font-size: var(--t-sm); color: var(--live);
  letter-spacing: -.02em; white-space: nowrap; display: inline-flex; align-items: center;
}
.onair .onair__dot { display: inline-block; animation: onairBeat 2.2s var(--ease-in-out) infinite; }
@keyframes onairBeat { 0%,100% { opacity: .5; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .onair .onair__dot { animation: none; opacity: 1; } }

/* signal-bar equalizer divider  ▁▂▃▄▅▆▇█  between sections */
.eq {
  display: flex; justify-content: center; align-items: flex-end; gap: 3px;
  height: 26px; margin: 0 auto; padding-block: var(--s-16) 0;
  user-select: none;
}
.eq i {
  width: 4px; border-radius: 2px; background: var(--volt); opacity: .28;
  transform-origin: bottom; animation: eqPulse 1.7s var(--ease-in-out) infinite;
}
.eq i:nth-child(1)  { height: 24%; animation-delay: 0s; }
.eq i:nth-child(2)  { height: 40%; animation-delay: .07s; }
.eq i:nth-child(3)  { height: 62%; animation-delay: .14s; }
.eq i:nth-child(4)  { height: 86%; animation-delay: .21s; }
.eq i:nth-child(5)  { height: 100%; animation-delay: .28s; opacity: .42; }
.eq i:nth-child(6)  { height: 74%; animation-delay: .35s; }
.eq i:nth-child(7)  { height: 50%; animation-delay: .42s; }
.eq i:nth-child(8)  { height: 32%; animation-delay: .49s; }
.eq i:nth-child(9)  { height: 20%; animation-delay: .56s; }
@keyframes eqPulse { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .eq i { animation: none; } }

/* ascii section marker — a tiny mono call-sign before eyebrows */
.eyebrow--ascii::before {
  content: "◆ "; color: var(--gold); font-family: var(--font-mono);
  -webkit-text-fill-color: var(--gold);
}

/* ===== blip-map background ====================================== */
.blipmap {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}
.blipmap-fallback { display: none; }
@media (prefers-reduced-motion: reduce) {
  .blipmap { display: none; }
  .blipmap-fallback {
    display: block; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(circle at 70% 18%, var(--volt-glow), transparent 22%),
      radial-gradient(circle at 22% 60%, rgba(0,199,129,.12), transparent 18%);
    opacity: .5;
  }
}

/* ============================ NAV ============================== */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  border-bottom: 1px solid transparent;
  transition: background var(--d-3) var(--ease-standard), border-color var(--d-3);
}
.nav.is-scrolled {
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--hairline);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-900);
  font-weight: var(--weight-semi); letter-spacing: -.01em; }
.brand__name { font-size: 1.0625rem; }
.brand b { color: var(--volt); font-weight: var(--weight-semi); }

/* brand mark = the ASCII signature glyph ▟█▙ in volt */
.brand__mark {
  font-family: var(--font-mono); font-size: 1.0625rem; line-height: 1;
  color: var(--volt); letter-spacing: -.06em; transform: translateY(.5px);
}

.nav__right { display: flex; align-items: center; gap: var(--s-6); }
.nav__link { font-size: var(--t-sm); color: var(--ink-500); transition: color var(--d-2); }
.nav__link:hover { color: var(--ink-900); }
.nav__link--ghost {
  padding: 7px 14px; border: 1px solid var(--hairline-2); border-radius: var(--r-pill);
  color: var(--ink-900); background: var(--white); box-shadow: var(--e-1);
}
.nav__link--ghost:hover { border-color: var(--volt); color: var(--volt); }
@media (max-width: 720px) { .nav__link:not(.nav__link--ghost) { display: none; } }

/* ============================ HERO ============================= */
.hero { position: relative; }
.hero__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(72px, 13vh, 132px); padding-bottom: var(--s-16);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 15px 6px 11px; margin-bottom: var(--s-6);
  background: rgba(255,255,255,.72); backdrop-filter: blur(8px);
  border: 1px solid var(--hairline-2); border-radius: var(--r-pill);
  font-size: var(--t-xs); color: var(--ink-500); font-weight: var(--weight-medium);
}
.hero__eyebrow .onair { font-size: var(--t-xs); color: var(--live); margin-right: 1px; }
.hero__title {
  font-size: var(--t-display); line-height: var(--lh-tight);
  letter-spacing: -.035em; font-weight: var(--weight-bold);
  color: var(--ink-900); max-width: 16ch;
}
.hero__grad {
  background: linear-gradient(100deg, var(--volt), var(--pulse) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin-top: var(--s-6); max-width: 54ch;
  font-size: var(--t-lead); color: var(--ink-500); line-height: 1.5;
}
.hero__sub b { color: var(--ink-900); font-weight: var(--weight-semi); }

/* ---------- THE install command -------------------------------- */
.install { margin-top: var(--s-10); display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.install__box {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 16px 15px 20px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--hairline-2);
  box-shadow: var(--e-2);
  transition: box-shadow var(--d-2), border-color var(--d-2), transform var(--d-2) var(--ease-out-quint);
  max-width: 100%;
}
.install__box:hover { box-shadow: var(--e-3); border-color: var(--ink-300); transform: translateY(-1px); }
.install__box:focus-visible { outline: none; border-color: var(--volt); box-shadow: 0 0 0 4px var(--volt-glow); }
.install__prompt { color: var(--ink-300); font-family: var(--font-mono); user-select: none; }
.install__code {
  font-size: 1.0625rem; color: var(--ink-900); letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.install__copy {
  display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0;
  border-radius: var(--r-sm); color: var(--ink-400);
  background: var(--paper-2); border: 1px solid var(--hairline);
  transition: color var(--d-2), background var(--d-2);
}
.install__box:hover .install__copy { color: var(--volt); }
.install__box.is-copied .install__copy { color: var(--live); background: var(--live-tint); border-color: transparent; }
.install__meta { display: flex; gap: var(--s-4); align-items: center; flex-wrap: wrap; justify-content: center;
  font-size: var(--t-xs); color: var(--ink-400); }
.install__alt { color: var(--volt); font-weight: var(--weight-medium); }
.install__alt:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .install__code { font-size: .8125rem; white-space: normal; }
  .install__box { gap: 8px; padding: 12px 12px 12px 14px; }
}

/* ===================== TERMINAL DEMO =========================== */
.demo { padding-top: var(--s-12); padding-bottom: var(--s-24); }
.demo__head { text-align: center; max-width: 60ch; margin: 0 auto var(--s-10); }
.demo__head h2 { font-size: var(--t-h2); letter-spacing: -.025em; color: var(--ink-900);
  font-weight: var(--weight-bold); line-height: var(--lh-snug); }
.demo__head h2 .inline { font-size: .72em; vertical-align: middle; }
.demo__head p { margin-top: var(--s-4); color: var(--ink-500); font-size: var(--t-lead); }

.term {
  max-width: 760px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--hairline-2); border-radius: var(--r-lg);
  box-shadow: var(--e-4); overflow: hidden;
}
.term__bar {
  display: flex; align-items: center; gap: 12px;
  height: 42px; padding-inline: 16px;
  background: var(--paper-2); border-bottom: 1px solid var(--hairline);
}
.term__dots { display: inline-flex; gap: 7px; }
.term__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--hairline-2); }
.term__dots i:nth-child(1) { background: #FF5F57; }
.term__dots i:nth-child(2) { background: #FEBC2E; }
.term__dots i:nth-child(3) { background: #28C840; }
.term__title { flex: 1; text-align: center; font-size: var(--t-xs); color: var(--ink-400);
  font-family: var(--font-mono); }
.term__replay {
  font-size: var(--t-xs); color: var(--ink-400); font-family: var(--font-mono);
  padding: 3px 9px; border-radius: var(--r-pill); border: 1px solid var(--hairline-2);
  transition: color var(--d-2), border-color var(--d-2);
}
.term__replay:hover { color: var(--volt); border-color: var(--volt); }
.term__screen {
  margin: 0; padding: 20px 22px;
  font-size: 13.5px; line-height: 1.55; color: var(--ink-700);
  min-height: 360px; white-space: pre; overflow-x: auto;
  font-variant-numeric: tabular-nums; tab-size: 2;
}
@media (max-width: 560px) { .term__screen { font-size: 11px; padding: 14px; min-height: 320px; } }

/* terminal token colors (quiet, on white) */
.t-dim   { color: var(--ink-400); }
.t-prompt{ color: var(--volt); font-weight: var(--weight-semi); }
.t-user  { color: var(--ink-900); }
.t-ok    { color: var(--live); }
.t-live  { color: var(--live); }
.t-money { color: var(--ember); }
.t-gold  { color: var(--gold); }
.t-volt  { color: var(--volt); }
.t-head  { color: var(--ink-900); font-weight: var(--weight-semi); }
.t-sel   { background: var(--volt-tint); color: var(--ink-900); }
.t-cursor{ background: var(--volt); color: var(--volt); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .t-cursor { animation: none; } }

/* ===================== generic sections ======================= */
.section { padding-block: var(--s-32); position: relative; }
.band { background: rgba(255,255,255,.55); border-block: 1px solid var(--hairline);
  backdrop-filter: blur(2px); }
.section__head { max-width: 56ch; margin: 0 auto var(--s-16); text-align: center; }
.section__head h2, .demo__head h2 { margin: 0; }
.section h2 { font-size: var(--t-h2); letter-spacing: -.025em; color: var(--ink-900);
  font-weight: var(--weight-bold); line-height: var(--lh-snug); }
.section__head p { margin-top: var(--s-4); color: var(--ink-500); font-size: var(--t-lead); }

/* ---------- two-way (share / tune) ----------------------------- */
.twoway { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-6); align-items: stretch; }
.twoway__side {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--s-8); box-shadow: var(--e-1);
  transition: box-shadow var(--d-3) var(--ease-out-quint), transform var(--d-3) var(--ease-out-quint);
}
.twoway__side:hover { box-shadow: var(--e-3); transform: translateY(-3px); }
.twoway__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--t-micro); font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  padding: 4px 11px 4px 9px; border-radius: var(--r-pill); margin-bottom: var(--s-5);
}
.twoway__tag--air  { color: var(--live); background: var(--live-tint); }
.twoway__tag--tune { color: var(--volt); background: var(--volt-tint); }
.twoway__ico { width: 14px; height: 14px; overflow: visible; }
.twoway__ico path { opacity: .75; transition: opacity var(--d-3); transform-origin: 8px 8px; }
.twoway__side:hover .twoway__ico path { animation: icoWave 1.7s var(--ease-in-out) infinite; }
.twoway__side:hover .twoway__ico path:last-child { animation-delay: .22s; }
@media (prefers-reduced-motion: reduce) {
  .twoway__side:hover .twoway__ico path { animation: none; opacity: .9; }
}
.twoway__side h3 { font-size: var(--t-h3); color: var(--ink-900); font-weight: var(--weight-semi); letter-spacing: -.01em; }
.twoway__side p { margin-top: var(--s-3); color: var(--ink-500); font-size: var(--t-sm); }
.twoway__cmd {
  display: block; margin-top: var(--s-6); padding: 11px 14px;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-sm);
  font-size: var(--t-sm); color: var(--ink-900); overflow-x: auto;
}
.twoway__cmd::before { content: "$ "; color: var(--ink-300); }
.twoway__link { display: grid; place-items: center; width: 80px; }
.twoway__beam {
  width: 70px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--live), var(--volt));
  position: relative; overflow: visible;
}
.twoway__beam::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 7px; height: 7px;
  border-radius: 50%; background: var(--volt); transform: translate(-50%,-50%);
  box-shadow: 0 0 8px var(--volt-glow);
  animation: beam 2.4s var(--ease-in-out) infinite;
}
@keyframes beam { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .twoway__beam::after { animation: none; left: 50%; } }
@media (max-width: 820px) {
  .twoway { grid-template-columns: 1fr; }
  .twoway__link { width: auto; height: 44px; }
  .twoway__beam { width: 2px; height: 36px; background: linear-gradient(180deg, var(--live), var(--volt)); }
  .twoway__beam::after { animation: none; top: auto; bottom: 0; left: 50%; }
}

/* ---------- feature cards -------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.feat {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--s-8); transition: box-shadow var(--d-3) var(--ease-out-quint), transform var(--d-3) var(--ease-out-quint), border-color var(--d-3);
}
.feat:hover { box-shadow: var(--e-3); transform: translateY(-3px); border-color: var(--hairline-2); }
.feat__icon { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: var(--s-5);
  border: 1px solid var(--hairline); transition: transform var(--d-3) var(--ease-out-quint), box-shadow var(--d-3); }
.feat:hover .feat__icon { transform: translateY(-1px) scale(1.03); }
.feat__icon--volt  { background: var(--volt-tint);  color: var(--volt); }
.feat__icon--gold  { background: #FBF1D6;           color: var(--gold); }
.feat__icon--ember { background: var(--ember-tint); color: var(--ember); }
.feat__icon--live  { background: var(--live-tint);  color: var(--live); }
.feat h3 { font-size: var(--t-h3); color: var(--ink-900); font-weight: var(--weight-semi); letter-spacing: -.01em; }
.feat p { margin-top: var(--s-3); color: var(--ink-500); font-size: var(--t-sm); }

/* ---------- hand-built inline-SVG icons ------------------------ */
.ico { width: 28px; height: 28px; overflow: visible; }

/* tune-in: arcs sweep, signal bars rise on hover */
.ico--tune .ico__wave { opacity: .42; transition: opacity var(--d-3); transform-origin: 16px 16px; }
.feat:hover .ico--tune .ico__wave--1 { animation: icoWave 1.6s var(--ease-in-out) infinite; }
.feat:hover .ico--tune .ico__wave--2 { animation: icoWave 1.6s var(--ease-in-out) .25s infinite; }
@keyframes icoWave { 0%,100% { opacity: .3; } 50% { opacity: .85; } }
.ico--tune .ico__bars line { transform-origin: bottom; transition: transform var(--d-3) var(--ease-out-quint); transform: scaleY(.55); }
.feat:hover .ico--tune .ico__bars line { transform: scaleY(1); }
.feat:hover .ico--tune .ico__bars line:nth-child(2) { transition-delay: .05s; }
.feat:hover .ico--tune .ico__bars line:nth-child(3) { transition-delay: .1s; }

/* lineage receipt: the gold ◆ settles on hover */
.ico--receipt .ico__cs { transition: transform var(--d-4) var(--ease-out-quint); transform-box: fill-box; transform-origin: center; }
.feat:hover .ico--receipt .ico__cs { animation: icoDiamond 2.6s var(--ease-in-out) infinite; }
@keyframes icoDiamond { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

/* wallet: a token slides into the flap */
.ico--wallet .ico__coin { transition: transform var(--d-4) var(--ease-out-quint); }
.feat:hover .ico--wallet .ico__coin { animation: icoCoin 2.4s var(--ease-in-out) infinite; }
@keyframes icoCoin { 0% { transform: translateX(2px); opacity: .4; } 40%,100% { transform: none; opacity: 1; } }

/* privacy: the check draws in on hover */
.ico--shield .ico__check { stroke-dasharray: 16; stroke-dashoffset: 0; transition: stroke-dashoffset var(--d-4) var(--ease-out-quint); }
.feat:hover .ico--shield .ico__check { animation: icoDraw 1.6s var(--ease-out-quint); }
@keyframes icoDraw { 0% { stroke-dashoffset: 16; } 100% { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .feat:hover .feat__icon { transform: none; }
  .ico--tune .ico__wave { opacity: .55; }
  .feat:hover .ico__wave--1, .feat:hover .ico__wave--2,
  .feat:hover .ico--receipt .ico__cs, .feat:hover .ico--wallet .ico__coin,
  .feat:hover .ico--shield .ico__check { animation: none; }
  .feat:hover .ico--tune .ico__bars line { transition: none; }
}

/* ---------- monetize ------------------------------------------- */
.monetize { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-16); align-items: center; }
@media (max-width: 880px) { .monetize { grid-template-columns: 1fr; gap: var(--s-10); } }
.monetize__copy .eyebrow { margin-bottom: var(--s-3); }
.monetize__copy h2 { font-size: var(--t-h2); letter-spacing: -.025em; color: var(--ink-900);
  font-weight: var(--weight-bold); line-height: var(--lh-snug); }
.monetize__copy > p { margin-top: var(--s-4); color: var(--ink-500); font-size: var(--t-lead); }
.checks { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-sm); color: var(--ink-700); }
.tick { color: var(--live); flex-shrink: 0; font-weight: var(--weight-bold); }

.earn {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--e-3);
}
.earn__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5);
  padding-bottom: var(--s-4); border-bottom: 1px solid var(--hairline); }
.earn__tag { font-family: var(--font-mono); font-weight: var(--weight-semi); color: var(--ink-900); }
.earn__onair { display: inline-flex; align-items: center; gap: 7px; font-size: var(--t-micro);
  font-weight: var(--weight-semi); letter-spacing: var(--tracking-label); color: var(--live); }
.earn__onair .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 3px var(--live-tint); animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .earn__onair .dot { animation: none; } }
.earn__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0;
  font-size: var(--t-sm); color: var(--ink-500); border-bottom: 1px solid var(--hairline); }
.earn__row b { color: var(--ink-900); font-weight: var(--weight-medium); }
.earn__spark { display: flex; align-items: center; gap: 10px; padding: var(--s-5) 0 var(--s-3); }
.earn__label { font-size: var(--t-xs); color: var(--ink-400); }
.earn__bars { flex: 1; display: inline-flex; align-items: flex-end; gap: 2px; height: 22px; }
.earn__bars i { flex: 1; background: var(--ember-tint); border-radius: 2px 2px 0 0; }
.earn__bars i.on { background: var(--ember); }
.earn__amt { font-size: var(--t-body); }
.earn__foot { font-size: var(--t-xs); color: var(--ink-400); text-align: center; }

/* ---------- CTA strip ------------------------------------------ */
.cta { padding-block: var(--s-32); }
.cta__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: var(--t-h1); letter-spacing: -.03em; color: var(--ink-900); font-weight: var(--weight-bold); }
.cta p { margin-top: var(--s-3); color: var(--ink-500); font-size: var(--t-lead); }
.install__box--lg { margin-top: var(--s-8); }
.install__box--lg .install__code { font-size: 1.125rem; }
@media (max-width: 560px) { .install__box--lg .install__code { font-size: .8125rem; } }

/* ===================== LIVE SIGNAL TOWER / MARKET ============== */
.market { padding-block: var(--s-24) var(--s-16); position: relative; }
.market__head { text-align: center; max-width: 60ch; margin: 0 auto var(--s-10); }
.market__head h2 { font-size: var(--t-h2); letter-spacing: -.025em; color: var(--ink-900);
  font-weight: var(--weight-bold); line-height: var(--lh-snug); }
.market__head p { margin-top: var(--s-4); color: var(--ink-500); font-size: var(--t-lead); }
.market__head p b { color: var(--ink-900); font-weight: var(--weight-semi); }

/* ---------- signal-sweep radar (premium animated asset) -------- */
.radar { display: block; width: 64px; height: 64px; margin: var(--s-2) auto var(--s-5); }
.radar__svg { width: 100%; height: 100%; overflow: visible; }
.radar__ring { stroke: var(--hairline-2); stroke-width: 1; fill: none; }
.radar__cross { stroke: var(--hairline-2); stroke-width: 1; opacity: .7; }
.radar__sweep { transform-origin: 32px 32px; animation: radarSpin 4s linear infinite; }
@keyframes radarSpin { to { transform: rotate(360deg); } }
.radar__blip { fill: var(--live); opacity: 0; }
.radar__blip--1 { animation: radarBlip 4s linear infinite; animation-delay: .65s; }
.radar__blip--2 { animation: radarBlip 4s linear infinite; animation-delay: 2.2s; }
.radar__blip--3 { animation: radarBlip 4s linear infinite; animation-delay: 3.1s; }
@keyframes radarBlip {
  0% { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
  6% { opacity: 1; transform: scale(1); transform-box: fill-box; transform-origin: center; }
  55% { opacity: .35; }
  85%,100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .radar__sweep { animation: none; opacity: .5; }
  .radar__blip { animation: none; opacity: .8; transform: none; }
}

.market__panel {
  max-width: 880px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--hairline-2); border-radius: var(--r-lg);
  box-shadow: var(--e-3); overflow: hidden;
}

/* top bar: ((•)) on-air pulse + live status + refresh */
.market__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 13px 18px; border-bottom: 1px solid var(--hairline);
  background: var(--paper-2); flex-wrap: wrap;
}
.market__status { display: inline-flex; align-items: center; gap: 9px;
  font-size: var(--t-sm); color: var(--ink-500); font-weight: var(--weight-medium); }
.market__status .onair { color: var(--ink-300); font-size: var(--t-sm); transition: color var(--d-3); }
.market__status.is-live .onair { color: var(--live); }
.market__status.is-demo .onair { color: var(--ink-400); }
.market__status.is-off  .onair { color: var(--ink-300); }
.market__status.is-live { color: var(--ink-700); }
.market__meta { display: inline-flex; align-items: center; gap: var(--s-5); }
.market__legend { display: inline-flex; align-items: center; gap: 7px; font-size: var(--t-xs);
  color: var(--ink-400); }
.market__legbar { width: 16px; height: 12px; border-radius: 2px;
  background: linear-gradient(90deg, var(--live-tint), var(--live)); display: inline-block; }
.market__refresh {
  font-size: var(--t-xs); color: var(--ink-400); font-family: var(--font-mono);
  padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--hairline-2);
  transition: color var(--d-2), border-color var(--d-2);
}
.market__refresh:hover { color: var(--volt); border-color: var(--volt); }
@media (max-width: 620px) { .market__legend { display: none; } }

/* the grid: rows of channels */
.mkt-row, .mkt-row--head {
  display: grid;
  grid-template-columns: minmax(0,2.3fr) minmax(96px,1.5fr) 0.9fr 1fr 1.05fr;
  align-items: center; gap: var(--s-3);
  padding: 14px 18px; border-bottom: 1px solid var(--hairline);
}
.mkt-row--head {
  padding-block: 9px; background: var(--white);
  font-size: var(--t-micro); letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--ink-400); font-weight: var(--weight-semi);
}
.mkt-list { list-style: none; margin: 0; padding: 0; }
.mkt-row {
  font-size: var(--t-sm);
  opacity: 0; transform: translateY(8px);
  animation: mktIn var(--d-4) var(--ease-out-quint) forwards;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes mktIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mkt-row { animation: none; opacity: 1; transform: none; } }
.mkt-row:last-child { border-bottom: 0; }
.mkt-row--idle { opacity: .62; }
.mkt-row--idle { animation-name: mktInIdle; }
@keyframes mktInIdle { to { opacity: .62; transform: none; } }

.mkt-cell { min-width: 0; }
.mkt-cell--speed, .mkt-cell--quality, .mkt-cell--price { text-align: right; }
.mkt-row--head .mkt-cell--speed, .mkt-row--head .mkt-cell--quality,
.mkt-row--head .mkt-cell--price { text-align: right; }

/* station cell: ● dot, model name, ◆, provider count */
.mkt-cell--model { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.mkt-dot { font-size: 10px; line-height: 1; }
.mkt-dot--on { color: var(--live); }
.mkt-dot--off { color: var(--ink-300); }
.mkt-model { font-weight: var(--weight-semi); color: var(--ink-900); letter-spacing: -.01em;
  font-family: var(--font-mono); font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; }
.mkt-model .cs { color: var(--gold); }
.mkt-prov { flex-basis: 100%; font-size: var(--t-xs); color: var(--live); font-weight: var(--weight-medium); }
.mkt-prov--idle { color: var(--ink-400); }

/* signal tower bars ▁▂▃▄▅▆▇█ */
.sig { font-family: var(--font-mono); letter-spacing: 1px; white-space: nowrap; line-height: 1; }
.sigbar { display: inline-block; }
.sigbar--on  { color: var(--live); }
.sigbar--off { color: var(--ink-300); opacity: .55; }
.sigbar--head { will-change: opacity; }

/* speed / price */
.mkt-tps { color: var(--ink-900); font-size: .9375rem; }
.mkt-unit { color: var(--ink-400); font-size: var(--t-xs); }
.mkt-unit--idle { color: var(--ink-300); }
.mkt-cell--price b { font-size: .9375rem; }

/* quality dots ●○ */
.qdots { font-size: 10px; letter-spacing: 1px; color: var(--volt); white-space: nowrap; }
.qdots--idle { color: var(--ink-300); }

/* skeleton shimmer while first fetch resolves */
.mkt-skel { height: 52px; border-bottom: 1px solid var(--hairline);
  background: linear-gradient(90deg, var(--paper-2) 25%, var(--paper-3) 37%, var(--paper-2) 63%);
  background-size: 400% 100%; animation: mktSkel 1.4s ease infinite; }
.mkt-skel:last-child { border-bottom: 0; }
@keyframes mktSkel { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .mkt-skel { animation: none; } }

.market__foot { padding: 12px 18px; font-size: var(--t-xs); color: var(--ink-400);
  background: var(--paper-2); border-top: 1px solid var(--hairline); text-align: center; }

@media (max-width: 680px) {
  .mkt-row, .mkt-row--head {
    grid-template-columns: minmax(0,1.6fr) 1fr 1fr;
  }
  .mkt-cell--quality { display: none; }
  .mkt-cell--speed { display: none; }
  .mkt-row--head .mkt-cell--speed, .mkt-row--head .mkt-cell--quality { display: none; }
}

/* ---------- money row (glanceable economics) ------------------- */
.money {
  max-width: 880px; margin: var(--s-8) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
@media (max-width: 680px) { .money { grid-template-columns: 1fr; } }
.money__card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: var(--s-6); box-shadow: var(--e-1); display: flex; flex-direction: column; gap: 6px;
}
.money__label { font-size: var(--t-micro); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--ink-400); font-weight: var(--weight-semi); }
.money__big { font-size: 1.5rem; color: var(--ink-900); line-height: 1.1; letter-spacing: -.02em; }
.money__sub { font-size: var(--t-xs); color: var(--ink-500); line-height: 1.45; }

/* ============================ FOOTER ========================== */
.footer { border-top: 1px solid var(--hairline); background: var(--white); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6);
  padding-block: var(--s-10); flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: var(--weight-semi); color: var(--ink-900); }
.footer__brand b { color: var(--volt); }
.footer__links { display: flex; gap: var(--s-6); flex-wrap: wrap; }
.footer__links a { font-size: var(--t-sm); color: var(--ink-500); transition: color var(--d-2); }
.footer__links a:hover { color: var(--volt); }
.footer__bar { border-top: 1px solid var(--hairline); padding-block: var(--s-5);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-3); }
.footer__bar small { color: var(--ink-400); font-size: var(--t-xs); }
.footer__status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--ink-500); }
.footer__status .livedot { --dot: var(--live); --dot-size: 7px; }

/* ---------- toast ---------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--ink-900); color: var(--white); font-size: var(--t-sm);
  padding: 10px 18px; border-radius: var(--r-pill); box-shadow: var(--e-4);
  opacity: 0; pointer-events: none; transition: opacity var(--d-3), transform var(--d-3) var(--ease-out-quint);
  z-index: var(--z-overlay); display: inline-flex; align-items: center; gap: 8px;
}
.toast.is-shown { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
