/* ==========================================================================
   ByAgentX — Release Candidate Design System (src/styles.css)
   Obsidian Lab × Warm Archival Paper Broadsheet
   - Clean above-the-fold masthead (no preview/mock ribbon)
   - Hero film theater (preserved cleanly for sibling release-hero enhancement)
   - Real illustrated case showcase before pricing
   - Single primary need selector + compact recommended plan + explicit first/monthly/tax/usage
     + accessible alternate plan comparison (zero duplicative tabs/sidebars)
   - Compact mobile rhythm at 390px, zero horizontal overflow, full a11y & reduced motion
   ========================================================================== */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .24s cubic-bezier(.4, 0, .2, 1) both bxVtOut; }
::view-transition-new(root) { animation: .34s cubic-bezier(.16, 1, .3, 1) both bxVtIn; }
@keyframes bxVtOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes bxVtIn { from { opacity: 0; transform: translateY(10px); } }

:root {
  /* Obsidian Lab Surfaces */
  --obsidian: #060809;
  --obsidian-2: #0c1012;
  --obsidian-3: #12171a;
  --obsidian-elevated: rgba(13, 18, 20, .88);
  --ink-light: #f2eee6;
  --ink-light-2: #c9c5bb;
  --ink-light-muted: #939a96;
  --rule-dark: rgba(242, 238, 230, .11);
  --rule-dark-strong: rgba(242, 238, 230, .22);

  /* Archival Paper Surfaces (Pricing & Clarity Band) */
  --paper: #f2eee5;
  --paper-2: #e7e1d3;
  --paper-3: #dcd5c4;
  --paper-card: #faf7f0;
  --ink-dark: #101314;
  --ink-dark-2: #363c3e;
  --ink-dark-muted: #555d60;
  --rule-paper: rgba(16, 19, 20, .14);
  --rule-paper-strong: rgba(16, 19, 20, .28);

  /* Semantic Accents */
  --cyan: #4de2f7;
  --cyan-deep: #066273;
  --brass: #e1bc80;
  --brass-deep: #7f5314;
  --emerald: #3dde97;
  --emerald-deep: #0b663e;
  --violet: #a799ff;
  --violet-deep: #4e3db5;
  --crimson: #ff4556;
  --wa: #25d366;

  /* Typography */
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Geometry, Spacing & Rhythm */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --wrap-max: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --nav-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Z-index hierarchy */
  --z-bg: 0;
  --z-content: 1;
  --z-pause: 80;
  --z-regina: 90;
  --z-mnav: 99;
  --z-nav: 100;
  --z-modal: 250;
  --z-skip: 300;
}

/* ---------- Base Reset & Accessibility ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  color-scheme: dark;
  background: var(--obsidian);
}
html, body { overflow-x: clip; max-width: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--obsidian);
  color: var(--ink-light);
  font-size: 16px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, video, canvas, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.band-paper :focus-visible { outline-color: var(--cyan-deep); }

.skip {
  position: fixed; left: 16px; top: -72px; z-index: var(--z-skip);
  background: var(--brass); color: var(--ink-dark);
  padding: 10px 16px; border-radius: var(--radius-xs);
  font-weight: 700; font-size: 14px;
}
.skip:focus { top: 14px; }

.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important;
}

/* ---------- Ambient Layer ---------- */
.grain {
  position: fixed; inset: 0; z-index: var(--z-bg); pointer-events: none;
  opacity: .22;
  background: radial-gradient(circle at 78% 22%, rgba(77, 226, 247, .05), transparent 52%),
              radial-gradient(circle at 14% 84%, rgba(225, 188, 128, .04), transparent 48%);
}

/* ---------- Layout Container & Typography ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.018em; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

em { font-style: italic; color: var(--brass); }
.band-paper em { color: var(--brass-deep); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before { content: ""; width: 20px; height: 1px; flex-shrink: 0; background: currentColor; opacity: .8; }
.eyebrow.cy { color: var(--cyan); }
.eyebrow.vi { color: var(--violet); }
.eyebrow.gr { color: var(--emerald); }
.eyebrow.rd { color: var(--crimson); }
.band-paper .eyebrow { color: var(--brass-deep); }
.band-paper .eyebrow.cy { color: var(--cyan-deep); }

h1.serif {
  font-size: clamp(42px, 5.4vw, 80px);
  line-height: .94;
  margin: 12px 0 16px;
  text-wrap: balance;
}
h2.serif {
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: .98;
  margin: 10px 0 14px;
  text-wrap: balance;
}
h3 { font-size: 20px; line-height: 1.24; letter-spacing: -.015em; font-weight: 600; }

.lead {
  color: var(--ink-light-2);
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.56;
  max-width: 58ch;
  text-wrap: pretty;
}
.band-paper .lead { color: var(--ink-dark-2); }

.note, .fine {
  font-size: 12.5px; line-height: 1.55; color: var(--ink-light-muted);
}
.band-paper .note, .band-paper .fine { color: var(--ink-dark-muted); }

section { position: relative; z-index: var(--z-content); padding: clamp(54px, 5.8vw, 96px) 0; }
section + section { border-top: 1px solid var(--rule-dark); }

/* Grid min-width:0 safety across every major grid container */
.hero-main > *, .rates-head > *, .work-head > *, .case-card.is-featured > *,
.proof-grid > *, .rec-card__head > *, .rec-money > *, .alt-strip > *,
.billing-terms > *, .specimen > *, .diptych > *, .labhead > *,
.graphwrap > *, .meet > *, .archive-spread > *, .final .grid > *,
.phero .wrap > *, footer .top > *, .need-grid > *, .estimator-grid > * { min-width: 0; }

/* ---------- Buttons & Interactive Controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 11px 20px;
  border-radius: var(--radius-xs);
  font-weight: 700; font-size: 14px; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .22s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-cy {
  background: var(--cyan); color: #04151a;
  box-shadow: 0 0 0 1px rgba(77, 226, 247, .45), 0 12px 32px rgba(77, 226, 247, .18);
}
.btn-cy:hover { background: #7beeff; }

.btn-gold {
  background: var(--brass); color: #161108;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32);
}
.btn-gold:hover { background: #edd09e; }

.btn-ink {
  background: var(--ink-dark); color: var(--paper);
  border: 1px solid var(--ink-dark);
}
.btn-ink:hover { background: #23292b; }

.btn-ghost {
  background: rgba(242, 238, 230, .03);
  color: var(--ink-light);
  border: 1px solid var(--rule-dark-strong);
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }

.band-paper .btn-ghost {
  background: transparent;
  color: var(--ink-dark);
  border: 1px solid var(--rule-paper-strong);
}
.band-paper .btn-ghost:hover { border-color: var(--ink-dark); background: rgba(16, 19, 20, .05); color: var(--ink-dark); }

.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 13px; }
.btn-end { background: var(--crimson); color: #fff; }

.btn .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #04151a;
  box-shadow: 0 0 0 3px rgba(4, 21, 26, .2);
  animation: bxPing 1.8s infinite;
}
@keyframes bxPing { 50% { box-shadow: 0 0 0 7px rgba(4, 21, 26, 0); } }

.link {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px;
  color: var(--brass); font-weight: 600; font-size: 14px;
}
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.band-paper .link { color: var(--brass-deep); }

/* Status Pills & Tags */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: var(--radius-xs);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--rule-dark-strong); color: var(--ink-light-2);
  background: rgba(242, 238, 230, .03);
}
.pill.cy { color: var(--cyan); border-color: rgba(77, 226, 247, .38); background: rgba(77, 226, 247, .07); }
.pill.gr { color: var(--emerald); border-color: rgba(61, 222, 151, .38); background: rgba(61, 222, 151, .07); }
.pill.am { color: var(--brass); border-color: rgba(225, 188, 128, .4); background: rgba(225, 188, 128, .08); }
.pill.vi { color: var(--violet); border-color: rgba(167, 153, 255, .42); background: rgba(167, 153, 255, .08); }
.pill.rd { color: var(--crimson); border-color: rgba(255, 69, 86, .45); background: rgba(255, 69, 86, .08); }
.band-paper .pill { border-color: var(--rule-paper-strong); color: var(--ink-dark-2); background: rgba(16, 19, 20, .04); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.glass {
  background: var(--obsidian-2);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-sm);
}

