/* ============================================================================
   4reelz landing — v1
   Tokens lifted from instagram/ig-dashboard-v2/styles.css (warm paper, white
   cards, one blue accent, uppercase mono eyebrows, serif display), re-scaled
   for a marketing page. No build step.
   ============================================================================ */

:root {
  --paper: #fefbfe;
  --card: #ffffff;
  --ink: #17161a;
  --muted: #5f5e66;
  --faint: #74737b;
  --line: #eceae4;
  --track: #eceef4;
  --accent: #0a34c1;
  --accent-soft: #eef1fd;
  --warn: #c0392b;
  --ok: #1d9a6c;
  --dark: #141317;
  --on-dark: #f4f2f6;
  --dark-muted: #9d9ba4;
  --amber: #7a5b00;
  --amber-bg: #fdf6e3;
  --amber-line: #d8b13a;

  /* blog chart palette — one property per Scheme B bucket (largest first).
     --chart-2 is an 80/20 mix of --ok and --ink (#1b7f5b), darkened so the
     white segment labels stay readable; the rest reuse existing tokens. */
  --chart-1: var(--accent);  /* Create & design */
  --chart-2: #1b7f5b;        /* Learn & explore (green mix) */
  --chart-3: var(--amber);   /* Play & fiddle */
  --chart-4: var(--dark);    /* Maps & travel */
  --chart-5: var(--warn);    /* Fix & everyday file work */
  --chart-6: var(--muted);   /* Build & ship (web & AI) */

  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --serif: "New York", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 240ms;
  --shadow: 0 18px 50px rgba(23, 22, 26, 0.08);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.center { text-align: center; }
.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;
}

section.block { padding: 72px 0; border-top: 1px solid var(--line); }
section.block.tight { padding: 48px 0; }
h2.st { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.015em; line-height: 1.1; margin: 8px 0 8px; }
p.lead { color: var(--muted); max-width: 62ch; margin: 0 0 28px; }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); }

/* corner-card nav (prototype V2): inline links >620px, hamburger ≤620px.
   Brand + Demo stay outside the menu at every width. */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger {
  flex: none; width: 40px; height: 40px; padding: 0;
  display: none; place-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-burger:hover { border-color: var(--faint); }
.nav-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-burger-bars { position: relative; display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: background-color 0.18s var(--ease); }
.nav-burger-bars::before, .nav-burger-bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.22s var(--ease); }
.nav-burger-bars::before { top: -5px; }
.nav-burger-bars::after { top: 5px; }
.nav.is-open .nav-burger-bars { background: transparent; }
.nav.is-open .nav-burger-bars::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav-burger-bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav-menu {
  position: absolute; top: calc(100% + 8px); right: 24px; z-index: 45;
  width: min(240px, calc(100% - 36px));
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 6px;
  transform: translateY(-6px) scale(0.98); transform-origin: top right;
  opacity: 0; visibility: hidden;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), visibility 0s 0.2s;
}
.nav.is-open .nav-menu { transform: none; opacity: 1; visibility: visible; transition-delay: 0s, 0s, 0s; }
.nav-menu-nav { display: flex; flex-direction: column; }
.nav-menu-link { display: block; padding: 11px 12px; border-radius: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.nav-menu-link:hover { background: var(--accent-soft); color: var(--accent); }
.nav-menu-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Disabled "For creators" entry (A3 "Locked plate"): visible but inert —
   a <span aria-disabled="true"> with no href/tabindex, so it never navigates
   or takes focus. Used in the inline nav, the corner-card menu and the footer. */
.nav-link.is-soon, .nav-menu-link.is-soon, .foot-links .is-soon {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 9px 4px 8px; border: 1px dashed var(--line);
  border-radius: 999px; background: #fafafa; color: var(--muted);
  cursor: default;
}
.is-soon .soon-lock { width: 12px; height: 12px; flex: none; color: var(--faint); }
.soon-lock rect, .soon-lock path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.is-soon .soon-label { color: var(--muted); }
.soon-cap {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint);
  border-left: 1px solid var(--line); padding-left: 7px;
}
.nav-menu .is-soon { display: flex; width: 100%; border-radius: 10px; padding: 10px 11px; }
.nav-menu .is-soon:hover { background: transparent; }

/* ---------- buttons + forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  border-radius: 12px; padding: 13px 18px; min-height: 46px; cursor: pointer;
  transition: transform 90ms var(--ease), opacity var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.btn:active { transform: scale(0.985); }
.btn.ghost { background: var(--card); color: var(--accent); }
.btn.dark { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn.wide { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: default; }

.waitlist { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input[type="email"] {
  flex: 1 1 260px; min-width: 0; font: 15px var(--sans); color: var(--ink);
  background: #fafafa; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 46px;
}
.waitlist input[type="email"]:focus { outline: none; border-color: var(--accent); background: #fff; }
.friction { color: var(--muted); font-size: 12.5px; margin-top: 12px; }
.form-note { color: var(--warn); font-size: 12.5px; margin-top: 10px; }
.turnstile-slot { margin-top: 12px; }
.turnstile-slot.is-hidden { display: none; }

.confirm {
  border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 14px;
  padding: 18px 20px; max-width: 520px; text-align: left;
}
.confirm h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; }
.confirm p { margin: 0 0 14px; color: #3a3a40; }
.confirm .fine { color: var(--muted); font-size: 12.5px; margin: 12px 0 0; }

/* ---------- one-button Join & verify widget (ticket #1022) ----------
   Scoped under .waitlist; the .jv-view is prepended inside the live form, so
   it must claim the full flex row instead of squeezing beside the input. */
