/* marketing.css — the public marketing pages (home lander, stack, guides, thanks)
   rebuilt on the Pop house system. Written against the house tokens only:
   semantic vars (--bg --surface --surface-2 --text --muted --line --drop
   --accent --accent-2 --accent-ink --focus) + the pop palette (--paper
   --paper-sunk --ink --board --dot --side --side-text --yellow --blue --red
   --pink --mint --lilac) — never hex — so SITE_DESIGN packs re-skin every
   section by overriding the variables. Owned by the lander revamp slice.

   Motion rules honoured throughout: transform/opacity only, one-shot
   entrances with animation-fill-mode: backwards, box-shadow changes only on a
   single element's hover/press, no gradients/blur/backdrop-filter, and
   prefers-reduced-motion kills everything while keeping every state. */

/* ======================================================================
   1. Scaffold — sections, heads, kickers, highlights
   ====================================================================== */

.home, .content { display: block; }

.section { padding: clamp(44px, 7vw, 86px) 0; }
.section + .section { padding-top: clamp(10px, 2.5vw, 26px); }
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}
.section-inner.narrow { max-width: 820px; }

/* "alt" sections sit on a sunk strip of the board, framed by ink rules. */
.section-alt {
  background: var(--paper-sunk);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  margin: clamp(18px, 3vw, 34px) 0;
}

.section-head { max-width: 720px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-kicker { justify-self: center; }
.section-head h2 {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--text);
  text-wrap: balance;
}
.section-head p { margin: 0; color: var(--text-soft); font-size: 16.5px; line-height: 1.6; }
.section-head p + p { margin-top: 8px; }

/* The signature Pop unit: black pill, loud uppercase accent text. */
.section-kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 5px 12px 4px;
  border-radius: 999px;
  background: var(--side);
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}
.section-head.center { display: grid; justify-items: center; }

/* Heading highlight — the yellow marker sticker (no gradients in Pop). */
.grad {
  display: inline-block;
  padding: 0.02em 0.18em 0.06em;
  background: var(--yellow);
  color: var(--accent-ink);
  border-radius: 0.28em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.muted { color: var(--text-soft); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.home code, .content code, .section-head code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  padding: 2px 7px 3px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
  white-space: nowrap;
}

.dot-live {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--ink);
  margin-right: 2px;
  vertical-align: baseline;
}

/* ======================================================================
   2. Buttons — the .button family mirrors pop-btn (press physics included)
   ====================================================================== */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 2px 22px 0;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-snap) var(--ease-pop);
}
.button::after { /* hover apron so the cursor never falls off mid-lift */
  content: ""; position: absolute; inset: -4px -8px -8px -4px; border-radius: inherit;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }
.button:active { transform: translate(3px, 3px); box-shadow: var(--shadow-press); transition-duration: var(--dur-press); }
.button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.button-primary { background: var(--yellow); color: var(--accent-ink); }
.button-ghost { background: var(--paper); }
.button-small { min-height: 38px; padding: 1px 16px 0; font-size: 13.5px; }
.button[disabled], .button:disabled {
  opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: var(--shadow-press);
}

/* ======================================================================
   3. Motion — entrances, reveals, stickers
   ====================================================================== */

@media (prefers-reduced-motion: no-preference) {
  [data-stagger] {
    animation: mk-rise var(--dur-pop) var(--ease-pop) backwards;
    animation-delay: calc(var(--i, 0) * 70ms);
  }
  @keyframes mk-rise {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .reveal { opacity: 0; transform: translateY(16px); }
  .reveal.is-visible {
    opacity: 1; transform: none;
    transition: opacity var(--dur-roll) var(--ease-out-soft), transform var(--dur-roll) var(--ease-pop);
    transition-delay: var(--reveal-delay, 0ms);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Stickers — flat ink-outlined decorations; the ONLY looping motion on a page. */
.mk-sticker { position: absolute; display: inline-grid; place-items: center; pointer-events: none; z-index: 2; }
.mk-sticker svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mk-sticker--sun { width: 54px; height: 54px; color: var(--yellow); }
.mk-sticker--sun svg circle { fill: var(--yellow); }
.mk-sticker--star { width: 50px; height: 50px; }
.mk-sticker--star svg path { fill: var(--pink); }
.mk-sticker--spark svg path { fill: var(--lilac); }
@media (prefers-reduced-motion: no-preference) {
  .mk-sticker--sun svg { animation: mk-spin 14s linear infinite; transform-origin: 50% 50%; }
  @keyframes mk-spin { to { transform: rotate(360deg); } }
}

/* Live numbers (ui.js .count count-ups) never jiggle their neighbours. */
.count { font-variant-numeric: tabular-nums; }

/* ======================================================================
   4. Chips — proof chips + the sticker wall (static; Pop forbids marquees)
   ====================================================================== */

.signal-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px 4px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}
.hero-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }

.chipwall {
  max-width: 1050px;
  margin: 0 auto;
  padding: clamp(10px, 2vw, 18px) clamp(16px, 4vw, 24px) clamp(26px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 9px;
}
.chipwall-chip {
  padding: 6px 14px 5px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  transform: rotate(calc((mod(var(--ci, 0), 2) * 2 - 1) * 1.1deg));
}
.chipwall-chip:nth-child(3n) { background: var(--paper-sunk); }

/* ======================================================================
   5. Hero — shared + the split (default) architecture
   ====================================================================== */

.hero { position: relative; padding: clamp(40px, 6vw, 76px) 0 clamp(34px, 5vw, 60px); overflow: visible; }
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}
.hero-v-split .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.hero-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
  text-wrap: balance;
}
.hero-copy > .section-kicker { margin-bottom: 2px; }
.hero-sub {
  margin: 18px 0 0;
  max-width: 54ch;
  color: var(--text-soft);
  font-size: clamp(16px, 1.6vw, 17.5px);
  line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Offer ribbon — a pressed yellow sticker strip above the hero. */
.offer-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0 auto clamp(20px, 3vw, 34px);
  padding: 9px 18px 8px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-snap) var(--ease-pop);
}
.offer-ribbon:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }
.offer-ribbon:active { transform: translate(3px, 3px); box-shadow: var(--shadow-press); }
.offer-ribbon-tag {
  padding: 3px 10px 2px;
  border-radius: 999px;
  background: var(--side);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.offer-ribbon-cta { font-weight: 700; white-space: nowrap; }

/* — the app window (outlined browser mock pinned at a tilt) — */
.hero-visual { position: relative; }
.hero-sticker { top: -26px; right: -14px; transform: rotate(12deg); }
.app-window {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: var(--shadow-lift);
  transform: rotate(1.1deg);
  overflow: hidden;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 3px solid var(--ink);
  background: var(--paper-sunk);
}
.app-bar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); }
.app-bar i:nth-child(1) { background: var(--red); }
.app-bar i:nth-child(2) { background: var(--yellow); }
.app-bar i:nth-child(3) { background: var(--mint); }
.app-url {
  margin-left: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
}
.app-tag {
  padding: 3px 10px 2px;
  border-radius: 999px;
  background: var(--side);
  color: var(--yellow);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.app-body { position: relative; padding: 18px; transition: none; }

/* static per-profile mock rows (non-showcase split heroes) */
.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.app-row + .app-row { margin-top: 10px; }
.app-row .lbl b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 14.5px; letter-spacing: -0.01em; }
.app-row .lbl small { color: var(--text-faint); font-size: 11.5px; }
.app-row .val { font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.app-row .val.accent { color: var(--blue); }
.app-row .val small { font-size: 12px; margin-left: 2px; color: var(--text-faint); letter-spacing: 0; }
.app-spark { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.app-spark i { width: 9px; border: 2px solid var(--ink); border-radius: 4px 4px 2px 2px; background: var(--mint); }

/* scene cycling (app.js drives .is-active/.is-leaving + height morph) */
.app-scene { display: none; }
.app-scene.is-active { display: block; position: relative; }
.app-scene.is-leaving { display: block; position: absolute; inset: 18px; opacity: 0; transition: opacity var(--dur-snap) linear; }
@media (prefers-reduced-motion: no-preference) {
  .app-scene.is-active .s-rise { animation: mk-rise var(--dur-pop) var(--ease-pop) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
  .app-scene.is-active .s-grow { animation: mk-grow var(--dur-roll) var(--ease-out-soft) backwards; animation-delay: calc(var(--i, 0) * 40ms); transform-origin: bottom; }
  .app-scene.is-active .s-fill { animation: mk-fill var(--dur-roll) var(--ease-out-soft) backwards; transform-origin: left; }
  @keyframes mk-grow { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
  @keyframes mk-fill { from { transform: scaleX(0.1); } to { transform: scaleX(1); } }
}

/* floating "something happened" toasts — pop badges beside the window */
.hero-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 7px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  z-index: 3;
  white-space: nowrap;
}
.hero-float .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); flex: none; }
.hero-float.f1 { top: 34px; right: -12px; transform: rotate(2deg); }
.hero-float.f2 { bottom: 26px; left: -14px; transform: rotate(-2deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero-float.is-pop { animation: mk-pop var(--dur-pop) var(--ease-pop) backwards; }
  @keyframes mk-pop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; } }
}
.hero-dots { display: flex; justify-content: center; gap: 7px; margin-top: 22px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); transition: transform var(--dur-snap) var(--ease-pop); }
.hero-dot.is-on { background: var(--yellow); transform: scale(1.18); }

/* ======================================================================
   5a. Hero scenes (the five cycling mocks — flat Pop readings)
   ====================================================================== */

/* — studio scene — */
.scene-studio .st-prompt {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px;
  border: 2.5px solid var(--ink); border-radius: 14px;
  background: var(--paper-sunk);
  font-size: 12.5px; font-weight: 600;
}
.st-spark { color: var(--yellow); display: inline-grid; }
.st-spark svg path { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.4; }
.st-ptext { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-soft); }
.st-model { font-size: 10.5px; font-weight: 700; padding: 3px 8px 2px; border-radius: 999px; background: var(--side); color: var(--yellow); white-space: nowrap; }
.st-gen {
  border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 5px 12px 4px; background: var(--yellow); color: var(--accent-ink);
  font: inherit; font-size: 12px; font-weight: 700; box-shadow: var(--shadow-xs);
}
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.st-tile { position: relative; aspect-ratio: 1; border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; }
.st-i1 { background: var(--mint); } .st-i2 { background: var(--lilac); } .st-i3 { background: var(--pink); }
.st-i4 { background: var(--paper-sunk); } .st-i5 { background: var(--yellow); } .st-i6 { background: var(--blue); }
.st-tile::after { content: ""; position: absolute; left: 14%; bottom: 14%; width: 34%; height: 10%; border-radius: 999px; background: var(--ink); opacity: 0.18; }
.st-gening::after { display: none; }
.st-shimmer { display: none; }
.st-prog {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.st-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 12px; font-weight: 700; }
.st-credits { color: var(--text); } .st-store { color: var(--text-faint); }

