/* ─────────────────────────────────────────────────────────────────────
   Ostronaut marketing-site — shared styles
   Tokens mirror /mtw + /mtw/revenue-leakage so visitors crossing
   between marketing-site and app.ostronaut.ai see one design system.
   ───────────────────────────────────────────────────────────────────── */

:root {
  /* Color */
  --bg: #08080A;
  --surface: #18181D;
  --surface2: #1F1F26;
  --border: #34343C;
  --text: #E8E6E3;
  --muted: #BCB9B3;
  --dim: #8A8885;
  --amber: #E8A838;
  --amber-hover: #F0B84A;
  --amber-border: rgba(232, 168, 56, 0.30);
  --amber-bg-soft: rgba(232, 168, 56, 0.08);
  --red: #FB7185;
  --teal: #5EEAD4;

  /* Type families */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-deva: "Noto Sans Devanagari", "Instrument Sans", sans-serif;

  /* Type scale — PROPOSED 2026-05-29 v2 (8 sizes, down from 20).
     Goal: kill component-local body variants. Body is body, captions are captions.
     Hero-to-body contrast = 80/18 = 4.4× (matches Apple marketing ratio). */
  --t-micro: 11px;             /* Decorative only: receipt foot, stamps */
  --t-eyebrow: 13px;           /* ALL eyebrows + sub-labels + card-tags. One size. */
  --t-caption: 15px;           /* ALL captions + mono dense lists + code snippets. One size. */
  --t-body-sm: 15px;           /* Alias of caption — kept for any rule that references it */
  --t-body: 18px;              /* ALL prose. No more component-local body sizes. */
  --t-body-lg: 22px;           /* Lede only (hero subtitle). The only tier between H1 and body. */

  /* Tracking */
  --tr-eyebrow: 0.18em;
  --tr-tight: -0.02em;

  /* Layout */
  --w-page: 1080px;
  --w-reading: 760px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img, svg, audio, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body { min-height: 100vh; }

/* ── Layout ── */
.wrap { max-width: var(--w-page); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--w-reading); }

section { padding: 96px 0; }
section + section { padding-top: 64px; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
  section + section { padding-top: 48px; }
}

/* ── Eyebrows ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow--amber { color: var(--amber); }
.eyebrow--live::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 2px;
  box-shadow: 0 0 10px rgba(232, 168, 56, 0.6);
}

/* ── Typography (PROPOSED v2 — flat scale) ── */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text);
}
h3, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
}
.accent { color: var(--amber); }
.lede {
  font-size: var(--t-body-lg);
  color: var(--muted);
  line-height: 1.45;
  max-width: 52ch;
}
.body { font-size: var(--t-body); color: var(--muted); line-height: 1.55; }
.body--text { color: var(--text); }

/* ── Launch banner (top of viewport on launch-day pages) ── */
.launch-banner {
  background: linear-gradient(90deg, rgba(232, 168, 56, 0.12), rgba(232, 168, 56, 0.06) 50%, rgba(232, 168, 56, 0.12));
  border-bottom: 1px solid var(--amber-border);
  position: relative; z-index: 60;
}
.launch-banner .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  padding: 11px 24px;
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
}
.launch-banner .stealth-pill {
  background: var(--amber);
  color: var(--bg);
  padding: 3px 9px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.launch-banner .copy {
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: var(--t-caption);
  font-family: var(--font-body);
}
.launch-banner a.read-link {
  color: var(--amber);
  border-bottom: 1px solid var(--amber-border);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: var(--t-caption);
  font-family: var(--font-body);
}
.launch-banner a.read-link:hover { border-color: var(--amber); }

/* ── Customer testimonial section ── */
.testimonials { padding: 64px 0 0; }
.testimonials-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 32px 28px;
  display: flex; flex-direction: column;
}
.testimonial-card .quote-mark {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  margin-bottom: 4px;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 22px;
}
.testimonial-card .attribution {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.testimonial-card .who {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-body);
  color: var(--text);
}
.testimonial-card .context {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  /* Use longhand top/bottom so .wrap's horizontal `padding: 0 24px` survives.
     Otherwise the shorthand `padding: 18px 0` zeroes out the gutter and at
     viewports narrower than --w-page (1080px) the nav goes edge-to-edge while
     body content still respects the 24px gutter. */
  padding-top: 18px;
  padding-bottom: 18px;
}
/* SVG viewBox was tightened from "0 0 142 48" to "9 15 124 18" so the height value
   is the actual rendered wordmark height. */