.waitlist .jv-view {
  flex: 1 0 100%; min-width: 0; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 20px 22px;
}
.waitlist .jv-view.is-done { border-color: #cfe8de; }
.waitlist .jv-view.is-warn { border-color: #edd9a6; }
.waitlist.jv-display > input[type="email"],
.waitlist.jv-display > button,
.waitlist.jv-display > .turnstile-slot,
.waitlist.jv-display > .form-note { display: none; }
.waitlist.jv-expired > input[type="email"] { flex: 1 1 220px; }
.waitlist.jv-expired > button { flex: 1 1 auto; }
.waitlist.jv-expired > .turnstile-slot,
.waitlist.jv-expired > .form-note { flex: 1 0 100%; }

.waitlist .jv-view .trail {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; margin: 0 0 20px; padding: 0;
}
.waitlist .jv-view .step {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 7px; row-gap: 4px; align-items: center; min-width: 0;
}
.waitlist .jv-view .step .bar {
  grid-column: 1 / -1; grid-row: 1; height: 3px; border-radius: 99px; background: var(--line);
}
.waitlist .jv-view .step .num {
  grid-column: 1; grid-row: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 19px; height: 19px; border-radius: 50%; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 9px; color: var(--faint); background: var(--card);
}
.waitlist .jv-view .step .lbl {
  grid-column: 2; grid-row: 2; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--faint); line-height: 1.35; min-width: 0; overflow-wrap: anywhere;
}
.waitlist .jv-view .step.done .bar { background: var(--ok); }
.waitlist .jv-view .step.done .num { border-color: var(--ok); background: var(--ok); color: #fff; }
.waitlist .jv-view .step.done .lbl { color: #12684a; }
.waitlist .jv-view .step.now .bar { background: var(--accent); }
.waitlist .jv-view .step.now .num { border-color: var(--accent); background: var(--accent); color: #fff; }
.waitlist .jv-view .step.now .lbl { color: var(--accent); }
.waitlist .jv-view .step.warn .bar { background: var(--amber-line); }
.waitlist .jv-view .step.warn .num { border-color: var(--amber-line); background: var(--amber-bg); color: var(--amber); }
.waitlist .jv-view .step.warn .lbl { color: var(--amber); }
.waitlist .jv-view .step.wait .bar {
  background: linear-gradient(90deg, var(--line) 0 45%, #fff 45% 55%, var(--line) 55% 100%);
  background-size: 14px 100%; animation: jv-slide 1.2s linear infinite;
}
@keyframes jv-slide { to { background-position: 14px 0; } }

.waitlist .jv-view .kicker {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 8px;
}
.waitlist .jv-view .kicker.is-ok { color: var(--ok); }
.waitlist .jv-view .kicker.is-warn { color: var(--amber); }
.waitlist .jv-view h3 {
  font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em;
  line-height: 1.18; margin: 0 0 8px;
}
.waitlist .jv-view p { margin: 0 0 12px; color: #3a3a40; font-size: 14px; line-height: 1.55; }
.waitlist .jv-view p:last-child { margin-bottom: 0; }
.waitlist .jv-view b { font-weight: 600; color: var(--ink); }
.waitlist .jv-view .fine { color: var(--muted); font-size: 11.5px; line-height: 1.6; margin: 12px 0 0; }
.waitlist .jv-view .fine a { text-decoration: underline; text-underline-offset: 2px; }
.waitlist .jv-view .demoted { font-size: 12px; color: var(--faint); margin: 12px 0 0; }
.waitlist .jv-view .demoted a { text-decoration: underline; text-underline-offset: 2px; color: var(--muted); }
.waitlist .jv-view .demoted a:hover { color: var(--accent); }

.waitlist .jv-view .actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2px; }
.waitlist .jv-view .actions .btn { flex: 1 1 190px; }

.waitlist .jv-view .spinner {
  width: 13px; height: 13px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  border-radius: 50%; animation: jv-spin 0.8s linear infinite;
}
@keyframes jv-spin { to { transform: rotate(360deg); } }

.waitlist .jv-view .emailrow {
  display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line);
  border-radius: 12px; background: #fcfcfb; padding: 11px 12px; margin: 0 0 12px;
}
.waitlist .jv-view .emailrow svg { width: 18px; height: 18px; color: var(--accent); margin-top: 1px; flex: none; }
.waitlist .jv-view .emailrow .t {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint); margin: 0;
}
.waitlist .jv-view .emailrow .v { font-size: 13px; color: var(--ink); margin: 2px 0 0; overflow-wrap: anywhere; }
.waitlist .jv-view .emailrow .sub2 { font-size: 11.5px; color: var(--muted); margin: 2px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .waitlist .jv-view .step.wait .bar { animation: none; background: var(--line); }
  .waitlist .jv-view .spinner { animation: none; border-top-color: rgba(255, 255, 255, 0.7); }
}
@media (max-width: 440px) {
  .waitlist .jv-view { padding: 16px 15px 18px; }
  .waitlist .jv-view .trail { gap: 6px; margin-bottom: 16px; }
  .waitlist .jv-view .step .lbl { font-size: 7.5px; letter-spacing: 0.03em; }
  .waitlist .jv-view .actions .btn { flex: 1 1 100%; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;              /* contains card z-indexes; sticky nav (z:100) stays above */
  overflow: hidden; overflow: clip; /* crops the deck at the hero's bottom edge */
  min-height: 624px;               /* CLS guard (measured prototype target §0) */
  padding: 64px 0 40px; text-align: center;
}
/* Consumer hero only (index.html). Shared .hero is used by for-creators.html
   and 404.html — keep the flex centring scoped so their CTA/gap spacing holds.
   Higher specificity keeps the video hero's height/padding over the generic
   .hero responsive rules below. */
.hero.hero--video {
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(624px, 78vh, 820px);
  padding: 92px 0 76px;
}
@media (max-width: 620px) {
  .hero.hero--video { min-height: 580px; padding: 68px 0 56px; }
}
.hero-copy { position: relative; z-index: 20; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 auto 16px; max-width: 18ch; }
.hero .sub { max-width: 56ch; margin: 0 auto 10px; font-size: clamp(16px, 2vw, 19px); color: #3a3a40; text-wrap: balance; }
.hero .desc { max-width: 50ch; margin: 0 auto 26px; color: var(--muted); }
.hero .waitlist { max-width: 540px; margin: 0 auto; justify-content: center; }
.hero .friction { text-align: center; }
.hero .confirm { margin: 0 auto; text-align: left; }

@media (max-width: 430px) {
  .hero .sub { padding-inline: 14px; }
}

/* ---------- platform marks + hero proof line (V1) ---------- */
.pm {
  width: 14px; height: 14px; flex: none;
  display: inline-grid; place-items: center;
  color: currentColor; font-style: normal; line-height: 0;
}
.pm svg { width: 100%; height: 100%; display: block; }

.plats { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.plat {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .055em;
  text-transform: uppercase; color: var(--muted);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 9px; white-space: nowrap;
}
.plat .pm { width: 13px; height: 13px; }
.plat.quiet { color: var(--muted); border-color: var(--line); background: transparent; }

.hero-plats {
  display: flex; align-items: center; justify-content: center;
  gap: 8px 12px; flex-wrap: wrap; margin: 18px auto 0;
}
.hp-k {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint);
}
.hero-plats .plat {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(6px);
}

/* ---------- hero video (#980 — V4 dense library · B2 heavy bake) ----------
   The σ12 blur, six-column wall, warm tint and grain are baked into the MP4
   (winner of #976). The scrim + grain below are V4's; the poster carries the
   first paint and the reduced-motion / autoplay-failure frame. */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  background: var(--paper);
  filter: saturate(1.04) contrast(1.02);
  pointer-events: none; user-select: none;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    radial-gradient(ellipse 56% 58% at 50% 48%, rgba(254,251,254,.88) 0 40%, rgba(255,247,236,.24) 78%, rgba(254,251,254,.04) 100%),
    linear-gradient(180deg, rgba(255,247,236,.20) 0%, rgba(254,251,254,.34) 60%, rgba(254,251,254,.94) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

@media (max-width: 1023px) { .hero { min-height: 560px; } }
@media (max-width: 620px) { .hero { min-height: 500px; } }

/* ---------- carousel ---------- */
.carousel { overflow: hidden; width: 100%; }
.carousel .track { display: flex; transition: transform .55s var(--ease); will-change: transform; }
.carousel .slide { min-width: 100%; box-sizing: border-box; }
.cdots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.cdot { width: 6px; height: 6px; border-radius: 50%; border: 0; background: var(--faint); cursor: pointer; padding: 0; transition: width .3s var(--ease), background-color .3s var(--ease); }
.cdot.is-active { background: var(--accent); width: 18px; border-radius: 3px; }
.cdots.on-dark .cdot { background: #4a4850; }
.cdots.on-dark .cdot.is-active { background: var(--on-dark); }

/* ---------- problem beat ---------- */
.problem { background: var(--dark); color: var(--on-dark); }
.problem .wrap { padding-top: 96px; padding-bottom: 96px; }
.problem .carousel .slide { display: grid; place-items: center; }
.problem .big { font-family: var(--serif); font-size: clamp(26px, 4vw, 46px); line-height: 1.14; letter-spacing: -0.02em; margin: 0; max-width: 24ch; text-align: center; }

/* ---------- generic grid ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 8px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); }

.tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.chip { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); background: #fafafa; color: var(--muted); white-space: nowrap; }
.chip.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- proof / output ---------- */
.proof { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }
.shot { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; }
.callout-list { display: flex; flex-direction: column; gap: 18px; }
.callout-list .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.callout-list p { margin: 0; color: #3a3a40; }
.caption { color: var(--muted); font-size: 12.5px; margin-top: 14px; }

/* ---------- how it works (node flow) ---------- */
.flow { display: flex; align-items: stretch; margin-top: 24px; }
.flow-node {
  flex: 1 1 0; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px;
}
.flow-k { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.flow-d { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

.flow-link {
  position: relative; flex: 0 0 auto; align-self: center;
  width: clamp(28px, 5vw, 64px); height: 3px; border-radius: 2px;
  background-color: var(--accent-soft);
  background-image: repeating-linear-gradient(90deg, var(--accent) 0 7px, transparent 7px 16px);
  animation: flow-x 2.4s linear infinite;
}
.flow-link:nth-child(4) { animation-delay: -1.2s; }
.flow-link::after {
  content: ""; position: absolute; right: -3px; top: 50%; transform: translateY(-50%);
  border-left: 6px solid var(--accent); border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
@keyframes flow-x { to { background-position: 16px 0; } }
@keyframes flow-y { to { background-position: 0 16px; } }

@media (max-width: 620px) {
  .flow { flex-direction: column; }
  .flow-link {
    width: 3px; height: 30px; margin: 0 auto;
    background-image: repeating-linear-gradient(180deg, var(--accent) 0 7px, transparent 7px 16px);
    animation-name: flow-y;
  }
  .flow-link::after {
    right: auto; left: 50%; top: auto; bottom: -3px; transform: translateX(-50%);
    border: 0; border-top: 6px solid var(--accent); border-left: 4px solid transparent; border-right: 4px solid transparent;
  }
}

/* Static fallback under the global reduced-motion kill switch: solid accent
   connectors so the diagram still reads directionally. Same specificity as
   .flow-link — must sit after it. */
@media (prefers-reduced-motion: reduce) {
  .flow-link { background-image: none; background-color: var(--accent); }
}
.axes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- fork ---------- */
.fork { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .fork { grid-template-columns: 1fr; } }
.fork .card { display: flex; flex-direction: column; gap: 10px; }
.fork .card .link { margin-top: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }

/* ---------- evidence ---------- */
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 32px); line-height: 1.25; margin: 32px 0 0; border-left: 3px solid var(--accent); padding-left: 18px; }

/* ---------- beta offer ---------- */
.offer { text-align: center; }
.offer .waitlist { max-width: 540px; margin: 22px auto 0; }

/* ---------- founder ---------- */
.founder { display: flex; gap: 18px; align-items: flex-start; max-width: 720px; }
.monogram { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 20px; }
.founder p { margin: 0; color: #3a3a40; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--serif); font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--accent); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; max-width: 62ch; color: var(--muted); }

/* ---------- final cta ---------- */
.final { text-align: center; background: var(--accent-soft); border-top: 1px solid var(--line); }
.final .waitlist { max-width: 540px; margin: 22px auto 0; }
.final .confirm { margin: 22px auto 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 64px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 18px; }
.foot-links a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.disclaimer { color: var(--muted); font-size: 12.5px; max-width: 70ch; }

/* ============================================================================
   DEMO MINI-APP
   ============================================================================ */
.demo { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 28px; box-shadow: var(--shadow); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.demo-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 999px; padding: 4px 9px; }
.demo-step { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.demo-step:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.demo-step .eyebrow { margin-bottom: 14px; }

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 620px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 18px 8px; text-align: center; background: #fafafa; cursor: pointer; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.tile:hover { border-color: var(--faint); }
.tile.selected { border-color: var(--accent); background: var(--accent-soft); }
.tile .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.tile .soon { font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.demo-fork { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
@media (max-width: 620px) { .demo-fork { grid-template-columns: 1fr; } }
.demo-fork .or { font-family: var(--mono); font-size: 11px; color: var(--faint); text-align: center; }
.fork-btn { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 20px; text-align: center; cursor: pointer; transition: border-color var(--dur) var(--ease); }
.fork-btn:hover { border-color: var(--accent); }
.fork-btn .t { font-family: var(--serif); font-size: 18px; }
.fork-btn .d { color: var(--muted); font-size: 12.5px; margin-top: 4px; }

.demo-run { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; }
@media (max-width: 560px) { .demo-run { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.demo-orb-col { text-align: center; }
.demo-stage-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-top: 10px; }
.jobs { display: flex; flex-direction: column; gap: 8px; }
.job { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--card); }
.job .sc { font-family: var(--mono); font-size: 11px; color: var(--muted); flex: none; }
.job .title { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job .status { margin-left: auto; font-family: var(--mono); font-size: 9px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.job.running { border-color: var(--accent); }
.job.done { border-color: var(--ok); }
.job.done .status { color: var(--ok); }
.job.pulse { animation: pop 1.3s var(--ease) infinite; }
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }

/* mock app surface (mirrors ig-dashboard-v2 positions) */
.mock { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); padding: 18px; }
.mock-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.mock-tab { font-family: var(--mono); font-size: 11px; padding: 8px 14px; border-radius: 9px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.mock-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mock-top { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 13px; }
.stat .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: var(--serif); font-size: 26px; line-height: 1; margin-top: 6px; }
.mock-row { display: flex; align-items: center; gap: 8px; margin: 14px 0 12px; }
.reel-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 16px; }
.reel-card h4 { font-family: var(--serif); font-size: 18px; margin: 0 0 6px; }
.reel-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.reel-card.clickable { cursor: pointer; border-color: var(--accent); }
.mock .blur { filter: blur(3px); opacity: 0.5; pointer-events: none; }
.mock .spot { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(3px); } 60% { transform: translateX(-3px); } }
.mock-tip { color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* brief */
.brief { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 20px; }
.brief h4 { font-family: var(--serif); font-size: 22px; margin: 0 0 4px; }
.brief .dek { color: #3a3a40; margin: 0 0 14px; }
.brief table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0 0 14px; }
.brief th { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: left; font-weight: 400; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.brief td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.brief ul { margin: 0; padding-left: 18px; }
.brief li { margin: 4px 0; }
.brief .media { aspect-ratio: 9 / 14; border-radius: 12px; overflow: hidden; background: #0c0c0e center/cover no-repeat; border: 1px solid var(--line); margin-bottom: 14px; }
.brief .media video { width: 100%; height: 100%; object-fit: cover; }
.brief-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* paywall + join-code popup */
.paywall { position: relative; }
.paywall .locked { filter: blur(4px); opacity: 0.45; pointer-events: none; user-select: none; }
.popup { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(340px, 92%); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; text-align: center; }
.popup h4 { font-family: var(--serif); font-size: 20px; margin: 0 0 6px; }
.popup p { color: var(--muted); margin: 0 0 14px; font-size: 13.5px; }
.popup .btn { width: 100%; }
.popup .btn + .btn { margin-top: 8px; }
.demo-restart { margin-top: 16px; }
.demo-restart button { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; }
.demo-restart button:hover { color: var(--ink); }
.demo-pending { border: 1px dashed var(--line); border-radius: 12px; padding: 16px; color: var(--muted); font-size: 13.5px; }

/* ---------- legal ---------- */
.legal { padding: 56px 0 96px; }
.legal h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.02em; margin: 0 0 6px; }
.legal h2 { font-family: var(--serif); font-size: 22px; margin: 34px 0 8px; }
.legal h3 { font-family: var(--serif); font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: #3a3a40; }
.legal .updated { color: var(--faint); font-size: 12.5px; margin-bottom: 24px; }
.legal .body { max-width: 72ch; }
.legal ul { padding-left: 20px; }

/* ============================================================================
   BLOG — index (list) + post (chart, TOC, 3-column tables)
   ============================================================================ */
.draft { display: inline-block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: var(--r-pill); padding: 4px 10px; }

/* blog index */
.blog-head { padding: 24px 0 10px; }        /* B1.1 Tight (was 52px) */
.blog-head .eyebrow { margin-top: 0; }       /* B1.1 (was 14px) */
.blog-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em; margin: 10px 0; }  /* B1.1 (was 12px) */
.blog-head .sub { color: var(--muted); max-width: 62ch; font-size: clamp(16px, 2vw, 19px); margin: 0; }
.post-list { padding: 36px 0 72px; display: grid; gap: 20px; max-width: 840px; }
.post-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); transition: border-color var(--dur) var(--ease), transform 90ms var(--ease); }
.post-card:hover { border-color: var(--accent); }
.post-card:active { transform: scale(0.995); }
.post-card h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.015em; line-height: 1.12; margin: 14px 0 10px; }
.post-card .dek { color: var(--muted); max-width: 68ch; margin: 0 0 18px; }
.post-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.post-card .go { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-top: 16px; }

/* blog post */
.article { padding: 20px 0 72px; }        /* B1.1 Tight (was 36px top) */
.article h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -0.02em; line-height: 1.07; margin: 10px 0; max-width: 26ch; }  /* B1.1 (was 14px) */
.article .dek { color: var(--muted); max-width: 68ch; font-size: clamp(16px, 2vw, 19px); margin: 0; }
.article .lead { color: var(--muted); max-width: 72ch; }

.md-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 24px 0 0; }
.md-cta--stack { flex-direction: column; align-items: flex-start; gap: 8px; }
.md-note { font-size: 12.5px; color: var(--muted); max-width: 46ch; margin: 0; }
.md-copy-note { font-size: 12.5px; color: var(--muted); max-width: 52ch; margin: 0; }
.md-dl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.md-dl:hover { color: var(--accent); }

/* chips row (post header) + value chip (V2 stamp treatment) */
.post-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 12px; }  /* B2.1: chips own the figure gap */
.pc-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-chips a.tag { text-decoration: none; }
.post-chips a.tag:hover { color: var(--accent); border-color: var(--accent); }
/* Copy-markdown button riding in the freshness strip (compact, pill-height) */
.freshline .btn { min-height: 0; padding: 6px 12px; border-radius: var(--r-pill); font-size: 10px; letter-spacing: 0.07em; }
.vchip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; }
.vchip:empty { display: none; }
.vchip--stamp { padding: 6px 10px; border-radius: 6px; border: 1px dashed var(--amber-line); background: var(--amber-bg); color: var(--amber); transform: rotate(-1.6deg); }

/* card thumbnail (T4 waffle SVG, generated by build-blog-data.mjs) */
.pc-thumb { display: block; width: 100%; height: auto; margin: 16px 0 2px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }

h2.sec { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.015em; margin: 8px 0 10px; }
section.part { border-top: 1px solid var(--line); padding: 44px 0 8px; margin-top: 44px; }
section.part > .wrap > .lead { color: var(--muted); max-width: 70ch; margin: 0 0 26px; }

/* chart — fitted (C1): the SVG scales to its container, never scrolls.
   The in-bar numbers + axis label are hidden <=720px (CSS), where they would
   render under ~6px; counts live in the clickable legend below. An always-on
   HTML caption carries the total. */
.post-fig { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.chartwrap { overflow: visible; }
.chart { display: block; width: 100%; height: auto; margin: 0 auto; }
.chart--wide { width: 100%; height: auto; }
.chart text { font-family: var(--mono); }
.seg-num { font-size: 12.5px; font-weight: 700; fill: #fff; }
.axis-num { font-size: 10px; letter-spacing: 0.06em; fill: var(--muted); }
.seg-1 { fill: var(--chart-1); }
.seg-2 { fill: var(--chart-2); }
.seg-3 { fill: var(--chart-3); }
.seg-4 { fill: var(--chart-4); }
.seg-5 { fill: var(--chart-5); }
.seg-6 { fill: var(--chart-6); }
.chart-cap { margin: 12px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); }
.jump-hint { display: flex; width: max-content; margin: 16px auto 0; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }  /* B3: centered pill */
.jump-hint svg { width: 13px; height: 13px; flex: none; color: var(--accent); }

/* legend rows are real links to each category anchor (keyboard reachable) */
.legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.legend li { display: flex; }
.legend li a { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 40px; padding: 6px 8px; margin: 0 -8px; border-radius: 10px; font-size: 13px; color: var(--ink); text-decoration: none; }
.legend li a:hover { background: var(--accent-soft); color: var(--accent); }
.legend li a:hover .lb { text-decoration: underline; text-underline-offset: 3px; }
.legend li a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; flex: none; margin-top: -1px; }
.legend .sw-1 { background: var(--chart-1); }
.legend .sw-2 { background: var(--chart-2); }
.legend .sw-3 { background: var(--chart-3); }
.legend .sw-4 { background: var(--chart-4); }
.legend .sw-5 { background: var(--chart-5); }
.legend .sw-6 { background: var(--chart-6); }
.legend .lb { flex: 1 1 auto; min-width: 0; }
.legend .vl { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }

/* TOC */
.toc { margin: 26px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 18px 20px; }
.toc-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc li a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 16px; }
.toc li:last-child a { border-bottom: 0; padding-bottom: 0; }
.toc li a:hover { color: var(--accent); }
.toc-n { font-family: var(--mono); font-size: 11px; color: var(--accent); flex: none; }

/* category tables — one real 3-column table per category, at every width.
   Two-line records (V3): row .t2a = name + link on the title line,
   row .t2b = the description. No card markup, no display overrides. */
.tgroup { border-top: 1px solid var(--line); padding: 40px 0 8px; scroll-margin-top: 72px; }
.tgroup:first-child { border-top: 0; padding-top: 0; }
h2.gt { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.015em; margin: 0 0 18px; }
.gt-n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--accent); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* fixed layout so the Tool column has a predictable width and the link cell
   (cols 2-3) starts right after it — otherwise the full-width description row
   inflates the Tool column and pushes the link far from short names. */
.tooltable { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13.5px; }
.tooltable th:nth-child(1) { width: 42%; }
.tooltable th:nth-child(2) { width: 36%; }
.tooltable th:nth-child(3) { width: 22%; }
.tooltable th { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
/* Hide the visible header row WITHOUT removing it from the a11y tree.
   The standard clip/absolute pattern would drop the thead out of the table
   flow, which breaks table-layout:fixed (columns fall back to equal thirds).
   Instead the header row is collapsed in place: the <th> elements stay real
   table cells (so their 42/36/22 widths still set the columns) but render at
   zero height with no text size, so the row is invisible. No display:none /
   visibility:hidden — the names remain available to screen readers. */
.tooltable thead th {
  height: 0; padding: 0; border: 0; overflow: hidden;
  font-size: 0; line-height: 0;
}
.tooltable td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.tooltable td.tname { font-family: var(--serif); font-size: 15px; white-space: normal; }
.tooltable a { color: var(--accent); }
.tooltable tr.t2a td { border-bottom: 0; padding-bottom: 2px; }
.tooltable tr.t2a td.t2l { text-align: left; }
.tooltable tr.t2b td { padding-top: 2px; }
.tooltable tr.t2b td.t2w { color: #3a3a40; }
.tooltable .also { margin-left: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tooltable .also a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.tooltable .rank { display: inline-block; min-width: 20px; margin-right: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--muted); }
.tooltable .why { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.tooltable .seen { margin-left: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }

/* ---------- motion ---------- */
@keyframes grow-x { to { transform: scaleX(var(--p, 1)); } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .carousel .track { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock .spot { animation: none; }
  .job.pulse { animation: none; }
  .nav-menu, .nav-burger-bars, .nav-burger-bars::before, .nav-burger-bars::after { transition: none !important; }
}

/* ---------- responsive (mobile) ---------- */
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  section.block { padding: 52px 0; }
  section.block.tight { padding: 40px 0; }

  .nav-inner { height: 58px; gap: 10px; }
  .brand { font-size: 22px; }
  .nav-links { gap: 10px; }
  .nav-link { font-size: 10px; letter-spacing: .04em; }
  .nav .btn { padding: 9px 11px; font-size: 10px; min-height: 40px; }
  .nav-inline { display: none; }
  .nav-burger { display: inline-grid; }

  .hero { padding: 44px 0 34px; }
  .hero h1 { letter-spacing: -.02em; }
  .hero .sub { font-size: 16px; }
  h2.st { font-size: 26px; }

  .waitlist { flex-direction: column; align-items: stretch; }
  .waitlist input[type="email"] { width: 100%; flex: 0 0 auto; }
  .waitlist .btn { width: 100%; }
  .final .waitlist, .offer .waitlist { max-width: 100%; }
  .confirm { padding: 16px; }

  .proof { gap: 22px; }
  .callout-list { gap: 14px; }
  .problem .wrap { padding-top: 64px; padding-bottom: 64px; }
  .problem .big { font-size: 28px; }

  .foot-links { gap: 14px 18px; }
  .founder { flex-direction: column; }
}

/* ============================================================================
   USE-CASE CAROUSEL (§3.5, index.html only)
   Ported from landing/prototypes/usecase-carousel (variant B). Every rule is
   scoped under .uc so for-creators.html and 404.html render unchanged.
   ============================================================================ */
.uc .uc-head { margin-bottom: 30px; }
.uc .slide {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: 4px 6px 20px;
}
.uc .uc-media {
  position: relative; overflow: hidden; margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.uc .uc-media img { width: 100%; height: 100%; object-fit: cover; }
.uc .uc-media--r43 { aspect-ratio: 4 / 3; }
.uc .uc-media--r45 { aspect-ratio: 4 / 5; }
.uc .uc-media--r920944 { aspect-ratio: 920 / 944; }
.uc .uc-media--r920812 { aspect-ratio: 920 / 812; }
/* Tall portrait preview: top-anchored, fading out at the bottom edge so a
   long capture reads as "there is more below" instead of a hard crop. */
.uc .uc-media--peek { aspect-ratio: 3 / 4; }
.uc .uc-media--peek img {
  object-position: top center;
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
}

.uc .uc-copy .uc-idx {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
}
.uc .uc-copy h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1; letter-spacing: -0.015em;
  margin: 10px 0 10px;
}
.uc .uc-copy p { margin: 0; color: var(--muted); font-size: 15px; max-width: 42ch; }

.uc .uc-carousel { outline: none; }
.uc .carousel { touch-action: pan-y; }
.uc .uc-carousel:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 18px; }
.uc .carousel.uc-dragging { cursor: grabbing; user-select: none; }

/* Reduced-motion JS gate mirror (the module also writes inline transition:none). */
.uc.uc-reduce .carousel .track { transition: none !important; }
.uc.uc-reduce .cdot { transition: none !important; }

@media (max-width: 700px) {
  .uc .slide { grid-template-columns: 1fr; gap: 16px; padding: 4px 4px 16px; }
  .uc .uc-copy h3 { font-size: 24px; }
  .uc .uc-copy p { font-size: 14px; }
}

/* ---------- blog: responsive tables + chart (SPEC §3) ---------- */
@media (max-width: 720px) {
  /* real tables at every width — no card stacking, thead stays visible,
     rows stay table rows, cells wrap. Tighter type + gutters. */
  .tooltable { min-width: 0; font-size: 12.5px; }
  .tooltable th { padding: 6px 7px; }
  .tooltable td { padding: 8px 7px; overflow-wrap: anywhere; }
  .tooltable td.tname { white-space: normal; font-size: 14px; }
  .tooltable tr.t2a td { padding: 10px 7px 1px; }
  .tooltable tr.t2b td { padding: 1px 7px 10px; }
  /* fitted chart: drop the 520px min-width; hide text that would render < 6px */
  .chart--wide .seg-num, .chart--wide .axis-num { display: none; }
}

/* 320px guard: 3 nav links + Demo button on one row */
@media (max-width: 430px) {
  .wrap { padding: 0 14px; }
  .brand { font-size: 20px; }
  .nav-links { gap: 8px; }
  .nav-link { font-size: 9.5px; letter-spacing: .02em; }
  .nav .btn { padding: 8px 10px; font-size: 9.5px; }
  /* keep the fitted bar meaningful at 320: trim the figure padding and give the
     chart a real height (preserveAspectRatio="none" lets it grow) instead of a
     ~15px sliver from the 8.57:1 viewBox scaled to ~250px. */
  .post-fig { padding: 14px 12px; }
  .chart--wide { height: 84px; }
}

/* ============================================================================
   Citation-asset treatment (AEO round 1) — freshness strip, stat strip,
   answer-first Q&A and cite block on the setupsai post; the state/stat/table
   components below are shared with the /statistics hub.
   ============================================================================ */

/* snapshot freshness strip under the post chips */
.freshline { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 0; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 10px; background: var(--card); font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.freshline .fl-k { color: var(--accent); }
.freshline .pm-dot { color: var(--faint); }
.freshline a { color: var(--ink); text-decoration: none; }
.freshline a:hover { text-decoration: underline; }

/* stat strip (reuses the existing .stat card) */
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 14px 0 0; }
.statrow .stat { padding: 12px 14px; }
.statrow .stat .v { font-size: 24px; margin-top: 5px; }
.statrow .stat .v small { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); margin-left: 3px; }

/* answer-first Q&A */
.qa-block { margin: 34px 0 26px; }
.qa-block .eyebrow { margin-bottom: 6px; }
.qa-h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.015em; margin: 6px 0 0; }
.qa-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0 0; }
.qa-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 18px 20px 16px; }
.qa-q { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin: 0 0 8px; }
.qa-a { color: #3a3a40; margin: 0; max-width: 74ch; }
.qa-src { margin: 10px 0 0; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }

/* cite block */
.cite-block { margin: 22px 0 0; padding: 18px 20px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); max-width: 760px; }
.cite-k { margin: 0 0 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.cite-text { margin: 0; font-family: var(--serif); font-size: 16px; }
.cite-hint { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.cite-hint a { color: var(--accent); }
.cite-hint code { font-family: var(--mono); font-size: 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }

/* cross-link from the post to the statistics hub */
.post-more { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.post-more a { color: var(--accent); }

/* stable deep-link anchors on the tool rows */
.tooltable tr[id] { scroll-margin-top: 72px; }

@media (min-width: 760px) {
  .qa-list { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 620px) {
  .qa-card { padding: 16px 16px 14px; }
}

/* ---------- /statistics hub (S3 "dossier" treatment) ---------- */

/* slim mono meta row (byline · published · data as of) */
.pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 14px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.pmeta .pm-dot { color: var(--faint); }
.pmeta b { color: var(--ink); font-weight: 400; }
.pmeta a { color: var(--accent); text-decoration: none; }
.pmeta a:hover { text-decoration: underline; }

.st-body { padding-bottom: 72px; }
.st-head { padding: 40px 0 0; }
.st-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -0.02em; line-height: 1.07; margin: 10px 0; max-width: 24ch; }
.st-head .dek { color: var(--muted); max-width: 68ch; font-size: clamp(16px, 2vw, 19px); margin: 0; }

/* headline numbers strip */
.keynums { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; margin: 20px 0 0; }
.kn { padding: 16px 18px; border-right: 1px solid var(--line); }
.kn:last-child { border-right: 0; }
.kn .v { font-family: var(--serif); font-size: clamp(24px, 4vw, 30px); line-height: 1; }
.kn .v small { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--muted); margin-left: 3px; }
.kn .k { margin: 8px 0 0; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kn .k sup { color: var(--accent); }

/* question sections */
.st-sec { border-top: 1px solid var(--line); margin-top: 44px; padding: 30px 0 6px; }
.st-sec--first { border-top: 0; margin-top: 20px; padding-top: 0; }
.st-sec h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.015em; margin: 0 0 10px; max-width: 34ch; }
.st-ans { color: #3a3a40; margin: 0 0 16px; max-width: 78ch; }
.st-ans b { color: var(--ink); }

/* benchmark tables */
.src-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.src-table th { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.src-table td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.src-table td.metric { font-family: var(--serif); font-size: 15px; }
.src-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.src-table sup { color: var(--accent); font-family: var(--mono); font-size: 9px; }
.src-table sup a { color: var(--accent); }

/* method box */
.method { margin: 20px 0 0; padding: 18px 20px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); max-width: 780px; }
.method .m-k { margin: 0 0 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.method p { margin: 0 0 8px; color: #3a3a40; max-width: 74ch; }
.method p:last-child { margin-bottom: 0; }

/* sources list */
.footnotes { margin: 0; padding-left: 22px; font-family: var(--mono); font-size: 10px; line-height: 1.9; letter-spacing: 0.03em; color: var(--muted); max-width: 92ch; }
.footnotes a { color: var(--accent); }
.footnotes li::marker { color: var(--accent); }
.footnotes li + li { margin-top: 4px; }

.st-refresh { margin: 18px 0 0; color: var(--faint); font-size: 12.5px; max-width: 74ch; }

@media (max-width: 620px) {
  .keynums { grid-template-columns: 1fr 1fr; }
  .kn { border-right: 0; border-bottom: 1px solid var(--line); }
  .kn:nth-child(odd) { border-right: 1px solid var(--line); }
  .kn:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ============================================================================
   §3.2 problem statements — V6 deck (issue #967)
   Statement 1 is a five-card dealing deck; statements 02–05 are evidence cards
   dealt from their own small stacks. Scoped to .problems-deck; no prototype
   scaffolding. Motion lives in problems-deck.js (IO-gated + JS reduced-motion
   gate); the CSS here is the static fan / static-pill fallback.
   ============================================================================ */
.problems-deck {
  --pd-accent: #a7b6ff;
  --pd-table: #111015;
  --pd-table-deep: #0d0c11;
  --pd-on: #f5f2f7;
  --pd-dim: #a8a4b0;
  --pd-faint: #7c7887;
  --pd-rule: rgba(245, 242, 247, .14);
  --pd-rule-strong: rgba(245, 242, 247, .3);
  --pd-note: #f8f3e8;
  --pd-note-2: #efe6d5;
  --pd-note-3: #e6dbc7;
  --pd-note-line: #d9cdb6;
  --pd-note-ink: #1b1a1f;
  --pd-note-muted: #5f5b63;
  --pd-note-faint: #8a8478;
  position: relative;
  overflow-x: clip;
  color: var(--pd-on);
  background:
    radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(ellipse 74% 40% at 50% 9%, rgba(167, 182, 255, .13), transparent 68%),
    linear-gradient(180deg, var(--pd-table) 0%, var(--pd-table-deep) 100%);
  border-top: 1px solid #0a090d;
  border-bottom: 1px solid #0a090d;
}
.pd-inner {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) clamp(18px, 4vw, 44px) clamp(56px, 8vw, 96px);
}
/* ---------- statement 01 · the dealing deck ---------- */
.pd-lead { padding-top: clamp(34px, 5vw, 58px); text-align: center; }
.pd-lead-title {
  margin: 18px 0 0; font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -.025em;
  text-wrap: balance;
}
.pd-lead-prose {
  margin: 12px auto 0; max-width: 58ch; color: var(--pd-dim);
  font-size: clamp(15px, 1.5vw, 18px);
}

.pd-stage { position: relative; margin: clamp(10px, 2vw, 18px) auto 0; max-width: 900px; }
.pd-stage::before {
  content: ""; position: absolute; inset: 14% 6% 2%;
  background: radial-gradient(ellipse at 50% 44%, rgba(167, 182, 255, .16), transparent 62%);
  pointer-events: none;
}
.pd-board {
  position: relative; display: grid; place-items: center;
  padding: clamp(44px, 6vw, 72px) 0 clamp(38px, 5vw, 56px);
  border-radius: 20px; outline: none; cursor: pointer;
}
.pd-board:focus-visible { outline: 2px solid var(--pd-accent); outline-offset: 4px; }
.pd-board[data-pd-held="true"] { cursor: default; }

.pd-card {
  grid-area: 1 / 1;
  width: min(100%, 600px); margin: 0;
  background: var(--card);
  border: 1px solid rgba(23, 22, 26, .16);
  border-radius: 16px;
  box-shadow: 0 30px 64px rgba(0, 0, 0, .5);
  transform-origin: 50% 82%;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition: box-shadow var(--dur) var(--ease);
}
.pd-card-img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: 15px 15px 0 0;
}
.pd-card-tag {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px 12px; border-top: 1px solid var(--line);
  background: var(--pd-note); border-radius: 0 0 15px 15px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pd-note-muted);
}
.pd-card-no { color: var(--accent); }
.pd-card-name { color: var(--pd-note-ink); }

/* static fan (no-JS + reduced-motion fallback) — mirrors DEPTHS in problems-deck.js */
.pd-card:nth-child(1) { transform: translate(0, 0) rotate(-1.2deg); z-index: 50; }
.pd-card:nth-child(2) { transform: translate(8px, -8px) rotate(1.8deg) scale(.985); opacity: .98; z-index: 40; }
.pd-card:nth-child(3) { transform: translate(20px, -16px) rotate(3.6deg) scale(.968); opacity: .95; z-index: 30; }
.pd-card:nth-child(4) { transform: translate(34px, -24px) rotate(5.6deg) scale(.95); opacity: .92; z-index: 20; }
.pd-card:nth-child(5) { transform: translate(50px, -30px) rotate(8deg) scale(.93); opacity: .9; z-index: 10; }

/* ---------- deck controls ---------- */
.pd-controls {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; margin-top: 2px;
}
.pd-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--pd-rule-strong); border-radius: 50%;
  background: rgba(255, 255, 255, .04); color: var(--pd-on);
  font-size: 16px; line-height: 1; cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.pd-btn:hover { border-color: var(--pd-accent); color: var(--pd-accent); background: rgba(167, 182, 255, .08); }
.pd-btn:active { background: rgba(167, 182, 255, .16); }
.pd-status {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 8px;
  min-width: 158px; padding: 0 4px; margin: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pd-dim);
}
.pd-count { color: var(--pd-on); font-weight: 600; }
.pd-status-sep { color: var(--pd-faint); }
.pd-status-name { color: var(--pd-accent); }
.pd-hold {
  border: 1px solid var(--pd-rule); border-radius: 999px;
  background: transparent; color: var(--pd-dim);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 13px; cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pd-hold:hover { color: var(--pd-on); border-color: var(--pd-rule-strong); }
.pd-hold[aria-pressed="true"] { color: var(--pd-accent); border-color: var(--pd-accent); }
.pd-btn:focus-visible, .pd-hold:focus-visible { outline: 2px solid var(--pd-accent); outline-offset: 2px; }
.pd-hint {
  margin: 12px 0 0; text-align: center;
  font-family: var(--mono); font-size: 9px; line-height: 1.6; letter-spacing: .05em;
  text-transform: uppercase; color: var(--pd-faint);
}

/* ---------- the hand · statements 02–05 ---------- */
.pd-hand { margin-top: clamp(44px, 7vw, 84px); padding-top: clamp(26px, 4vw, 42px); border-top: 1px solid var(--pd-rule); }
.pd-hand-head {
  max-width: 1080px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px;
}
.pd-hand-k { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--pd-accent); }
.pd-hand-note { margin: 0; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--pd-faint); }
.pd-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  max-width: 1080px; margin: clamp(20px, 3vw, 32px) auto 0;
}
.pd-station {
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.8vw, 30px);
  background: var(--pd-note); color: var(--pd-note-ink);
  border: 1px solid #e9e0cf; border-radius: 8px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, .42);
}
.pd-st-k {
  display: flex; gap: 8px; align-items: baseline; margin: 0;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pd-note-faint);
}
.pd-st-k .pd-no { color: var(--accent); }
.pd-st-title {
  margin: 10px 0 0; font-family: var(--serif); font-weight: 600;
  font-size: clamp(22px, 2.5vw, 30px); line-height: 1.12; letter-spacing: -.015em;
}
.pd-st-body { margin: 10px 0 clamp(16px, 2vw, 22px); max-width: 46ch; font-size: clamp(14px, 1.3vw, 16px); line-height: 1.55; color: var(--pd-note-muted); }

