/* Section-specific styles */

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in oklch, var(--bg) 92%, transparent); backdrop-filter: blur(10px); }
.nav-link { font-size: 12px; color: var(--fg-2); letter-spacing: 0.02em; transition: color 160ms; }
.nav-link:hover { color: var(--accent); }
/* 2026-06-03: external-link mark on the live-demo nav/drawer links. The raw ↗ tail
   sits on the baseline and read as "starting from the bottom"; shrink + raise it to
   a superscript mark, dim it, and brighten on link hover so it tracks the label. */
.ext-arrow { display: inline-block; margin-left: 4px; font-size: 0.72em; line-height: 1; vertical-align: 0.32em; opacity: 0.55; transition: opacity 160ms; }
a:hover > .ext-arrow { opacity: 1; }

/* HERO RECEIPT */
.receipt {
  position: absolute;
  right: -28px; bottom: -34px;
  width: 230px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px oklch(0 0 0 / 0.4);
}
.spark span {
  flex: 1;
  background: linear-gradient(to top, var(--fg-3), var(--fg-4));
  opacity: 0.7;
  border-radius: 1px;
}

/* LOG STRIP */
.logstrip {
  margin-top: 80px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}
.logstrip-inner {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  width: max-content;
}
.logstrip-inner span { display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* STAT BAR */
.statbar .stat {
  padding: 36px 32px;
  border-right: 1px solid var(--line-soft);
}
.statbar .stat:last-child { border-right: 0; }
.stat-n { font-family: var(--font-mono); font-size: 42px; letter-spacing: -0.03em; line-height: 1; }
.stat-l { margin-top: 10px; font-size: 12px; color: var(--fg-3); font-family: var(--font-mono); }

/* 5-STAGE LOOP */
.loop-grid { display: flex; flex-direction: column; gap: 0; }
.stage {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
  transition: all 200ms;
}
.stage:hover { border-color: var(--fg-4); background: var(--bg-2); }
.stage-n { font-size: 24px; color: var(--fg-4); }
.stage-t { font-size: 22px; letter-spacing: -0.02em; }
.stage-d { color: var(--fg-3); margin-top: 6px; font-size: 14px; line-height: 1.5; max-width: 52ch; }
.stage-tag { font-size: 11px; color: var(--fg-3); padding: 4px 10px; border: 1px solid var(--line); }
.stage-accent { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 5%, var(--bg-1)); }
.stage-accent .stage-n { color: var(--accent); }
.stage-arrow {
  font-family: var(--font-mono);
  color: var(--fg-4);
  padding: 6px 0 6px 80px;
  font-size: 12px;
}

/* SHAPES */
/* FEATURES (everything's wired) — mint sibling of the Problem section's .bleed-card grid.
   Same hairline-separated 3-col cells + hover left-bar, but the accent rail is mint (--accent),
   not the Problem grid's red: features read as the "good half", the bleed report as the bad. */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.feat {
  background: var(--bg-1);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: background 200ms;
}
.feat::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent);
  opacity: 0; transition: opacity 200ms;
}
.feat:hover { background: var(--bg-2); }
.feat:hover::before { opacity: 0.8; }
.feat-ico { color: var(--accent); }
.feat-ico svg { display: block; }
.feat-kick { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-4); }
.feat h3 { font-size: 18px; line-height: 1.15; letter-spacing: -0.02em; margin-top: 2px; }
.feat p { color: var(--fg-3); font-size: 13px; line-height: 1.55; margin: 0; }
.feat code { font-family: var(--font-mono); font-size: 0.92em; color: var(--cyan); }
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }

.shapes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.shape {
  background: var(--bg-1);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 420px;
  transition: background 200ms;
}
.shape:hover { background: var(--bg-2); }
.shape-wide { grid-column: span 4; }
.shape-head { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 11px; }
.shape-i { color: var(--accent); font-size: 12px; }
.shape-d { color: var(--fg-3); font-size: 14px; line-height: 1.55; }
.shape-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px;
  font-size: 11px; color: var(--fg-2);
}
.shape-list li { display: flex; justify-content: space-between; padding: 4px 0; border-top: 1px dashed var(--line-soft); }
.shape-list li span { color: var(--accent); }

/* shape mocks → skeletons: content-less placeholders whose LAYOUT alone reads as the shape (loading-state aesthetic). The .shape-cap label above each one names it. */
.shape-mock {
  border: 1px solid var(--line-soft);
  background: var(--bg);
  padding: 14px;
  min-height: 144px;
  position: relative;
  overflow: hidden;
}
/* one slow shimmer sweep per card */
.shape-mock::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 28%, color-mix(in oklch, var(--fg) 7%, transparent) 50%, transparent 72%);
  transform: translateX(-100%);
  animation: sk-shimmer 2.4s ease-in-out infinite;
}
@keyframes sk-shimmer { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .shape-mock::after { animation: none; } }

/* skeleton primitives */
.sk { display: block; background: var(--bg-2); border-radius: 4px; }
/* 2026-06-02: skeleton highlight is NEUTRAL, not colored. We tried the brand mint at 42% (murky
   olive) and 72% (neon lime) — at skeleton-block size on near-black the accent always reads as a
   random neon patch: off-brand and attention-grabbing for a scrolling reader. So the "highlighted"
   skeleton element now signals via BRIGHTNESS, not hue — a light neutral, clearly above the .sk base.
   Mint stays reserved for things that are actually signal/clickable (CTAs, the shape-i labels). */