/* — cms scene — */
.scene-cms .cms-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.hs-cms-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper-sunk); }
.hs-cms-tab { padding: 4px 11px 3px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--text-soft); }
.hs-cms-tab.is-active { background: var(--yellow); color: var(--accent-ink); border: 2px solid var(--ink); padding: 2px 9px 1px; }
.cms-access { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--text-soft); }
.cms-access-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.cms-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; }
.cms-blocks { display: grid; gap: 8px; align-content: start; }
.cms-block {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--paper);
}
.cms-block.is-selected { background: var(--lilac); box-shadow: var(--shadow-xs); }
.cms-grip { display: grid; grid-template-columns: repeat(2, 3px); gap: 2px; }
.cms-grip i { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }
.cms-tile { display: inline-grid; width: 30px; height: 22px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper-sunk); place-items: center; }
.cms-tile b, .cms-tile u, .cms-tile em, .cms-tile s { display: none; }
.cms-blabel { font-size: 12px; font-weight: 700; }
.cms-edit { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.hs-cms-preview { border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper); overflow: hidden; }
.cms-pv-top { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-bottom: 2.5px solid var(--ink); background: var(--paper-sunk); }
.cms-dots { display: inline-flex; gap: 4px; }
.cms-dots i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); }
.cms-pv-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); }
.cms-pv-body { padding: 12px; display: grid; gap: 8px; }
.cms-pv-head { height: 14px; width: 70%; border-radius: 999px; background: var(--text); opacity: 0.85; }
.cms-pv-sub { height: 8px; width: 88%; border-radius: 999px; background: var(--text-faint); opacity: 0.5; }
.cms-pv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.cms-pv-cell { display: grid; gap: 5px; padding: 8px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper-sunk); }
.cms-pv-cell span { height: 7px; width: 80%; border-radius: 999px; background: var(--text); opacity: 0.7; }
.cms-pv-cell i { height: 5px; width: 95%; border-radius: 999px; background: var(--text-faint); opacity: 0.45; }
.cms-pv-cta {
  justify-self: start; padding: 5px 13px 4px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--yellow); color: var(--accent-ink); font-size: 11px; font-weight: 700;
}

/* — app (phone + api) scene — */
.scene-app .app-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; align-items: center; }
.scene-app .phone {
  border: 3px solid var(--ink); border-radius: 22px; background: var(--paper);
  box-shadow: var(--shadow-sm); padding: 8px; transform: rotate(-1.4deg);
}
.scene-app .phone-screen { position: relative; border: 2px solid var(--ink); border-radius: 15px; background: var(--paper-sunk); padding: 22px 12px 12px; display: grid; gap: 8px; }
.scene-app .notch { position: absolute; top: 6px; left: 50%; width: 44px; height: 8px; transform: translateX(-50%); border-radius: 999px; background: var(--ink); }
.scene-app .brand { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.scene-app .logo-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.scene-app .brand-name { font-family: var(--font-display); font-weight: 800; font-size: 13px; }
.scene-app .signin-head { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.03em; }
.scene-app .auth-stack { display: grid; gap: 6px; }
.scene-app .auth-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 30px; padding: 2px 8px 0; border: 2px solid var(--ink); border-radius: 999px;
  font: inherit; font-size: 11px; font-weight: 700; background: var(--paper); color: var(--text);
}
.scene-app .hs-auth-apple { background: var(--side); color: var(--side-text); }
.scene-app .g-apple { width: 13px; height: 13px; fill: currentColor; }
.scene-app .g-google { font-weight: 800; }
.scene-app .trust-row { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 700; color: var(--text-faint); }
.scene-app .trust-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); border: 1.5px solid var(--ink); }
.scene-app .api-card { border: 3px solid var(--ink); border-radius: 16px; background: var(--side); color: var(--side-text); overflow: hidden; box-shadow: var(--shadow-sm); }
.scene-app .api-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 2px solid var(--drop); font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; }
.scene-app .method { color: var(--yellow); font-weight: 700; }
.scene-app .path { opacity: 0.85; }
.scene-app .pill-201 { margin-left: auto; padding: 2px 8px 1px; border-radius: 999px; background: var(--mint); color: #111; border: 2px solid var(--ink); font-weight: 700; font-size: 10px; }
.scene-app .json { padding: 10px 12px; font-family: ui-monospace, Menlo, monospace; font-size: 11px; line-height: 1.65; }
.scene-app .json .k { color: var(--yellow); }
.scene-app .json .s { color: var(--mint); }
.scene-app .json .num { color: var(--pink); }
.scene-app .json .pn { opacity: 0.6; }
.scene-app .in1 { padding-left: 12px; } .scene-app .in2 { padding-left: 24px; }
.scene-app .cur { display: none; }
.scene-app .api-foot { display: flex; justify-content: space-between; padding: 8px 12px; border-top: 2px solid var(--drop); font-size: 10.5px; font-weight: 700; }
.scene-app .foot-lbl { opacity: 0.6; text-transform: uppercase; letter-spacing: 0.05em; }
.scene-app .foot-val { font-variant-numeric: tabular-nums; }
.scene-app .foot-val .unit { opacity: 0.6; margin-left: 1px; }

/* — api scene — */
.scene-api .term { border: 3px solid var(--ink); border-radius: 16px; background: var(--side); color: var(--side-text); overflow: hidden; box-shadow: var(--shadow-sm); }
.scene-api .term-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 2px solid var(--drop); }
.scene-api .term-dots { display: inline-flex; gap: 5px; }
.scene-api .term-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--paper); opacity: 0.5; }
.scene-api .term-name { font-family: ui-monospace, Menlo, monospace; font-size: 11px; opacity: 0.8; }
.scene-api .term-tag { margin-left: auto; padding: 2px 9px 1px; border-radius: 999px; background: var(--mint); color: #111; border: 2px solid var(--ink); font-size: 10px; font-weight: 700; }
.scene-api .term-body { padding: 11px 13px; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; line-height: 1.7; }
.scene-api .t-prompt { color: var(--yellow); }
.scene-api .t-cont { padding-left: 16px; }
.scene-api .hs-t-str { color: var(--mint); }
.scene-api .hs-t-num { color: var(--pink); }
.scene-api .t-key { color: var(--yellow); }
.scene-api .t-faint { opacity: 0.55; }
.scene-api .t-res { margin-top: 3px; }
.scene-api .t-caret { display: inline-block; width: 7px; height: 13px; margin-left: 3px; background: var(--yellow); vertical-align: -2px; }
.api-traffic {
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
  padding: 9px 13px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper);
}
.api-traffic-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); }
.api-eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; flex: 1; }
.api-eq i { flex: 1; min-width: 3px; height: calc(22% + var(--d, 0) * 6%); border-radius: 3px 3px 1px 1px; background: var(--blue); border: 1.5px solid var(--ink); }
.api-traffic-val { font-family: var(--font-display); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.api-traffic-val small { font-size: 10px; color: var(--text-faint); }
.scene-api .meter { margin-top: 10px; padding: 11px 13px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper); }
.scene-api .meter-head, .scene-api .meter-foot { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; }
.scene-api .meter-val { font-variant-numeric: tabular-nums; }
.scene-api .meter-sep { color: var(--text-faint); }
.scene-api .meter-track { height: 14px; margin: 7px 0; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper-sunk); overflow: hidden; }
.scene-api .meter-fill { display: block; height: 100%; width: var(--fill, 60%); background: var(--yellow); border-right: 2px solid var(--ink); }
.scene-api .meter-foot { color: var(--text-faint); font-weight: 600; }
.scene-api .keyrow { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 13px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 11.5px; font-weight: 700; }
.scene-api .key-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.scene-api .key-name { font-family: ui-monospace, Menlo, monospace; }
.scene-api .key-spacer { flex: 1; }
.scene-api .key-btn { border: 2px solid var(--ink); border-radius: 999px; background: var(--paper-sunk); padding: 3px 10px 2px; font: inherit; font-size: 10.5px; font-weight: 700; color: var(--text); }
.scene-api .key-btn--danger { background: var(--red); color: var(--flash); }

/* — subs scene — */
.scene-subs .subs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.scene-subs .subs-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); }
.scene-subs .subs-figrow { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.scene-subs .subs-mrr { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.scene-subs .subs-chip { display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px 1px; border: 2px solid var(--ink); border-radius: 999px; background: var(--mint); color: #111; font-size: 10.5px; font-weight: 700; }
.scene-subs .subs-head-r { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: var(--text-faint); }
.scene-subs .subs-spark-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.scene-subs .subs-chart { margin-top: 10px; padding: 12px 12px 8px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper); }
.scene-subs .subs-bars { display: flex; align-items: flex-end; gap: 5px; height: 92px; }
.scene-subs .subs-bar { flex: 1; border: 2px solid var(--ink); border-radius: 6px 6px 2px 2px; background: var(--lilac); }
.scene-subs .subs-bar.is-peak { background: var(--yellow); }
.scene-subs .subs-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 9.5px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.scene-subs .subs-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; padding: 10px 13px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper); }
.scene-subs .subs-row-l { display: flex; align-items: center; gap: 9px; }
.scene-subs .subs-ico { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 9px; background: var(--yellow); }
.scene-subs .subs-ico-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-ink); }
.scene-subs .subs-ico-hook { background: var(--lilac); }
.scene-subs .subs-hook-glyph { width: 10px; height: 10px; border: 2.5px solid var(--ink); border-radius: 50% 50% 0 50%; }
.scene-subs .subs-row-title { display: block; font-weight: 700; font-size: 12.5px; }
.scene-subs .subs-row-sub { font-size: 10.5px; color: var(--text-faint); font-weight: 600; }
.scene-subs .subs-price { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.scene-subs .subs-price-per { font-size: 11px; color: var(--text-faint); font-weight: 600; letter-spacing: 0; }
.scene-subs .subs-row-r-stack { display: grid; justify-items: end; gap: 3px; }
.scene-subs .subs-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 1px; border: 2px solid var(--ink); border-radius: 999px; background: var(--mint); color: #111; font-size: 10px; font-weight: 700; }
.scene-subs .subs-credit { font-size: 10.5px; font-weight: 700; color: var(--text-soft); font-variant-numeric: tabular-nums; }

/* ======================================================================
   6. Hero variants — four more architectures
   ====================================================================== */

/* — terminal: one giant ink terminal IS the hero — */
.hx-terminal { max-width: 880px; }
.hx-term-win {
  border: 3px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--side);
  color: var(--side-text);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.hx-term-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 2px solid var(--drop); }
.hx-term-bar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.hx-term-bar i:nth-child(1) { background: var(--red); }
.hx-term-bar i:nth-child(2) { background: var(--yellow); }
.hx-term-bar i:nth-child(3) { background: var(--mint); }
.hx-term-name { margin-left: 6px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; opacity: 0.8; }
.hx-term-live { margin-left: auto; padding: 3px 11px 2px; border-radius: 999px; background: var(--mint); color: #111; border: 2px solid var(--ink); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.hx-term-body { padding: clamp(22px, 4vw, 40px); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hx-term-path { margin: 0 0 14px; font-size: 14px; opacity: 0.85; }
.hx-term-ps { color: var(--mint); font-weight: 700; }
.hx-term-flag { color: var(--yellow); }
.hx-term-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--side-text);
  text-wrap: balance;
}
.term-caret { display: inline-block; width: 0.5em; height: 0.82em; margin-left: 0.12em; background: var(--yellow); vertical-align: -0.08em; border: 2px solid var(--ink); }
.hx-term-pitch { margin: 18px 0 0; font-size: 14px; line-height: 1.6; color: var(--lilac); max-width: 62ch; }
.hx-term-out { margin: 18px 0 0; padding: 0; font-size: 13.5px; line-height: 1.85; white-space: pre-wrap; }
.tl { display: block; }
.tl-comment { color: var(--lilac); }
.tl-cmd { color: var(--side-text); }
.tl-out { color: var(--mint); }
.hx-term-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hx-term-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 2px 18px 0;
  border: 3px solid var(--side-text); border-radius: 12px;
  color: var(--side-text); text-decoration: none;
  font-family: ui-monospace, Menlo, monospace; font-size: 14px; font-weight: 700;
  transition: transform var(--dur-snap) var(--ease-pop);
}
.hx-term-btn.is-primary { background: var(--yellow); color: var(--accent-ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--drop); }
.hx-term-btn:hover { transform: translate(-2px, -2px); }
.hx-term-btn.is-primary:hover { box-shadow: 6px 6px 0 var(--drop); }
.hx-term-btn:active { transform: translate(2px, 2px); }
.hx-term-btn.is-primary:active { box-shadow: 1px 1px 0 var(--drop); }
.hx-term-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 18px 4px 0; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--text-faint); }
.hx-term-meta span::before { content: "· "; color: var(--text-faint); }

