/* =========================================================
   Digital Tap AI — dark dev-tool design system (multi-page)
   Navy spine + layered grid/radial depth. Teal→mint accent,
   used sparingly. Grotesque display, clean sans body, mono data.
   Brand: teal→mint + navy. Zero purple. No glass/blur/neon/glow.
   ========================================================= */

:root {
  /* ---- dark base (default theme) ---- */
  --bg:        #07111F;
  --bg-2:      #0A1626;
  --surface:   #0E1B2E;
  --surface-2: #13243B;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);

  --ink:   #EAF1F6;
  --ink-2: rgba(234,241,246,.82);   /* ~10:1 on navy — AA body */
  --ink-3: rgba(234,241,246,.66);   /* ~7:1 — AA body, muted labels */
  --ink-4: rgba(234,241,246,.57);   /* ~5:1 — AA, faint mono/captions */

  /* brand — sampled teal→mint (bright variants read on dark) */
  --brand-aqua: #48DFEF;
  --brand-mint: #5EE9BE;
  --brand-teal: #0F5E77;
  --accent-grad: linear-gradient(135deg, #48DFEF 0%, #5EE9BE 100%);
  --accent:        #5EE9BE;
  --accent-strong: #5EE9BE;
  --accent-soft:   rgba(94,233,190,.10);
  --accent-line:   rgba(94,233,190,.30);
  --accent-ink:    #06212B;   /* dark text on bright accent fill */

  /* ---- type ---- */
  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-cap: 12px; --fs-sm: 13px; --fs-body-sm: 15px; --fs-body: 16px;
  --fs-lead: 18px; --fs-h4: 20px; --fs-h3: 26px;
  --fs-h2: clamp(2rem, 3.6vw, 2.9rem);
  --fs-h1: clamp(2.6rem, 5vw, 4.25rem);

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

  --wrap: 1180px;
  --gutter: 24px;
  --r-sm: 8px; --r: 12px; --r-lg: 16px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.3);
  --shadow-2: 0 24px 60px -30px rgba(0,0,0,.7), 0 4px 14px -6px rgba(0,0,0,.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; background: var(--bg); }
body {
  margin: 0; color: var(--ink);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  letter-spacing: -0.006em;
  background:
    radial-gradient(1100px 620px at 50% -6%, rgba(72,223,239,.08), transparent 60%),
    radial-gradient(920px 520px at 92% 4%, rgba(94,233,190,.05), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}
/* fine technical grid — masked to fade, restrained depth */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.030) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 38%, transparent 82%);
          mask-image: radial-gradient(circle at 50% 22%, #000 38%, transparent 82%);
}

h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.06; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s5); position: relative; }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { left: 12px; top: 12px; }
.mono-cap { font-family: var(--f-mono); font-size: var(--fs-cap); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  --fs: 14.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  font-family: var(--f-body); font-size: var(--fs); font-weight: 550; letter-spacing: -0.01em;
  padding: 12px 22px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer;
  transition: filter .16s ease, border-color .16s ease, background .16s ease, transform .1s ease, color .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 8px 16px; --fs: 14px; }
.btn--lg { --fs: 15.5px; padding: 15px 26px; }
.btn--full { width: 100%; }
.btn--solid { background: var(--accent-grad); color: var(--accent-ink); font-weight: 600; }
.btn--solid:hover { filter: brightness(1.05); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent-line); color: #fff; }
.btn--outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.play { width: 18px; height: 18px; border-radius: 50%; background: currentColor; position: relative; flex: none; opacity: .9; }
.play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%); border-left: 5px solid var(--bg); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }

.txtlink { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; font-size: var(--fs-body-sm); font-weight: 500; color: var(--ink-2); }
.txtlink:hover { color: var(--accent); }
.txtlink .play { width: 26px; height: 26px; border: 1px solid var(--line-2); background: transparent; color: var(--accent); }
.txtlink .play::after { border-left-color: var(--accent); left: 56%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; font-size: var(--fs-body-sm); color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.link-arrow:hover { border-color: var(--accent); }

/* =========================================================
   MASTHEAD + FOOTER (shared, dark)
   ========================================================= */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(7,17,31,.82); border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; align-items: center; gap: var(--s5); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark { width: 26px; height: 26px; flex: none; display: block; }
.brand__name { font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: -0.03em; color: #fff; }
.brand__ai { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-nav { display: flex; gap: 2px; margin-left: var(--s5); }
.site-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 8px 13px; border-radius: var(--r-sm); }
.site-nav a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.site-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.masthead__actions { display: flex; align-items: center; gap: var(--s4); margin-left: auto; }
.masthead__toggle, .masthead__mobile { display: none; }

.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: var(--s8) var(--s6); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s7); }
.footer__tag { margin-top: var(--s4); max-width: 34ch; font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }
.footer__col h4 { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-4); font-weight: 500; margin-bottom: var(--s3); }
.footer__col a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--ink-2); }
.footer__col a:hover { color: var(--accent); }
.footer__legal { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }
.footer__legal p { font-size: 12.5px; color: var(--ink-4); line-height: 1.5; }

/* =========================================================
   HERO — split screen (copy left, live meter right)
   ========================================================= */
.hero { position: relative; padding: var(--s9) 0 var(--s8); overflow: hidden; }
.hero__atmo { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; }
.hero__atmo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: var(--s8); align-items: center; }