.site-header .logo { height: 28px; width: auto; display: block; }
.site-header .nav {
  display: none;
  gap: 26px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
}
.site-header .nav a {
  position: relative;
  padding: 2px 0;
  transition: color 0.15s ease;
}
.site-header .nav a:hover { color: var(--text); }
.site-header .nav a.is-active {
  color: var(--text);
}
.site-header .nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--amber);
}
.site-header .header-cta {
  /* Reset native <button> styles so this class behaves identically on <a> and <button>. */
  background: var(--amber);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  /* Visual */
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--bg);
  font-weight: 600;
  padding: 10px 16px;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background 0.15s ease;
  text-decoration: none;
}
.site-header .header-cta:hover { background: var(--amber-hover); }
.site-header .header-cta:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
@media (min-width: 720px) {
  .site-header .nav { display: flex; }
}

/* ── Buttons / CTAs ── */
.cta {
  /* Reset native <button> styles so this class behaves identically on <a> and <button>. */
  background: var(--amber);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  /* Visual */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bg);
  font-weight: 600;
  padding: 14px 22px;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.cta:hover { background: var(--amber-hover); color: var(--bg); }
.cta:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.cta-ghost {
  /* Reset native <button> styles so this class behaves the same on both
     <a> and <button> elements. */
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: inherit;
  /* Visual */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
  padding: 14px 8px;
  font-size: 15px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.cta-ghost:hover { border-bottom-color: var(--amber); color: var(--text); }
.cta-ghost:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ── Hero (#hero) — 2-column with receipt visual on the right ── */
.hero { padding: 64px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
}
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 36px; }
.hero .cta-row { margin-bottom: 0; }

/* ── Receipt visual (ported from mtw_landing_v1.html) ── */
.receipt-stage {
  position: relative;
  display: flex; justify-content: center; align-items: flex-start;
  perspective: 1400px;
}
.receipt {
  --paper: #F5F1E8;
  --paper-ink: #1A1612;
  --paper-line: #C8BFAE;
  background: var(--paper);
  color: var(--paper-ink);
  width: 100%; max-width: 380px;
  padding: 28px 26px 36px;
  font-family: var(--font-mono);
  font-size: 13px; line-height: 1.6;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.7),
              0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transform: rotate(-2.2deg) translateY(-6px);
  position: relative;
  clip-path: polygon(
    0 8px, 6% 0, 14% 6px, 22% 0, 30% 5px, 40% 0, 48% 6px, 58% 0,
    66% 5px, 74% 0, 84% 6px, 92% 0, 100% 6px,
    100% calc(100% - 6px), 92% 100%, 84% calc(100% - 5px), 74% 100%,
    66% calc(100% - 6px), 58% 100%, 48% calc(100% - 5px), 40% 100%,
    30% calc(100% - 6px), 22% 100%, 14% calc(100% - 5px), 6% 100%,
    0 calc(100% - 6px)
  );
}
.receipt::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,0.015) 2px 3px);
  pointer-events: none;
}
.receipt-head { text-align: center; border-bottom: 1px dashed var(--paper-line); padding-bottom: 14px; margin-bottom: 14px; }
.receipt-head .store { font-weight: 600; font-size: 13px; letter-spacing: 0.10em; text-transform: uppercase; color: #1A1612; }
.receipt-head .meta  { font-size: 11px; color: #5A5248; margin-top: 4px; letter-spacing: 0.06em; }
.receipt .line { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.receipt .line .item { flex: 1; min-width: 0; }
.receipt .line .price { white-space: nowrap; color: #1A1612; }
.receipt .line .qty { color: #5A5248; font-size: 11px; margin-left: 4px; }
.receipt .miss { color: #5A5248; }
.receipt .miss .item { position: relative; display: inline-block; }
.receipt .miss .item::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 50%;
  height: 1.5px; background: #1A1612; opacity: 0.65;
}
.receipt .miss .tag {
  display: inline-block; margin-left: 8px;
  font-size: 10px; letter-spacing: 0.12em; color: #A03A2A;
  text-transform: uppercase; font-weight: 600;
}
.receipt-divider { border-top: 1px dashed var(--paper-line); margin: 14px 0 10px; }
.receipt-totals .line { padding: 2px 0; }
.receipt-totals .subtotal { color: #5A5248; }
.receipt-totals .label { font-weight: 600; }
.receipt-bottom { margin-top: 20px; border-top: 2px solid #1A1612; padding-top: 14px; }
.missed-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #A03A2A; font-weight: 600; margin-bottom: 4px; }
.missed-amount { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; color: #A03A2A; line-height: 1; }
.missed-foot { font-size: 11px; color: #5A5248; margin-top: 8px; letter-spacing: 0.04em; }
.receipt-barcode {
  margin-top: 20px; height: 38px;
  background: repeating-linear-gradient(
    90deg, #1A1612 0 1.5px, transparent 1.5px 4px,
    #1A1612 4px 5.5px, transparent 5.5px 7px,
    #1A1612 7px 10px, transparent 10px 12px
  );
}
.receipt-foot { text-align: center; font-size: 10px; color: #5A5248; margin-top: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 760px) {
  .receipt { max-width: 320px; transform: rotate(-1.4deg); }
}

/* ── Backed-by strip ── */
.backed-by { padding: 32px 0 0; }
.backed-by .label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.backed-by .row {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 40px;
  /* --logo-h is the optical cap-height target. Logos render at this height regardless of
     source viewBox dimensions, vertically centered to the visual mass via align-items. */
  --logo-h: 28px;
}
/* Text fallback (alumni rows still use styled wordmarks) */
.backed-by .row > span.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
  opacity: 0.85;
}
/* Real-SVG logo treatment — used for investor row (YC, Goodwater, HMC).
   Every brand SVG ships at a different viewBox aspect ratio; height-locking + width:auto
   normalizes the row visually. */
.backed-by .row > img.logo {
  display: block;
  height: var(--logo-h);
  width: auto;
  opacity: 0.95;
  object-fit: contain;
  /* The YC orange Y stays at the optical-symmetric height — square brand mark renders
     1:1 ratio at the row height (28×28), while wordmark logos render at 28px tall with
     their natural width. The row gap (40px) gives breathing room between heterogeneous shapes. */
}
.backed-by .row > img.logo[data-square] {
  /* Square brand marks (YC) look optically smaller next to wordmarks — bump by 1px to compensate */
  height: calc(var(--logo-h) + 1px);
}
.backed-by .row > img.logo[data-detail] {
  /* Logos with fine interior detail (Harvard shield's VERITAS books, complex crests) need
     more vertical room or the detail disappears at row scale. Bump to ~1.6× row height. */
  height: calc(var(--logo-h) * 1.6);
}

/* ── Stat block (used on home + customers) ── */
.stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
}
.stats-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}
@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}
.stat .num--amber { color: var(--amber); }
.stat .divider { height: 1px; background: var(--border); margin: 14px 0 16px; }
.stat .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.4;
}
.stats-foot {
  margin-top: 28px;
  font-size: var(--t-body);
  color: var(--muted);
  line-height: 1.5;
}
.stats-foot strong { color: var(--text); font-weight: 600; }

/* ── Audio sample card (hear-it-work) ── */
.audio-grid { display: grid; gap: 16px; }
.audio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 24px 20px;
}
.audio-card .label-row {
  display: flex; flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 6px;
}
/* The .label-row pattern pairs a numbered/named label on the left with a contextual
   sublabel on the right. Both render as parallel mono-caps eyebrows — same size,
   same tracking, same casing — so they read as a single header strip. Only the color
   distinguishes them: text-color for the identifier, amber for the descriptor. */
.audio-card .label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.audio-card .sublabel {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--t-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.audio-card .description {
  color: var(--muted);
  font-size: var(--t-body);
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 68ch;
}
.audio-card audio { width: 100%; max-width: 560px; }
.audio-card .transcript {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.audio-card .turn {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: var(--t-body);
  line-height: 1.55;
}
.audio-card .turn .role {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--muted);
  min-width: 78px;
  text-align: center;
}
.audio-card .turn .role--customer { color: var(--teal); border-color: rgba(94, 234, 212, 0.30); }
.audio-card .turn .role--staff    { color: var(--amber); border-color: var(--amber-border); }
.audio-card .turn .text { color: var(--text); font-family: var(--font-deva); }
.audio-card .turn.event .text::after {
  content: "STOCKOUT — generic substitute, customer objects, staff doesn't close";
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

/* ── Rover variants showcase ── */
.rover-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 880px) { .rover-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.rover-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.2s ease;
}
.rover-card:hover { border-color: var(--amber); }
.rover-card .rover-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--bg);
}
.rover-card .rover-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.rover-card .rover-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
  text-transform: uppercase;
}
.rover-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.15;
}
.rover-card .rover-desc {
  color: var(--muted);
  font-size: var(--t-body);
  line-height: 1.6;
  flex: 1;
}
.rover-card .rover-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  align-self: flex-start;
  padding: 10px 14px;
  border: 1px solid var(--amber-border);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}