/* — manifesto: pure typography on the bare board — */
.hx-manifesto { max-width: 980px; }
.hx-mfst-top {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 14px; border-bottom: 3px solid var(--ink);
}
.hx-mfst-no { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; }
.hx-mfst-kicker {
  padding: 4px 12px 3px; border-radius: 999px; background: var(--side); color: var(--yellow);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.hx-mfst-date { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.hx-mfst-title {
  margin: clamp(26px, 4vw, 44px) 0 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 7.4vw, 92px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.055em;
  color: var(--text);
  text-wrap: balance;
}
.hx-mfst-cols {
  margin: clamp(26px, 4vw, 42px) 0 0;
  columns: 2;
  column-gap: 44px;
  column-rule: 3px solid var(--ink);
  color: var(--text-soft);
  font-size: 16.5px;
  line-height: 1.65;
}
.hx-mfst-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: clamp(26px, 4vw, 40px); padding-top: 18px; border-top: 3px solid var(--ink);
}
.hx-mfst-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hx-mfst-link { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2.5px; text-underline-offset: 4px; }
.hx-mfst-link:hover { text-decoration-color: var(--yellow); }
.hx-mfst-meta { margin: 0; font-size: 13px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }

/* — keynote: centered copy over a wide flat product panel — */
.hx-keynote { display: grid; justify-items: center; text-align: center; }
.hx-keynote .hero-title { max-width: 18ch; }
.hx-keynote .hero-sub { max-width: 58ch; }
.hx-keynote .hero-cta { justify-content: center; }
.hx-key-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.hx-key-tags span {
  padding: 4px 12px 3px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper-sunk); font-size: 12px; font-weight: 700; color: var(--text-soft);
}
.hx-key-stage { position: relative; width: min(100%, 880px); margin-top: clamp(30px, 4.5vw, 52px); }
.hx-key-sticker { top: -24px; left: -18px; transform: rotate(-10deg); }
.hx-key-panel {
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); box-shadow: var(--shadow-lift);
  transform: rotate(-0.7deg); overflow: hidden;
}
.hx-key-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 3px solid var(--ink); background: var(--paper-sunk); }
.hx-key-dots { display: inline-flex; gap: 5px; }
.hx-key-dots i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); }
.hx-key-dots i:nth-child(1) { background: var(--red); }
.hx-key-dots i:nth-child(2) { background: var(--yellow); }
.hx-key-dots i:nth-child(3) { background: var(--mint); }
.hx-key-addr { margin-left: 6px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 600; color: var(--text-soft); }
.hx-key-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px 2px; border: 2px solid var(--ink); border-radius: 999px; background: var(--mint); color: #111; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.hx-key-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); }
.hx-key-body { display: grid; grid-template-columns: 52px 1fr; }
.hx-key-side { display: grid; align-content: start; gap: 9px; padding: 14px 0; background: var(--side); justify-items: center; }
.hx-key-side i { width: 22px; height: 22px; border-radius: 8px; border: 2px solid var(--side-text); opacity: 0.45; }
.hx-key-side i.is-on { background: var(--yellow); border-color: var(--ink); opacity: 1; }
.hx-key-main { padding: 16px; }
.hx-key-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hx-key-kpi {
  display: grid; gap: 1px; padding: 11px 13px; text-align: left;
  border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.hx-key-kpi:nth-child(1) { background: var(--yellow); color: var(--accent-ink); }
.hx-key-kpi:nth-child(2) { background: var(--mint); color: #111; }
.hx-key-kpi:nth-child(3) { background: var(--lilac); color: #111; }
.hx-key-kpi span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.75; }
.hx-key-kpi b { font-family: var(--font-display); font-weight: 800; font-size: clamp(17px, 2.2vw, 23px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hx-key-kpi em { font-style: normal; font-size: 10.5px; font-weight: 700; opacity: 0.75; }
.hx-key-chart { display: flex; align-items: flex-end; gap: 7px; height: 110px; margin-top: 14px; padding: 12px 12px 0; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper-sunk); overflow: hidden; }
.hx-key-chart i { flex: 1; height: var(--h, 40%); border: 2px solid var(--ink); border-bottom: 0; border-radius: 7px 7px 0 0; background: var(--blue); }
.hx-key-chart i:nth-child(3n) { background: var(--lilac); }
.hx-key-chart i:last-child { background: var(--yellow); }

/* — billboard: a full-bleed yellow poster band — */
.hero-v-stacked { padding: 0; margin-bottom: clamp(18px, 3vw, 30px); }
.hx-billboard {
  position: relative;
  max-width: none;
  padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 24px) clamp(46px, 7vw, 90px);
  background: var(--yellow);
  color: var(--accent-ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  display: grid;
  justify-items: center;
  text-align: center;
  overflow: hidden;
}
.hx-bill-mark {
  position: absolute; left: 50%; top: 4px; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(90px, 16vw, 210px); letter-spacing: -0.06em; line-height: 1;
  white-space: nowrap; color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  opacity: 0.14; pointer-events: none;
}
.hx-bill-sticker { top: clamp(22px, 5vw, 60px); right: clamp(14px, 6vw, 90px); transform: rotate(14deg); }
.hx-bill-toast {
  position: absolute; left: clamp(10px, 5vw, 80px); bottom: clamp(60px, 11vw, 150px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px 7px; border: 2.5px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--text); font-size: 12.5px; font-weight: 700;
  box-shadow: var(--shadow-sm); transform: rotate(-3deg); white-space: nowrap;
}
.hx-bill-toast i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.hx-bill-kicker {
  position: relative; margin: 0 0 16px;
  padding: 5px 13px 4px; border-radius: 999px; background: var(--side); color: var(--yellow);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.hx-bill-title {
  position: relative; margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 6.6vw, 82px);
  line-height: 0.98; font-weight: 800; letter-spacing: -0.055em;
  max-width: 17ch; text-wrap: balance;
  color: var(--accent-ink);
}
.hx-bill-sub { position: relative; margin: 20px 0 0; max-width: 56ch; font-size: 17px; line-height: 1.6; font-weight: 600; color: var(--accent-ink); }
.hx-bill-ctas { position: relative; justify-content: center; }
.hx-bill-btn {
  background: var(--side); color: var(--yellow); border-color: var(--ink);
}
.hx-bill-btn-ghost { background: var(--paper); color: var(--text); }
.hx-bill-stats { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(26px, 4vw, 40px); }
.hx-bill-stats span {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 9px 16px 8px; border: 2.5px solid var(--ink); border-radius: 14px;
  background: var(--paper); color: var(--text); font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-xs);
}
.hx-bill-stats b { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.hx-bill-stats span:nth-child(odd) { transform: rotate(-1deg); }
.hx-bill-stats span:nth-child(even) { transform: rotate(1deg); }

/* ======================================================================
   7. Strips — dev lab, demo buy strip, proof strip
   ====================================================================== */

.dev-lab {
  position: fixed; left: 50%; bottom: 14px; z-index: 80;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  max-width: calc(100vw - 28px);
  padding: 8px 12px; border: 2.5px solid var(--ink); border-radius: 999px;
  background: var(--paper); box-shadow: var(--shadow-sm);
  font-size: 12.5px; font-weight: 700;
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease-pop, ease), opacity 0.2s ease;
}
/* Hidden once the hero leaves the viewport (ui.js toggles .is-away). */
.dev-lab.is-away { opacity: 0; transform: translate(-50%, 140%); pointer-events: none; }
.dev-lab-tag { padding: 3px 10px 2px; border-radius: 999px; background: var(--side); color: var(--yellow); font-size: 11px; letter-spacing: 0.02em; }
.dev-lab a { color: var(--text-soft); text-decoration: none; padding: 3px 10px; border-radius: 999px; text-transform: capitalize; }
.dev-lab a:hover { background: var(--paper-sunk); color: var(--text); }
.dev-lab a.is-on { background: var(--yellow); color: var(--accent-ink); box-shadow: 0 0 0 2px var(--ink); }
@media (prefers-reduced-motion: reduce) { .dev-lab { transition: none; } }

.demo-landing-strip { margin: clamp(16px, 3vw, 28px) auto; }
.demo-buy-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding: 14px 18px; border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); box-shadow: var(--shadow-md);
}
.demo-buy-strip-tag { padding: 4px 11px 3px; border-radius: 999px; background: var(--pink); color: #111; border: 2px solid var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.demo-buy-strip-text { flex: 1 1 320px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-soft); }
.demo-buy-strip-cta { flex: none; }

.proof-strip {
  max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px);
}
.proof-strip p {
  /* Plain inline flow, not flex: a flex row split "Proof it holds:" and any
     link into separate items that wrapped apart from the sentence. */
  display: block;
  margin: 0 auto; width: fit-content; max-width: min(100%, 880px);
  padding: 11px 24px 10px; border: 2.5px dashed var(--ink); border-radius: 24px; line-height: 1.55;
  background: var(--paper); font-size: 14px; font-weight: 600; color: var(--text-soft);
  text-align: center;
}
.proof-strip a { color: var(--text); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ======================================================================
   8. Design systems wall (the headline section)
   ====================================================================== */

.dsg-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 20px);
}
.dsg-card {
  display: grid;
  gap: 0;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform var(--dur-lift) var(--ease-pop);
}
.dsg-card:nth-child(4n+1) { transform: rotate(-0.8deg); }
.dsg-card:nth-child(4n+3) { transform: rotate(0.8deg); }
.dsg-card:hover { transform: translate(-2px, -2px) rotate(0deg); box-shadow: var(--shadow-md); }
.dsg-card:active { transform: translate(3px, 3px); box-shadow: var(--shadow-press); }
.dsg-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.dsg-shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--paper-sunk); }
.dsg-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dsg-meta { display: grid; gap: 1px; padding: 10px 14px 12px; }
.dsg-meta b { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; letter-spacing: -0.02em; }
.dsg-meta span { font-size: 12px; line-height: 1.45; color: var(--text-faint); font-weight: 600; }
.dsg-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px;
  margin-top: clamp(22px, 3.5vw, 34px);
}
.dsg-env {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 14px; border: 2.5px dashed var(--ink); border-radius: 999px;
  background: var(--paper);
}
.dsg-env-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.dsg-env code { border-width: 2px; }

/* ======================================================================
   9. Social sign-in
   ====================================================================== */