.sk.accent { background: color-mix(in oklch, var(--fg) 58%, var(--bg-2)); }
.sk.dim { background: color-mix(in oklch, var(--bg-2) 65%, transparent); }
.sk-bar { height: 8px; }
.w70{width:70%}.w65{width:65%}.w60{width:60%}.w55{width:55%}.w50{width:50%}.w45{width:45%}.w40{width:40%}.w35{width:35%}.w30{width:30%}

/* directory → listing rows: thumbnail + two lines + a pill (one accent = featured) */
.mock-directory { display: flex; flex-direction: column; gap: 13px; }
.mock-directory .sk-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; }
.sk-thumb { width: 30px; height: 30px; border-radius: 5px; }
.sk-lines { display: flex; flex-direction: column; gap: 6px; }
.sk-pill { width: 34px; height: 12px; border-radius: 6px; }

/* research db → table: header + rows × columns; bottom rows fade behind the paywall, match column accented */
.mock-db { display: flex; flex-direction: column; gap: 9px; }
.mock-db .sk-query { height: 16px; margin-bottom: 1px; }
.mock-db .sk-trow { display: grid; grid-template-columns: 1fr 44px 40px; gap: 10px; align-items: center; }
.mock-db .sk-trow .sk { height: 8px; }
.mock-db .sk-thead .sk { height: 6px; opacity: 0.55; }
.mock-db .sk-trow.fade { opacity: 0.42; }
.mock-db .sk-trow.fade2 { opacity: 0.2; }

/* api → response lines, mono rhythm; accent verb chips on request lines */
.mock-api { display: flex; flex-direction: column; gap: 12px; }
.mock-api .sk-line { display: flex; align-items: center; gap: 8px; }
.mock-api .sk-line.indent { padding-left: 22px; }
.sk-verb { flex: none; width: 26px; height: 12px; border-radius: 3px; }

/* feed → vertical timeline: dot rail + timestamp stub + bar (newest dot accent) */
.mock-feed { display: flex; flex-direction: column; gap: 15px; }
.mock-feed .sk-fi { display: grid; grid-template-columns: 12px 1fr; gap: 12px; align-items: start; }
.sk-rail { display: flex; justify-content: center; padding-top: 1px; }
.sk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-2); }
/* 2026-06-02: feed "newest" dot neutralized too (was mint + glow) so all four skeleton mocks are
   uniformly monochrome — brightest neutral so it still reads as the newest item, just not green. */
.sk-dot.accent { background: color-mix(in oklch, var(--fg) 72%, var(--bg-2)); }
.sk-fi-body { display: flex; flex-direction: column; gap: 6px; }
.sk-stamp { width: 26px; height: 6px; }

/* shape earn-line + visual-type caption (replaced the old 2-col feature list) */
.shape-earn { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.01em; }
.shape-earn b { color: var(--fg-2); font-weight: 500; }
.shape-cap { margin-top: auto; padding-top: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-4); }
.shape-mock { margin-top: 10px; } /* override the earlier `margin-top:auto`; .shape-cap now holds the flex spacer so the caption sits with its visual */

/* research-db mock: Crunchbase-style table (column header + subscription gate) */
.mock-db .db-head { display: grid; grid-template-columns: 1fr auto 50px; gap: 8px; padding: 6px 4px; border-bottom: 1px solid var(--line); color: var(--fg-4); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.mock-db .db-lock { display: flex; align-items: center; gap: 8px; padding: 9px 4px 2px; color: var(--fg-3); border-top: 1px dashed var(--line-soft); margin-top: 4px; }

/* PROBLEM / AGITATE (bleed report) — ported from the Claude Design handoff (2026-05-31).
   Six problem cards, one per axis; red diagnostic topic labels; warn-variant eyebrow.
   Replaced the prior `.ledger*` build-status checklist (now unused). */
.eyebrow[data-variant="warn"] { color: var(--fg-3); }
.eyebrow[data-variant="warn"]::before { background: var(--red); box-shadow: 0 0 12px oklch(0.704 0.191 22.216 / 0.4); }

.agitate-head {
  padding: 0 0 52px; /* 2026-06-01: top 8px → 0; label → content gap now comes solely from .section-label's margin-bottom. 2026-06-02: 40→52 for more head→grid air. */
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
}
.agitate-head .lede { max-width: 46ch; }

/* problem grid */
.bleed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.bleed-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.bleed-card {
  background: var(--bg-1);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: background 200ms;
  position: relative;
}
.bleed-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
  opacity: 0;
  transition: opacity 200ms;
}
.bleed-card:hover { background: var(--bg-2); }
.bleed-card:hover::before { opacity: 0.7; }
.bleed-topic { font-family: var(--font-mono); font-size: 11px; color: var(--red); letter-spacing: 0.18em; text-transform: uppercase; }
.bleed-t { font-size: 19px; line-height: 1.12; letter-spacing: -0.025em; }
.bleed-d { color: var(--fg-3); font-size: 13px; line-height: 1.6; flex: 1; }