.pd-stack {
  position: relative; width: min(100%, 420px);
  margin: auto auto 0;
  padding: 14px 14px 20px;
}
.pd-under, .pd-back {
  position: absolute; border-radius: 14px; border: 1px solid var(--pd-note-line);
  pointer-events: none;
}
.pd-under {
  left: 40px; right: 0; top: 26px; bottom: 6px;
  background: var(--pd-note-3); transform: rotate(3deg);
}
.pd-back {
  left: 30px; right: 8px; top: 20px; bottom: 13px;
  background: var(--pd-note-2); transform: rotate(1.4deg);
}
.pd-face {
  position: relative; margin: 0;
  background: var(--card);
  border: 1px solid rgba(23, 22, 26, .16); border-radius: 14px;
  box-shadow: 0 18px 38px rgba(20, 16, 8, .28);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pd-station:nth-child(odd) .pd-face { transform: rotate(-.6deg); }
.pd-station:nth-child(even) .pd-face { transform: rotate(.55deg); }
.pd-station:hover .pd-face { transform: translateY(-4px) rotate(0); box-shadow: 0 24px 46px rgba(20, 16, 8, .34); }
.pd-window {
  display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--card); border-radius: 13px 13px 0 0;
}
.pd-shot { display: block; position: relative; container-type: inline-size; }
.pd-shot > img { width: 100%; height: auto; display: block; }
.pd-face-tag {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 13px 10px; border-top: 1px solid var(--line);
  background: var(--pd-note); border-radius: 0 0 13px 13px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pd-note-muted);
}
.pd-face-k { color: var(--accent); }
.pd-face-name { color: var(--pd-note-ink); }