.social-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 4vw, 52px); align-items: center; }
.social-copy h2 { margin: 14px 0 10px; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.08; font-weight: 800; letter-spacing: -0.045em; }
.social-copy p { margin: 0 0 10px; color: var(--text-soft); font-size: 16px; line-height: 1.6; }
.social-note { padding: 12px 16px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--paper); font-size: 14px !important; box-shadow: var(--shadow-xs); }
.social-demo { display: grid; justify-items: center; }
.signin-card {
  position: relative; width: min(100%, 380px);
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); box-shadow: var(--shadow-lift); transform: rotate(1deg);
  overflow: hidden;
}
.signin-card-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 3px solid var(--ink); background: var(--paper-sunk);
  font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; font-weight: 600; color: var(--text-soft);
}
.auth-logo { width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.signin-card-body { position: relative; padding: 22px 20px 24px; display: grid; gap: 10px; }
.signin-card-title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; text-align: center; }
.auth-mock-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; border: 2.5px solid var(--ink); border-radius: 999px;
  background: var(--paper); font-size: 14px; font-weight: 700; box-shadow: var(--shadow-xs);
}
.auth-mock-btn.dark { background: var(--side); color: var(--side-text); }
.auth-mock-btn svg { width: 18px; height: 18px; }
.auth-apple-content { display: inline-flex; align-items: center; gap: 9px; }
.auth-spin { display: none; }
.auth-cursor { position: absolute; right: 38px; bottom: 6px; width: 20px; height: 20px; color: var(--text); transform: rotate(-6deg); }
.auth-cursor svg { width: 100%; height: 100%; }
.auth-success {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-top: 3px solid var(--ink); background: var(--mint); color: #111;
  font-weight: 700; font-size: 14px;
}
.auth-check { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); color: var(--text); }
.auth-check svg { width: 14px; height: 14px; }
.auth-success-sub { margin-left: auto; font-size: 11.5px; font-weight: 600; opacity: 0.8; }

/* ======================================================================
   10. Feature bento
   ====================================================================== */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 18px); }
.bento-card {
  position: relative;
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); box-shadow: var(--shadow-sm);
  padding: clamp(18px, 2.6vw, 26px);
  transition: transform var(--dur-lift) var(--ease-pop);
}
.bento-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }
.bento-card.col-2 { grid-column: span 2; }
.bento-card.col-3 { grid-column: span 3; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.col-6 { background: var(--paper-sunk); }
.feature-ico {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 2.5px solid var(--ink); border-radius: 13px; background: var(--yellow); color: var(--accent-ink);
  box-shadow: var(--shadow-xs); margin-bottom: 14px;
}
.bento-card:nth-child(2) .feature-ico { background: var(--mint); }
.bento-card:nth-child(3) .feature-ico { background: var(--lilac); }
.bento-card:nth-child(4) .feature-ico { background: var(--pink); }
.bento-card:nth-child(5) .feature-ico { background: var(--mint); }
.bento-card:nth-child(6) .feature-ico { background: var(--yellow); }
.feature-ico svg { width: 21px; height: 21px; }
.bento-card h3 { margin: 0 0 7px; font-family: var(--font-display); font-weight: 800; font-size: 18.5px; letter-spacing: -0.03em; }
.bento-card p { margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.58; }

/* ======================================================================
   11. Signature archetypes (rail / versus / studio / proof / ledger / terminal)
   ====================================================================== */

/* — rail (pipeline; also the "how it works" section) — */
.pipeline {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 18px);
}
.pipe-rail, .pipe-dot { display: none; }
.pipe-stage {
  position: relative;
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); box-shadow: var(--shadow-sm);
  padding: 20px 18px 18px;
}
.pipe-node {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 2.5px solid var(--ink); border-radius: 50%;
  background: var(--yellow); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  box-shadow: var(--shadow-xs); margin-bottom: 12px;
}
.pipe-stage:nth-child(odd) .pipe-node { background: var(--mint); }
.pipe-stage h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 17.5px; letter-spacing: -0.03em; }
.pipe-cmd { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: 12px; line-height: 1.55; color: var(--text-soft); }
.pipe-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 0; font-size: 13.5px; font-weight: 600; color: var(--text-faint); text-align: center; }

/* — versus — */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 18px); }
.versus-col {
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); box-shadow: var(--shadow-sm); padding: clamp(18px, 2.6vw, 26px);
}
.versus-col.is-in { background: var(--paper); }
.versus-head {
  display: inline-block; padding: 5px 13px 4px; border: 2.5px solid var(--ink); border-radius: 999px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.versus-col.is-in .versus-head { background: var(--mint); color: #111; }
.versus-col.is-out .versus-head { background: var(--red); color: #111; }
.versus-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.versus-col li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); }
.versus-col li svg { flex: none; width: 19px; height: 19px; margin-top: 2px; padding: 2px; border: 2px solid var(--ink); border-radius: 7px; }
.versus-col.is-in li svg { background: var(--mint); color: #111; }
.versus-col.is-out li svg { background: var(--red); color: var(--flash); }

/* — studio — */
.studio-mock {
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); box-shadow: var(--shadow-md); padding: clamp(16px, 2.4vw, 24px);
}
.studio-prompt {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--paper-sunk);
  font-size: 13.5px; font-weight: 600; color: var(--text-soft);
}
.studio-prompt svg { flex: none; width: 18px; height: 18px; color: var(--text); }
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.studio-grid { grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.shot-tile { position: relative; aspect-ratio: 1; border: 2.5px solid var(--ink); border-radius: 14px; overflow: hidden; }
.shot-tile.t1 { background: var(--mint); } .shot-tile.t2 { background: var(--lilac); }
.shot-tile.t3 { background: var(--yellow); } .shot-tile.t4 { background: var(--pink); }
.shot-tile.t5 { background: var(--blue); } .shot-tile.t6 { background: var(--paper-sunk); }
.shot-tile[data-busy] { background: var(--paper-sunk); }
.shot-tile[data-busy]::after {
  content: ""; position: absolute; left: 50%; top: 42%; width: 22px; height: 22px; margin: -11px;
  border: 3px solid var(--ink); border-radius: 50%; border-top-color: var(--yellow);
}
.studio-cap {
  position: absolute; left: 8px; bottom: 8px;
  padding: 3px 9px 2px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--text); font-size: 10.5px; font-weight: 700; white-space: nowrap;
  max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis;
}
.studio-caption { margin: 14px 2px 0; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--text-faint); }

/* — proof — */
.sig-proof { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(14px, 2.4vw, 22px); align-items: start; }
.proof-stats { display: grid; gap: 12px; }
.proof-stat {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  border: 3px solid var(--ink); border-radius: 18px; background: var(--paper);
  box-shadow: var(--shadow-xs); padding: 14px 18px;
}
.proof-stat strong { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.05em; color: var(--text); font-variant-numeric: tabular-nums; }
.proof-stat:nth-child(1) strong { color: var(--blue); }
.proof-stat span { font-size: 13px; line-height: 1.5; color: var(--text-soft); font-weight: 600; }
.sig-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-sm); }
.sig-table tr + tr th, .sig-table tr + tr td { border-top: 2px dashed var(--dot); }
.sig-table th { text-align: left; padding: 13px 16px; font-size: 13px; color: var(--text-faint); font-weight: 700; width: 40%; }
.sig-table td { padding: 13px 16px; font-size: 14px; font-weight: 600; }

/* — ledger — */
.ledger-wrap { overflow-x: auto; }
.ledger-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 3px solid var(--ink); border-radius: var(--radius-card); overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-md);
  font-variant-numeric: tabular-nums;
}
.ledger-table thead th {
  background: var(--side); color: var(--side-text);
  text-align: left; padding: 13px 18px; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.ledger-table tbody td { padding: 13px 18px; font-size: 14px; border-top: 2px dashed var(--dot); }
.ledger-table tbody tr:first-child td { border-top: 0; }
.ledger-table .ta-r { text-align: right; }
.ledger-type {
  display: inline-grid; place-items: center; width: 24px; height: 24px;
  border: 2px solid var(--ink); border-radius: 50%; font-weight: 800; font-size: 13px;
}
.ledger-type.is-up { background: var(--mint); color: #111; }
.ledger-type.is-down { background: var(--paper-sunk); color: var(--text); }
.ledger-bal { font-weight: 700; }

/* — terminal (signature) + shared console-term text tokens — */
.sig-term-wrap {
  border: 3px solid var(--ink); border-radius: var(--radius-card); overflow: hidden;
  background: var(--side); color: var(--side-text); box-shadow: var(--shadow-md);
}
.console-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  border-bottom: 2px solid var(--drop);
}
.console-bar i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); }
.console-bar i:nth-child(1) { background: var(--red); }
.console-bar i:nth-child(2) { background: var(--yellow); }
.console-bar i:nth-child(3) { background: var(--mint); }
.console-url { margin-left: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; opacity: 0.85; }
.console-path { opacity: 0.65; }
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 2px; border: 2px solid var(--ink); border-radius: 999px; background: var(--mint); color: #111; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.console-live .dot-live { margin: 0; width: 7px; height: 7px; border-width: 1.5px; background: var(--accent-ink); }
.console-term {
  margin: 0; padding: 16px 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; line-height: 1.8; color: var(--side-text);
  white-space: pre-wrap; word-break: break-word;
}
.sig-term { font-size: 12.5px; }
.t-cmd { color: var(--side-text); font-weight: 600; }
.t-str { color: var(--mint); }
.t-num { color: var(--pink); }
.t-prop { color: var(--yellow); }
.t-punc { color: var(--side-text); opacity: 0.6; }
.t-bool { color: var(--lilac); }

/* ======================================================================
   12. Stat band
   ====================================================================== */

.statband-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 18px); }
.statband-stat {
  display: grid; gap: 8px; align-content: start;
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); box-shadow: var(--shadow-sm);
  padding: 20px 18px;
  transition: transform var(--dur-lift) var(--ease-pop);
}
.statband-stat:hover { transform: translate(-2px, -2px) rotate(-1.2deg); box-shadow: var(--shadow-md); }
.statband-stat:nth-child(1) { background: var(--yellow); color: var(--accent-ink); }
.statband-stat:nth-child(2) { background: var(--mint); color: #111; }
.statband-stat:nth-child(3) { background: var(--lilac); color: #111; }
.statband-stat:nth-child(4) { background: var(--pink); color: #111; }
.statband-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.statband-label { font-size: 13px; line-height: 1.5; font-weight: 600; opacity: 0.85; }

/* ======================================================================
   13. Console (tabbed browser mock) + showcase panels
   ====================================================================== */

.console {
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); box-shadow: var(--shadow-lift); overflow: hidden;
}
.console > .console-bar { background: var(--side); color: var(--side-text); border-bottom: 3px solid var(--ink); }
.console-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 0;
  background: var(--paper-sunk); border-bottom: 3px solid var(--ink);
}
.console-tab {
  appearance: none; cursor: pointer;
  padding: 8px 16px 7px; margin-bottom: 12px;
  border: 2.5px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--text-soft);
  font: inherit; font-size: 13px; font-weight: 700;
  transition: transform var(--dur-snap) var(--ease-pop);
}
.console-tab:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-xs); }
.console-tab.is-active { background: var(--yellow); color: var(--accent-ink); box-shadow: var(--shadow-xs); }
.console-tab:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.console-body { padding: clamp(16px, 2.6vw, 26px); }
.console-panel { display: none; }
.console-panel.is-active { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .console-panel.is-active { animation: mk-rise var(--dur-pop) var(--ease-out-soft) backwards; }
}
.console .console-term {
  border: 2.5px solid var(--ink); border-radius: 16px; background: var(--side); color: var(--side-text);
  margin-top: 14px;
}