.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px 5px 6px; }
.hero__eyebrow .tag { font-family: var(--f-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-ink); background: var(--accent-grad); padding: 3px 9px; border-radius: 999px; }
.hero__eyebrow .arr { color: var(--accent); font-weight: 600; }
.hero__hook { margin-top: var(--s5); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; font-family: var(--f-mono); font-size: var(--fs-sm); color: var(--ink-2); letter-spacing: -0.01em; }
.hero__hook b { font-family: var(--f-display); font-weight: 600; font-size: 22px; color: var(--accent); letter-spacing: -0.02em; }
.hero__hook span { margin-left: 2px; padding-left: 10px; border-left: 1px solid var(--line-2); color: var(--ink-4); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.hero__h1 { margin-top: var(--s4); font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.032em; line-height: 1.0; color: #fff; max-width: 13ch; }
.hero__h1 em { font-style: normal; color: var(--accent); }
.hero__sub { margin-top: var(--s5); max-width: 46ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); }
.hero__cta { margin-top: var(--s6); display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.hero__reassure { margin-top: var(--s4); font-family: var(--f-mono); font-size: var(--fs-sm); color: var(--ink-3); letter-spacing: -0.01em; }

/* ---- meter (hero visual, dark surface) ---- */
.meter { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--shadow-2); }
.meter__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.meter__label { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.meter__chip { font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 3px 9px; border-radius: 999px; }
.meter__spend { display: flex; align-items: baseline; gap: 3px; margin-top: var(--s5); }
.meter__cur { font-family: var(--f-mono); font-size: 24px; color: var(--ink-3); }
.meter__spendval { font-family: var(--f-mono); font-weight: 600; font-size: clamp(38px, 4.6vw, 50px); letter-spacing: -0.03em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; min-width: 7.2ch; }
.meter__per { font-family: var(--f-mono); font-size: 16px; color: var(--ink-3); }
/* 44px tall for a comfortable touch target; thin visual track painted at 6px, centered */
.meter__range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: var(--s3) 0 0; cursor: pointer; background: linear-gradient(90deg, var(--brand-mint) 0%, var(--brand-mint) var(--pct,10%), rgba(255,255,255,.14) var(--pct,10%)); background-size: 100% 6px; background-position: 0 center; background-repeat: no-repeat; }
.meter__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-mint); box-shadow: 0 2px 8px rgba(0,0,0,.5); cursor: grab; transition: transform .1s ease; }
.meter__range::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
.meter__range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-mint); cursor: grab; }
.meter__range:focus-visible { outline: 2px solid var(--brand-mint); outline-offset: 5px; }
.meter__note { margin-top: var(--s4); font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.meter__rows { margin-top: var(--s4); }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mrow__key { font-size: 14px; color: var(--ink-2); line-height: 1.3; }
.mrow__val { font-family: var(--f-mono); font-weight: 600; font-size: 18px; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mrow--waste .mrow__val { color: var(--accent); }
.mrow__val--fee { color: var(--ink-3); }
.meter__split { display: flex; height: 30px; border-radius: var(--r-sm); overflow: hidden; margin: var(--s4) 0 var(--s2); border: 1px solid var(--line-2); }
.meter__keep, .meter__fee { display: flex; align-items: center; justify-content: center; transition: width .25s ease; }
.meter__keep { background: var(--accent-grad); width: 80%; }
.meter__fee { background: rgba(255,255,255,.09); width: 20%; }
.meter__keep span { font-family: var(--f-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-ink); }
.meter__fee span { font-family: var(--f-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
#meterCta { margin-top: var(--s4); }
.meter__ticker { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.meter__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 0 rgba(94,233,190,.5); animation: pulse 2.4s infinite; }
.meter__ticker b { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: auto; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(94,233,190,.45);} 70%{box-shadow:0 0 0 7px rgba(94,233,190,0);} 100%{box-shadow:0 0 0 0 rgba(94,233,190,0);} }

/* =========================================================
   LEDGER STRIP (proof) + MARKET
   ========================================================= */
.ledgerstrip { border-block: 1px solid var(--line); background: rgba(255,255,255,.02); }
.ledgerstrip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px var(--s6); padding-block: var(--s4); }
.stat { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.stat:not(:last-child)::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); margin-left: var(--s5); }
.stat__live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.count { font-variant-numeric: tabular-nums; }

.market { padding-block: var(--s9); }
.market__lead { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.025em; color: #fff; max-width: 24ch; margin: 0 0 var(--s7); }
.market__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.mstat { padding: var(--s6) var(--s5); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.mstat:last-child { border-right: 0; }
.mstat__num { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.03em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.mstat__desc { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.mstat__src { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-4); margin-top: 2px; }

/* =========================================================
   CONTENTS — page index
   ========================================================= */
.contents { padding-block: var(--s9); border-top: 1px solid var(--line); }
.contents__label { margin-bottom: var(--s6); }
.toc { border-top: 1px solid var(--line); }
.toc__item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: var(--s5); padding: var(--s6) var(--s2); border-bottom: 1px solid var(--line); transition: background .16s ease; }
.toc__item:hover { background: rgba(255,255,255,.03); }
.toc__num { font-family: var(--f-mono); font-size: var(--fs-sm); color: var(--accent); }
.toc__body h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -0.025em; color: #fff; }
.toc__body p { margin-top: 6px; font-size: var(--fs-body-sm); color: var(--ink-3); max-width: 62ch; }
.toc__go { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent); transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.toc__item:hover .toc__go { background: var(--accent-soft); border-color: var(--accent-line); transform: translateX(3px); }
.toc__go svg { width: 18px; height: 18px; }

/* =========================================================
   PAGE HERO (sub-pages)
   ========================================================= */
.pagehero { padding: var(--s8) 0 var(--s7); border-bottom: 1px solid var(--line); position: relative; }
.pagehero__grid { align-items: end; }
.pagehero__eye { grid-column: 1 / -1; margin-bottom: var(--s3); }
.pagehero__title { grid-column: 1 / 9; font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.pagehero__intro { grid-column: 9 / 13; align-self: end; font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.55; }
@media (max-width: 860px) { .pagehero__title, .pagehero__intro { grid-column: 1 / -1; } }

/* =========================================================
   SECTION SCAFFOLD  (dark default · --tint = light contrast)
   ========================================================= */
.section { padding-block: var(--s9); }
.section--tint {
  --ink: #0C1A26; --ink-2: #33424F; --ink-3: #566470; --ink-4: #5E6A73;
  --surface: #FFFFFF; --surface-2: #F3F7F8; --line: #E4E9ED; --line-2: #CBD4DB;
  --accent: #08708A; --accent-strong: #074F63; --accent-soft: #E4F5F4; --accent-line: #B7E4DD;
  background: #F4F7F8; color: var(--ink); border-block: 1px solid rgba(8,20,34,.08);
}
.section--tint .shead__h2, .section--tint .move__title, .section--tint .safe__title,
.section--tint .nervecard__title, .section--tint .gcard__title, .section--tint .tier__price,
.section--tint .platform__name, .section--tint .market__lead, .section--tint .mstat__num,
.section--tint .toc__body h3, .section--tint .qa summary,
.section--tint .demoslot__title, .section--tint .receipt__kicker,
.section--tint .receipt__total th { color: var(--ink); }
.section--dark { background: var(--bg-2); }

.shead { max-width: 66ch; margin: 0 0 var(--s7); }
.shead__eye { font-family: var(--f-mono); font-size: var(--fs-cap); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: var(--s3); }
.shead__eye--ondark { color: var(--brand-mint); }
.shead__h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.025em; max-width: 22ch; color: #fff; }
.shead__frame { margin-top: var(--s4); font-family: var(--f-mono); font-size: var(--fs-body-sm); color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r-sm); padding: 12px 18px; display: inline-block; letter-spacing: -0.01em; }
.shead__intro { margin-top: var(--s4); font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.55; max-width: 60ch; }

/* THE GAP */
.gap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.gapcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 30px 34px; }
.gapcard--new { border-color: var(--accent-line); }
.gapcard__title { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); margin-bottom: 8px; font-weight: 500; }
.gapcard__title--new { color: var(--accent); }
.gaplist li { position: relative; padding-left: 28px; padding-block: 12px; font-size: var(--fs-body-sm); line-height: 1.45; color: var(--ink-2); border-top: 1px solid var(--line); }
.gaplist li:first-child { border-top: 0; }
.gaplist li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 2px; background: var(--ink-4); border-radius: 2px; }
.gaplist--good li { color: var(--ink); }
.gaplist--good li::before { content: ""; left: 4px; top: 15px; width: 7px; height: 11px; background: transparent; border: 0; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(42deg); border-radius: 0; }