@media (max-width: 980px) {
  .agitate-head { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .bleed-grid, .bleed-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .bleed-grid, .bleed-grid.cols-3 { grid-template-columns: 1fr; }
  .bleed-card { min-height: 0; }
}

/* ============================================================
   PROBLEM — VARIANT B (the invoice) · 2026-06-02
   Ported from the Claude Design "Agitate Creative Concepts" bundle (Concept F).
   Rendered below the .bleed-grid (#problem) as a side-by-side comparison reference
   (#problem-invoice). When a winner is picked, delete the loser — this block + the
   #problem-invoice markup, OR the .bleed-* block + #problem markup above. */
/* centered heading above the receipt + explainer caption below it (2026-06-02 layout pass) */
.inv-head { text-align: center; max-width: 26ch; margin: 4px auto 0; }
.inv-sub { text-align: center; max-width: 58ch; margin: 34px auto 0; color: var(--fg-3); }
.inv {
  max-width: 820px; margin: 40px auto 0;
  background: var(--bg-1);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  position: relative;
}
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 30px 22px; border-bottom: 1px dashed var(--line); }
.inv-top .lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); }
.inv-top h3 { font-family: var(--font-sans); font-size: 24px; letter-spacing: -0.03em; margin-top: 8px; font-weight: 500; }
.inv-top .meta { font-size: 11px; color: var(--fg-4); margin-top: 10px; line-height: 1.7; }
.inv-stamp {
  border: 1.5px solid var(--red); color: var(--red);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 12px; transform: rotate(4deg);
  align-self: flex-start; white-space: nowrap;
}
.inv-sec { padding: 6px 30px; }
.inv-sec-h { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); padding: 16px 0 6px; }
.inv-line { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.inv-line .desc { color: var(--fg-2); font-size: 13px; line-height: 1.5; }
.inv-line .desc small { display: block; color: var(--fg-4); font-size: 11px; margin-top: 3px; letter-spacing: 0; }
.inv-line .qty { color: var(--fg-4); font-size: 11px; text-align: right; white-space: nowrap; }
.inv-line .amt { color: var(--fg); font-size: 13px; text-align: right; white-space: nowrap; min-width: 92px; }
.inv-total { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: baseline; margin: 6px 30px 0; padding: 20px 0 6px; border-top: 1.5px solid var(--line); }
.inv-total .t-l { font-family: var(--font-sans); font-size: 18px; letter-spacing: -0.02em; }
.inv-total .t-r { font-size: 22px; color: var(--red); }
.inv-earned { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: baseline; margin: 0 30px; padding: 12px 0 6px; }
.inv-earned .e-l { font-size: 12px; color: var(--fg-3); letter-spacing: 0.04em; }
.inv-earned .e-r { font-size: 20px; color: var(--fg-4); }
.inv-reprint { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: baseline; margin: 0 30px; padding: 0 0 22px; }
.inv-reprint .rp-l { font-size: 13px; color: var(--red); letter-spacing: 0.01em; }
.inv-reprint .rp-r { font-family: var(--font-mono); font-size: 12px; color: var(--red); white-space: nowrap; }
.inv-foot {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 20px 30px; border-top: 1px dashed var(--line);
  background: color-mix(in oklch, var(--accent) 7%, var(--bg-1));
}
.inv-foot .if-i { color: var(--accent); font-size: 16px; }
.inv-foot .if-t { font-family: var(--font-sans); font-size: 15px; color: var(--fg-2); flex: 1; min-width: 16ch; }
.inv-foot .if-t b { color: var(--fg); font-weight: 600; }
.inv-foot a { margin-left: auto; color: var(--accent); font-size: 13px; text-decoration: none; white-space: nowrap; }
.inv-foot a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .inv-stamp { display: none; }
  .inv-line { grid-template-columns: 1fr auto; }
  .inv-line .amt { display: none; }
}

/* ============================================================
   PROBLEM — VARIANT C (the cascade) · 2026-06-02
   Ported from the Claude Design bundle (Concept I). Comparison reference (#problem-cascade);
   remove with its markup once a winner is picked. Reuses .inv-head / .inv-sub for the centered head. */
.casc { max-width: 720px; margin: 48px auto 0; }
.casc-step {
  border: 1px solid var(--line); background: var(--bg-1);
  padding: 24px 26px; display: flex; align-items: baseline; gap: 18px;
  position: relative;
}
.casc-step .c-n { font-family: var(--font-mono); font-size: 11px; color: var(--red); letter-spacing: 0.1em; min-width: 26px; }
.casc-step .c-t { font-size: 16px; line-height: 1.45; letter-spacing: -0.015em; color: var(--fg); }
.casc-step .c-t b { color: var(--red); font-weight: 500; }
.casc-link {
  display: flex; align-items: center; gap: 10px;
  padding: 22px 0 22px 30px; font-family: var(--font-mono);
  font-size: 11px; color: var(--fg-4); letter-spacing: 0.04em; text-transform: uppercase;
}
.casc-link::before { content: "↓"; color: var(--red); font-size: 13px; }
.casc-end {
  border: 1px solid var(--red);
  background: color-mix(in oklch, var(--red) 9%, var(--bg-1));
  padding: 32px 34px; margin-top: 30px;
}
.casc-end .ce-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.casc-end .ce-t { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.05; letter-spacing: -0.03em; margin-top: 12px; }
/* 2026-06-02: the green pivot BOX was morphed into this calm under-text — cuts the neon so the
   cascade's only color moments are the red failure climax (.casc-end) and one accent link out. */