.showcase-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(16px, 2.6vw, 28px); align-items: center; }
.showcase-copy h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.showcase-copy p { margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.6; }
.showcase-shot {
  border: 2.5px solid var(--ink); border-radius: 18px; background: var(--paper-sunk);
  padding: 14px; box-shadow: var(--shadow-xs);
}
.shot-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.shot-head strong { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.shot-head span { color: var(--text-faint); font-variant-numeric: tabular-nums; }
.shot-chip { padding: 2px 9px 1px; border: 2px solid var(--ink); border-radius: 999px; background: var(--mint); color: #111 !important; font-size: 10.5px; font-weight: 700; }
.shot-chart { display: flex; align-items: flex-end; gap: 5px; height: 84px; margin-bottom: 10px; }
.shot-chart i { flex: 1; height: var(--h, 40%); border: 2px solid var(--ink); border-radius: 6px 6px 2px 2px; background: var(--lilac); }
.shot-chart i:last-child { background: var(--yellow); }
.shot-rows { display: grid; gap: 7px; }
.shot-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper);
  font-size: 12.5px; font-weight: 700;
}
.shot-row .muted { color: var(--text-faint); font-weight: 600; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; }
.shot-row .price { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.shot-row .price .muted { font-family: var(--font-body); font-size: 11px; }
.shot-row.is-revoked { opacity: 0.55; }
.shot-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); margin-right: 6px; }
.shot-row.is-revoked .shot-dot { background: var(--red); }
.delta { font-variant-numeric: tabular-nums; }
.delta.up { color: var(--text); background: var(--mint); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 8px 0; font-size: 11px; color: #111; }
.delta.down { color: var(--text); background: var(--paper-sunk); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 8px 0; font-size: 11px; }
.shot-meter { height: 16px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper); overflow: hidden; margin-bottom: 10px; }
.shot-meter-fill { display: block; height: 100%; width: var(--fill, 50%); background: var(--yellow); border-right: 2.5px solid var(--ink); }
.shot-gauge { position: relative; height: 16px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper); overflow: hidden; margin: 4px 0 26px; }
.shot-gauge-fill { display: block; height: 100%; width: var(--fill, 50%); background: var(--mint); border-right: 2.5px solid var(--ink); }
.shot-gauge-note { position: absolute; left: 2px; top: calc(100% + 6px); font-size: 11px; font-weight: 600; color: var(--text-faint); white-space: nowrap; }
.showcase-foot { margin: 18px auto 0; text-align: center; font-size: 14.5px; color: var(--text-soft); }
.cms-show-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

.showcase-shot-phone { display: grid; place-items: center; background: var(--paper-sunk); }
.shot-phone {
  position: relative; width: min(100%, 210px);
  border: 3px solid var(--ink); border-radius: 26px; background: var(--paper);
  box-shadow: var(--shadow-sm); padding: 26px 16px 18px;
  display: grid; gap: 9px; justify-items: center; transform: rotate(-1.6deg);
}
.shot-phone-notch { position: absolute; top: 8px; left: 50%; width: 52px; height: 9px; transform: translateX(-50%); border-radius: 999px; background: var(--ink); }
.shot-phone-logo { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); margin-top: 6px; }
.shot-phone-h { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.03em; }
.shot-phone-btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; border: 2.5px solid var(--ink); border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.shot-phone-btn.is-apple { background: var(--side); color: var(--side-text); }
.shot-phone-btn.is-google { background: var(--paper); }
.shot-phone-trust { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: var(--text-faint); }

/* — admin console metrics / tables / stream — */
.console-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cmetric {
  display: grid; gap: 2px; padding: 13px 15px;
  border: 2.5px solid var(--ink); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-xs);
}
.cmetric:nth-child(1) { background: var(--yellow); color: var(--accent-ink); }
.cmetric:nth-child(2) { background: var(--mint); color: #111; }
.cmetric:nth-child(3) { background: var(--lilac); color: #111; }
.cmetric:nth-child(4) { background: var(--pink); color: #111; }
.cmetric span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.75; }
.cmetric strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 2.4vw, 25px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; min-height: 1.1em; }
.cmetric em { font-style: normal; font-size: 11px; font-weight: 700; opacity: 0.8; }
.console-chart { display: flex; align-items: flex-end; gap: 7px; height: 120px; margin-top: 16px; padding: 14px 14px 0; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--paper-sunk); overflow: hidden; }
.console-chart i { flex: 1; height: var(--h, 40%); border: 2px solid var(--ink); border-bottom: 0; border-radius: 7px 7px 0 0; background: var(--blue); }
.console-chart i:nth-child(3n) { background: var(--lilac); }
.console-chart i:last-child { background: var(--yellow); }
.console-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--paper); }
.console-table thead th { background: var(--side); color: var(--side-text); text-align: left; padding: 11px 15px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.console-table tbody td { padding: 11px 15px; font-size: 13.5px; border-top: 2px dashed var(--dot); }
.console-table tbody tr:first-child td { border-top: 0; }
.console-stream { display: grid; gap: 8px; }
.stream-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 10px 14px; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--paper);
  font-size: 12.5px;
}
.stream-row code { border: 0; padding: 0; background: none; font-weight: 700; font-size: 12.5px; white-space: normal; }
.stream-id { font-family: ui-monospace, Menlo, monospace; color: var(--text-faint); font-size: 11.5px; }
.stream-row time { margin-left: auto; color: var(--text-faint); font-size: 11.5px; font-weight: 600; }

/* status pills — fixed Pop status coding */
.status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px 2px; border: 2px solid var(--ink); border-radius: 999px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--paper); color: var(--text);
}
.status-pill.status-active, .status-pill.status-processed { background: var(--mint); color: #111; }
.status-pill.status-past-due { background: var(--yellow); color: var(--accent-ink); }
.status-pill.status-blocked, .status-pill.status-failed { background: var(--red); color: var(--flash); }
.status-pill.status-refunded { background: var(--blue); color: var(--flash); }

/* ======================================================================
   14. Live demos grid
   ====================================================================== */

.demo-grid { display: grid; gap: clamp(12px, 2vw, 18px); }
/* The live demo app's entry buttons above the example cards (clears their drop). */
.demo-app-cta { justify-content: center; margin: 0 0 clamp(26px, 3.5vw, 36px); }
.demo-grid-feat { grid-template-columns: repeat(3, 1fr); }
.demo-grid-rest { grid-template-columns: repeat(4, 1fr); margin-top: clamp(12px, 2vw, 18px); }
.demo-card {
  position: relative;
  display: grid; gap: 8px; align-content: start;
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); color: var(--text); text-decoration: none;
  box-shadow: var(--shadow-sm); padding: 20px 20px 18px;
  transition: transform var(--dur-lift) var(--ease-pop);
}
.demo-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-md); }
.demo-card:active { transform: translate(3px, 3px); box-shadow: var(--shadow-press); }
.demo-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.demo-card.is-featured { background: var(--yellow); color: var(--accent-ink); }
.demo-card.is-current { outline: 3px dashed var(--ink); outline-offset: 4px; }
.demo-star { position: absolute; top: -13px; right: 16px; display: inline-grid; place-items: center; width: 30px; height: 30px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--pink); color: #111; transform: rotate(10deg); }
.demo-star svg { width: 15px; height: 15px; }
.demo-dot { position: absolute; top: -8px; right: 18px; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--lilac); }
.demo-card-head { display: flex; align-items: center; gap: 10px; }
.demo-card-ico {
  flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 2.5px solid var(--ink); border-radius: 12px; background: var(--paper);
}
.demo-card.is-featured .demo-card-ico { background: var(--paper); }
.demo-card-ico svg { width: 19px; height: 19px; }
.demo-card-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; line-height: 1.15; }
.demo-here { display: inline-block; margin-left: 6px; padding: 1px 8px 0; border: 2px solid var(--ink); border-radius: 999px; background: var(--mint); color: #111; font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; vertical-align: 2px; }
.demo-card-hook { font-size: 13.5px; line-height: 1.5; color: var(--text-soft); font-weight: 600; }
.demo-card.is-featured .demo-card-hook { color: var(--accent-ink); opacity: 0.8; }
.demo-card-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; font-weight: 700; color: var(--text-faint); }
.demo-card.is-featured .demo-card-go { color: var(--accent-ink); opacity: 0.75; }
.demo-arrow { font-size: 13px; }
.demo-grid-note { margin-top: 10px !important; font-size: 13.5px !important; }

.live-stack-proof {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  margin-top: clamp(18px, 3vw, 28px); padding: clamp(16px, 2.6vw, 24px);
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--side); color: var(--side-text); box-shadow: var(--shadow-md);
}
.live-stack-proof-copy { flex: 1 1 380px; }
.live-stack-proof-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 3px; border-radius: 999px; background: var(--yellow); color: var(--accent-ink); border: 2px solid var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.live-stack-proof h3 { margin: 10px 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.live-stack-proof p { margin: 0; font-size: 14px; line-height: 1.55; opacity: 0.85; }
.live-stack-proof-note { flex: 1 1 220px; font-size: 12.5px !important; opacity: 0.65 !important; }

/* ======================================================================
   15. Quote band + proof panel
   ====================================================================== */

.quote-band { text-align: center; max-width: 860px; margin: 0 auto; }
.quote-band { margin-bottom: clamp(38px, 6vw, 68px); }
/* Ending a section, the section's own padding is the gap — don't stack both. */
.quote-band:last-child { margin-bottom: 0; }
.proof-strip + .quote-band { margin-top: clamp(40px, 6vw, 64px); }
.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.045em;
  text-wrap: balance;
}
.quote-cite { margin-top: 14px; font-size: 14px; color: var(--text-faint); font-weight: 600; }
.proof-panel {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: center;
  max-width: 820px; margin: 0 auto;
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); box-shadow: var(--shadow-md);
  padding: clamp(20px, 3.4vw, 34px);
}
.gauge { position: relative; width: 150px; height: 150px; }
.gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: var(--paper-sunk); stroke-width: 12; }
.gauge-arc { fill: none; stroke: var(--mint); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 46; }
.gauge-center { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 2px; text-align: center; }
.gauge-center strong { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.05em; }
.gauge-center span { font-size: 11px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.proof-table { width: 100%; border-collapse: separate; border-spacing: 0; font-family: ui-monospace, Menlo, monospace; font-size: 13.5px; }
.proof-table td { padding: 11px 6px; border-top: 2px dashed var(--dot); }
.proof-table tr:first-child td { border-top: 0; }
.proof-table td:first-child { color: var(--text-faint); }
.proof-table td:last-child { text-align: right; font-weight: 700; }
.proof-table td.ok { color: var(--text); }
.proof-table td.ok::before { content: "✓ "; color: var(--mint); }

/* ======================================================================
   16. Mobile app backend (iphone) — flat Pop phone
   ====================================================================== */

.app-show { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.app-show-visual { display: grid; justify-items: center; }
.iphone { position: relative; width: min(100%, 270px); }
.iphone-glow { display: none; }
.iphone-frame {
  border: 3px solid var(--ink); border-radius: 34px; background: var(--paper);
  box-shadow: var(--shadow-lift); padding: 10px; transform: rotate(-1.8deg);
}
.iphone-island { position: absolute; top: 20px; left: 50%; width: 74px; height: 14px; transform: translateX(-50%); border-radius: 999px; background: var(--ink); z-index: 2; }
.iphone-screen { border: 2.5px solid var(--ink); border-radius: 24px; background: var(--paper-sunk); padding: 14px 14px 18px; overflow: hidden; }
.iphone-status { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 4px 10px; }
.iphone-sig { display: inline-flex; align-items: flex-end; gap: 2px; }
.iphone-sig i { width: 3px; background: var(--text); border-radius: 1px; }
.iphone-sig i:nth-child(1) { height: 4px; } .iphone-sig i:nth-child(2) { height: 6px; }
.iphone-sig i:nth-child(3) { height: 8px; } .iphone-sig i:nth-child(4) { height: 10px; }
.iphone-sig b { width: 16px; height: 9px; border: 2px solid var(--text); border-radius: 3px; margin-left: 3px; }
.iphone-app { display: grid; gap: 9px; justify-items: center; padding-top: 14px; }
.iphone-logo { width: 40px; height: 40px; border-radius: 13px; background: var(--yellow); border: 2.5px solid var(--ink); box-shadow: var(--shadow-xs); }
.iphone-appname { margin: 2px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.iphone-h { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--text-faint); }
.ios-btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; border: 2.5px solid var(--ink); border-radius: 999px;
  font: inherit; font-size: 12.5px; font-weight: 700; background: var(--paper); color: var(--text);
  box-shadow: var(--shadow-xs);
}
.ios-btn svg { width: 15px; height: 15px; }
.ios-apple { background: var(--side); color: var(--side-text); }
.ios-email { background: var(--paper-sunk); }
.iphone-foot { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 10px; font-weight: 700; color: var(--text-faint); }
.iphone-foot-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }

/* numbered feature stacks (cms + app-backend sections) */
.cms-show-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: feat; }
.cms-show-feats li {
  display: grid; gap: 4px;
  border: 3px solid var(--ink); border-radius: 18px; background: var(--paper);
  box-shadow: var(--shadow-xs); padding: 16px 18px 15px;
}
.cms-show-feats li strong { font-family: var(--font-display); font-weight: 800; font-size: 16.5px; letter-spacing: -0.02em; }
.cms-show-feats li span { font-size: 13.5px; line-height: 1.55; color: var(--text-soft); }
.cms-show-feats li code { white-space: nowrap; }

/* ======================================================================
   17. CMS showcase mock
   ====================================================================== */

.cms-show { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3.4vw, 40px); align-items: center; }
.cms-show-mock {
  border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--paper);
  box-shadow: var(--shadow-lift); overflow: hidden; transform: rotate(-0.8deg);
}
.cms-mock-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 3px solid var(--ink); background: var(--paper-sunk); }
.cms-mock-bar span { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); }
.cms-mock-bar span:nth-child(1) { background: var(--red); }
.cms-mock-bar span:nth-child(2) { background: var(--yellow); }
.cms-mock-bar span:nth-child(3) { background: var(--mint); }
.cms-mock-body { padding: 16px; display: grid; gap: 12px; }
.cms-mock-band { border: 2.5px solid var(--ink); border-radius: 14px; padding: 14px; }
.cms-mock-band.is-hero { background: var(--yellow); display: grid; gap: 8px; justify-items: center; padding: 22px 14px; }
.cms-mock-band.is-hero .m-h { width: 62%; height: 13px; border-radius: 999px; background: var(--ink); }
.cms-mock-band.is-hero .m-sub { width: 78%; height: 7px; border-radius: 999px; background: var(--ink); opacity: 0.45; }
.cms-mock-band.is-hero .m-btns { display: flex; gap: 8px; margin-top: 4px; }
.cms-mock-band.is-hero .m-btns i { width: 54px; height: 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); }
.cms-mock-band.is-hero .m-btns i:first-child { background: var(--side); }
.cms-mock-band.is-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; background: var(--paper); }
.cms-mock-band.is-cards u { display: block; height: 42px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper-sunk); }
.cms-mock-band.is-cards u:nth-child(2) { background: var(--lilac); }
.cms-mock-band.is-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 10px; align-items: center; background: var(--paper); }
.cms-mock-band.is-split b { display: block; height: 52px; border: 2px solid var(--ink); border-radius: 10px; background: var(--mint); }
.cms-mock-band.is-split .m-lines { display: grid; gap: 6px; }
.cms-mock-band.is-split s { display: block; height: 7px; border-radius: 999px; background: var(--text); opacity: 0.6; text-decoration: none; }
.cms-mock-band.is-split s:last-child { width: 70%; opacity: 0.35; }
.cms-mock-band.is-dark { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; background: var(--side); border-color: var(--ink); }
.cms-mock-band.is-dark o { display: block; height: 30px; border: 2px solid var(--side-text); border-radius: 9px; opacity: 0.75; }
.cms-show-accesss { max-width: 760px; margin-left: auto !important; margin-right: auto !important; color: var(--text-faint); }

/* ======================================================================
   18. Reference library mock
   ====================================================================== */

.refshow { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(20px, 3.4vw, 40px); align-items: center; }
.refshow-mock { border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--paper); box-shadow: var(--shadow-lift); overflow: hidden; transform: rotate(0.6deg); }
.refshow-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 3px solid var(--ink); background: var(--paper-sunk); }
.refshow-bar i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); }
.refshow-bar i:nth-child(1) { background: var(--red); }
.refshow-bar i:nth-child(2) { background: var(--yellow); }
.refshow-bar i:nth-child(3) { background: var(--mint); }
.refshow-bar b { margin-left: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 600; color: var(--text-soft); }
.refshow-body { display: grid; grid-template-columns: 54px 1fr; min-height: 300px; }
.refshow-side { display: grid; align-content: start; gap: 9px; padding: 14px 0; background: var(--side); justify-items: center; }
.refshow-side u { display: block; width: 24px; height: 24px; border: 2px solid var(--side-text); border-radius: 8px; opacity: 0.5; text-decoration: none; transition: opacity var(--dur-snap) linear; }
.refshow-side u.is-on { background: var(--yellow); border-color: var(--ink); opacity: 1; }
.refshow-main { padding: 16px; }
.refshow-view { display: none; }
.refshow-view.is-on { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .refshow-view.is-on { animation: mk-rise var(--dur-pop) var(--ease-out-soft) backwards; }
}
.rv-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.refshow-chip { padding: 7px 14px 6px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper-sunk); font-size: 12.5px; font-weight: 700; }
.refshow-chip:nth-child(2n) { background: var(--lilac); color: #111; }
.refshow-chip:nth-child(5n) { background: var(--yellow); color: var(--accent-ink); }
.rv-tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rv-tpl { display: grid; gap: 5px; padding: 9px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--paper); }
.rv-tpl-bar { height: 6px; border-radius: 999px; background: var(--side); }
.rv-tpl-hero { height: 22px; border: 2px solid var(--ink); border-radius: 7px; background: var(--yellow); }
.rv-tpl-rows { display: grid; gap: 4px; }
.rv-tpl-rows i { height: 6px; border-radius: 999px; background: var(--paper-sunk); border: 1.5px solid var(--ink); }
.rv-tpl b { font-size: 11px; font-weight: 700; }
.rv-uikit { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rv-ui { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.rv-ui-btn { padding: 8px 16px 7px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--accent-ink); box-shadow: var(--shadow-xs); }
.rv-ui-btn2 { padding: 8px 16px 7px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper); }
.rv-ui-input { padding: 8px 16px 7px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--text-faint); min-width: 150px; }
.rv-ui-toggle { width: 44px; height: 24px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--mint); position: relative; }
.rv-ui-toggle i { position: absolute; right: 2px; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.rv-ui-badge { padding: 4px 11px 3px; border: 2px solid var(--ink); border-radius: 999px; background: var(--mint); color: #111; font-size: 11px; }
.rv-ui-pill { padding: 4px 11px 3px; border: 2px solid var(--ink); border-radius: 999px; background: var(--pink); color: #111; font-size: 11px; }
.rv-ui-ava { display: inline-flex; }
.rv-ui-ava u { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ink); margin-left: -7px; }
.rv-ui-ava u:nth-child(1) { background: var(--yellow); margin-left: 0; }
.rv-ui-ava u:nth-child(2) { background: var(--lilac); }
.rv-ui-ava u:nth-child(3) { background: var(--mint); }
.rv-ui-bar { flex: 1 1 100%; height: 14px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper); overflow: hidden; }
.rv-ui-bar i { display: block; height: 100%; width: 62%; background: var(--blue); border-right: 2px solid var(--ink); }
.rv-guides { display: grid; gap: 9px; }
.rv-guide { display: flex; align-items: center; gap: 11px; padding: 10px 13px; border: 2.5px solid var(--ink); border-radius: 13px; background: var(--paper); }
.rv-guide-ico { width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 9px; background: var(--lilac); flex: none; }
.rv-guide-tx { flex: 1; display: grid; gap: 4px; }
.rv-guide-tx b { font-size: 12.5px; font-weight: 700; }
.rv-guide-tx i { height: 5px; width: 72%; border-radius: 999px; background: var(--paper-sunk); border: 1.5px solid var(--ink); }
.rv-guide-arrow { width: 10px; height: 10px; border-top: 2.5px solid var(--text-faint); border-right: 2.5px solid var(--text-faint); transform: rotate(45deg); }
.refshow-aside { display: grid; gap: 18px; }
.refshow-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.refshow-stats div { display: grid; gap: 2px; padding: 13px 14px; border: 2.5px solid var(--ink); border-radius: 15px; background: var(--paper); box-shadow: var(--shadow-xs); text-align: center; }
.refshow-stats strong { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -0.04em; }
.refshow-stats span { font-size: 11px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.refshow-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.refshow-points li { font-size: 14.5px; line-height: 1.58; color: var(--text-soft); padding-left: 24px; position: relative; }
.refshow-points li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.refshow-points strong { color: var(--text); }
.refshow-term {
  margin: 0; padding: 13px 16px; border: 3px solid var(--ink); border-radius: 14px;
  background: var(--side); color: var(--side-text);
  font-family: ui-monospace, Menlo, monospace; font-size: 12px; white-space: pre-wrap; word-break: break-word;
}
.refshow-term .t-punc { color: var(--mint); opacity: 1; }

/* ======================================================================
   19. Agent-first + spotlight + use cases
   ====================================================================== */

.agent-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(16px, 2.6vw, 26px); align-items: stretch; }
.agent-tree { border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--paper); box-shadow: var(--shadow-sm); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; }
.tree-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 3px solid var(--ink); background: var(--paper-sunk); font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; font-weight: 700; }
.tree-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.filetree { list-style: none; margin: 0; padding: 14px 18px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 2; }
.ft-dir { font-weight: 700; }
.ft-file { padding-left: 18px; }
.ft-dim { color: var(--text-faint); }
.ft-key { font-weight: 700; }
.ft-key::after { content: "★"; margin-left: 8px; color: var(--yellow); -webkit-text-stroke: 1px var(--ink); }
.agent-tree-foot { margin: 0; padding: 12px 18px; border-top: 2px dashed var(--dot); font-size: 12.5px; color: var(--text-faint); }
.value-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(18px, 3vw, 28px); }
.value-item { display: grid; gap: 3px; padding: 14px 16px; border: 2.5px solid var(--ink); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-xs); }
.value-item strong { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; }
.value-item span { font-size: 12.5px; line-height: 1.5; color: var(--text-soft); }
.agent-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px;
  margin-top: clamp(18px, 3vw, 28px); padding: 16px 22px;
  border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--yellow); color: var(--accent-ink);
  box-shadow: var(--shadow-sm); text-align: center;
}
.agent-cta-kicker { padding: 4px 12px 3px; border-radius: 999px; background: var(--side); color: var(--yellow); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.agent-cta code { background: var(--paper); font-size: 14px; }
.agent-cta-tail { font-size: 14px; font-weight: 600; }

.spotlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 18px); }
.spotlight-card {
  position: relative;
  border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--paper);
  box-shadow: var(--shadow-sm); padding: 22px 22px 20px 72px;
}
.spotlight-num {
  position: absolute; left: 18px; top: 20px;
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 2.5px solid var(--ink); border-radius: 50%; background: var(--lilac); color: #111;
  font-family: var(--font-display); font-weight: 800; font-size: 16px; box-shadow: var(--shadow-xs);
}
.spotlight-card:nth-child(2n) .spotlight-num { background: var(--yellow); }
.spotlight-card h3 { margin: 0 0 7px; font-family: var(--font-display); font-weight: 800; font-size: 17.5px; letter-spacing: -0.02em; }
.spotlight-card p { margin: 0; font-size: 14px; line-height: 1.58; color: var(--text-soft); }