/* Scroll Reveal (never applied to above-the-fold NVIDIA badge or hero headline) */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   00 · TOP UTILITY MASTHEAD (#nav)
   ========================================================================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  background: rgba(6, 8, 9, .92);
  border-bottom: 1px solid var(--rule-dark);
  transition: background .25s, border-color .25s;
}
#nav.solid {
  background: #060809;
  border-bottom-color: var(--rule-dark-strong);
}
#nav .wrap {
  display: flex; align-items: center; gap: 18px;
  height: var(--nav-h);
}

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: .16em; font-size: 14.5px;
  color: var(--ink-light); flex-shrink: 0;
}
.logo i {
  width: 20px; height: 20px; border-radius: 3px;
  background: linear-gradient(135deg, var(--brass) 0%, var(--cyan) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.logo b { color: var(--brass); }

.navlinks { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.navlinks a {
  padding: 8px 11px; border-radius: var(--radius-xs);
  font-size: 13.5px; font-weight: 500; color: var(--ink-light-2);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.navlinks a:hover, .navlinks a[aria-current="page"] {
  color: var(--ink-light); background: rgba(242, 238, 230, .07);
}
.navlinks a.nav-rates { color: var(--brass); font-weight: 600; }
.navlinks a.nav-labs { color: var(--violet); }

.navr { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.mkt {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 6px 12px;
  border: 1px solid var(--rule-dark-strong); border-radius: var(--radius-xs);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-light-2);
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.mkt:hover { border-color: var(--brass); color: var(--ink-light); }

.burger {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--rule-dark-strong); border-radius: var(--radius-xs);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { width: 18px; height: 1.5px; background: var(--ink-light); transition: transform .22s; }

.mnav {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: var(--z-mnav);
  background: #070a0b; border-bottom: 1px solid var(--rule-dark-strong);
  padding: 10px var(--gutter) 22px; display: none; flex-direction: column;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
}
.mnav.open { display: flex; }
.mnav a {
  padding: 12px 2px; border-bottom: 1px solid var(--rule-dark);
  font-size: 15.5px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.mnav a::after { content: "↗"; font-size: 13px; color: var(--ink-light-muted); }

/* ==========================================================================
   01 · HERO THEATER (#top — Genuine Lab-at-Night Video + Direct Demo/Pricing)
   ========================================================================== */
.hero.vhero {
  position: relative; isolation: isolate;
  min-height: clamp(600px, 84svh, 820px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + clamp(28px, 3.8vw, 48px)) 0 clamp(32px, 4vw, 52px);
  overflow: hidden;
  border-top: 0;
}

.vhero .hvid {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--obsidian);
}
.vhero .hvid video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 50%; opacity: .9;
}
.vhero .hvid::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 9, .96) 0%, rgba(6, 8, 9, .84) 36%, rgba(6, 8, 9, .30) 64%, rgba(6, 8, 9, .06) 100%),
    linear-gradient(180deg, rgba(6, 8, 9, .58) 0%, transparent 18%, transparent 74%, rgba(6, 8, 9, .96) 100%);
}

.hero-main {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

/* Official NVIDIA Inception Badge — ABOVE H1, NEVER inside .rv */
.hero-nvidia {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--rule-dark-strong);
  border-radius: var(--radius-xs);
  background: rgba(6, 8, 9, .86);
}
.hero-nvidia img {
  height: 30px; width: auto; border-radius: 2px; flex-shrink: 0;
}
.hero-nvidia span {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em;
  color: var(--ink-light);
}

.hero-eyebrow-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
}

.cta {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hero .cta {
  margin-top: 22px;
}
.hero .cta .btn {
  padding: 11px 18px; font-size: 14px;
}

.hero-meta-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-light-muted);
}

/* Verifiable Activity Snapshot inside Hero */
.hstats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; margin-top: 24px; padding-top: 18px;
  border-top: 1px solid var(--rule-dark);
  max-width: 640px;
}
.hstats dt {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1;
  color: var(--ink-light);
}
.hstats dd {
  margin-top: 5px; font-size: 12px; line-height: 1.35; color: var(--ink-light-muted);
}
.metrics-method {
  margin-top: 10px; max-width: 640px;
  font-size: 11.5px; line-height: 1.5; color: var(--ink-light-muted);
}
.metrics-method summary {
  cursor: pointer; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .04em; color: var(--ink-light-2);
}
.metrics-method p { padding: 8px 0 2px; max-width: 62ch; }

/* ==========================================================================
   02 · CREDENTIALS LEDGER (.creds — 6 Verified Signals)
   ========================================================================== */
.creds {
  position: relative; z-index: var(--z-content);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark-strong);
  background: var(--obsidian-2);
}
.creds .wrap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}
.cred {
  display: grid; grid-template-columns: 44px minmax(0, 1fr);
  align-items: center; gap: 10px;
  padding: 15px 12px;
  border-right: 1px solid var(--rule-dark);
  font-size: 11.5px; line-height: 1.3; color: var(--ink-light-muted);
}
.cred:last-child { border-right: 0; }
.cred b { display: block; color: var(--ink-light); font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.cred > :first-child { justify-self: center; }
.cred > img { width: 44px; height: auto; border-radius: 2px; }
.cred .lg {
  width: 26px; height: 26px; padding: 5px; border-radius: 6px;
  background: #fff; box-sizing: content-box;
}
.cred .cm.ent {
  width: 34px; height: 34px; border-radius: var(--radius-xs);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--brass); border: 1px solid rgba(225, 188, 128, .45);
  background: rgba(225, 188, 128, .07);
}

/* ==========================================================================
   03 · REAL ILLUSTRATED CASE SHOWCASE BEFORE PRICING (#work)
   Separate Media & Copy Blocks + Featured Production Case + 3 Supporting Cases
   ========================================================================== */
.work-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 16px 32px;
}
.work-head__cta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}

.case-card {
  display: flex; flex-direction: column;
  background: var(--obsidian-2);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .25s, transform .3s var(--ease);
}
.case-card:hover { border-color: var(--rule-dark-strong); transform: translateY(-2px); }