.casc-close { max-width: 720px; margin: 38px auto 0; }
.casc-close p { font-size: 16px; line-height: 1.65; color: var(--fg-3); margin: 0 0 16px; letter-spacing: -0.01em; }
.casc-close p:last-child { margin-bottom: 0; }
.casc-close b { color: var(--fg); font-weight: 600; }
.casc-close a { color: var(--accent); font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.casc-close a:hover { text-decoration: underline; }

/* asset mock */
.mock-assets { padding: 14px; }
.asset-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.asset { display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: 10px; color: var(--fg-3); }
.asset-tile {
  width: 100%; aspect-ratio: 1;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--fg-4);
  position: relative;
}
.asset-tile.t1 { background: repeating-linear-gradient(45deg, var(--accent) 0 4px, var(--bg-2) 4px 12px); }
.asset-tile.t2 { background: radial-gradient(circle at 50% 60%, var(--accent) 30%, var(--bg-2) 32%); }
.asset-tile.t3 { background: linear-gradient(135deg, var(--accent) 0 50%, var(--bg-2) 50%); }
.asset-tile.t4 { background: repeating-linear-gradient(0deg, var(--cyan) 0 2px, var(--bg-2) 2px 10px); }
.asset-tile.t5 { background: conic-gradient(from 45deg, var(--accent), var(--bg-2), var(--cyan), var(--bg-2)); }
.asset-tile.t6 { background: linear-gradient(45deg, var(--magenta) 0 33%, var(--bg-2) 33% 66%, var(--accent) 66%); }
.asset-tile.locked { color: var(--accent); border-style: dashed; background: transparent; }

/* DEMO */
.demo-steps { list-style: none; padding: 0; margin: 36px 0 0 0; display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--line-soft); }
.demo-steps li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 16px 18px; background: var(--bg-1); align-items: center; cursor: pointer; transition: all 160ms; border-bottom: 1px solid var(--line-soft); }
.demo-steps li:last-child { border-bottom: 0; }
.demo-steps li:hover { background: var(--bg-2); }
.demo-steps li.active { background: var(--bg-2); border-left: 3px solid var(--accent); padding-left: 15px; }
.demo-steps li.active span { color: var(--accent); }
.demo-steps span { font-size: 13px; color: var(--fg-4); }
.demo-sub { color: var(--fg-3); font-size: 12px; font-family: var(--font-mono); margin-top: 4px; }
.demo-steps b { font-size: 16px; font-weight: 500; }

.demo-canvas { background: var(--bg-1); border: 1px solid var(--line); min-height: 480px; display: flex; flex-direction: column; }
.demo-chrome { padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); display: flex; justify-content: space-between; align-items: center; }
.demo-body { flex: 1; padding: 28px; }
.demo-foot { border-top: 1px solid var(--line); padding: 10px 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.demo-progress { height: 4px; background: var(--line-soft); }
.demo-progress span { display: block; height: 100%; background: var(--accent); width: 25%; transition: width 400ms; box-shadow: 0 0 10px var(--accent-glow); }

/* demo panels */
.panel { display: flex; flex-direction: column; gap: 18px; animation: fadein 300ms; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-h { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.14em; text-transform: uppercase; }
.panel-t { font-size: 24px; letter-spacing: -0.02em; }
.dropzone { border: 1.5px dashed var(--line); padding: 32px; text-align: center; font-family: var(--font-mono); font-size: 13px; color: var(--fg-3); background: var(--bg); }
.dropzone .big { font-size: 22px; color: var(--fg); letter-spacing: -0.02em; display: block; margin-bottom: 6px; }
.dropzone .csv { color: var(--accent); }

.schema-grid { border: 1px solid var(--line-soft); }
.schema-row { display: grid; grid-template-columns: 28px 1fr 120px 70px; gap: 14px; padding: 10px 14px; font-family: var(--font-mono); font-size: 12px; align-items: center; border-bottom: 1px solid var(--line-soft); }
.schema-row:last-child { border-bottom: 0; }
.schema-row .k { color: var(--fg-4); }
.schema-row .n { color: var(--fg); }
.schema-row .t { color: var(--cyan); }
.schema-row .s { color: var(--accent); text-align: right; font-size: 10px; }

.shape-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.shape-pick { padding: 18px 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; text-align: left; transition: all 160ms; display: flex; flex-direction: column; gap: 6px; }
.shape-pick:hover, .shape-pick.on { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 6%, var(--bg)); }
.shape-pick .mono { font-size: 10px; color: var(--fg-4); }
.shape-pick b { font-size: 14px; font-weight: 500; }
.shape-pick .price { font-size: 10px; color: var(--accent); font-family: var(--font-mono); }

.earn-row { display: grid; grid-template-columns: 28px 1fr 110px 28px; gap: 14px; padding: 14px; align-items: center; border: 1px solid var(--line-soft); font-family: var(--font-mono); background: var(--bg); }
.earn-row + .earn-row { margin-top: 8px; }
.earn-row b { font-family: var(--font-sans); font-size: 14px; font-weight: 500; }
.earn-row .price { color: var(--accent); font-size: 13px; text-align: right; }
.earn-row.on .dot-sq { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.dot-sq { width: 14px; height: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.switch { width: 28px; height: 16px; background: var(--bg-2); border: 1px solid var(--line); position: relative; justify-self: end; }
.switch::after { content: ""; position: absolute; top: 1px; left: 1px; width: 12px; height: 12px; background: var(--fg-4); transition: all 160ms; }
.earn-row.on .switch { background: color-mix(in oklch, var(--accent) 20%, var(--bg-2)); border-color: var(--accent); }
.earn-row.on .switch::after { left: 13px; background: var(--accent); }

.operate-queue { display: flex; flex-direction: column; gap: 8px; }
.op-item { display: grid; grid-template-columns: 24px 1fr auto auto; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 12px; background: var(--bg); align-items: center; }
.op-item .conf { color: var(--accent); }
.op-item .approve { border: 1px solid var(--line); background: var(--bg-1); padding: 4px 10px; font-size: 10px; color: var(--fg-2); cursor: pointer; }
.op-item .approve:hover { border-color: var(--accent); color: var(--accent); }
.op-item.done { opacity: 0.55; }
.op-item.done .approve { color: var(--accent); border-color: var(--accent); }

/* ARCHETYPES */
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.arch { background: var(--bg-1); padding: 28px; display: flex; flex-direction: column; min-height: 340px; transition: background 200ms; }
.arch:hover { background: var(--bg-2); }
.arch-head { flex: 1; }
.arch-i { font-size: 12px; color: var(--fg-4); }
.arch-d { color: var(--fg-3); font-size: 14px; line-height: 1.5; margin-top: 10px; max-width: 36ch; }
.arch-table { margin-top: 22px; border-top: 1px solid var(--line-soft); }
.arch-row { display: grid; grid-template-columns: 80px 1fr; padding: 10px 0; border-bottom: 1px dashed var(--line-soft); font-size: 12px; color: var(--fg-2); }
.arch-row:last-child { border-bottom: 0; }
.arch-row span:first-child { color: var(--fg-4); }
.arch-row.live span:last-child { color: var(--accent); }
.arch-star { border-top: 2px solid var(--accent); }

/* MONEY */
.money-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.money-card { background: var(--bg-1); padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: background 200ms; }
.money-card:hover { background: var(--bg-2); }
.mony-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); }
.money-t { font-size: 22px; letter-spacing: -0.02em; margin-top: 6px; }
.money-p { font-size: 28px; color: var(--accent); letter-spacing: -0.02em; }
.money-p span { color: var(--fg-4); font-size: 14px; }
.money-d { color: var(--fg-3); font-size: 13px; line-height: 1.5; max-width: 44ch; }
.money-ex { font-size: 11px; margin-top: 4px; }

/* CLI TABS */
.cli-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line-soft); }
.cli-tab {
  font-family: var(--font-mono); font-size: 12px;
  padding: 12px 20px; background: transparent; border: 0; color: var(--fg-3);
  border-bottom: 2px solid transparent;
  cursor: pointer; letter-spacing: 0.02em;
  transition: all 160ms;
}
.cli-tab:hover { color: var(--fg); }
.cli-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.cli-frames { margin-top: 20px; }
.cli-frame { display: none; }
.cli-frame.active { display: block; }