/* HOW IT WORKS */
.moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.move { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; }
.move__num { font-family: var(--f-mono); font-size: var(--fs-sm); font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.move__title { font-size: var(--fs-h4); letter-spacing: -0.02em; margin: var(--s4) 0 10px; color: #fff; }
.move p { font-size: var(--fs-body-sm); color: var(--ink-2); line-height: 1.55; }

/* COVERAGE */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: var(--s5); }
.platform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: border-color .15s ease; }
.platform:hover { border-color: var(--line-2); }
.platform__name { font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: #fff; }
.platform__tag { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-4); background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--r-sm); }
.platform--live { border-color: var(--accent-line); background: var(--accent-soft); }
.platform--live .platform__tag { color: var(--accent); background: transparent; border-color: var(--accent-line); display: inline-flex; align-items: center; gap: 6px; }
.platform--live .platform__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.coverage__note { max-width: 64ch; margin: 0; font-size: 14.5px; color: var(--ink-3); }

/* GENOMICS */
.genomics__stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 var(--s6); padding: var(--s5) 28px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r); }
.genomics__statnum { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.genomics__stattext { font-size: 16.5px; color: var(--ink); font-weight: 500; max-width: 40ch; }
.genomics__statsrc { width: 100%; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); }
.gviz { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-bottom: var(--s5); }
.gpanel { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); }
.gpanel__cap { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); margin-bottom: var(--s5); }
.gpanel__k { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 3px 8px; border-radius: var(--r-sm); }
.pipe { display: flex; align-items: stretch; gap: 8px; }
.pipe__stage { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,.02); }
.pipe__k { font-family: var(--f-mono); font-size: 11px; color: var(--accent); }
.pipe__name { font-family: var(--f-body); font-weight: 600; font-size: 14.5px; color: var(--ink); letter-spacing: -0.01em; }
.pipe__meta { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-4); }
.pipe__arrow { display: flex; align-items: center; color: var(--ink-4); flex: none; }
.pipe__arrow svg { width: 26px; height: 12px; }
.pipe__orch { margin-top: var(--s4); font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.pipe__orch span { color: var(--ink-4); }
.gpu { width: 100%; height: auto; display: block; }
.gpu__floor { stroke: var(--line-2); }
.gpu__run { fill: var(--accent-soft); }
.gpu__area { fill: rgba(94,233,190,.14); }
.gpu__line { stroke: var(--accent); stroke-width: 2; }
.gpu__dot { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.gpu__lab { fill: var(--ink-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: .02em; }
.gpu__lab--mid { fill: var(--accent); text-anchor: middle; }
.gpu__axis { fill: var(--ink-4); font-family: var(--f-mono); font-size: 10.5px; }
.gcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.gcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; }
.gcard__ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); margin-bottom: var(--s4); }
.gcard__ico svg { width: 21px; height: 21px; }
.gcard__title { font-size: var(--fs-h4); letter-spacing: -0.02em; margin-bottom: 10px; color: #fff; }
.gcard p { font-size: var(--fs-body-sm); color: var(--ink-2); line-height: 1.55; }

/* SAFETY */
.safegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.safe { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; }
.safe__k { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--accent); }
.safe__title { font-size: var(--fs-h4); margin: 10px 0 10px; letter-spacing: -0.02em; color: #fff; }
.safe p { font-size: var(--fs-body-sm); color: var(--ink-2); line-height: 1.55; }

/* NERVE */
.nerve { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.nervecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; }
.nervecard__title { font-size: var(--fs-h4); letter-spacing: -0.02em; margin-bottom: 10px; padding-left: 18px; position: relative; color: #fff; }
.nervecard__title::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.nervecard p { font-size: var(--fs-body-sm); color: var(--ink-2); line-height: 1.55; }

/* API / WEBHOOKS */
.apisec { background: var(--bg-2); }
.apisec .shead__eye { color: var(--brand-mint); }
.apisec .api__step { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--ink-2); }
.apisec .api__step b { color: var(--brand-mint); }
.apisec .api__arrow { color: var(--ink-4); }
.apisec .link-arrow { color: var(--brand-mint); margin-top: var(--s5); }
.api__flow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.api__step { font-family: var(--f-mono); font-size: var(--fs-sm); border-radius: 999px; padding: 8px 16px; }
.api__step b { font-weight: 600; }
.api__arrow { font-family: var(--f-mono); }
.api__panes { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; }
.code { margin: 0; background: #060E19; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.code__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.code__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.code__lang { margin-left: auto; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 2px 8px; border-radius: var(--r-sm); }
.code__body { margin: 0; padding: 20px; overflow-x: auto; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.75; color: var(--ink-2); }
.c-verb, .c-kw { color: var(--brand-mint); font-weight: 600; }
.c-key { color: var(--ink-3); }
.c-prop { color: var(--ink); }
.c-str { color: var(--brand-aqua); }
.c-num { color: #fff; font-weight: 600; }
.c-fn { color: var(--brand-aqua); }
.c-comment { color: var(--ink-4); font-style: italic; }

/* VERIFIED-SAVINGS RECEIPT (product page, dark section) */
.verify__grid { display: grid; grid-template-columns: minmax(0,0.88fr) minmax(0,1.12fr); gap: var(--s7); align-items: center; }
.verify__h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.025em; color: #fff; margin-top: var(--s3); }
.verify__intro { margin-top: var(--s4); font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.55; max-width: 46ch; }
.verify__points { margin-top: var(--s5); display: grid; gap: 11px; }
.verify__points li { position: relative; padding-left: 26px; font-size: var(--fs-body-sm); color: var(--ink-2); }
.verify__points li::before { content: ""; position: absolute; left: 3px; top: 3px; width: 7px; height: 11px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(42deg); }
.receipt { margin: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.receipt__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.receipt__kicker { font-family: var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: #fff; }
.receipt__id { margin-top: 5px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); letter-spacing: .02em; }
.receipt__stamp { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 6px 11px; border-radius: 999px; }
.receipt__stamp svg { width: 13px; height: 13px; }
.receipt__meta { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); }
.receipt__meta > div { padding: 14px 24px; border-right: 1px solid var(--line); }
.receipt__meta > div:last-child { border-right: 0; }
.receipt__meta dt { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); }
.receipt__meta dd { margin: 5px 0 0; font-family: var(--f-mono); font-size: 13px; color: var(--ink); }
.receipt__calc { width: 100%; border-collapse: collapse; }
.receipt__calc th { text-align: left; font-weight: 450; font-family: var(--f-body); font-size: 14px; color: var(--ink-2); padding: 13px 24px 4px; }
.receipt__calc tbody tr:first-child th, .receipt__calc tbody tr:first-child td { padding-top: 16px; }
.receipt__calc td { text-align: right; font-family: var(--f-mono); font-size: 14px; color: var(--ink); padding: 13px 24px 4px; font-variant-numeric: tabular-nums; }
.receipt__total th, .receipt__total td { border-top: 1px solid var(--line-2); padding-top: 15px; padding-bottom: 18px; }
.receipt__total th { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: #fff; }
.receipt__total td { font-size: 21px; font-weight: 600; color: var(--accent); }
.receipt__total code { font-family: var(--f-mono); font-weight: 400; font-size: 11px; color: var(--ink-4); margin-left: 7px; }
.receipt__split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 24px; border-top: 1px dashed var(--line-2); background: rgba(255,255,255,.02); }
.receipt__split span { font-size: 12px; color: var(--ink-3); }
.receipt__split em { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; color: var(--accent); margin-left: 5px; }
.receipt__split b { display: block; margin-top: 5px; font-family: var(--f-mono); font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.receipt__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; border-top: 1px solid var(--line); }
.receipt__method { font-family: var(--f-mono); font-size: 11px; color: var(--ink-4); line-height: 1.4; }
.receipt__dispute { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; font-family: var(--f-body); font-size: 13px; font-weight: 500; color: var(--ink-2); background: none; border: 0; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; cursor: pointer; transition: color .15s ease, text-decoration-color .15s ease; }
.receipt__dispute:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* OPS LEDGER */
/* re-pin dark-theme tokens: .ops is a dark card but lives inside .section--tint,
   which redefines --accent-soft/--ink-3/4/--line to light values. Without this,
   child rows (.ops__row--win, .ops__total) render white/mint text on light mint. */
.ops {
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --ink-2: rgba(234,241,246,.82); --ink-3: rgba(234,241,246,.66); --ink-4: rgba(234,241,246,.57);
  --accent-soft: rgba(94,233,190,.10); --accent-line: rgba(94,233,190,.30);
  background: #060E19; color: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 6px 6px 14px; box-shadow: var(--shadow-2); font-family: var(--f-mono); }
.ops__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ops__live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-mint); }
.ops__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-mint); box-shadow: 0 0 0 0 rgba(94,233,190,.5); animation: pulse 2.4s infinite; }
.ops__title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.ops__clock { margin-left: auto; font-size: 11px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.ops__log { padding: 6px 6px 2px; }
.ops__row { display: grid; grid-template-columns: 68px 1fr auto; grid-template-areas: "t ev amt" "t res amt"; column-gap: 12px; row-gap: 2px; align-items: center; padding: 10px 8px; border-radius: var(--r-sm); }
.ops__row + .ops__row { margin-top: 2px; }
.ops__row--win { background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--brand-mint); }
.ops__t { grid-area: t; font-size: 11px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.ops__ev { grid-area: ev; font-size: 13px; color: #fff; }
.ops__res { grid-area: res; font-size: 11px; color: var(--ink-3); }
.ops__amt { grid-area: amt; font-size: 13px; font-weight: 600; color: var(--brand-mint); text-align: right; font-variant-numeric: tabular-nums; }
.ops__amt--muted { color: var(--ink-4); font-weight: 400; }
.ops__next { display: flex; align-items: baseline; gap: 10px; margin: 8px 8px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.02); }
.ops__nextk { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-4); }
.ops__nextv { font-size: 12.5px; color: var(--ink-2); }
.ops__nextv code { color: var(--brand-mint); }
.ops__amt--big { font-size: 17px; color: var(--brand-mint); }
.ops__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 10px 8px 0; padding: 16px 14px; border: 1px solid var(--accent-line); border-radius: var(--r); background: var(--accent-soft); }
.ops__totalk { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.ops__totalv { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 4vw, 34px); letter-spacing: -0.02em; color: var(--brand-mint); font-variant-numeric: tabular-nums; line-height: 1; }