/* Featured Lead Production Case (Ricki Pollo) */
.case-card.is-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  margin-top: 28px;
  border-color: var(--rule-dark-strong);
}
.case-card.is-featured .proof-media {
  border-bottom: 0;
  border-right: 1px solid var(--rule-dark);
  display: flex; flex-direction: column; justify-content: space-between;
}
.case-card.is-featured .proof-media picture { flex: 1; aspect-ratio: 16 / 10; }
.case-card.is-featured .case-copy { padding: clamp(20px, 2.6vw, 32px); }
.case-meta-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-light-muted);
}
.case-bullets {
  list-style: none; display: grid; gap: 6px; margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--rule-dark);
}
.case-bullets li {
  font-size: 13.5px; line-height: 1.42; color: var(--ink-light-2);
  padding-left: 16px; position: relative;
}
.case-bullets li::before {
  content: "—"; position: absolute; left: 0; top: 0;
  color: var(--brass); font-family: var(--font-mono); font-size: 12px;
}
.case-featured-acts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  margin-top: 14px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.case-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--rule-dark);
  background: var(--obsidian-3);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-light-muted);
}

.proof-media {
  display: block; position: relative;
  border-bottom: 1px solid var(--rule-dark);
  background: #0d1316; overflow: hidden;
}
.proof-media picture { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.proof-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform .8s var(--ease);
}
.case-card:hover .proof-media img { transform: scale(1.025); }
.proof-label {
  display: block; padding: 7px 14px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-light-muted);
  background: #0a0e10; border-top: 1px solid var(--rule-dark);
}

.case-copy {
  padding: 18px 18px 20px; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
}
.case-copy h3 { font-family: var(--font-serif); font-weight: 400; font-size: 28px; line-height: 1.08; }
.case-copy p { font-size: 14px; color: var(--ink-light-2); line-height: 1.5; margin-top: 6px; }

/* ==========================================================================
   04 · STREAMLINED SINGLE-SELECTOR PRICING (#pricing / #rates — Archival Paper)
   Single Need Selector · Compact Recommended Plan · Explicit First/Monthly/Tax
   Accessible Alternate Comparison · Zero Duplicative Rail or Sidebar
   ========================================================================== */
.band-paper {
  background: var(--paper);
  color: var(--ink-dark);
  border-top: 1px solid var(--rule-paper-strong);
  border-bottom: 1px solid var(--rule-paper-strong);
}

.rates-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 18px 40px;
  align-items: end;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink-dark);
}
.rates-market-stamp {
  justify-self: end;
  text-align: right;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.55;
  color: var(--ink-dark-2);
}
.rates-market-stamp b {
  display: block; font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-dark);
}

/* Single Primary Need Selector */
.need-selector {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-paper-strong);
}
.need-selector__label {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dark-muted);
  margin-bottom: 10px;
}
.need-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.need-btn {
  display: flex; flex-direction: column; justify-content: space-between; gap: 4px;
  padding: 11px 12px;
  text-align: left;
  border: 1px solid var(--rule-paper-strong);
  border-radius: var(--radius-xs);
  background: var(--paper-card);
  color: var(--ink-dark);
  transition: background .18s, border-color .18s, transform .18s;
}
.need-btn:hover { background: var(--paper-2); border-color: var(--ink-dark); }
.need-btn[aria-selected="true"],
.need-btn[aria-pressed="true"] {
  background: var(--ink-dark);
  color: var(--paper);
  border-color: var(--ink-dark);
}
.need-btn strong { font-size: 13px; font-weight: 700; line-height: 1.25; }
.need-btn small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dark-muted); line-height: 1.25; }
.need-btn[aria-selected="true"] small,
.need-btn[aria-pressed="true"] small { color: var(--brass); }

/* Single-Column Full-Width Rate Panel (no sidebar) */
.rate-panel-single {
  padding-top: 22px;
  display: grid;
  gap: 16px;
}

.rate-panel-intro {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 20px;
}
.rate-panel-intro h3.serif {
  font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; color: var(--ink-dark);
}
.rate-panel-intro .route-link {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--cyan-deep); text-decoration: underline; text-underline-offset: 4px;
  white-space: nowrap;
}
.rate-panel-sub {
  font-size: 14.5px; color: var(--ink-dark-2); margin-top: 4px; max-width: 72ch;
}

/* Contextual Estimator Strip */
.ledger-estimator {
  padding: 13px 16px;
  background: var(--paper-card);
  border: 1px solid var(--rule-paper-strong);
  border-radius: var(--radius-xs);
  display: grid; gap: 12px;
}
.estimator-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 14px 24px; align-items: center;
}
.est-field label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dark-muted);
  margin-bottom: 6px;
}
.est-field label b { font-size: 14px; color: var(--cyan-deep); letter-spacing: 0; text-transform: none; }
.est-range { width: 100%; accent-color: var(--ink-dark); cursor: pointer; }
.est-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.est-chip {
  padding: 5px 10px; border-radius: var(--radius-xs);
  border: 1px solid var(--rule-paper-strong); background: var(--paper);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-dark-2);
}
.est-chip.is-active, .est-chip[aria-pressed="true"] {
  background: var(--ink-dark); color: var(--paper); border-color: var(--ink-dark);
}
.est-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-dark); cursor: pointer;
}
.est-toggle input { width: 17px; height: 17px; accent-color: var(--ink-dark); }

.guard-banner {
  padding: 10px 14px;
  border-left: 3px solid var(--emerald-deep);
  background: rgba(11, 102, 62, .07);
  font-size: 13px; line-height: 1.46; color: var(--ink-dark-2);
}
.guard-banner.is-warn {
  border-left-color: var(--brass-deep);
  background: rgba(127, 83, 20, .09);
}
.guard-banner b { color: var(--ink-dark); }

/* Compact Recommended Plan Spotlight Card (.rec-card) */
.rec-card {
  background: var(--paper-card);
  border: 1.5px solid var(--ink-dark);
  border-left: 4px solid var(--brass-deep);
  border-radius: var(--radius-xs);
  padding: clamp(18px, 2.4vw, 26px);
  display: grid;
  gap: 16px;
}
.rec-card.is-fit { border-left-color: var(--cyan-deep); }

.rec-card__head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 14px 24px;
}
.rec-card__title-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.rec-card__title-row h4 {
  font-size: clamp(28px, 2.6vw, 36px); line-height: 1.02; color: var(--ink-dark);
}
.rec-card__cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
}
.rec-card__cta .pay-alt {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--ink-dark-2); padding: 6px 2px;
}
.rec-card__cta .pay-alt:hover { color: var(--cyan-deep); text-decoration: underline; }

.rec-money {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule-paper-strong);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: var(--paper);
}
.rec-money__cell {
  padding: 13px 16px;
  border-right: 1px solid var(--rule-paper);
  display: flex; flex-direction: column; gap: 3px;
}
.rec-money__cell:last-child { border-right: 0; }
.rec-money__cell.is-invoice {
  background: rgba(6, 98, 115, .08);
}
.rec-money__cell .cell-k {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dark-muted);
}
.rec-money__cell strong {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: clamp(19px, 1.9vw, 24px); font-weight: 600; line-height: 1.15;
  color: var(--ink-dark); white-space: nowrap;
}
.rec-money__cell.is-invoice strong { color: var(--cyan-deep); }
.rec-money__cell small { font-size: 12px; line-height: 1.35; color: var(--ink-dark-muted); }