/* ARCH DIAGRAM */
.arch-diagram { display: flex; flex-direction: column; gap: 16px; }
.lane { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.node {
  padding: 22px;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
  display: flex; flex-direction: column; gap: 6px;
  transition: all 200ms;
}
.node:hover { border-color: var(--fg-4); background: var(--bg-2); }
.node-l { font-size: 10px; color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase; }
.node b { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.node-s { font-size: 11px; color: var(--fg-3); }
.lane-mid .core {
  padding: 26px;
  border: 1px solid var(--accent);
  background: color-mix(in oklch, var(--accent) 6%, var(--bg-1));
  display: flex; flex-direction: column; gap: 18px;
  grid-column: 1 / -1;
}
.core-h { font-size: 11px; color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase; }
.core-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.core-grid span { padding: 14px 10px; border: 1px solid var(--line-soft); font-size: 12px; color: var(--fg-2); background: var(--bg); text-align: center; }
.core-f { font-size: 11px; color: var(--fg-3); letter-spacing: 0.04em; }
.lane-mid { grid-template-columns: 1fr; }
.lane-arrows { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; color: var(--fg-4); font-family: var(--font-mono); font-size: 14px; }

/* ICP */
.icp-quote { margin-top: 32px; padding: 24px; border-left: 2px solid var(--accent); background: color-mix(in oklch, var(--accent) 4%, transparent); }
.icp-list { margin-top: 32px; display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--line-soft); }
.icp-row { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 18px; background: var(--bg-1); border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--fg-2); }
.icp-row:last-child { border-bottom: 0; }
.icp-row b { color: var(--fg); font-weight: 500; margin-right: 6px; }
.icp-panel { padding: 28px; border: 1px solid var(--line-soft); background: var(--bg-1); }
.icp-no { list-style: none; padding: 0; margin: 16px 0 0 0; display: flex; flex-direction: column; gap: 10px; }
.icp-no li { padding: 12px 14px; border: 1px solid var(--line-soft); font-size: 13px; color: var(--fg); }
.icp-no li span { color: var(--fg-3); font-family: var(--font-mono); font-size: 12px; display: block; margin-top: 4px; }
.icp-play { list-style: none; padding: 0; margin: 16px 0 0 0; display: flex; flex-direction: column; gap: 10px; }
.icp-play li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 0; font-size: 12px; color: var(--fg-2); border-bottom: 1px dashed var(--line-soft); }
.icp-play li:last-child { border-bottom: 0; }
.icp-play li span:first-child { color: var(--fg-4); }
.icp-play .or { color: var(--accent); margin: 0 4px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--line-soft); }
.faq { background: var(--bg-1); border-bottom: 1px solid var(--line-soft); transition: background 160ms; }
.faq:last-child { border-bottom: 0; }
.faq[open] { background: var(--bg-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 40px 1fr 28px;
  gap: 14px;
  align-items: center;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--fg-4); font-size: 20px; text-align: right; }
.faq[open] summary::after { content: "−"; color: var(--accent); }
.faq summary span { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); }
.faq p { padding: 0 24px 24px 78px; color: var(--fg-3); font-size: 14px; line-height: 1.6; max-width: 70ch; margin: 0; }
.faq p .mono { color: var(--accent); }

/* CTA */
/* 2026-06-01: .cta border-top removed — the CTA's divider now comes from a .section-label added
   to its markup, like every other section (was a full-bleed border + a centered .eyebrow w/ dot). */