.rover-card .rover-cta:hover { background: var(--amber-bg-soft); }

/* Spectrogram block on /how — the BOX wraps the image, never the other way around.
   No aspect-ratio, no height:100%. Image dictates the box's height. */
.spectrogram-wrap {
  position: relative;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 16px;
  line-height: 0;
}
.spectrogram-wrap img {
  display: block;
  width: 100%;
  height: auto;
  /* Override `.diagram-card img { max-width: 720px }` — the spectrogram fills its card. */
  max-width: none;
}
.spectrogram-wrap .playhead {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--amber), transparent);
  box-shadow: 0 0 12px rgba(232, 168, 56, 0.65);
  pointer-events: none;
  left: 0;
}
.spectrogram-caption {
  margin-top: 16px;
  font-size: var(--t-caption);
  color: var(--muted);
  line-height: 1.6;
  max-width: 64ch;
}
.spectrogram-caption strong { color: var(--text); }

/* Diarisation timeline animation (SVG) */
.diarise-anim {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 16px;
  background: var(--bg);
  border-radius: 8px;
}
.diarise-anim .axis text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  fill: var(--dim);
  letter-spacing: 0.06em;
}
.diarise-anim .row-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.diarise-anim .row-label.customer { fill: var(--teal); }
.diarise-anim .row-label.staff { fill: var(--amber); }
.diarise-anim .seg-customer { fill: var(--teal); rx: 4; ry: 4; }
.diarise-anim .seg-staff { fill: var(--amber); rx: 4; ry: 4; }
.diarise-anim .seg-track {
  fill: var(--surface);
  stroke: var(--border);
  stroke-width: 1;
  rx: 4; ry: 4;
}
.diarise-anim .playhead {
  stroke: var(--amber);
  stroke-width: 2;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(232, 168, 56, 0.6));
}
.diarise-anim .event-tag rect {
  fill: rgba(251, 113, 133, 0.16);
  stroke: var(--red);
  stroke-width: 1;
  rx: 4; ry: 4;
}
.diarise-anim .event-tag text {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--red);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ── Animated pipeline flow (SVG above the 6 cards) ── */
.pipeline-anim {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 48px;
  height: auto;
  overflow: visible;
}
.pipeline-anim .pipe-line {
  stroke: var(--border);
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
  fill: none;
}
.pipeline-anim .pipe-node {
  fill: var(--surface);
  stroke: var(--border);
  stroke-width: 2;
  transform-origin: center;
  transform-box: fill-box;
}
.pipeline-anim .pipe-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  fill: var(--muted);
  text-transform: uppercase;
}
.pipeline-anim .pipe-pulse {
  fill: var(--amber);
  filter: drop-shadow(0 0 12px rgba(232, 168, 56, 0.55));
}
.pipeline-anim .pipe-token {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  fill: var(--amber);
  opacity: 0;
}
@media (max-width: 720px) {
  .pipeline-anim .pipe-label { font-size: 9px; letter-spacing: 0.08em; }
}