.rec-scope {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 24px;
}
.rec-scope li {
  font-size: 14px; line-height: 1.42; color: var(--ink-dark-2);
  padding-left: 16px; position: relative;
}
.rec-scope li::before {
  content: "—"; position: absolute; left: 0; top: 0;
  color: var(--brass-deep); font-family: var(--font-mono); font-size: 12px;
}

.rec-tax-line {
  padding-top: 12px;
  border-top: 1px solid var(--rule-paper);
  font-size: 12.5px; line-height: 1.48; color: var(--ink-dark-2);
}
.rec-tax-line b { color: var(--ink-dark); font-family: var(--font-mono); font-size: 11.5px; }

.inline-host-link {
  color: var(--cyan-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}

/* Compact Alternate Plans Strip */
.alt-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}
.alt-pill-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 16px;
  background: var(--paper-2);
  border: 1px solid var(--rule-paper-strong);
  border-radius: var(--radius-xs);
}
.alt-pill-card.is-fit { border-left: 3px solid var(--cyan-deep); }
.alt-pill-card__info { display: flex; flex-direction: column; gap: 2px; }
.alt-pill-card__info b {
  font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1.1;
  color: var(--ink-dark); display: flex; align-items: center; gap: 8px;
}
.alt-pill-card__info span {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-dark-2);
}
.alt-pill-card__info strong { color: var(--cyan-deep); }
.alt-pill-card__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Accessible Expandable Full Plan Comparison (<details class="alt-compare">) */
.alt-compare, .compare-details {
  border: 1.5px solid var(--ink-dark);
  background: var(--paper-card);
  border-radius: var(--radius-xs);
}
.alt-compare summary, .compare-details summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 16px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dark);
}
.alt-compare summary::-webkit-details-marker,
.compare-details summary::-webkit-details-marker { display: none; }
.alt-compare summary::after, .compare-details summary::after { content: "+"; font-size: 18px; color: var(--brass-deep); }
.alt-compare[open] summary::after, .compare-details[open] summary::after { content: "–"; }
.alt-compare[open] summary, .compare-details[open] summary {
  border-bottom: 1px solid var(--rule-paper-strong); background: var(--paper-2);
}

/* Structured Tier Comparison Rows inside .alt-compare */
.ledger-table { background: var(--paper-card); }
.ledger-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(134px, .82fr) minmax(108px, .68fr) minmax(136px, .84fr) 156px;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule-paper-strong);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-dark-muted);
}

.tier-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(134px, .82fr) minmax(108px, .68fr) minmax(136px, .84fr) 156px;
  gap: 14px;
  align-items: start;
  padding: 18px 14px;
  border-bottom: 1px solid var(--rule-paper);
}
.tier-row:last-child { border-bottom: 0; }
.tier-row.is-recommended {
  background: var(--paper-2);
  box-shadow: inset 4px 0 0 var(--brass-deep);
}
.tier-row.is-fit { box-shadow: inset 4px 0 0 var(--cyan-deep); }

.tier-identity h4 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 25px; line-height: 1.05; color: var(--ink-dark);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.tier-badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 2px;
  background: var(--ink-dark); color: var(--paper);
}
.tier-badge.is-fit-badge { background: var(--cyan-deep); color: #fff; }
.tier-agenda-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 7px;
  padding: 3px 8px; border-radius: 2px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  color: var(--emerald-deep); background: rgba(11, 102, 62, .09);
  border: 1px solid rgba(11, 102, 62, .25);
}
.tier-agenda-chip.is-spec {
  color: var(--brass-deep); background: rgba(127, 83, 20, .09);
  border-color: rgba(127, 83, 20, .28);
}
.tier-scope {
  list-style: none; display: grid; gap: 4px; margin-top: 8px;
}
.tier-scope li {
  font-size: 13.5px; line-height: 1.4; color: var(--ink-dark-2);
  padding-left: 14px; position: relative;
}
.tier-scope li::before {
  content: "—"; position: absolute; left: 0; top: 0;
  color: var(--brass-deep); font-family: var(--font-mono); font-size: 12px;
}
.tier-est-note {
  padding: 8px 11px;
  background: rgba(6, 98, 115, .08); border-left: 2px solid var(--cyan-deep);
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.4; color: var(--ink-dark);
}

.tier-num { display: flex; flex-direction: column; gap: 3px; }
.tier-num .cell-k {
  display: none;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-dark-muted);
}
.tier-num strong {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 16.5px; font-weight: 600; line-height: 1.15; color: var(--ink-dark);
  white-space: nowrap;
}
.tier-num small { font-size: 12px; line-height: 1.35; color: var(--ink-dark-muted); }
.tier-num.is-invoice strong { color: var(--cyan-deep); }

.tier-cta { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.tier-cta .btn { min-height: 40px; padding: 8px 12px; font-size: 13px; width: 100%; }
.tier-cta .pay-alt {
  font-family: var(--font-mono); font-size: 11.5px; text-align: center;
  color: var(--ink-dark-2); padding: 4px 2px;
}
.tier-cta .pay-alt:hover { color: var(--cyan-deep); text-decoration: underline; }

/* Inline 3-Column Billing Terms Bar (replaces bulky right sidebar) */
.billing-terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  padding: 14px 16px;
  background: var(--paper-2);
  border: 1px solid var(--rule-paper-strong);
  border-radius: var(--radius-xs);
}
.billing-terms dt {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep);
  margin-bottom: 4px;
}
.billing-terms dd { font-size: 12.5px; line-height: 1.46; color: var(--ink-dark-2); }

.ledger-fine {
  font-size: 12.5px; line-height: 1.5; color: var(--ink-dark-muted);
}

/* All-6-Lines Comparison Grid */
.compare-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.compare-card {
  padding: 16px 18px;
  border-right: 1px solid var(--rule-paper);
  border-bottom: 1px solid var(--rule-paper);
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
}
.compare-card:nth-child(3n) { border-right: 0; }
.compare-card h4 { font-family: var(--font-serif); font-size: 24px; font-weight: 400; color: var(--ink-dark); }
.compare-card dl { display: grid; gap: 6px; font-size: 12.5px; }
.compare-card dt { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-dark-muted); }
.compare-card dd { color: var(--ink-dark-2); line-height: 1.38; }
.compare-card dd b { font-family: var(--font-mono); color: var(--ink-dark); }

/* ==========================================================================
   05 · EDITORIAL PRODUCT SPECIMEN PLATES (#products)
   ========================================================================== */
.specimens-header {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 16px 36px; margin-bottom: 32px;
}

.specimen {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.8vw, 48px) 0;
  border-top: 1px solid var(--rule-dark);
}
.specimen.flip .specimen-copy { order: 2; }
.specimen-num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-light-muted);
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.specimen-num strong { color: var(--brass); }

.specimen-price-tag {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px;
  margin: 18px 0;
  padding: 10px 14px;
  border: 1px solid var(--rule-dark-strong);
  border-left: 3px solid var(--brass);
  background: var(--obsidian-2);
}
.specimen-price-tag .mono { font-size: 18px; font-weight: 600; color: var(--ink-light); }
.specimen-price-tag small { font-size: 12.5px; color: var(--ink-light-muted); }