.cta-form { margin: 40px auto 0; display: flex; gap: 10px; max-width: 500px; justify-content: center; }
.cta-form input {
  flex: 1;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 13px;
  outline: none;
  transition: border-color 160ms;
}
.cta-form input:focus { border-color: var(--accent); box-shadow: 0 0 30px var(--accent-glow); }
.cta-ok { opacity: 0; transition: opacity 200ms; margin-top: 14px; color: var(--accent); font-size: 12px; }
.cta-ok.on { opacity: 1; }

/* FOOTER */
.footer .f-h { font-size: 11px; color: var(--fg-3); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.footer .f-l { display: block; padding: 6px 0; color: var(--fg-2); font-size: 13px; transition: color 160ms; }
.footer .f-l:hover { color: var(--accent); }

/* DEMO VIDEO (Section 02) */
.video-wrap {
  position: relative;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  /* box-shadow: 0 30px 80px -10px var(--frame-shadow); */
}
.video-el {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--bg-1);
  object-fit: cover;
}
.video-wrap.playing .video-poster { display: none; }
.video-wrap.playing .video-el { display: block; }
/* 2026-05-30: inter-clip transition — dwell on the result frame (HOLD in app.js), then fade the clip down through the card surface (.video-wrap bg = var(--bg-2), not black) and back up. Duration must match FADE_MS in app.js (250ms). */
.video-el { transition: opacity .25s ease; }
.video-wrap.fading .video-el { opacity: 0; }
.video-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  cursor: pointer;
}
.video-poster .vp-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.video-poster .vp-body {
  position: relative;
  padding: 48px;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-2);
  display: flex; flex-direction: column; gap: 4px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, var(--accent-glow), transparent 70%),
    var(--bg-1);
}
.video-poster .vp-body::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.video-poster .vp-line { position: relative; }
.video-poster .vp-line .who { color: var(--fg-4); margin-right: 14px; }
.video-poster .vp-line.you .who { color: var(--accent); }
.video-poster .vp-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  /* box-shadow: 0 0 60px var(--accent-glow), 0 20px 60px oklch(0 0 0 / 0.4); */
  transition: transform 200ms, box-shadow 200ms;
}
.video-poster:hover .vp-play { transform: translate(-50%, -50%) scale(1.06); }
.video-poster .vp-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}
.chapters {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2026-06-04: 4→5, one row per loop stage (build·explore·refine·pay·operate) */
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.chapter {
  position: relative;
  background: var(--bg-1);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer;
  transition: background 160ms;
}
.chapter:hover { background: var(--bg-2); }
.chapter::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: calc(var(--progress, 0) * 1%);
  background: var(--accent);
  pointer-events: none; /* fill + retract are both driven per-frame in JS */
}
.chapter.active {
  background: var(--bg-2);
  box-shadow: inset 0 2px 0 var(--line-soft); /* faint full-width track behind the fill */
}
.chapter.active .t { color: var(--accent); }
.chapter .ts { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.04em; }
.chapter .t { font-size: 14px; letter-spacing: -0.01em; color: var(--fg); }
.chapter .d { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }

/* CHANNELS callout (under Shapes) */
/* CHANNEL LEGEND — folded into the operator playbook (§04); keys the channel chips on the play-cards above */
.play-legend {
  margin-top: 28px;
  padding: 28px 32px;
  border: 1px solid var(--line-soft);
  background: color-mix(in oklch, var(--bg-1) 60%, transparent);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: center;
}
.play-legend .legend-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.play-legend h4 {
  margin: 12px 0 0;
  font-size: 20px;
  letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 20ch;
}
.play-legend p { color: var(--fg-3); margin: 10px 0 0; font-size: 13px; line-height: 1.5; }
.channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.channel-row {
  background: var(--bg);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 110px 1fr 70px;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
}
.channel-row b { color: var(--fg); font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.channel-row .desc { color: var(--fg-3); }
.channel-row .status { color: var(--fg-2); font-size: 10px; text-align: right; letter-spacing: 0.04em; font-weight: 600; }
.channel-row.v2 .status { color: var(--fg-4); }

/* PLAYBOOK */
.playbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.play-card {
  background: var(--bg-1);
  padding: 28px;
  display: flex; flex-direction: column;
  min-height: 360px;
  transition: background 200ms;
  position: relative;
}
.play-card:hover { background: var(--bg-2); }
.play-card .play-n { font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); }
.play-card h3 { font-size: 28px; letter-spacing: -0.025em; margin-top: 14px; }
.play-card .play-meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.play-card p { color: var(--fg-2); font-size: 14px; line-height: 1.55; margin: 18px 0 0; }
.play-card .play-channels {
  margin-top: auto;
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.play-card .play-channels::before {
  content: "channels"; display: block; width: 100%;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-4); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 8px;
}
.pchip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  color: var(--fg-2);
  background: var(--bg);
}
.pchip.on { color: var(--fg); border-color: var(--line); background: var(--bg-2); }
.pchip.opt { color: var(--fg-4); border-style: dashed; }
.play-close {
  margin-top: 40px;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--fg);
  max-width: 40ch;
}
.play-close b { color: var(--accent); font-weight: 500; }