/* PRICING */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; display: flex; flex-direction: column; }
.tier--feature { border-color: var(--accent-line); box-shadow: var(--shadow-2); position: relative; }
.tier__badge { position: absolute; top: -12px; left: 28px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; background: var(--accent-grad); color: var(--accent-ink); padding: 5px 12px; border-radius: 999px; }
.tier__name { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 500; }
.tier__price { margin-top: 14px; font-family: var(--f-display); font-weight: 600; font-size: 38px; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.tier__price span { font-family: var(--f-body); font-size: 14.5px; font-weight: 450; color: var(--ink-3); letter-spacing: 0; }
.tier__pitch { margin-top: 14px; font-size: var(--fs-body-sm); color: var(--ink-2); line-height: 1.5; min-height: 3em; }
.tier__list { margin: 22px 0 26px; flex: 1; }
.tier__list li { position: relative; padding: 11px 0 11px 26px; font-size: var(--fs-body-sm); color: var(--ink); border-top: 1px solid var(--line); }
.tier__list li:first-child { border-top: 0; }
.tier__list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 11px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(42deg); }
.tier__note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--ink-4); font-family: var(--f-mono); }
.guarantee { margin: var(--s7) 0 0; display: flex; gap: 15px; align-items: flex-start; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r); padding: 22px 26px; font-size: var(--fs-body-sm); line-height: 1.55; color: var(--ink); max-width: 760px; }
.guarantee strong { color: var(--accent); }
.guarantee__mark { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-grad); position: relative; }
.guarantee__mark::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border-right: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(42deg); }