/* ── Pipeline (6-stage stack) ── */
.pipeline-grid { display: grid; gap: 16px; }
.pipeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 28px;
  transition: border-color 0.15s ease;
}
.pipeline-card:hover { border-color: var(--amber); }
.pipeline-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pipeline-head .num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--t-caption);
  color: var(--text);
  background: var(--surface2);
  width: 38px; height: 38px;
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pipeline-head .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.pipeline-head .role {
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  color: var(--muted);
  letter-spacing: -0.005em;
}
.pipeline-card .description {
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--t-body);
  line-height: 1.55;
  margin-left: 54px;
}
.pipeline-built {
  margin-top: 18px;
  margin-left: 54px;
  padding-left: 18px;
  border-left: 2px solid var(--amber);
}
.pipeline-built .built-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pipeline-built ul { display: flex; flex-direction: column; gap: 8px; }
.pipeline-built li {
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  color: var(--text);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .pipeline-card .description, .pipeline-built { margin-left: 0; }
}

/* ── Case-study card (single conversation) ── */
.case-card {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #1F1A12 0%, #18181D 100%);
  border: 1px solid var(--amber-border);
  border-radius: 12px;
  padding: 32px;
  color: var(--text);
  transition: border-color 0.15s ease;
}
.case-card:hover { border-color: var(--amber); }
.case-card .case-text { flex: 1 1 360px; }
.case-card .case-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.case-card .case-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.case-card .case-sub {
  color: var(--muted);
  font-size: var(--t-body);
  line-height: 1.55;
}
.case-card .case-arrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ── Customer wordmark grid ── */
.customers-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}
@media (min-width: 600px) { .customers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .customers-grid { grid-template-columns: repeat(3, 1fr); } }
.customer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
}
.customer h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 12px;
}
.customer p {
  font-size: var(--t-body-sm);
  color: var(--muted);
  line-height: 1.55;
}