.specimen-acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* Dark Optical Chamber for Official WebP Stills */
.scenefig { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.scene {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule-dark);
  background:
    radial-gradient(64% 58% at 50% 48%, rgba(77, 226, 247, .09), transparent 72%),
    var(--obsidian-2);
  overflow: hidden;
}
.specimen.c-quanz .scene {
  background:
    radial-gradient(64% 58% at 50% 52%, rgba(225, 188, 128, .1), transparent 72%),
    var(--obsidian-2);
}
.specimen.c-agents .scene {
  background:
    radial-gradient(64% 58% at 50% 50%, rgba(61, 222, 151, .09), transparent 72%),
    var(--obsidian-2);
}
.scene::before, .scene::after {
  content: ""; position: absolute; width: 14px; height: 14px; z-index: 3; pointer-events: none;
  border-color: rgba(242, 238, 230, .28); border-style: solid;
}
.scene::before { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.scene::after { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }

.scene canvas, .scene-still {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px;
}
.scene.film video, .scene.film img.fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.scene[data-scene="wave"] .scene-still {
  -webkit-mask-image: radial-gradient(circle at center, #000 60%, transparent 76%);
  mask-image: radial-gradient(circle at center, #000 60%, transparent 76%);
}
.scene[data-scene="phone"] .scene-still {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.scene[data-scene="graph"] .scene-still {
  -webkit-mask-image: radial-gradient(ellipse at center, #000 56%, transparent 76%);
  mask-image: radial-gradient(ellipse at center, #000 56%, transparent 76%);
}
.scenefig .cap {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-light-muted);
  display: flex; justify-content: space-between; gap: 12px;
}

/* Dual Diptych: 04 Personal Agents + 05–06 Studio */
.diptych {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-dark-strong);
  border-bottom: 1px solid var(--rule-dark);
  margin-top: 12px;
}
.diptych-col {
  padding: clamp(24px, 3vw, 40px) clamp(18px, 2.8vw, 34px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.diptych-col:first-child { padding-left: 0; border-right: 1px solid var(--rule-dark); }
.diptych-col:last-child { padding-right: 0; }
.diptych-col .mono-rate {
  font-family: var(--font-mono); font-size: 13.5px; color: var(--brass); margin-top: 10px;
}

/* ==========================================================================
   06 · BYAGENTX LABS (#labs.labs-vi — Violet Research Instrument)
   ========================================================================== */
.labs-vi {
  background:
    radial-gradient(58% 44% at 74% 12%, rgba(167, 153, 255, .13), transparent 70%),
    var(--obsidian);
}
.labhead {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.labhead .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.labwow {
  position: relative;
  padding: clamp(22px, 2.8vw, 32px);
  background: var(--obsidian-2);
  border: 1px solid rgba(167, 153, 255, .36);
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .42);
}
.labwow::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.wowrow { display: flex; align-items: baseline; gap: 20px; margin: 16px 0 12px; }
.wn b {
  display: block; font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: clamp(42px, 4.8vw, 66px); font-weight: 500; line-height: .96; letter-spacing: -.03em;
}
.wn small { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-light-muted); }
.wn.off b { color: #676e6b; }
.wn.on b { color: var(--violet); }
.wowrow .arr { font-size: 28px; color: var(--ink-light-muted); }
.labwow p { font-size: 14px; color: var(--ink-light-2); line-height: 1.55; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 8px 13px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(61, 222, 151, .4);
  background: rgba(61, 222, 151, .07);
  color: var(--emerald); font-size: 13px; font-weight: 600;
  transition: background .2s;
}
.badge:hover { background: rgba(61, 222, 151, .14); }
.wowlinks { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px; }
.wowlinks a { color: var(--ink-light-2); text-decoration: underline; text-underline-offset: 4px; }
.wowlinks a:hover { color: var(--ink-light); }

.lab-tracks {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--rule-dark-strong);
  border-bottom: 1px solid var(--rule-dark);
}
.lab-track {
  padding: 22px 22px;
  border-right: 1px solid var(--rule-dark);
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
}
.lab-track:first-child { padding-left: 0; }
.lab-track:last-child { padding-right: 0; border-right: 0; }
.lab-track .ic { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--violet); }
.lab-track .ic.rd { color: var(--crimson); }
.lab-track .ic.gr { color: var(--emerald); }
.lab-track h3 { font-family: var(--font-serif); font-weight: 400; font-size: 27px; line-height: 1.08; }
.lab-track p { font-size: 14px; color: var(--ink-light-2); line-height: 1.5; flex: 1; }

/* Pure SVG Research Charts */
.rescards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.rescard { padding: 22px; display: flex; flex-direction: column; background: var(--obsidian-2); border: 1px solid var(--rule-dark); border-radius: var(--radius-sm); }
.rescard .k { font-family: var(--font-mono); font-size: 11.5px; color: var(--violet); letter-spacing: .08em; text-transform: uppercase; }
.rescard h3 { margin: 10px 0 14px; font-size: 18.5px; line-height: 1.25; }
.rescard p { color: var(--ink-light-2); font-size: 14px; margin-top: 12px; }
.chart { width: 100%; height: auto; display: block; }
.chart .cl, .chart .ca { fill: var(--ink-light-2); font: 12px var(--font-mono); }
.chart .cv { font: 600 13px var(--font-mono); }
.chart .cv.off { fill: var(--ink-light-muted); }
.chart .cv.on { fill: var(--violet); }
.chart .ct { fill: rgba(242, 238, 230, .06); }
.chart .cb.off { fill: #4a514f; }
.chart .cb.on { fill: var(--violet); }
.chart .cg { stroke: rgba(242, 238, 230, .09); }
.chart .cl1, .chart .cl2 { fill: none; stroke-width: 2.4; }
.chart .cl1 { stroke: var(--violet); }
.chart .cl2 { stroke: var(--cyan); }
.chart .cd1 { fill: var(--violet); }
.chart .cd2 { fill: var(--cyan); }
.legend { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-top: 8px; color: var(--ink-light-muted); }
.legend span { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
.legend .l1 { background: var(--violet); }
.legend .l2 { background: var(--cyan); margin-left: 10px; }

/* ==========================================================================
   07 · PLATFORM (#platform) & INTERACTIVE JOAQUÍN (#joaquin)
   ========================================================================== */
.graphwrap {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(24px, 4vw, 52px); align-items: center; margin-top: 28px;
}
.spec-list { display: grid; border-top: 1px solid var(--rule-dark-strong); margin-bottom: 22px; }
.spec-item {
  padding: 16px 0; border-bottom: 1px solid var(--rule-dark);
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start;
}
.spec-item .ic { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); padding-top: 3px; }
.spec-item p { font-size: 14px; color: var(--ink-light-2); margin-top: 4px; }

/* Interactive Joaquín Robotics Atelier (#joaquin) — Genuine Three.js GLB */
.meet {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}
.meet .stage {
  position: relative; width: 100%; max-width: 560px;
  aspect-ratio: 1 / 1.06; margin: 0 auto 70px;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(closest-side at 50% 45%, rgba(77, 226, 247, .14), rgba(77, 226, 247, .03) 58%, transparent 78%),
    var(--obsidian-2);
}
.stage canvas, .stage .poster {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  object-fit: contain; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 72%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 0, #000 72%, transparent 98%);
}
.stage canvas { pointer-events: auto; }
.stage.loaded .poster { opacity: 0; transition: opacity .6s; }
.stage .ring { display: none; }
.stage .hint {
  position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-light-muted);
}
.stage.loaded .hint, .stage.nogl .hint { display: none; }

.stage .say {
  position: absolute; left: 50%; top: 14px; z-index: 3;
  transform: translate(-50%, 6px) scale(.96);
  max-width: min(80%, 320px); padding: 9px 15px;
  border-radius: var(--radius-xs);
  background: rgba(6, 14, 18, .92); border: 1px solid rgba(77, 226, 247, .52);
  color: #e9fbff; font-size: 14px; line-height: 1.35; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s;
}
.stage .say.on { opacity: 1; transform: translate(-50%, 0) scale(1); }

.stage .keys {
  position: absolute; left: 50%; bottom: -56px; transform: translateX(-50%);
  display: flex; flex-wrap: nowrap; justify-content: center; gap: 6px;
  width: max-content; max-width: 100%; z-index: 3;
}
.stage .keys button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 6px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(77, 226, 247, .32);
  background: var(--obsidian-2); color: #cdeff6;
  font-family: var(--font-mono); font-size: 12px; white-space: nowrap;
  transition: border-color .18s, background .18s, color .18s;
}
.stage .keys button:hover, .stage .keys button:focus-visible {
  border-color: var(--cyan); background: rgba(77, 226, 247, .14); color: #fff;
}
.stage .keys kbd {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 2px;
  background: rgba(77, 226, 247, .16); color: var(--cyan);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
}
.stage.nogl .keys, .stage:not(.loaded) .keys { display: none; }

/* ==========================================================================
   08 · ARCHIVE SPREAD: SHIPPING LOG (#changelog) + CLEAR ANSWERS (#faq)
   ========================================================================== */
.archive-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.log {
  list-style: none; position: relative; margin: 22px 0 22px;
  border-top: 1px solid var(--rule-dark-strong);
}
.log li {
  display: grid; grid-template-columns: 94px 18px minmax(0, 1fr);
  gap: 8px; align-items: start;
  padding: 12px 0; border-bottom: 1px solid var(--rule-dark);
}
.log time {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 12px; color: var(--ink-light-muted); padding-top: 3px;
}
.log .dt { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); margin: 7px 0 0 4px; }
.log li.new .dt { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.log b { display: block; font-size: 15px; font-weight: 600; color: var(--ink-light); }
.log b a:hover { color: var(--brass); }
.log p { font-size: 13.5px; color: var(--ink-light-2); margin-top: 3px; line-height: 1.46; }

.faq { margin-top: 22px; border-top: 1px solid var(--rule-dark-strong); }
.faq details { border-bottom: 1px solid var(--rule-dark); padding: 14px 0; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-size: 15px; font-weight: 600; color: var(--ink-light);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--brass); font-size: 18px; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 9px; font-size: 14px; line-height: 1.54; color: var(--ink-light-2); }

/* ==========================================================================
   09 · DIRECT CONTACT (#start) + FOOTER
   ========================================================================== */
.final .grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.5vw, 64px); align-items: start;
}