/* COMPARE PLANS TABLE */
.cmp { margin-top: var(--s8); }
.cmp__title { font-family: var(--f-display); font-weight: 600; font-size: var(--fs-h3); letter-spacing: -0.02em; color: #fff; margin: 0 0 var(--s5); }
.cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cmp__table { width: 100%; min-width: 660px; border-collapse: collapse; font-family: var(--f-body); }
.cmp__table th, .cmp__table td { padding: 14px 18px; text-align: center; vertical-align: middle; }
/* header row */
.cmp__table thead th { background: var(--bg-2); padding: 16px 18px; }
.cmp__cap { text-align: left; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-body); color: #fff; }
.cmp__ph { display: table-cell; }
.cmp__pname { display: block; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-lead); letter-spacing: -0.02em; color: #fff; }
.cmp__psub { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
.cmp__ph--feat { background: var(--brand-teal); }
.cmp__ph--feat .cmp__psub { color: rgba(255,255,255,.88); }
/* body */
.cmp__table tbody tr { border-top: 1px solid var(--line); }
.cmp__table tbody th[scope="row"] { text-align: left; font-family: var(--f-body); font-weight: 450; font-size: var(--fs-body-sm); color: var(--ink-2); }
.cmp__yes { color: var(--accent); font-size: 16px; font-weight: 600; }
.cmp__no { color: var(--ink-4); font-size: 16px; }
.cmp__txt { font-family: var(--f-body); font-size: var(--fs-body-sm); color: var(--ink); }
/* featured Growth column — subtle accent tint like the featured card */
.cmp__feat { background: rgba(94,233,190,.05); }
.cmp__ph--feat { box-shadow: inset 0 0 0 1px var(--accent-line); }
/* screen-reader label for the ✓/— symbols */
.cmp__vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* DEMO placeholder */
.demoslot { max-width: 820px; aspect-ratio: 16 / 7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 40px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-lg); position: relative; }
.demoslot__badge { position: absolute; top: 16px; left: 16px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-4); background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 5px 10px; border-radius: var(--r-sm); }
.play--xl { width: 54px; height: 54px; color: var(--accent); }
.play--xl::after { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; border-left-color: var(--bg); }
.demoslot__title { font-family: var(--f-display); font-weight: 600; font-size: var(--fs-h4); letter-spacing: -0.02em; color: #fff; }
.demoslot__note { font-size: 14px; color: var(--ink-3); }

/* FAQ */
.faq { max-width: 820px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-h4); letter-spacing: -0.02em; color: #fff; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--ink-4); border-bottom: 2px solid var(--ink-4); transform: rotate(45deg); transition: transform .2s ease; }
.qa[open] summary::after { transform: rotate(-135deg); top: 32px; }
.qa summary:hover { color: var(--accent); }
.qa summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-sm); }
.qa p { padding: 0 44px 24px 0; font-size: var(--fs-body); color: var(--ink-2); line-height: 1.6; }