/* GAP / COMPARISON */
.gap-table {
  margin-top: 32px;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
  overflow-x: auto;
}
.gap-table table {
  width: 100%;
  min-width: 720px;            /* stays readable; scrolls inside .gap-table on phones */
  table-layout: fixed;         /* even columns — don't size to content */
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}
/* column widths come from the <colgroup> in the markup (first col 26%, rest equal) */
.gap-table th, .gap-table td {
  padding: 16px 18px;
  height: 58px;                /* uniform row height — the boxed ✓ (.ck, 22px) otherwise
                                  makes data cells taller than the feature cell, so the
                                  per-column dividers drifted ~5px out of line */
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  vertical-align: middle;
}
.gap-table th:last-child, .gap-table td:last-child { border-right: 0; }
.gap-table tr:last-child td { border-bottom: 0; }
.gap-table thead th {
  background: var(--bg-2);
  color: var(--fg-3);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.gap-table thead th.feat { text-align: left; }
.gap-table thead th.us {
  color: var(--fg);
  background: var(--bg-2);
  font-weight: 700;
}
.gap-table td.feat {
  text-align: left;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: -0.01em;
}
.gap-table td.us {
  background: var(--bg-2);
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
}
.gap-table td.no { color: var(--fg-4); }
.gap-table td.partial { color: var(--fg-3); font-size: 11px; }
.gap-table td.diy { color: var(--fg-3); font-size: 11px; }
.gap-table td.yes { color: var(--fg); font-size: 14px; font-weight: 600; }
.gap-table tr.honest td.us { color: var(--fg-4); }
/* 2026-06-02: "Cost to run" summary row — a 2px top divider sets the bottom-line off from the feature rows above. */
.gap-table tr.cost td { border-top: 2px solid var(--line); }

/* 2026-05-12: ShipMore column ✓ marks get Section 6-style boxed checkmark treatment.
 * Single visual focal point in the matrix — every other cell is neutral text. */
.gap-table td.us .ck {
  display: inline-flex;
  width: 22px; height: 22px;
  border: 1px solid var(--accent);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.gap-close {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 2px solid var(--fg-3);
  background: var(--bg-2);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 88ch;
}
/* 2026-05-12: gap-close border + background demoted from accent tints to neutral.
 * The callout shape is preserved (emphasized closing line) but no longer tinted green. */

/* INCLUDED */
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 36px;
}
.includes {
  list-style: none;
  padding: 0; margin: 0;
  border: 1px solid var(--line-soft);
}
.includes li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.includes li:last-child { border-bottom: 0; }
.includes li .ck {
  width: 22px; height: 22px;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
}
.includes li b { display: block; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.includes li p { color: var(--fg-3); margin: 4px 0 0; font-size: 13px; line-height: 1.5; }
.framework-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.framework-list li {
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
}
.framework-list li b { display: block; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.framework-list li p { color: var(--fg-3); margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
.honesty-stamp {
  margin-top: 36px;
  padding: 22px 28px;
  border: 1px solid var(--accent);
  background: color-mix(in oklch, var(--accent) 6%, var(--bg-1));
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg);
  letter-spacing: 0;
  text-align: center;
}
.framework-intro {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}
.framework-intro h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  max-width: 30ch;
}
.framework-intro p {
  color: var(--fg-2);
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  max-width: 60ch;
}
.framework-close {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

/* PRICING */
/* ============================================================
   PRICING — Concept B "split, hierarchy fixed" (2026-06-02, from the pricing
   section study). Replaces the old .pricing-card + .includes layout, where four
   mint ✓ boxes sat next to the mint CTA and a scrolling eye scattered across the
   competing greens. Fix: the LEFT half owns the price + the only color (the CTA);
   the RIGHT "what's in the box" half drops the checks and recedes into quiet text.
   (Old .pricing-card/.pc-*/.pricing-aside rules removed — git has them. .includes
   above is now unused by the pricing section but left intact; harmless.)
   ============================================================ */

/* shared price atoms */
.pp-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); }
.pp-sub { font-family: var(--font-sans); font-size: 21px; letter-spacing: -0.025em; color: var(--fg); font-weight: 500; }
.pp-price { display: inline-flex; align-items: baseline; gap: 14px; }
.pp-now { font-family: var(--font-sans); font-weight: 500; font-size: clamp(56px, 7vw, 84px); line-height: 0.9; letter-spacing: -0.045em; color: var(--fg); }
.pp-was { font-family: var(--font-mono); font-size: 22px; color: var(--fg-4); position: relative; }
.pp-was::after { content: ""; position: absolute; left: -3%; right: -3%; top: 52%; height: 1.5px; background: var(--fg-4); transform: rotate(-8deg); }
.pp-cur { font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); letter-spacing: 0.1em; align-self: flex-start; margin-top: 8px; }
.pp-fine { font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); letter-spacing: 0.02em; }
.pp-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 18px 22px;
  background: var(--accent); color: var(--accent-fg);
  border: 1px solid var(--accent); font-family: var(--font-mono);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; cursor: pointer;
  transition: background 160ms ease, box-shadow 200ms ease, transform 120ms ease;
}
.pp-cta:hover { background: var(--accent-dim); border-color: var(--accent-dim); box-shadow: 0 0 48px var(--accent-glow); }
.pp-cta:active { transform: translateY(1px); }
.pp-cta .arr { transition: transform 200ms ease; }
.pp-cta:hover .arr { transform: translateX(4px); }

/* honest scarcity meter */
.meter { display: flex; flex-direction: column; gap: 9px; }
.meter-track { height: 6px; background: var(--bg-3); border: 1px solid var(--line-soft); overflow: hidden; }
.meter-fill { height: 100%; background: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
.meter-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em; }
.meter-row .left { color: var(--fg-3); }
.meter-row .left b { color: var(--fg); font-weight: 500; }
.meter-row .right { color: var(--fg-4); }
.meter-row .right s { color: var(--fg-4); }