.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 18px); }
.usecase {
  position: relative;
  border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--paper);
  box-shadow: var(--shadow-xs); padding: 20px 18px;
  transition: transform var(--dur-lift) var(--ease-pop);
}
.usecase:hover { transform: translate(-2px, -2px) rotate(-0.6deg); box-shadow: var(--shadow-sm); }
.usecase-tag { position: absolute; top: -12px; right: 14px; padding: 3px 10px 2px; border: 2px solid var(--ink); border-radius: 999px; background: var(--pink); color: #111; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; transform: rotate(3deg); }
.usecase-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--paper-sunk); margin-bottom: 12px; }
.usecase:nth-child(4n+1) .usecase-ico { background: var(--yellow); }
.usecase:nth-child(4n+2) .usecase-ico { background: var(--mint); }
.usecase:nth-child(4n+3) .usecase-ico { background: var(--lilac); }
.usecase:nth-child(4n) .usecase-ico { background: var(--pink); }
.usecase-ico svg { width: 19px; height: 19px; }
.usecase h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.usecase p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-soft); }

/* ======================================================================
   20. VPS economics + supply chain
   ====================================================================== */

.vps-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(12px, 2vw, 20px); align-items: stretch; }
.vps-col {
  border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--paper);
  box-shadow: var(--shadow-sm); padding: clamp(18px, 2.6vw, 26px);
  display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
}
.vps-col-us { background: var(--paper); }
.vps-col-head {
  justify-self: start; padding: 5px 13px 4px; border: 2.5px solid var(--ink); border-radius: 999px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.vps-col-them .vps-col-head { background: var(--red); color: #111; }
.vps-col-us .vps-col-head { background: var(--mint); color: #111; }
.vps-bill { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-variant-numeric: tabular-nums; }
.vps-bill li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 10px 2px; border-top: 2px dashed var(--dot); font-size: 14px;
}
.vps-bill li:first-child { border-top: 0; }
.vps-bill span { color: var(--text-soft); }
.vps-bill b { font-weight: 700; white-space: nowrap; }
.vps-free { color: var(--text); padding: 1px 9px 0; border: 2px solid var(--ink); border-radius: 999px; background: var(--mint); color: #111; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.vps-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border: 3px solid var(--ink); border-radius: 16px; background: var(--paper-sunk);
}
.vps-total.is-us { background: var(--yellow); color: var(--accent-ink); }
.vps-total span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.vps-total b { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.vps-vs { align-self: center; display: inline-grid; place-items: center; width: 52px; height: 52px; border: 3px solid var(--ink); border-radius: 50%; background: var(--side); color: var(--yellow); font-family: var(--font-display); font-weight: 800; font-size: 16px; transform: rotate(-6deg); box-shadow: var(--shadow-xs); }
.vps-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px auto 0; max-width: 760px; font-size: 13.5px; font-weight: 600; color: var(--text-faint); text-align: center; }

.dep-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(12px, 2vw, 20px); align-items: stretch; }
.dep-col { border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--paper); box-shadow: var(--shadow-sm); padding: clamp(18px, 2.6vw, 26px); display: grid; grid-template-rows: auto 1fr auto; gap: 14px; }
.dep-col-head strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.dep-col-head span { font-size: 12.5px; color: var(--text-faint); font-weight: 600; }
.dep-cloud { display: flex; flex-wrap: wrap; gap: 4px; align-content: flex-start; }
.dep-cloud span { width: 8px; height: 8px; border-radius: 3px; background: var(--paper-sunk); border: 1.5px solid var(--ink); opacity: 0.55; }
.dep-chips { display: flex; flex-wrap: wrap; gap: 9px; align-content: flex-start; }
.dep-chips span { padding: 7px 15px 6px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--accent-ink); font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-xs); }
.dep-chips span:nth-child(2) { background: var(--mint); }
.dep-chips span:nth-child(3) { background: var(--lilac); }
.dep-chips span:nth-child(4) { background: var(--pink); }
.dep-vs { align-self: center; display: inline-grid; place-items: center; width: 52px; height: 52px; border: 3px solid var(--ink); border-radius: 50%; background: var(--side); color: var(--yellow); font-family: var(--font-display); font-weight: 800; font-size: 22px; transform: rotate(6deg); box-shadow: var(--shadow-xs); }
.dep-col-foot { display: flex; align-items: baseline; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--text-soft); border-top: 2px dashed var(--dot); padding-top: 12px; }
.dep-col-foot b { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.05em; color: var(--text); }

/* ======================================================================
   20b. System map (fluxmap — app.js draws the connector wires)
   ====================================================================== */

.wired {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(14px, 3vw, 36px);
  align-items: center;
}
.wired-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.wired-wire { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 7 7; opacity: 0.5; }
.wired-rail { display: grid; gap: 12px; position: relative; z-index: 1; }
.wired-cap {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  border: 2.5px solid var(--ink); border-radius: 15px; background: var(--paper);
  box-shadow: var(--shadow-xs); padding: 11px 14px;
  font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; font-weight: 700;
}
.wired-rail-l .wired-cap:nth-child(odd) { transform: rotate(-0.7deg); }
.wired-rail-r .wired-cap:nth-child(even) { transform: rotate(0.7deg); }
.wired-cap-ico { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 9px; background: var(--paper-sunk); flex: none; }
.wired-rail .wired-cap:nth-child(1) .wired-cap-ico { background: var(--yellow); }
.wired-rail .wired-cap:nth-child(2) .wired-cap-ico { background: var(--mint); }
.wired-rail .wired-cap:nth-child(3) .wired-cap-ico { background: var(--lilac); }
.wired-rail .wired-cap:nth-child(4) .wired-cap-ico { background: var(--pink); }
.wired-cap-ico svg { width: 15px; height: 15px; }
.wired-cap-label { min-width: 0; overflow-wrap: anywhere; }
.wired-cap-port { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); }
.wired-rail-l .wired-cap-port { right: -6px; }
.wired-rail-r .wired-cap-port { left: -6px; }
.wired-core { position: relative; z-index: 1; display: grid; justify-items: center; }
.wired-core-orb {
  display: grid; justify-items: center; align-content: center; gap: 3px;
  width: clamp(150px, 18vw, 190px); aspect-ratio: 1;
  border: 3px solid var(--ink); border-radius: 50%;
  background: var(--yellow); color: var(--accent-ink);
  box-shadow: var(--shadow-md); text-align: center; padding: 10px;
}
.orb-blob { display: none; }
.wired-core-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.wired-core-stack { font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 600; opacity: 0.75; }
@media (max-width: 920px) {
  .wired { grid-template-columns: 1fr 1fr; }
  .wired-core { grid-column: 1 / -1; grid-row: 1; margin-bottom: 6px; }
  .wired-wires { display: none; }
  .wired-cap-port { display: none; }
}
@media (max-width: 560px) {
  .wired { grid-template-columns: minmax(0, 1fr); }
}

/* ======================================================================
   21. Pricing teaser + buy card
   ====================================================================== */

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(12px, 2vw, 18px); }
.panel.price-plan, .price-plan {
  display: grid; gap: 10px; align-content: start;
  border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--paper);
  box-shadow: var(--shadow-sm); padding: clamp(20px, 2.8vw, 28px);
}
.plan-topline { display: flex; }
.plan-name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -0.03em; }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 40px); line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.plan-price-was { font-size: 0.55em; color: var(--text-faint); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--red); margin-right: 6px; letter-spacing: -0.02em; }
.plan-price-note { font-size: 13px; font-weight: 700; color: var(--text-soft); }
.price-plan p { margin: 0; color: var(--text-soft); line-height: 1.55; }
.plan-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-meta span { padding: 4px 12px 3px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper-sunk); font-size: 12px; font-weight: 700; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plain-list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); }
.plain-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  display: inline-grid; place-items: center; width: 17px; height: 17px;
  border: 2px solid var(--ink); border-radius: 6px; background: var(--mint); color: #111;
  font-size: 10px; font-weight: 800;
}
.home-buy-card { box-shadow: var(--shadow-lift); }
.home-buy-card .plan-product-name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -0.03em; }
.home-buy-reassure { margin: 4px 0 0; font-size: 13.5px; color: var(--text-soft); }
.home-buy-reassure a { color: var(--text); font-weight: 700; }
.home-buy-fineprint { margin: 2px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-faint); }
.cta-offer-note { margin: 12px 0 0; font-size: 14px; font-weight: 600; }

/* ======================================================================
   22. FAQ (+ guides grid + CTA band)
   ====================================================================== */

.faq { display: grid; gap: 12px; }
.faq-item {
  border: 3px solid var(--ink); border-radius: 20px; background: var(--paper);
  box-shadow: var(--shadow-xs); overflow: hidden;
  transition: transform var(--dur-snap) var(--ease-pop);
}
.faq-item.is-open { box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; padding: 17px 20px; border: 0; background: none; cursor: pointer;
  font: inherit; font-family: var(--font-display); font-weight: 800; font-size: 16.5px;
  letter-spacing: -0.02em; text-align: left; color: var(--text);
}
.faq-q:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 17px; }
.faq-q .ico { position: relative; flex: none; width: 26px; height: 26px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--yellow); transition: transform var(--dur-lift) var(--ease-pop); }
.faq-q .ico::before, .faq-q .ico::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent-ink); border-radius: 2px; }
.faq-q .ico::before { width: 11px; height: 2.5px; margin: -1.25px 0 0 -5.5px; }
.faq-q .ico::after { width: 2.5px; height: 11px; margin: -5.5px 0 0 -1.25px; }
.faq-item.is-open .faq-q .ico { transform: rotate(135deg); background: var(--mint); }
.faq-a { padding: 0 20px 18px; font-size: 14.5px; line-height: 1.62; color: var(--text-soft); }
.faq-a p { margin: 0 0 8px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--text); font-weight: 700; }
.faq-a .plain-list { margin: 8px 0; }

.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 18px); }
.guides-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.guides-jump .pop-tag { text-decoration: none; }
.guides-group { scroll-margin-top: 96px; }
.guides-group .section-head { margin-bottom: clamp(22px, 3vw, 32px); }
.guides-group .section-head p { margin-top: 10px; max-width: 60ch; color: var(--text-soft); }
.guide-card {
  display: grid; gap: 7px; align-content: start;
  border: 3px solid var(--ink); border-radius: 20px; background: var(--paper); color: var(--text);
  box-shadow: var(--shadow-xs); padding: 20px; text-decoration: none;
  transition: transform var(--dur-lift) var(--ease-pop);
}
.guide-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }
.guide-card:active { transform: translate(3px, 3px); box-shadow: var(--shadow-press); }
.guide-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.guide-card h2, .guide-card h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 16.5px; line-height: 1.25; letter-spacing: -0.02em; }
.guide-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-soft); }
.guide-card-go { font-size: 12.5px; font-weight: 700; color: var(--text-faint); margin-top: 2px; }
.guide-card:hover .guide-card-go { color: var(--text); }

.cta-band {
  display: grid; justify-items: center; text-align: center; gap: 6px;
  border: 3px solid var(--ink); border-radius: var(--radius-lg);
  background: var(--yellow); color: var(--accent-ink);
  box-shadow: var(--shadow-lift);
  padding: clamp(30px, 5vw, 54px) clamp(20px, 4vw, 44px);
}
.cta-band h2 { margin: 12px 0 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(27px, 4vw, 40px); line-height: 1.05; letter-spacing: -0.045em; text-wrap: balance; }
.cta-band p { margin: 0; max-width: 60ch; font-size: 16px; line-height: 1.6; font-weight: 600; }
.cta-band .hero-cta { margin-top: 20px; }
.cta-band .button-primary { background: var(--side); color: var(--yellow); }
.cta-band .button-ghost { background: var(--paper); color: var(--text); }
.cta-band .section-kicker { background: var(--side); color: var(--yellow); }