/* ---------- statement 02 · platform pill swap (both cards, stagger) ----------
   Geometry is a share of the captured s6 image (920×1272; 460×636 CSS from
   y=637). Card 1 is an Instagram post: chip at x 32–115.8 / y 174.3–195.4 in
   the crop. Card 2 is a TikTok video: chip at x 32–97.6 / y 497.0–518.1.
   Masks fully cover the baked tags; each pill rests on its card's true
   platform (IG first, TT second) and each track cycles from there.
   Stagger = half the 4.2s loop. */
.pd-mask {
  position: absolute; left: 5.8696%; top: 26.6214%;
  width: 20.389%; height: 4.8816%;
  background: #fff; border-radius: 999px;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
}
.pd-mask--b { top: 77.3659%; width: 16.4453%; }
.pd-pill {
  position: absolute; left: 6.9565%; top: 27.4076%;
  width: 18.215%; height: 3.3093%;
  pointer-events: none;
}
.pd-pill--b { top: 78.152%; width: 14.2714%; }
.pd-viewport { position: absolute; inset: 0; overflow: hidden; border-radius: 999px; }
.pd-track {
  display: flex; flex-direction: column; width: 100%; height: 400%;
  transform: translateY(0);
}
.pd-shot--feed[data-live] .pd-track {
  animation: pd-stack 4.2s cubic-bezier(.34, 1.3, .5, 1) infinite;
}
.pd-shot--feed[data-live] .pd-track--b { animation-delay: 2.1s; }
@keyframes pd-stack {
  0%, 22%   { transform: translateY(0); }
  30%, 52%  { transform: translateY(-25%); }
  60%, 82%  { transform: translateY(-50%); }
  90%, 100% { transform: translateY(-75%); }
}
.pd-pp {
  position: relative; inset: auto; width: 100%; height: 25%; flex: none;
  display: flex; align-items: center; justify-content: center;
  gap: .7cqw; overflow: hidden;
  border-radius: 999px; color: #fff;
  font-family: var(--mono); font-size: 1.95cqw; font-weight: 600;
  line-height: 1; letter-spacing: .015em; text-transform: uppercase;
  white-space: nowrap;
}
.pd-pp .pm { width: 2cqw; height: 2cqw; flex: none; display: block; color: currentColor; }
.pd-pp--ig { background: linear-gradient(115deg, #f7c948 0%, #ef4b6c 48%, #c13584 100%); }
.pd-pp--tt { background: #101014; }
.pd-pp--yt { background: #e6464c; }
.pd-clone { pointer-events: none; }

/* ---------- statement 04 · decorative COPY .MD affordance ----------
   Positioned on the baked button in s9-brief-top.webp. Continuous 2s/pass
   shimmer, immediate start on viewport entry. Decorative only: aria-hidden,
   pointer-events none, no focusable children, no clipboard. */
.pd-aff {
  position: absolute; left: 68.8%; top: 4.5%; width: 20.3%; height: 2.45%;
  pointer-events: none; z-index: 3;
}
.pd-aff-mask { position: absolute; inset: -4px; background: var(--card); border-radius: 999px; }
.pd-md {
  position: absolute; inset: 0; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; gap: .5em;
  border: 1.5px solid var(--accent); border-radius: 999px; background: var(--card);
  color: var(--accent); font-family: var(--mono); font-weight: 600;
  font-size: clamp(6.5px, 2.4cqw, 12px); letter-spacing: .09em; line-height: 1;
  white-space: nowrap; overflow: hidden;
}
.pd-md > * { position: relative; z-index: 2; }
.pd-md-ico { width: 1.02em; height: 1.02em; flex: none; }
/* Narrow phones: the baked button geometry leaves the "COPY .MD" label ~1px
   wider than its pill at 320px — tighten tracking so the D isn't clipped. */
@media (max-width: 380px) {
  .pd-md { gap: .35em; letter-spacing: .05em; }
}
.pd-md::before {
  content: ""; position: absolute; top: -45%; bottom: -45%; left: 0; width: 200%;
  background-image: linear-gradient(90deg,
    rgba(10, 52, 193, 0) 0%, rgba(10, 52, 193, .015) 15%,
    rgba(10, 52, 193, .05) 30%, rgba(255, 255, 255, .4) 50%,
    rgba(10, 52, 193, .045) 70%, rgba(10, 52, 193, .012) 85%,
    rgba(10, 52, 193, 0) 100%);
  background-size: 50% 100%;
  background-repeat: repeat-x;
  transform: translateX(-50%) skewX(-16deg);
  z-index: 1; will-change: transform;
}
.pd-shot--brief[data-live] .pd-md::before { animation: pd-shine 2s linear infinite; }
@keyframes pd-shine {
  from { transform: translateX(-50%) skewX(-16deg); }
  to { transform: translateX(0) skewX(-16deg); }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .pd-board { padding: 34px 0 30px; }
  .pd-card-tag { padding: 9px 12px 10px; font-size: 9px; }
  .pd-status { min-width: 132px; font-size: 10px; }
  .pd-hand-head { display: block; }
  .pd-hand-note { margin-top: 6px; }
  .pd-station { padding: 20px 18px; }
  .pd-stack { padding: 12px 12px 18px; }
}

/* ---------- reduced motion: static fan / truthful static platform pills ----------
   Each feed card rests on its own true platform (card 1 Instagram, card 2
   TikTok), so only the first pill in each track is shown. The Hold control is
   an auto-deal affordance and has no meaning without motion, so it is hidden. */
@media (prefers-reduced-motion: reduce) {
  .pd-card, .pd-face, .pd-btn, .pd-hold { transition: none !important; }
  .pd-station:hover .pd-face { transform: none; }
  .pd-shot--feed[data-live] .pd-track { animation: none !important; transform: none !important; }
  .pd-track .pd-pp { display: none !important; }
  .pd-track > .pd-pp:first-child { display: flex !important; }
  .pd-hold { display: none !important; }
  .pd-shot--brief[data-live] .pd-md::before,
  .pd-md::before { animation: none !important; opacity: 0 !important; transform: none !important; }
}