/* ── Lineage block ── */
.lineage h2 { margin-bottom: 18px; }
.lineage p { font-size: var(--t-body); color: var(--muted); line-height: 1.55; max-width: 56ch; }

/* ── Threes (See / Save / Steer) ── */
.threes-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.20em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.threes { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .threes { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.three {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
}
.three .step {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.16em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.three h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}
.three p { font-size: var(--t-body); color: var(--muted); line-height: 1.55; }

/* ── Two-door CTA (was three-door; Replay dropped 2026-05-29) ── */
.two-door {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: linear-gradient(135deg, #1F1A12 0%, #18181D 100%);
  border: 1px solid var(--amber-border);
  border-radius: 12px;
  padding: 40px 32px;
}
@media (min-width: 720px) { .two-door { grid-template-columns: repeat(2, 1fr); padding: 48px 40px; gap: 20px; } }
.door {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.15s ease;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: inherit;
}
.door:hover { border-color: var(--amber); }
.door:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.door .door-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--amber);
  text-transform: uppercase;
}
.door .door-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.2;
}
.door .door-sub { font-size: var(--t-body); color: var(--muted); line-height: 1.55; }
.door .door-arrow {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
}

/* ── Form modal ── */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0;
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}
@media (max-width: 600px) {
  .modal-panel { padding: 24px 20px; }
}
.modal-close {
  position: absolute; top: 18px; right: 20px;
  background: transparent;
  border: 0;
  color: var(--muted);
  width: 28px; height: 28px;
  font-size: 22px;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  z-index: 2;
}
.modal-close:hover { color: var(--text); transform: scale(1.08); }
.modal-close:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Push the header DOWN so its top is below the close button's bottom edge
   (close = 16px top + 32px height = 48px; we add a small breathing gap → 56px).
   Padding-right also reserves horizontal space in case anyone visits via narrow viewport
   that brings text close to where the X would intersect. */
.modal-header { margin-top: 24px; margin-bottom: 24px; padding-right: 56px; }
.modal-header .eyebrow { margin-bottom: 12px; }
.modal-header h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 8px;
}
.modal-header .sub {
  color: var(--muted);
  font-size: var(--t-body);
  line-height: 1.55;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label {
  display: flex; flex-direction: column; gap: 6px;
}
.form label > .label-text {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="url"],
.form input[type="number"],
.form textarea,
.form select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 14px;
  border-radius: 6px;
  transition: border-color 0.15s ease;
  width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--amber);
}
.form textarea { resize: vertical; min-height: 80px; font-family: var(--font-body); }
.form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 540px) { .form .form-row { grid-template-columns: 1fr 1fr; } }
.form .form-actions {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.form .form-status {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.form .form-status.success { color: var(--amber); }
.form .form-status.error   { color: var(--red); }

/* When the form succeeds, the modal swaps from form → thank-you. Hide everything
   in the modal except the status pane so the success message owns the panel
   (no scrolling past an empty form to find it). */
.modal-panel.is-thanked .modal-header,
.modal-panel.is-thanked #contact-form > :not(.form-actions),
.modal-panel.is-thanked #contact-form .form-actions > button[type="submit"] {
  display: none !important;
}
.modal-panel.is-thanked #contact-form .form-actions {
  border-top: 0;
  padding-top: 8px;
  margin-top: 0;
}

/* SKU-aware thank-you state — replaces the single-line success message.
   Rendered into .form-status by contact-modal.js when the submit succeeds. */