.contact { display: grid; gap: 10px; margin-top: 22px; }
.contact a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--rule-dark-strong); border-radius: var(--radius-xs);
  background: var(--obsidian-2);
  transition: border-color .2s, background .2s;
}
.contact a:hover { border-color: var(--brass); background: var(--obsidian-3); }
.contact b { display: block; font-size: 15px; color: var(--ink-light); }
.contact small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-light-muted); }

.form {
  padding: clamp(20px, 2.8vw, 30px);
  background: var(--obsidian-2);
  border: 1px solid var(--rule-dark-strong);
  border-radius: var(--radius-sm);
  display: grid; gap: 14px;
}
.form label {
  display: grid; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-light-2);
}
.form input, .form textarea {
  font-family: var(--font-sans); font-size: 15px; text-transform: none; letter-spacing: 0;
  color: var(--ink-light); background: var(--obsidian);
  border: 1px solid var(--rule-dark-strong); border-radius: var(--radius-xs);
  padding: 11px 13px;
}
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cyan); }
.form .chk {
  display: flex; flex-direction: row; align-items: flex-start; gap: 10px;
  font-family: var(--font-sans); font-size: 13px; text-transform: none; letter-spacing: 0;
  color: var(--ink-light-2);
}
.form .chk input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brass); flex-shrink: 0; }
.form .chk a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.form .hp { position: absolute; left: -9999px; }
.msg { font-size: 13.5px; line-height: 1.5; }
.msg.ok { color: var(--emerald); }
.msg.err { color: #ff8e97; }

footer {
  position: relative; z-index: var(--z-content);
  border-top: 1px solid var(--rule-dark-strong);
  padding: 48px 0 34px;
  background: #040607;
}
footer .top { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 32px; }
footer h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-light-muted); margin-bottom: 12px;
}
footer nav { display: grid; gap: 8px; }
footer nav a, footer p { font-size: 14px; color: var(--ink-light-2); }
footer nav a:hover { color: var(--brass); }
footer .bot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px 24px;
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-light-muted);
}
footer .bot a:hover { color: var(--brass); }

/* ==========================================================================
   10 · INNER ROUTE LAYOUTS (.phero, .cards, .stats, .roster, .gmedia)
   ========================================================================== */