/* B · split — left leads (price + the only color), right supports (quiet box list) */
.ps {
  margin-top: 36px;
  display: grid; grid-template-columns: 1.15fr 1px 1fr; gap: 0;
  border: 1px solid var(--line); background: var(--bg-1);
}
.ps-l { padding: 44px 46px; display: flex; flex-direction: column; }
.ps-divider { background: var(--line-soft); }
.ps-r { padding: 44px 40px; background: color-mix(in oklch, var(--bg) 35%, var(--bg-1)); }
.ps .pp-sub { margin-top: 14px; }
.ps .pp-price { margin-top: 22px; }
.ps .pp-fine { margin-top: 14px; }
.ps-cta-wrap { margin-top: auto; padding-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.ps-r-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 4px; }
.ps-row { padding: 15px 0; border-top: 1px solid var(--line-soft); }
.ps-row:first-of-type { border-top: 0; }
.ps-row .r-t { font-size: 14px; color: var(--fg-2); letter-spacing: -0.005em; line-height: 1.4; }
.ps-row .r-d { font-size: 12px; color: var(--fg-4); line-height: 1.45; margin-top: 4px; }
.pricing-note {
  margin: 40px auto 0;
  max-width: 64ch;
  text-align: center;
  color: var(--fg-3);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* HERO terminal dialog */
.dialog-line { display: block; padding: 2px 0; }
.dialog-line .actor {
  display: inline-block;
  font-family: var(--font-mono);
  width: 72px;
  color: var(--fg-4);
  letter-spacing: 0.04em;
}
.dialog-line.you .actor { color: var(--fg); }
.dialog-line.agent .actor { color: var(--fg-2); }
.dialog-line .indent { display: inline-block; width: 72px; }
.dialog-line .gate {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border: 1px dashed var(--line);
  color: var(--fg-3);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/*
 * 2026-05-12: Hero terminal accent demotion.
 * c-accent / c-cyan / c-amber stay accent ELSEWHERE on the page (Loop section's
 * "cli/mcp/admin" highlights, shape mock relevance scores) — but inside the
 * hero terminal they go to main text color per design call.
 * Uses var(--fg) so both dark and light themes inherit correctly.
 */
.terminal .c-accent,
.terminal .c-cyan,
.terminal .c-amber { color: var(--fg); }

/* hero terminal — proposed-schema fold: the agent's schema proposal, folded into its response (indented to the 72px agent-response width), fading out toward the unseen fields. Neutral only (no green) per the hero accent-discipline. */
.schema-fold {
  margin: 6px 0 4px 72px; /* 72px = the .actor / .indent width → rows align under the agent text */
  border-left: 1px solid var(--line);
  padding: 4px 0 12px 14px;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
.tp-srow { display: grid; grid-template-columns: 1fr 56px 14px; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: 11.5px; padding: 6px 0; border-bottom: 1px dashed var(--line-soft); }
.tp-srow .f { color: var(--fg-2); }
.tp-srow .ty { color: var(--fg-4); }
.tp-srow .st { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--fg-4); justify-self: start; }
.tp-srow .st.chg { background: color-mix(in oklch, var(--fg) 55%, transparent); border-color: transparent; }
.tp-shead { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.tp-shead span { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-4); }

/* Pricing scarcity inline (hero) */
.hero-scarcity {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-scarcity s { color: var(--fg-4); }
.hero-scarcity .slash { color: var(--fg-4); }
.hero-scarcity .left { color: var(--fg); font-weight: 600; }

/* Final CTA pricing */
.final-cta-price {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.final-cta-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
}
.final-cta-meta s { color: var(--fg-4); margin-right: 12px; }
.final-cta-meta .left { color: var(--fg); font-weight: 600; margin-left: 12px; }

/* Responsive hardening */
@media (max-width: 980px) {
  .hero > div > div { grid-template-columns: 1fr !important; }
  .shapes-grid { grid-template-columns: 1fr 1fr; }
  .shape-wide { grid-column: span 2; }
  .arch-grid { grid-template-columns: 1fr; }
  .money-grid { grid-template-columns: 1fr; }
  .lane, .lane-arrows { grid-template-columns: 1fr !important; }
  .core-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .statbar > div { grid-template-columns: 1fr 1fr !important; }
  .playbook-grid { grid-template-columns: 1fr; }
  .play-legend { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  /* Pricing Concept B: stack the split; drop the vertical rule, add a horizontal one. */
  .ps { grid-template-columns: 1fr; }
  .ps-divider { display: none; }
  .ps-l { border-bottom: 1px solid var(--line); }
  .ps-cta-wrap { margin-top: 28px; }
  .chapters { grid-template-columns: 1fr 1fr; }
  /* 2026-06-04: with 5 cells the last orphans in a 2-col grid — let the loop-closer span the full row. */
  .chapters .chapter:last-child { grid-column: 1 / -1; }
}

/* Phone-width hardening (2026-06-01) — the ≤980 block above only takes the Shapes
   grid to 2 columns; on phones two ~190px cards still overshoot a 375px screen, so
   collapse to a single column (matches .feat-grid / .bleed-grid at small widths). */
@media (max-width: 600px) {
  .shapes-grid { grid-template-columns: 1fr; }
  .shape-wide { grid-column: span 1; }
  .ps-l, .ps-r { padding: 30px 24px; }

  /* Channel legend: the fixed 110px label column + the legend's 32px side padding
     overshoot a ~360px screen by ~8px. Trim the padding, stack the label onto its
     own line, and let the description shrink (minmax(0,1fr)). */
  .play-legend { padding: 22px 18px; }
  .channel-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .channel-row b { grid-column: 1 / -1; }
}