.form .form-status.success .ty-headline {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 18px;
  text-transform: none;
}
.form .form-status.success .ty-headline::before {
  content: "✓";
  flex: 0 0 24px;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--bg);
  font-weight: 600;
  font-size: 13px;
  margin-top: 2px;
}
.form .form-status.success .ty-next-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 10px;
}
.form .form-status.success .ty-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: ty;
  display: flex; flex-direction: column;
  gap: 8px;
}
.form .form-status.success .ty-steps li {
  counter-increment: ty;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1.45;
  color: var(--muted);
  padding-left: 32px;
  position: relative;
  text-transform: none;
}
.form .form-status.success .ty-steps li::before {
  content: counter(ty);
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--amber-border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--amber);
}
.form button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Up next (cross-page links) ── */
.up-next { padding: 64px 0 0; }
.up-next-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.up-next-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) { .up-next-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.up-next-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  transition: border-color 0.15s ease, transform 0.2s ease;
  text-decoration: none;
}
.up-next-card:hover { border-color: var(--amber); }
.up-next-card .up-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.up-next-card .up-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}
.up-next-card .up-arrow {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ── Footer (expanded sitemap) ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 32px;
  font-family: var(--font-body);
  color: var(--muted);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 24px;
  padding-bottom: 36px;
}
@media (min-width: 720px) {
  /* 5 link columns + 1 brand column. Was 1.6fr 1fr 1fr 1fr — but the page footer has
     5 children (Product · Company · Get in touch · Legal + Brand), so the 5th was
     wrapping to a second row. Brand narrowed to 1.4fr to absorb the extra column. */
  .site-footer .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 48px 28px;
  }
}
@media (min-width: 960px) {
  .site-footer .footer-grid { gap: 48px 36px; }
}
.site-footer .footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 320px; }
.site-footer .footer-logo { height: 18px; width: auto; display: block; }
.site-footer .footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.site-footer .footer-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.site-footer .footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer .footer-col a,
.site-footer .footer-col .footer-link {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}
.site-footer .footer-col a:hover,
.site-footer .footer-col .footer-link:hover { color: var(--text); }
.site-footer .footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.04em;
  color: var(--dim);
}
.site-footer .footer-bottom a { color: var(--muted); }
.site-footer .footer-bottom a:hover { color: var(--text); }

/* ── Brand browser-chrome wrapper for product screenshots ──
   Wraps any product UI image in a windowed frame with amber/teal traffic-light dots,
   a centered URL pill, and a pulsing "Live" indicator. Signals "real product, running
   in production" without us having to bake the chrome into each PNG. */
.browser-frame {
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d12;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.30);
  margin: 0 auto;
}
.browser-frame__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
  padding: 0 16px;
  background: linear-gradient(180deg, #16161d 0%, #101015 100%);
  border-bottom: 1px solid var(--border);
}
.browser-frame__dots { display: flex; gap: 7px; flex-shrink: 0; }
.browser-frame__dots span {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.browser-frame__dots span:nth-child(1) { background: var(--amber); }
.browser-frame__dots span:nth-child(2) { background: var(--teal, #7BBFB5); }
.browser-frame__dots span:nth-child(3) { background: var(--dim); }
.browser-frame__url {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  height: 24px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}
.browser-frame__url::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 6px rgba(232, 168, 56, 0.55);
  flex-shrink: 0;
}
.browser-frame__url .host { color: var(--muted); }
.browser-frame__url .path { color: var(--text); font-weight: 500; }
.browser-frame__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  min-width: 56px;
  justify-content: flex-end;
}
.browser-frame__live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(232, 168, 56, 0.7);
  animation: bf-pulse 2.4s ease-in-out infinite;
}
@keyframes bf-pulse {
  0%, 100% { opacity: 1;    box-shadow: 0 0 8px rgba(232, 168, 56, 0.70); }
  50%      { opacity: 0.55; box-shadow: 0 0 4px rgba(232, 168, 56, 0.35); }
}
.browser-frame > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: #000;
}
/* Compact variant for tight grids (e.g. /how 3-up coaching loop strip). */
.browser-frame--sm .browser-frame__chrome { height: 28px; padding: 0 10px; gap: 8px; }
.browser-frame--sm .browser-frame__dots { gap: 5px; }
.browser-frame--sm .browser-frame__dots span { width: 8px; height: 8px; }
.browser-frame--sm .browser-frame__url { font-size: 10px; max-width: 240px; height: 18px; padding: 0 10px; }
.browser-frame--sm .browser-frame__live { font-size: 9px; min-width: 44px; gap: 4px; }
.browser-frame--sm .browser-frame__live::before { width: 5px; height: 5px; }

/* ══════════════════════════════════════════════════════════════════════
   V2 lines-less mock — HTML rendition of the product UI, sits inside .browser-frame
   in place of the static PNG screenshots. Inter for body (what Linear / Figma /
   Notion use), IBM Plex Mono for metadata, amber as the only chrome accent. The
   four rules from docs/plans/2026-05-30-v2-lines-less-design-handoff.md:
     1) borders → bg-shift   2) row dividers → padding
     3) one accent, type tiers   4) whitespace → separator
   ══════════════════════════════════════════════════════════════════════ */