.phero { padding: calc(var(--nav-h) + 46px) 0 48px; border-top: 0; }
.phero .rv { opacity: 1 !important; transform: none !important; }
.phero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.phero.solo .wrap { grid-template-columns: 1fr; }
.crumb { font-family: var(--font-mono); font-size: 12px; color: var(--ink-light-muted); margin-bottom: 14px; }
.crumb a:hover { color: var(--ink-light); }
.cards { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.card { padding: 22px; background: var(--obsidian-2); border: 1px solid var(--rule-dark); border-radius: var(--radius-sm); }
.card .ic { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-light-2); margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.stat { padding: 20px; background: var(--obsidian-2); border: 1px solid var(--rule-dark); border-radius: var(--radius-sm); }
.stat .mono { display: block; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; color: var(--ink-light); }
.stat small { display: block; margin-top: 8px; font-size: 13.5px; color: var(--ink-light-2); }
.roster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.roster span {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 13px; border: 1px solid var(--rule-dark); border-radius: var(--radius-xs);
  font-size: 13.5px; color: var(--ink-light-2);
}
.roster span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.gport { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.gport img { width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid rgba(255, 69, 86, .45); }
.gmedia { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; align-items: start; }
.tablet-shot { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--rule-dark-strong); }

/* ==========================================================================
   11 · OVERLAYS & RELEASE QA SAFEGUARDS
   Voice Demo (#callm), Regina Chat Invariants, Motion Pause
   ========================================================================== */
.callm {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: none; place-items: center; padding: 18px;
  background: rgba(4, 6, 7, .88);
}
.callm.open { display: grid; }
.callm .box {
  width: min(500px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto;
  padding: 26px; position: relative; text-align: center;
  background: var(--obsidian-2); border: 1px solid var(--rule-dark-strong);
  border-radius: var(--radius-sm);
}
.callm .orb { width: 150px; height: 150px; margin: 6px auto 12px; position: relative; }
.callm .orb canvas { width: 100%; height: 100%; }
.callm h3 { font-family: var(--font-serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.callm .st { font-size: 13.5px; color: var(--ink-light-2); margin: 8px 0 14px; min-height: 20px; }
.call-consent { font-size: 13.5px; color: var(--ink-light-2); line-height: 1.56; }
.call-consent .btn { margin-top: 16px; }
.callm .tr {
  max-height: 160px; overflow: auto; text-align: left;
  font-size: 13.5px; color: var(--ink-light-2); display: grid; gap: 7px; margin-bottom: 14px;
}
.callm .tr b { color: var(--cyan); }
.callm .x {
  position: absolute; right: 14px; top: 14px;
  width: 36px; height: 36px; border-radius: var(--radius-xs);
  border: 1px solid var(--rule-dark-strong); font-size: 20px; line-height: 1;
}
.callm .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.callm .fine a { color: var(--ink-light); text-decoration: underline; text-underline-offset: 3px; }

/* Motion Pause Control */
.pausebtn {
  position: fixed; left: 16px; bottom: 16px; z-index: var(--z-pause);
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--rule-dark-strong); border-radius: var(--radius-xs);
  background: rgba(6, 8, 9, .86); color: var(--ink-light-2);
  font-size: 0; opacity: .85;
}
.pausebtn:hover { opacity: 1; border-color: var(--brass); color: var(--ink-light); }
.pausebtn::before {
  content: ""; width: 3px; height: 11px;
  border-left: 3px solid currentColor; border-right: 3px solid currentColor;
  box-sizing: content-box;
}
.pausebtn[aria-pressed="true"]::before {
  width: 0; height: 0; border: 0;
  border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent;
  border-left: 9px solid currentColor;
}

/* Regina Chat Widget Styling & Release QA Pointer-Events Invariants */
.regina-chat {
  position: fixed; z-index: var(--z-regina);
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  font-family: var(--font-sans); color: var(--ink-light);
  pointer-events: none;
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
body.at-hero .regina-chat:not(:has(.regina-chat__panel:not([hidden]))) {
  opacity: 0; transform: translateY(14px); pointer-events: none;
}
body.at-hero .regina-chat:not(:has(.regina-chat__panel:not([hidden]))) .regina-chat__trigger {
  pointer-events: none;
}
.regina-chat [hidden] { display: none !important; }
.regina-chat__trigger:not(.cta-obstructed) { pointer-events: auto; }
.regina-chat__panel:not([hidden]) { pointer-events: auto; }
.regina-chat__trigger.cta-obstructed { visibility: hidden !important; pointer-events: none !important; }

.regina-chat__trigger {
  min-height: 52px; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px;
  border: 1px solid rgba(225, 188, 128, .55); border-radius: var(--radius-pill);
  background: rgba(8, 11, 12, .96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  font-size: 13px; font-weight: 700; color: var(--ink-light);
}
.regina-chat__trigger:hover { border-color: var(--brass); }
.regina-chat__trigger-label { display: none; padding-right: 10px; }
.regina-chat__trigger-avatar, .regina-chat__avatar {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  overflow: hidden; border: 2px solid var(--brass); flex-shrink: 0;
}
.regina-chat__trigger-avatar::after {
  content: ""; position: absolute; right: 1px; bottom: 1px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--wa); border: 2px solid #080b0c;
}
.regina-chat__trigger-avatar img, .regina-chat__avatar img { width: 100%; height: 100%; object-fit: cover; }

.regina-chat__panel {
  width: min(400px, calc(100vw - 28px));
  max-height: min(600px, calc(100dvh - 56px));
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--rule-dark-strong); border-radius: var(--radius-sm);
  background: var(--obsidian-2); box-shadow: 0 28px 90px rgba(0, 0, 0, .74);
}
.regina-chat__header {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 16px; border-bottom: 1px solid var(--rule-dark); background: var(--obsidian-3);
}
.regina-chat__identity { display: flex; align-items: center; gap: 11px; }
.regina-chat__identity h2 { font-size: 15.5px; margin: 0; }
.regina-chat__identity p { font-size: 11.5px; color: var(--ink-light-muted); margin-top: 2px; }
.regina-chat__close {
  width: 36px; height: 36px; border-radius: var(--radius-xs);
  border: 1px solid var(--rule-dark-strong); font-size: 20px; line-height: 1;
}
.regina-chat__history {
  flex: 1 1 auto; min-height: 140px; overflow-y: auto;
  padding: 14px; display: flex; flex-direction: column; gap: 9px;
}
.regina-chat__message {
  max-width: 88%; padding: 10px 13px; border-radius: var(--radius-sm);
  font-size: 13.5px; line-height: 1.45;
}
.regina-chat__message--regina {
  align-self: flex-start; background: rgba(242, 238, 230, .06); border: 1px solid var(--rule-dark);
}
.regina-chat__message--visitor {
  align-self: flex-end; background: var(--brass); color: #161108; font-weight: 500;
}
.regina-chat__suggestions {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px;
}
.regina-chat__suggestion {
  padding: 6px 10px; border-radius: var(--radius-xs);
  border: 1px solid rgba(225, 188, 128, .32); background: rgba(225, 188, 128, .07);
  font-size: 12px; color: var(--ink-light); text-align: left;
}
.regina-chat__suggestion:hover { border-color: var(--brass); }
.regina-chat__form { padding: 12px; border-top: 1px solid var(--rule-dark); }
.regina-chat__input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.regina-chat__input {
  width: 100%; min-height: 42px; padding: 9px 12px;
  border: 1px solid var(--rule-dark-strong); border-radius: var(--radius-xs);
  background: var(--obsidian); color: var(--ink-light); font: inherit; font-size: 14px;
}
.regina-chat__send {
  min-height: 42px; padding: 0 16px; border-radius: var(--radius-xs);
  background: var(--ink-light); color: var(--obsidian); font-weight: 700; font-size: 13.5px;
}
.regina-chat__privacy {
  margin-top: 7px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-light-muted);
}

/* ==========================================================================
   12 · RESPONSIVE BREAKPOINTS (1180px · 980px · 760px · 480px)
   Compact Mobile & Zero Horizontal Overflow Guaranteed at 390px and 1440px
   ========================================================================== */
@media (max-width: 1180px) {
  .navlinks, .navr .btn { display: none; }
  .burger { display: flex; }
  .creds .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cred { border-bottom: 1px solid var(--rule-dark); }
  .cred:nth-child(3n) { border-right: 0; }
  .need-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-card:nth-child(3n) { border-right: 1px solid var(--rule-paper); }
  .compare-card:nth-child(2n) { border-right: 0; }
}

@media (max-width: 980px) {
  .hero-main { grid-template-columns: 1fr; }
  .case-card.is-featured { grid-template-columns: 1fr; }
  .case-card.is-featured .proof-media { border-right: 0; border-bottom: 1px solid var(--rule-dark); }
  .proof-grid { grid-template-columns: 1fr; gap: 14px; }
  .rates-head { grid-template-columns: 1fr; gap: 12px; }
  .rates-market-stamp { justify-self: start; text-align: left; }
  .estimator-grid { grid-template-columns: 1fr; }
  .billing-terms { grid-template-columns: 1fr; gap: 10px; }
  .specimen, .phero .wrap, .labhead, .graphwrap, .meet, .archive-spread, .final .grid, .gmedia {
    grid-template-columns: 1fr; gap: 24px;
  }
  .specimen.flip .specimen-copy { order: 0; }
  .diptych { grid-template-columns: 1fr; }
  .diptych-col:first-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--rule-dark); }
  .diptych-col:last-child { padding: 24px 0; }
  .lab-tracks { grid-template-columns: 1fr; }
  .lab-track { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--rule-dark); }
  .lab-track:last-child { border-bottom: 0; }
  .rescards, .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  footer .top { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  section { padding: 44px 0; }
  .hide-sm, .jq-kbd-pill { display: none !important; }
  #nav .wrap { gap: 10px; }
  .mkt { font-size: 11px; padding: 5px 9px; }
  .eyebrow { letter-spacing: .11em; font-size: 10.5px; }
  h1.serif { font-size: clamp(36px, 9.5vw, 48px); margin: 10px 0 12px; }
  h2.serif { font-size: clamp(28px, 8vw, 38px); margin: 8px 0 10px; }
  .lead { font-size: 15px; line-height: 1.5; }

  /* Compact Hero on Mobile (hero-apply.mjs layers dedicated visible film area cleanly) */
  .hero.vhero { min-height: auto; padding: calc(var(--nav-h) + 18px) 0 28px; }
  .hero-nvidia { margin-bottom: 10px; padding: 5px 10px 5px 5px; gap: 8px; }
  .hero-nvidia img { height: 24px; }
  .hero-nvidia span { font-size: 10.5px; }
  .hero .cta { margin-top: 16px; gap: 8px; }
  .hero .cta .btn { width: 100%; min-height: 42px; padding: 10px 14px; font-size: 13.5px; }
  .hero-meta-line { flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 10px; font-size: 11px; }
  .hero-meta-line [aria-hidden="true"] { display: none; }
  .hstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin-top: 16px; padding-top: 14px; }
  .hstats dt { font-size: 20px; }
  .hstats dd { font-size: 11.5px; }

  /* Compact 2-Column Credentials Strip (stays 2-col at 390px to save vertical height) */
  .creds .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 10px 8px; border-right: 1px solid var(--rule-dark); font-size: 10.5px; }
  .cred b { font-size: 11px; }
  .cred > img { width: 34px; }
  .cred .lg { width: 20px; height: 20px; padding: 4px; }
  .cred .cm.ent { width: 28px; height: 28px; font-size: 10px; }
  .cred:nth-child(3n) { border-right: 1px solid var(--rule-dark); }
  .cred:nth-child(2n) { border-right: 0; }

  /* Compact Real Case Showcase on Mobile */
  .work-head__cta { width: 100%; }
  .work-head__cta .btn { flex: 1 1 auto; }
  .case-card.is-featured { margin-top: 18px; }
  .case-copy { padding: 14px 14px 16px; }
  .case-copy h3 { font-size: 24px; }
  .proof-media.pos-detail picture { aspect-ratio: auto; padding: 10px; }
  .proof-media.pos-detail img { height: auto; object-fit: contain; border-radius: var(--radius-xs); border: 1px solid var(--rule-dark-strong); }

  /* Compact Single-Selector Pricing on Mobile */
  .need-selector { padding: 14px 0; }
  .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .need-btn { padding: 9px 10px; gap: 2px; }
  .need-btn strong { font-size: 12.5px; }
  .need-btn small { font-size: 10.5px; }

  .rec-card { padding: 16px 14px; gap: 12px; }
  .rec-card__head { display: contents; }
  .rec-card__head > :first-child { order: 1; }
  .rec-money { order: 2; grid-template-columns: 1fr 1fr; }
  .rec-scope { order: 3; grid-template-columns: 1fr; gap: 5px; }
  .rec-card .tier-est-note { order: 4; }
  .rec-card__cta { order: 5; width: 100%; gap: 8px; }
  .rec-card__cta .btn { width: 100%; }
  .rec-card__cta .pay-alt { width: 100%; text-align: center; }
  .rec-tax-line { order: 6; }
  .rec-money__cell.is-invoice { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--rule-paper); }
  .rec-money__cell { padding: 10px 12px; }
  .rec-money__cell strong { font-size: 18px; }
  .rec-scope li { font-size: 13.5px; }

  .alt-strip { grid-template-columns: 1fr; }
  .alt-pill-card { padding: 11px 12px; min-width: 0; max-width: 100%; }
  .alt-pill-card__info { width: 100%; }
  .alt-pill-card__acts { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  .alt-pill-card__acts .btn { padding: 7px 10px; font-size: 12.5px; white-space: normal; text-align: center; }
  .alt-compare summary, .compare-details summary { padding: 12px 14px; font-size: 11.5px; line-height: 1.35; text-align: left; }

  /* Accessible Full Comparison → Mobile Invoice Slips (zero horizontal table scroll) */
  .ledger-cols { display: none; }
  .tier-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 12px;
  }
  .tier-identity { grid-column: 1 / -1; }
  .tier-num .cell-k { display: block; }
  .tier-num.is-invoice {
    grid-column: 1 / -1;
    padding: 9px 11px;
    background: rgba(6, 98, 115, .07);
    border-left: 3px solid var(--cyan-deep);
  }
  .tier-cta { grid-column: 1 / -1; }

  .compare-grid { grid-template-columns: 1fr; }
  .compare-card { border-right: 0 !important; padding: 14px; }

  /* Compact Product Plates */
  .specimen { padding: 24px 0; gap: 18px; }
  .scene { max-height: 280px; }

  /* Interactive Joaquín Mobile Console — 4×2 touch grid */
  .meet .stage { max-width: 400px; height: min(96vw, 400px); aspect-ratio: auto; margin: 0 auto 102px; }
  .meet .stage .keys {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%; bottom: -94px; gap: 6px;
  }
  .meet .stage .keys button { justify-content: center; padding: 8px 4px; font-size: 12px; min-height: 38px; }
  .meet .stage .keys kbd { display: none; }

  /* Motion pause button moves into mobile menu */
  .pausebtn { display: none; }
  .mnav .pausebtn {
    display: inline-flex; position: static; width: auto; height: auto;
    font-size: 13px; padding: 10px 14px; margin-top: 12px; gap: 8px;
  }
  .regina-chat__trigger { padding: 4px; min-height: 48px; }
  .regina-chat__trigger-avatar { width: 38px; height: 38px; }
  main > section:last-of-type, footer { padding-bottom: 80px; }
}

@media (max-width: 480px) {
  .log li { grid-template-columns: 80px 16px minmax(0, 1fr); }
  .roster { grid-template-columns: 1fr; }
  footer .top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  footer .top > :first-child { grid-column: 1 / -1; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
  .vhero .hvid video { display: none; }
  .vhero .hvid { background: var(--obsidian) url(/assets/lab-sign/hero.jpg?v=20261121-scroll-1) 70% 50% / cover no-repeat; }
}