/* FINAL CTA */
.finalcta { position: relative; overflow: hidden; padding-block: var(--s9); border-top: 1px solid var(--line); background: radial-gradient(700px 320px at 50% 120%, rgba(94,233,190,.10), transparent 62%); }
.finalcta__inner { text-align: center; max-width: 700px; margin-inline: auto; position: relative; }
.finalcta__h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); color: #fff; letter-spacing: -0.03em; font-weight: 600; }
.finalcta__sub { margin: var(--s4) auto var(--s6); font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.55; max-width: 52ch; }

/* SCROLL REVEAL */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 940px) {
  :root { --gutter: 16px; }
  .hero { padding-top: var(--s7); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .verify__grid, .gviz, .api__panes, .nerve, .safegrid, .gap { grid-template-columns: 1fr; }
  .moves, .gcards, .tiers { grid-template-columns: 1fr; }
  .tier--feature { order: -1; }
  .market__grid { grid-template-columns: 1fr 1fr; }
  .mstat:nth-child(2) { border-right: 0; }
  .mstat:nth-child(1), .mstat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .site-nav, .masthead__actions { display: none; }
  .masthead .masthead__toggle { display: inline-flex; flex-direction: column; gap: 5px; justify-content: center; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: transparent; cursor: pointer; }
  .masthead__toggle span { width: 18px; height: 2px; background: var(--ink); margin-inline: auto; transition: transform .2s ease; }
  .masthead__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .masthead__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .masthead__mobile { display: flex; flex-direction: column; gap: 2px; padding: 12px var(--s5) 20px; border-top: 1px solid var(--line); background: var(--bg); }
  .masthead__mobile[hidden] { display: none; }
  .masthead__mobile a { padding: 11px 0; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
  .masthead__mobile a.btn { color: var(--accent-ink); margin-top: 8px; }
  .toc__item { grid-template-columns: 40px 1fr auto; gap: var(--s4); }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .section, .market, .contents { padding-block: var(--s8); }
  .hero__h1 { font-size: clamp(2rem, 8.5vw, 2.7rem); max-width: 100%; }
  .market__grid { grid-template-columns: 1fr; }
  .mstat { border-right: 0; border-bottom: 1px solid var(--line); }
  .mstat:last-child { border-bottom: 0; }
  .platforms, .footer__grid { grid-template-columns: 1fr; }
  .ledgerstrip__inner { gap: 9px 16px; }
  .stat:not(:last-child)::after { margin-left: 14px; }
  .receipt__meta { grid-template-columns: 1fr; }
  .receipt__meta > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .receipt__meta > div:last-child { border-bottom: 0; }
  .receipt__split { grid-template-columns: 1fr; gap: 14px; }
  .receipt__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pipe { flex-direction: column; }
  .pipe__arrow { align-self: center; transform: rotate(90deg); }
  .hero__cta { gap: var(--s4); }
  /* safety ledger: let the event column shrink + wrap so the amount ("+$4,120") stays on-card */
  .ops__row { grid-template-columns: 52px minmax(0,1fr) 82px; column-gap: 8px; }
  .ops__ev, .ops__res { overflow-wrap: anywhere; }
  .ops__amt--big { font-size: 15px; }
}

/* =========================================================
   A11Y / MOTION
   ========================================================= */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.section--tint :focus-visible { outline-color: var(--accent-strong); }
.btn:focus-visible { outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
}