.mock {
  display: block;
  background: #0A0A10;
  color: #F5F0E8;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  padding: 30px 34px 32px;     /* generous page-area padding — feel the air */
  height: 100%;
  overflow: hidden;
}
.mock--sm { padding: 22px 24px 24px; font-size: 12px; line-height: 1.55; }
.mock__tabs {
  display: flex; gap: 28px; margin-bottom: 28px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
}
.mock--sm .mock__tabs { gap: 18px; font-size: 8.5px; margin-bottom: 20px; }
.mock__tabs span { color: #6A6A75; }
.mock__tabs span.is-active { color: #F5F0E8; }
.mock__head {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.022em;
  line-height: 1.18;
  margin: 0 0 8px;
  color: #F5F0E8;
}
.mock--sm .mock__head { font-size: 18px; margin: 0 0 6px; }
.mock__head .num { color: #E8A838; }
.mock__sub {
  font-weight: 500;
  font-size: 14.5px;
  color: #9b9bb0;
  margin: 0 0 22px;
  letter-spacing: -0.005em;
}
.mock--sm .mock__sub { font-size: 12.5px; margin: 0 0 16px; }
.mock__sub strong { color: #F5F0E8; font-weight: 600; }
.mock__body { color: #9b9bb0; font-size: 12.5px; margin: 0 0 18px; max-width: 56ch; line-height: 1.65; }
.mock--sm .mock__body { font-size: 11px; margin: 0 0 12px; }
.mock__filters {
  display: flex; gap: 24px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.04em; color: #6A6A75;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.mock--sm .mock__filters { font-size: 9px; gap: 14px; margin-bottom: 20px; }
.mock__filters strong { color: #9b9bb0; font-weight: 500; }
.mock__filters .accent { color: #E8A838; }

/* Coach prompt — stacked multi-row, generous padding so the prompt feels considered */
.mock__coach {
  background: #15151B; border-radius: 10px;
  padding: 22px 24px; margin: 0 0 28px;
}
.mock--sm .mock__coach { padding: 14px 16px; margin: 0 0 18px; }
.mock__coach .lbl {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #E8A838; margin: 0 0 12px;
}
.mock--sm .mock__coach .lbl { font-size: 8.5px; margin: 0 0 8px; }
.mock__coach .body { color: #F5F0E8; font-size: 13.5px; margin: 0 0 18px; line-height: 1.6; max-width: 56ch; }
.mock--sm .mock__coach .body { font-size: 11.5px; margin: 0 0 12px; line-height: 1.55; }
.mock__coach .body strong { color: #F5F0E8; font-weight: 600; }
.mock__coach .actions {
  display: flex; gap: 18px; align-items: center;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}
.mock--sm .mock__coach .actions { font-size: 8.5px; gap: 12px; }
.mock__coach .btn {
  background: #E8A838; color: #0A0A10;
  padding: 8px 14px; border-radius: 6px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.mock--sm .mock__coach .btn { padding: 6px 12px; gap: 6px; }
.mock__coach .btn--ghost {
  color: #9b9bb0; background: transparent; padding: 8px 0;
  display: inline-flex; align-items: center; gap: 8px;
}

/* Section head — larger top margin replaces the section divider */
.mock__section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 32px 0 16px;
}
.mock--sm .mock__section-head { margin: 22px 0 12px; }
.mock__section-head .title { font-weight: 600; font-size: 14px; color: #F5F0E8; letter-spacing: -0.005em; }
.mock__section-head .meta { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 9.5px; letter-spacing: 0.10em; color: #6A6A75; text-transform: uppercase; }
.mock--sm .mock__section-head .title { font-size: 12px; }
.mock--sm .mock__section-head .meta { font-size: 8.5px; }

/* Store card / generic record card */
.mock__rec { background: #15151B; border-radius: 10px; padding: 20px 22px; margin: 0 0 14px; }
.mock--sm .mock__rec { padding: 12px 14px; margin: 0 0 10px; }
.mock__rec .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.mock__rec .top .lbl { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #6A6A75; }
.mock__rec .top .price { font-weight: 600; font-size: 20px; color: #E8A838; letter-spacing: -0.01em; }
.mock--sm .mock__rec .top .price { font-size: 15px; }
.mock--sm .mock__rec .top .lbl { font-size: 8.5px; }
.mock__rec .name { font-weight: 600; font-size: 15px; margin-bottom: 8px; color: #F5F0E8; letter-spacing: -0.005em; }
.mock--sm .mock__rec .name { font-size: 12.5px; }
.mock__rec .body { color: #9b9bb0; font-size: 13px; margin: 0 0 16px; line-height: 1.6; }
.mock--sm .mock__rec .body { font-size: 10.5px; margin: 0 0 10px; line-height: 1.55; }
.mock__rec .body em { color: #F5F0E8; font-style: normal; font-weight: 600; }
.mock__rec .meta {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9.5px; letter-spacing: 0.08em; color: #6A6A75; text-transform: uppercase;
  margin-bottom: 14px;
}
.mock--sm .mock__rec .meta { font-size: 8.5px; margin-bottom: 10px; }
.mock__rec .actions {
  display: flex; gap: 22px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #9b9bb0;
}
.mock--sm .mock__rec .actions { font-size: 8.5px; gap: 14px; }

/* Stat row — more breathing between number and label, plus row margin */
.mock__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 16px 0 26px; }
.mock--sm .mock__stats { gap: 12px; margin: 12px 0 18px; }
.mock__stat .num { font-weight: 600; font-size: 22px; color: #F5F0E8; line-height: 1.1; margin-bottom: 6px; letter-spacing: -0.015em; }
.mock--sm .mock__stat .num { font-size: 16px; margin-bottom: 4px; }
.mock__stat .num.accent { color: #E8A838; }
.mock__stat .lbl { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #6A6A75; }
.mock--sm .mock__stat .lbl { font-size: 7.5px; }

/* ── Lucide-style icons inside mocks — extremely restrained. Used only on
   audio "Listen" affordances where text alone doesn't telegraph the action. */
.mock .icon { display: inline-block; vertical-align: -1px; flex-shrink: 0; }
.mock .icon--play { width: 9px; height: 9px; fill: currentColor; }
.mock--sm .mock .icon--play, .mock--sm .icon--play { width: 8px; height: 8px; }

/* Conversation timeline turns — generous padding between turns, the gap IS the structural cue */
.mock__turn { padding: 14px 0; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: baseline; }
.mock--sm .mock__turn { padding: 10px 0; grid-template-columns: 48px 1fr; gap: 12px; }
.mock__turn .when { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: 0.06em; color: #6A6A75; text-transform: uppercase; }
.mock--sm .mock__turn .when { font-size: 8.5px; }
.mock__turn .row { display: flex; flex-direction: column; gap: 6px; }
.mock__turn .who { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 9.5px; letter-spacing: 0.10em; color: #6A6A75; text-transform: uppercase; }
.mock--sm .mock__turn .who { font-size: 8.5px; }
.mock__turn .who.accent { color: #E8A838; }
.mock__turn .text { color: #F5F0E8; font-size: 13.5px; line-height: 1.6; }
.mock--sm .mock__turn .text { font-size: 11px; line-height: 1.55; }
.mock__turn .text.dev { font-family: 'Noto Sans Devanagari', 'Instrument Sans', system-ui, sans-serif; }
.mock__turn .tags {
  display: flex; gap: 16px; margin-top: 6px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9px; letter-spacing: 0.10em; text-transform: uppercase;
  color: #6A6A75;
}
.mock--sm .mock__turn .tags { font-size: 8px; gap: 10px; }
.mock__turn .tags .accent { color: #E8A838; }

/* Side-by-side: who's carrying / instances (used in theme detail) */
.mock__two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; margin-top: 14px; }
.mock--sm .mock__two-col { grid-template-columns: 1fr 1.2fr; gap: 14px; }
.mock__list h4 { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #6A6A75; margin: 0 0 14px; font-weight: 500; }
.mock--sm .mock__list h4 { font-size: 8.5px; margin: 0 0 10px; }
.mock__list .li { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 11px 0; font-size: 12.5px; align-items: baseline; }
.mock--sm .mock__list .li { padding: 7px 0; font-size: 10.5px; gap: 10px; }
.mock__list .li strong { color: #F5F0E8; font-weight: 500; }
.mock__list .li .tag { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 9px; letter-spacing: 0.10em; color: #6A6A75; text-transform: uppercase; }
.mock--sm .mock__list .li .tag { font-size: 8px; }
.mock__list .li .tag.accent { color: #E8A838; }

/* Scoreboard / progress bars (staff scorecard, theme detail) — more vertical air between rows */
.mock__progress {
  display: grid; grid-template-columns: 1fr 90px auto; gap: 16px;
  padding: 12px 0; align-items: center; font-size: 12.5px;
}
.mock--sm .mock__progress { grid-template-columns: 1fr 64px auto; gap: 10px; padding: 8px 0; font-size: 10.5px; }
.mock__progress .name { color: #F5F0E8; font-weight: 500; }
.mock__progress .bar { height: 4px; background: #232330; border-radius: 2px; overflow: hidden; }
.mock__progress .bar i { display: block; height: 100%; background: #E8A838; }
.mock__progress .val { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: 0.05em; color: #9b9bb0; text-align: right; }
.mock--sm .mock__progress .val { font-size: 9px; }

/* ── Utilities ── */
.mb-6  { margin-bottom: 24px; }
.mb-9  { margin-bottom: 36px; }
.mb-12 { margin-bottom: 48px; }