/* ======================================================================
   23. Inner pages — page hero (stack/guides), stack stats, thanks
   ====================================================================== */

.page-hero { padding: clamp(44px, 7vw, 80px) 0 clamp(10px, 2vw, 18px); }
.page-hero h1 {
  margin: 16px 0 0; max-width: 26ch;
  font-family: var(--font-display); font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.02; font-weight: 800; letter-spacing: -0.05em; text-wrap: balance;
}
.page-hero-sub { margin: 18px 0 0; max-width: 64ch; color: var(--text-soft); font-size: 17px; line-height: 1.62; }
.page-hero .hero-cta { margin-top: 24px; }

.stack-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 18px); }
.stack-stat {
  display: grid; gap: 9px; align-content: start;
  border: 3px solid var(--ink); border-radius: var(--radius-card); background: var(--paper);
  box-shadow: var(--shadow-sm); padding: clamp(18px, 2.6vw, 26px);
}
.stack-stat strong { font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -0.035em; }
.stack-stat p { margin: 0; font-size: 14px; line-height: 1.58; color: var(--text-soft); }

.mk-empty { padding: 40px; text-align: center; border: 3px dashed var(--ink); border-radius: var(--radius-card); color: var(--text-soft); }

/* — thanks page — */
.thanks-section { padding-top: clamp(40px, 6vw, 70px); }
.thanks-card {
  position: relative;
  display: grid; justify-items: center; text-align: center; gap: 8px;
  border: 3px solid var(--ink); border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: var(--shadow-lift);
  padding: clamp(34px, 5.4vw, 60px) clamp(20px, 4vw, 48px);
}
.thanks-card.is-confirmed { background: var(--mint); color: #111; }
.thanks-card.is-pending { background: var(--yellow); color: var(--accent-ink); }
.thanks-card h1 {
  margin: 10px 0 0;
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02; font-weight: 800; letter-spacing: -0.05em; text-wrap: balance;
}
.thanks-lead { margin: 12px 0 0; max-width: 56ch; font-size: 16.5px; line-height: 1.6; font-weight: 600; }
.thanks-card.is-unverified .thanks-lead { color: var(--text-soft); }
.thanks-cta { justify-content: center; margin-top: 22px; }
.thanks-card .button-primary { background: var(--side); color: var(--yellow); }
.thanks-card.is-unverified .button-primary { background: var(--yellow); color: var(--accent-ink); }
.thanks-card .button-ghost { background: var(--paper); color: var(--text); }
.thanks-check, .thanks-wait {
  display: inline-grid; place-items: center; width: 74px; height: 74px;
  border: 3px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--text);
  box-shadow: var(--shadow-sm); margin-bottom: 8px; transform: rotate(-6deg);
}
.thanks-check svg, .thanks-wait svg { width: 36px; height: 36px; }
.thanks-next, .thanks-first { margin-top: clamp(26px, 4vw, 40px); }
.thanks-next .section-head, .thanks-first .section-head { margin-bottom: 18px; }
.thanks-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.thanks-steps li {
  display: flex; gap: 14px; align-items: flex-start;
  border: 3px solid var(--ink); border-radius: 18px; background: var(--paper);
  box-shadow: var(--shadow-xs); padding: 16px 18px;
  font-size: 14.5px; line-height: 1.58; color: var(--text-soft);
}
.thanks-steps strong { color: var(--text); }
.thanks-step-no {
  flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px;
  border: 2.5px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
}
.thanks-steps li:nth-child(2) .thanks-step-no { background: var(--lilac); }
.thanks-steps li:nth-child(3) .thanks-step-no { background: var(--mint); }
.thanks-help { margin: 14px 2px 0; font-size: 13.5px; line-height: 1.6; color: var(--text-faint); }
.thanks-help a { color: var(--text); font-weight: 700; }
.thanks-first-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.thanks-first-item { display: grid; gap: 6px; align-content: start; border: 3px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-xs); padding: 16px 18px; }
.thanks-first-item strong { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; letter-spacing: -0.02em; }
.thanks-first-item p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-soft); }

/* ======================================================================
   23b. Shell furniture the public pages render (frozen markup in index.php):
   app.js's .hidden utility, the plan/consent modals, the floating CTA.
   ====================================================================== */

.hidden { display: none !important; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 130;
  display: grid; place-items: center; padding: 20px;
  background: color-mix(in srgb, var(--side) 45%, transparent);
}
.modal-card {
  width: min(100%, 520px);
  border: 3px solid var(--ink); border-radius: var(--radius-card);
  background: var(--paper); color: var(--text);
  box-shadow: var(--shadow-lift); padding: clamp(20px, 3.4vw, 30px);
}
@media (prefers-reduced-motion: no-preference) {
  .modal-backdrop:not(.hidden) .modal-card { animation: mk-pop var(--dur-pop) var(--ease-pop) backwards; }
}
.modal-card .eyebrow { margin-bottom: 10px; }
.modal-card h2 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.035em; }
.modal-card p, .modal-card label { font-size: 14px; line-height: 1.6; color: var(--text-soft); }
.modal-card a { color: var(--text); font-weight: 700; }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* ======================================================================
   24. Cookie banner (frozen markup in index.php renders on public pages)
   ====================================================================== */

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 110;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  max-width: 680px; margin: 0 auto;
  border: 3px solid var(--ink); border-radius: 20px; background: var(--paper);
  box-shadow: var(--shadow-md); padding: 14px 18px;
}
.cookie-banner-text { flex: 1 1 320px; margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-soft); }
.cookie-banner-text a { color: var(--text); font-weight: 700; }
.cookie-banner-actions { display: flex; gap: 9px; }

/* ======================================================================
   25. Responsive
   ====================================================================== */

@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.col-2, .bento-card.col-3 { grid-column: span 1; }
  .bento-card.col-6 { grid-column: span 2; }
  .dsg-wall { grid-template-columns: repeat(3, 1fr); }
  .demo-grid-rest { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .value-row { grid-template-columns: repeat(2, 1fr); }
  .console-metrics { grid-template-columns: repeat(2, 1fr); }
  .statband-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .hero-v-split .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-float.f1 { right: 4px; }
  .hero-float.f2 { left: 4px; }
  .social-wrap { grid-template-columns: minmax(0, 1fr); }
  .showcase-split { grid-template-columns: minmax(0, 1fr); }
  .app-show { grid-template-columns: minmax(0, 1fr); }
  .cms-show { grid-template-columns: minmax(0, 1fr); }
  .refshow { grid-template-columns: minmax(0, 1fr); }
  .agent-split { grid-template-columns: minmax(0, 1fr); }
  .sig-proof { grid-template-columns: minmax(0, 1fr); }
  .demo-grid-feat { grid-template-columns: minmax(0, 1fr); }
  .vps-compare, .dep-compare { grid-template-columns: minmax(0, 1fr); }
  .vps-vs, .dep-vs { justify-self: center; margin: 4px 0; }
  .hx-mfst-cols { columns: 1; }
  .spotlight-grid { grid-template-columns: minmax(0, 1fr); }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-stats { grid-template-columns: minmax(0, 1fr); }
  .thanks-first-grid { grid-template-columns: minmax(0, 1fr); }
  .hx-key-kpis { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .dsg-wall { grid-template-columns: repeat(2, 1fr); }
  .dsg-meta b { font-size: 13.5px; }
  .dsg-meta span { display: none; }
  .demo-grid-rest { grid-template-columns: minmax(0, 1fr); }
  .usecase-grid { grid-template-columns: minmax(0, 1fr); }
  .value-row { grid-template-columns: minmax(0, 1fr); }
  .guides-grid { grid-template-columns: minmax(0, 1fr); }
  .pipeline { grid-template-columns: minmax(0, 1fr); }
  .statband-grid { grid-template-columns: minmax(0, 1fr); }
  .console-metrics { grid-template-columns: 1fr 1fr; }
  .versus { grid-template-columns: minmax(0, 1fr); }
  .st-grid { grid-template-columns: repeat(3, 1fr); }
  .studio-grid { grid-template-columns: repeat(2, 1fr); }
  .cms-split { grid-template-columns: minmax(0, 1fr); }
  .scene-app .app-layout { grid-template-columns: minmax(0, 1fr); }
  .scene-app .phone { max-width: 250px; margin: 0 auto; }
  .hx-key-body { grid-template-columns: minmax(0, 1fr); }
  .hx-key-side { display: none; }
  .hx-key-kpis { grid-template-columns: minmax(0, 1fr); }
  .hx-bill-toast { display: none; }
  .hero-float { display: none; }
  .hero-sticker, .hx-key-sticker { display: none; }
  .hx-mfst-top { flex-wrap: wrap; gap: 8px 12px; }
  .hx-mfst-date { margin-left: 0; width: 100%; }
  .console-bar { flex-wrap: wrap; }
  .console-live { margin-left: 0; }
  .console-tabs { gap: 6px; padding: 10px 12px 0; }
  .console-tab { padding: 7px 12px 6px; margin-bottom: 10px; font-size: 12px; }
  .console-table { display: block; overflow-x: auto; border-radius: 16px; }
  .ledger-table { font-size: 13px; }
  .ledger-table thead th, .ledger-table tbody td { padding: 10px 12px; }
  .proof-panel { grid-template-columns: 1fr; justify-items: center; }
  .dev-lab { display: none; }
  .hx-term-body { padding: 20px 16px; }
  .hx-term-out { font-size: 11.5px; }
  .offer-ribbon { border-radius: 22px; }
  .thanks-steps li { padding: 14px; }
  .home code, .content code { white-space: normal; }
  .stream-row time { margin-left: 0; }
}

/* Keep the board clean of sideways scroll at phone widths. */
.home, .content { overflow-x: clip; }

/* ======================================================================
   26. Reduced motion — keep every state, kill all movement
   ====================================================================== */

@media (prefers-reduced-motion: reduce) {
  [data-stagger], .console-panel.is-active, .refshow-view.is-on,
  .hero-float.is-pop, .mk-sticker--sun svg,
  .app-scene.is-active .s-rise, .app-scene.is-active .s-grow, .app-scene.is-active .s-fill {
    animation: none !important;
  }
  .button, .offer-ribbon, .dsg-card, .demo-card, .guide-card, .bento-card,
  .statband-stat, .usecase, .faq-item, .faq-q .ico, .hx-term-btn, .console-tab, .app-body {
    transition: none !important;
  }
  .button:hover, .offer-ribbon:hover, .dsg-card:hover, .demo-card:hover,
  .guide-card:hover, .bento-card:hover, .statband-stat:hover, .usecase:hover { transform: none; }
}

/* ------------------------------------------------ legal pages (integration) ----
   privacy/terms render long-form text in .content.legal-page; give it the
   reading-column treatment the old base styles provided. */
.legal-page { max-width: 760px; margin: 0 auto; padding: 32px 20px 72px; }
.legal-page .page-hero { padding: 26px 0 10px; }
.legal-page h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.04em; margin: 8px 0 4px; }
.legal-page h2 { font-size: 21px; letter-spacing: -0.03em; margin: 26px 0 8px; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.65; color: var(--text-soft); }
.legal-page strong { color: var(--text); }
.legal-page ul { padding-left: 2px; list-style: none; display: grid; gap: 7px; margin: 10px 0; }
.legal-page a { color: var(--text); font-weight: 700; }

/* The console metric needs large-text contrast on dark panels. */
[data-theme="dark"] .val.accent { color: var(--text); }

/* Design wall: a browse link above the grid as well as below it. */
.dsg-browse--top { margin: 18px 0 0; }
