/* Product Mastery landing. Visual thesis: an editorial review desk where a PM's
   call is marked up like a manuscript. Warm paper, navy display type, gold for
   action, teal reviewer ink for feedback. */
:root {
  --paper: #FAF7F1;
  --paper-alt: #F3EEE4;
  --sheet: #FFFDF8;
  --ink: #211C16;
  --ink-muted: #5A5148;
  --navy: #1D374E;
  --navy-deep: #152A3C;
  --gold: #EB9B23;
  --gold-hover: #D88A14;
  --gold-text: #7A4C0F;
  --review: #1F6A86;
  --review-soft: #E4F0F3;
  --rule: #E4DCCD;
  --rule-strong: #CDBFA8;
  --hit: #2E7350;
  --partial: #9A6512;
  --miss: #A23B2C;

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  --radius-sm: 7px;
  --shadow-sheet: 0 1px 0 rgba(33, 28, 22, .05), 0 24px 48px -28px rgba(29, 55, 78, .45);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--navy); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--review); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

.kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.demo-tag { font-size: .75rem; font-weight: 500; color: var(--ink-muted); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hover); }
.btn-quiet { color: var(--navy); border-color: var(--rule-strong); background: transparent; }
.btn-quiet:hover { border-color: var(--navy); }
.btn-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.text-link { font-weight: 500; text-decoration: none; color: var(--navy); padding: 8px 4px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-btn {
  background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--review);
  font: 600 .9375rem/1.2 var(--font-body);
}
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 241, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { width: 168px; }
.primary-nav { display: flex; gap: 26px; margin-left: auto; }
.primary-nav a { text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--ink-muted); }
.primary-nav a:hover { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-copy { padding-top: clamp(0px, 4vw, 56px); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); max-width: 12ch; }
.lede { margin-top: 22px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-muted); max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fineprint { margin-top: 16px; font-size: .875rem; color: var(--ink-muted); }

/* The review sheet (hero proof) */
.sheet {
  position: relative; margin: 0; padding: 26px 28px 20px 44px;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-sheet);
}
.sheet::before { /* manuscript margin rule */
  content: ""; position: absolute; top: 18px; bottom: 18px; left: 26px; width: 1px; background: rgba(31, 106, 134, .28);
}
.sheet-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--rule-strong); }
.sheet-format { font-weight: 700; color: var(--navy); font-size: .9375rem; }
.sheet-area { font-size: .875rem; color: var(--ink-muted); }
.sheet-head .demo-tag { margin-left: auto; }
.sheet-count { margin-top: 16px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.sheet-prompt { margin-top: 6px; font-family: var(--font-display); font-size: clamp(1.2rem, 1.9vw, 1.42rem); line-height: 1.32; color: var(--ink); }

.choices { border: 0; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.choice {
  position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start;
  padding: 11px 12px; border: 1px solid var(--rule); border-radius: var(--radius-sm); cursor: pointer;
  background: #fff; transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.choice:hover { border-color: var(--rule-strong); }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice:has(input:focus-visible) { outline: 3px solid var(--review); outline-offset: 2px; }
.choice-key {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--rule-strong); font-size: .8125rem; font-weight: 700; color: var(--ink-muted);
}
.choice-text { font-size: .975rem; line-height: 1.45; padding-top: 2px; }
.choice.is-picked { border-color: var(--review); background: var(--review-soft); }
.choice.is-picked .choice-key { border-color: var(--review); background: var(--review); color: #fff; }
.choice.is-best:not(.is-picked) .choice-key { border-color: var(--hit); color: var(--hit); }
.choice.is-picked .choice-text { /* reviewer's underline, drawn in */
  background-image: linear-gradient(var(--review), var(--review));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1.5px;
  animation: underline .5s var(--ease) both;
}
@keyframes underline { from { background-size: 0 1.5px; } to { background-size: 100% 1.5px; } }

.review { margin-top: 16px; min-height: 3.2rem; }
.review-empty { font-size: .9375rem; color: var(--ink-muted); font-style: italic; }
.verdict { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--ink); }
.verdict strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--review); }
.notes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: note; }
.notes li {
  position: relative; padding-left: 30px; font-size: .9375rem; line-height: 1.5; color: var(--ink);
  animation: note-in .35s var(--ease) both;
}
.notes li:nth-child(2) { animation-delay: .08s; }
.notes li:nth-child(3) { animation-delay: .16s; }
.notes li::before {
  counter-increment: note; content: counter(note);
  position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .6875rem; font-weight: 700;
  color: var(--review); border: 1.5px solid var(--review);
}
@keyframes note-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.rubric { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rubric li {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px;
  border-radius: var(--radius-sm); border: 1px solid currentColor; font-size: .8125rem; font-weight: 600;
}
.rubric li::before { font-size: .75rem; }
.rubric .hit { color: var(--hit); } .rubric .hit::before { content: "✓"; }
.rubric .partial { color: var(--partial); } .rubric .partial::before { content: "~"; }
.rubric .miss { color: var(--miss); } .rubric .miss::before { content: "✕"; }
.sheet-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--rule-strong); }
.sheet-note { font-size: .8125rem; color: var(--ink-muted); max-width: 30rem; }

/* Facts band */
.facts { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--sheet); }
.facts-row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row li { display: flex; align-items: baseline; gap: 10px; padding: 22px 0; }
.facts-row li + li { padding-left: clamp(12px, 3vw, 32px); border-left: 1px solid var(--rule); }
.facts-row strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy); line-height: 1; }
.facts-row span { font-size: .9375rem; color: var(--ink-muted); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--paper-alt); }
.section-intro { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 52px); }
.section-intro > p:not(.kicker) { margin-top: 14px; color: var(--ink-muted); }

/* Why practise: a reviewer's ledger. The usual way is struck through, the
   practice here is written in the margin in reviewer ink. */
.why-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.why-grid h2 { max-width: 15ch; text-wrap: balance; }
.why-lede { margin-top: 18px; color: var(--ink-muted); max-width: 32rem; }
.ledger-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.ledger-head span + span { color: var(--review); }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule-strong); }
.ledger-old { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: rgba(162, 59, 44, .5); text-decoration-thickness: 1.5px; }
.ledger-new { padding-left: 14px; border-left: 2px solid var(--review); color: var(--navy); font-weight: 500; }

/* How it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.how-grid h2 { max-width: 18ch; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: step; display: grid; gap: 22px; }
.steps li { position: relative; padding-left: 52px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-text);
}
.steps p { margin-top: 4px; color: var(--ink-muted); max-width: 34rem; }

.radar-card { margin: 0; padding: 22px 22px 18px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-sheet); }
.radar-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.radar-title { font-weight: 700; color: var(--navy); }
.radar { width: 100%; margin-top: 6px; }
.radar-grid polygon, .radar-grid path { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.radar-grid polygon:last-of-type { stroke: var(--ink-muted); stroke-opacity: .45; }
.radar-before { fill: none; stroke: var(--ink-muted); stroke-width: 1.5; stroke-dasharray: 4 4; }
.radar-after { fill: rgba(235, 155, 35, .22); stroke: #C47D12; stroke-width: 2; }
.radar-labels text { font: 600 13px var(--font-body); fill: var(--ink-muted); }
.legend { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 18px; font-size: .875rem; color: var(--ink-muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 22px; height: 0; border-top: 2px dashed var(--ink-muted); }
.swatch-after { border-top: 3px solid #C47D12; }
/* Week 6 grows out of the centre as the chart scrolls in (where scroll-driven
   animation exists; elsewhere, and with reduced motion, it is simply drawn). */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .radar-after { transform-origin: 200px 190px; animation: radar-grow linear both; animation-timeline: view(); animation-range: entry 25% cover 45%; }
  }
}
@keyframes radar-grow { from { transform: scale(.5); opacity: .3; } to { transform: none; opacity: 1; } }

/* Formats index */
.index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px clamp(28px, 5vw, 64px); }
.index-group { break-inside: avoid; margin-bottom: 28px; }
.index-group h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.index-group ul { list-style: none; margin: 0; padding: 0; }
.index-group a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name count" "desc count";
  column-gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--rule-strong); text-decoration: none;
  transition: background-color .18s var(--ease);
}
.index-group a:hover { background: rgba(255, 253, 248, .7); }
.index-group a:hover .index-name { color: var(--review); }
.index-name { grid-area: name; font-weight: 600; color: var(--navy); }
.index-desc { grid-area: desc; font-size: .9375rem; color: var(--ink-muted); }
.index-count { grid-area: count; align-self: center; display: grid; justify-items: end; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.index-try { font: 600 .75rem/1.4 var(--font-body); color: var(--review); white-space: nowrap; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.work-item { padding: 26px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); }
.work-item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin-top: 6px; }
.work-item > p:not(.plan-tag) { margin-top: 10px; color: var(--ink-muted); max-width: 38rem; }
.plan-tag { font-size: .8125rem; font-weight: 600; color: var(--gold-text); }
.chip-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-list li { padding: 5px 11px; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); font-size: .875rem; color: var(--navy); background: #fff; }
.phase-line { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; counter-reset: phase; }
.phase-line li { counter-increment: phase; display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--ink-muted); }
.work-cert { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.work-cert > div > p:not(.plan-tag) { margin-top: 10px; color: var(--ink-muted); max-width: 38rem; }
.cert { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.cert-paper { /* the certificate learners receive, in miniature */
  --c-ink: #0F172A; --c-muted: #64748B; --c-gold: #B8860B;
  position: relative; width: 100%; max-width: 380px; min-height: 240px; padding: 26px 30px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
  background: #fff; border-radius: 3px; box-shadow: var(--shadow-sheet); transform: rotate(1deg); transition: transform .5s var(--ease);
}
.cert-paper:hover { transform: none; }
.cert-paper::before, .cert-paper::after { content: ""; position: absolute; border-radius: 2px; pointer-events: none; }
.cert-paper::before { inset: 8px; border: 2px solid var(--c-gold); }
.cert-paper::after { inset: 13px; border: 1px solid rgba(184, 134, 11, .4); }
.cert-paper img { width: 116px; margin-bottom: 4px; }
.cert-title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; color: var(--c-ink); padding-bottom: 6px; margin-bottom: 6px; background: linear-gradient(var(--c-gold), var(--c-gold)) center bottom / 44px 1.5px no-repeat; }
.cert-small { font-size: .6875rem; line-height: 1.35; color: var(--c-muted); max-width: 26ch; }
.cert-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; color: var(--c-ink); }
.cert-program { margin-top: 2px; font-size: .875rem; font-weight: 600; font-style: italic; color: var(--gold-text); }
.cert-id { margin-top: 8px; font: 500 .6875rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .05em; color: var(--c-muted); overflow-wrap: anywhere; }
.phase-line li::before { content: counter(phase); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .6875rem; font-weight: 700; }

/* Voice */
.section-ink { background: var(--navy-deep); color: #EDE7DC; }
.section-ink h2 { color: #FFFDF8; }
.kicker-light { color: #F2B65A; }
.voice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.voice-lede { margin-top: 18px; font-size: 1.125rem; color: #D9D2C6; max-width: 32rem; }
.voice-meta { margin-top: 18px; font-size: .9375rem; color: #B9B1A4; max-width: 32rem; }
.callsheet { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.callsheet li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.call-name { font-weight: 600; color: #FFFDF8; }
.call-desc { font-size: .9375rem; color: #C9C1B4; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 24px 22px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); }
.plan h3 { font-size: 1.125rem; }
.plan-feature { border: 2px solid var(--navy); position: relative; }
.plan-flag { position: absolute; top: -12px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 600; }
.price { margin-top: 14px; display: flex; align-items: baseline; gap: 4px; }
.amount { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--navy); }
.per { color: var(--ink-muted); font-size: .9375rem; }
.price-alt { margin-top: 6px; font-size: .875rem; color: var(--ink-muted); min-height: 1.4em; }
.plan-list { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 22px; font-size: .9375rem; line-height: 1.45; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--hit); border-bottom: 2px solid var(--hit); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan-list li.no { color: var(--ink-muted); }
.plan-list li.no::before { top: .72em; width: 10px; height: 0; border: 0; border-top: 2px solid var(--rule-strong); transform: none; }
/* Billing switch: pure CSS through :has(), so it only appears where :has() works.
   Without it the cards show monthly prices with the yearly price beneath. */
.billing { display: none; }
.price > span { display: inline-flex; align-items: baseline; gap: 4px; }
.when-yearly, .price > .when-yearly { display: none; }
@supports selector(:has(*)) {
  .billing { display: flex; width: fit-content; gap: 4px; margin: 0 0 28px; padding: 4px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--sheet); }
  .billing label { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9375rem; color: var(--ink-muted); transition: background-color .18s var(--ease), color .18s var(--ease); }
  .billing input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
  .billing label:has(input:checked) { background: var(--navy); color: #fff; }
  .billing label:has(input:focus-visible) { outline: 3px solid var(--review); outline-offset: 2px; }
  .billing small { margin-left: 6px; font-size: .75rem; font-weight: 600; color: var(--hit); }
  .billing label:has(input:checked) small { color: #BFE3CC; }
  #pricing:has(input[value="yearly"]:checked) .when-monthly { display: none; }
  #pricing:has(input[value="yearly"]:checked) .when-yearly { display: inline; }
  #pricing:has(input[value="yearly"]:checked) .price > .when-yearly { display: inline-flex; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq details:first-child { border-top: 1px solid var(--rule-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; color: var(--navy); font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--review); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--ink-muted); max-width: 40rem; }
.faq a { color: var(--review); font-weight: 600; }

/* Field notes: a reading index ruled like the FAQ; the empty state is a sheet
   with the same manuscript margin rule as the hero review sheet. */
.field-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.field-grid h2 { max-width: 16ch; text-wrap: balance; }
.field-lede { margin-top: 14px; color: var(--ink-muted); max-width: 30rem; }
.field-all { display: inline-block; margin-top: 16px; padding-left: 0; }
.field-note { padding: 22px 0; border-bottom: 1px solid var(--rule-strong); }
.field-note:first-child { border-top: 1px solid var(--rule-strong); }
.field-meta { font-size: .8125rem; font-weight: 600; color: var(--ink-muted); }
.field-note h3 { margin-top: 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.6rem); line-height: 1.2; }
.field-note h3 a { text-decoration: none; }
.field-note h3 a:hover { color: var(--review); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.field-summary { margin-top: 8px; color: var(--ink-muted); max-width: 40rem; }
.field-empty { position: relative; padding: 22px 24px 22px 48px; background: var(--sheet); border: 1px dashed var(--rule-strong); border-radius: var(--radius); color: var(--ink-muted); }
.field-empty::before { content: ""; position: absolute; top: 16px; bottom: 16px; left: 26px; width: 1px; background: rgba(31, 106, 134, .28); }
.field-empty strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.25; color: var(--navy); }

/* Closing */
.closing { padding: clamp(64px, 9vw, 104px) 0; background: var(--sheet); border-top: 1px solid var(--rule); }
.closing-inner { text-align: center; display: grid; justify-items: center; gap: 16px; }
.closing h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 18ch; }
.closing p { color: var(--ink-muted); max-width: 32rem; margin-bottom: 8px; }

/* Footer */
.site-footer { padding: 36px 0 44px; border-top: 1px solid var(--rule); }
.footer-row { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand img { width: 128px; }
.footer-brand p { font-size: .875rem; color: var(--ink-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { font-size: .875rem; color: var(--ink-muted); text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { color: var(--navy); text-decoration: underline; }
.copyright { grid-column: 1 / -1; font-size: .8125rem; color: var(--ink-muted); }
.footer-guides { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.footer-heading { font-size: 1.5rem; margin-bottom: 18px; }
.guide-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.guide-group h3 { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.guide-group ul { list-style: none; margin: 0; padding: 0; }
.guide-group a { display: inline-block; padding: 5px 0; font-size: .875rem; color: var(--ink-muted); text-decoration: none; }
.guide-group a:hover { color: var(--navy); text-decoration: underline; }
.climate { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.climate iframe { display: block; width: 100%; max-width: 380px; height: 38px; border: 0; }
.climate a { font-size: .8125rem; color: var(--ink-muted); text-decoration: none; padding: 6px 0; }
.climate a:hover { color: var(--navy); text-decoration: underline; }

/* Format sandboxes: a dialog that imitates the in-app exercise page. Tokens
   approximate the learning app's light theme so the preview looks like the product. */
.sbx-dialog {
  width: min(1040px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 16px; background: #FAF8F4; color: #251F18;
  box-shadow: 0 40px 80px -30px rgba(15, 27, 38, .55); overflow: auto; overscroll-behavior: contain;
}
.sbx-dialog::backdrop { background: rgba(17, 27, 38, .58); backdrop-filter: blur(2px); }
html:has(.sbx-dialog[open]) { overflow: hidden; }
.sbx {
  --s-card: #FFFFFF; --s-fg: #251F18; --s-heading: #1D3A4F; --s-muted: #F0EDE8; --s-muted-fg: #675D53;
  --s-border: #E2DCD1; --s-primary: #DE9B36; --s-primary-hover: #CC8A27; --s-primary-fg: #17130E;
  --s-primary-soft: rgba(222, 155, 54, .13); --s-primary-text: #7A4C0F; --s-accent: #2B7898; --s-accent-soft: rgba(43, 120, 152, .1);
  --s-ok: #2E7350; --s-ok-soft: rgba(46, 115, 80, .1); --s-danger: #B83A2E; --s-danger-soft: rgba(184, 58, 46, .08);
  font: 400 .9375rem/1.55 var(--font-body); color: var(--s-fg);
}
.sbx h2, .sbx h3, .sbx h4 { font-family: var(--font-body); color: var(--s-heading); }
.sbx-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 10px 20px; background: rgba(250, 248, 244, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--s-border); }
.sbx-bar-label { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--s-muted-fg); }
.sbx-bar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s-primary); }
.sbx-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--s-muted-fg); font-size: 1.05rem; cursor: pointer; }
.sbx-close:hover { background: var(--s-muted); color: var(--s-fg); }
.sbx-body { padding: 22px clamp(16px, 3vw, 32px) 32px; display: grid; gap: 18px; }
.sbx-head h2 { margin-top: 10px; font-size: clamp(1.35rem, 2.4vw, 1.65rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.sbx-desc { margin-top: 6px; color: var(--s-muted-fg); max-width: 46rem; }
.sbx-area { font-size: .8125rem; color: var(--s-muted-fg); }
.sbx-inside { margin-top: 10px; padding: 8px 12px; border-radius: 9px; background: var(--s-accent-soft); color: var(--s-fg); font-size: .8125rem; max-width: 46rem; }
.sbx-inside strong { color: var(--s-accent); }
.sbx-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px; border-radius: 999px; background: var(--s-muted); color: var(--s-fg); font-size: .75rem; font-weight: 600; line-height: 1.6; text-transform: none; }
.sbx-badge-outline { background: transparent; border: 1px solid var(--s-border); }
.sbx-head .sbx-badge:nth-child(2) { text-transform: capitalize; }
.sbx-card { background: var(--s-card); border: 1px solid var(--s-border); border-radius: 12px; padding: 18px; display: grid; gap: 10px; align-content: start; }
.sbx-card-head h3 { font-size: 1rem; font-weight: 700; }
.sbx-card-head p { margin-top: 2px; color: var(--s-muted-fg); font-size: .875rem; }
.sbx-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted-fg); }
.sbx-label { font-size: .8125rem; font-weight: 600; color: var(--s-muted-fg); }
.sbx-muted { color: var(--s-muted-fg); }
.sbx-hint { font-size: .8125rem; color: var(--s-muted-fg); font-style: italic; }
.sbx-strong { font-weight: 600; }
.sbx-italic { font-style: italic; }
.sbx-mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .8125rem; }
.sbx-empty { color: var(--s-muted-fg); font-size: .8125rem; font-style: italic; list-style: none; }
.sbx-row { display: flex; align-items: center; gap: 8px; }
.sbx-wrap { flex-wrap: wrap; }
.sbx-between { justify-content: space-between; }
.sbx-grow { flex: 1; }
.sbx [hidden] { display: none !important; }
.sbx-canvas { display: grid; gap: 14px; }
.sbx-row > .sbx-input:not(.sbx-select) { width: auto; flex: 1 1 14rem; min-width: 0; }
.sbx-canvas.is-locked { opacity: .78; }
.sbx-input { width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid var(--s-border); border-radius: 9px; background: #fff; color: var(--s-fg); font: inherit; resize: vertical; }
.sbx-input:focus-visible { outline: 2px solid var(--s-primary); outline-offset: 1px; border-color: var(--s-primary); }
.sbx-input-sm { min-height: 34px; padding: 5px 10px; font-size: .875rem; }
.sbx-select { width: auto; min-width: 8rem; padding-right: 28px; cursor: pointer; }
textarea.sbx-input { line-height: 1.5; }
.sbx-field { display: grid; gap: 5px; }
.sbx-field label { font-size: .8125rem; font-weight: 600; color: var(--s-muted-fg); }
.sbx-check { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; cursor: pointer; }
.sbx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: 9px; font: 600 .875rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.sbx-btn:disabled { opacity: .5; cursor: not-allowed; }
.sbx-btn:focus-visible, .sbx-close:focus-visible, .sbx-tab:focus-visible, .sbx-quiz-opt:focus-visible, .sbx-flow-node:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }
.sbx-btn-primary { background: var(--s-primary); color: var(--s-primary-fg); }
.sbx-btn-primary:hover:not(:disabled) { background: var(--s-primary-hover); }
.sbx-btn-outline { background: #fff; border-color: var(--s-border); color: var(--s-fg); }
.sbx-btn-outline:hover:not(:disabled) { border-color: var(--s-primary); }
.sbx-btn-ghost { background: transparent; color: var(--s-accent); }
.sbx-btn-ghost:hover:not(:disabled) { background: var(--s-accent-soft); }
.sbx-btn-danger { background: var(--s-danger); color: #fff; }
.sbx-btn-danger.is-ready { box-shadow: 0 0 0 3px rgba(184, 58, 46, .25); }
.sbx-btn-sm { min-height: 34px; padding: 0 12px; font-size: .8125rem; }
.sbx-btn-xs { min-height: 30px; padding: 0 8px; font-size: .75rem; }
.sbx-block { width: 100%; }
.sbx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sbx-progress { height: 6px; border-radius: 999px; background: var(--s-muted); overflow: hidden; }
.sbx-progress span { display: block; height: 100%; width: 0; background: var(--s-primary); transition: width .3s; }
.sbx-scenario { font-size: 1rem; font-weight: 600; color: var(--s-heading); line-height: 1.5; }
.sbx-step-title { font-weight: 600; }
.sbx-count { margin-left: 6px; padding: 0 7px; border-radius: 999px; background: var(--s-muted); font-size: .75rem; color: var(--s-muted-fg); }

/* Framework */
.sbx-pool { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sbx-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 8px 7px 12px; border: 1px dashed var(--s-border); border-radius: 9px; background: #fff; font-size: .875rem; }
.sbx-zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sbx-zone { padding: 12px; border-radius: 12px; border: 1px solid var(--s-border); background: var(--s-card); }
.sbx-zone h4 { font-size: .875rem; font-weight: 700; margin-bottom: 8px; }
.sbx-zone ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sbx-zone-must { border-top: 3px solid var(--s-danger); } .sbx-zone-should { border-top: 3px solid var(--s-primary); }
.sbx-zone-could { border-top: 3px solid var(--s-accent); } .sbx-zone-wont { border-top: 3px solid #A39A8F; }
.sbx-zone .sbx-item { border-style: solid; }

/* Diagram */
.sbx-diagram { width: 100%; background-color: #FCFBF8; background-image: radial-gradient(#E2DCD1 1px, transparent 1px); background-size: 18px 18px; border-radius: 10px; border: 1px solid var(--s-border); }
.sbx-node rect { fill: #fff; stroke: var(--s-heading); stroke-width: 1.5; }
.sbx-node-alt rect { stroke: var(--s-danger); stroke-dasharray: 4 3; }
.sbx-node text { font: 600 13px var(--font-body); fill: var(--s-heading); }
.sbx-edge { stroke: var(--s-accent); stroke-width: 2; }
.sbx-edges { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sbx-edges li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 4px 4px 10px; border-radius: 8px; background: var(--s-muted); font-size: .875rem; }

/* Survey builder */
.sbx-tabs { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--s-muted); }
.sbx-tab { min-height: 32px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; font: 600 .8125rem var(--font-body); color: var(--s-muted-fg); cursor: pointer; }
.sbx-tab[aria-pressed="true"] { background: #fff; color: var(--s-fg); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.sbx-questions { display: grid; gap: 10px; }
.sbx-q { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 12px; border: 1px solid var(--s-border); border-radius: 12px; }
.sbx-q-num { font-weight: 700; color: var(--s-primary-text); padding-top: 6px; }
.sbx-q-body { display: grid; gap: 7px; }
.sbx-q-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sbx-q-top .sbx-check { margin-left: auto; }
.sbx-q-text { font-weight: 600; }
.sbx-req { color: var(--s-danger); }
.sbx-prev-opts { display: grid; gap: 4px; }

/* Tables (data analysis, decision matrix) */
.sbx-table-wrap { overflow-x: auto; }
.sbx-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.sbx-table caption { text-align: left; font-weight: 700; color: var(--s-heading); padding-bottom: 8px; }
.sbx-table th, .sbx-table td { padding: 8px 10px; border-bottom: 1px solid var(--s-border); text-align: left; }
.sbx-table thead th { background: var(--s-muted); font-size: .8125rem; color: var(--s-muted-fg); font-weight: 600; }
.sbx-table tbody th { font-weight: 600; }
.sbx-matrix td { text-align: center; }
.sbx-matrix .sbx-select { min-width: 4rem; }
.sbx-weight { color: var(--s-primary-text); font-weight: 700; }
.sbx-total { font-weight: 700; font-size: 1rem; }
.sbx-total.is-best { color: var(--s-ok); background: var(--s-ok-soft); }
.sbx-qlist { margin: 0; padding-left: 20px; display: grid; gap: 14px; }
.sbx-qlist li > p { font-weight: 600; margin-bottom: 6px; }

/* Metrics dashboard */
.sbx-dash-title { font-size: 1rem; font-weight: 700; }
.sbx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sbx-kpi { padding: 12px; border: 1px solid var(--s-border); border-radius: 10px; }
.sbx-kpi-name { font-size: .75rem; color: var(--s-muted-fg); font-weight: 600; }
.sbx-kpi-value { font-size: 1.4rem; font-weight: 700; color: var(--s-heading); }
.sbx-kpi-delta { font-size: .75rem; font-weight: 700; }
.sbx-up { color: var(--s-ok); } .sbx-down { color: var(--s-danger); }
.sbx-spark { width: 100%; height: 32px; margin-top: 4px; }
.sbx-spark polyline { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.sbx-bars { display: grid; gap: 6px; margin-top: 6px; }
.sbx-hbar { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 3rem; align-items: center; gap: 10px; font-size: .875rem; }
.sbx-hbar-track { height: 12px; border-radius: 6px; background: var(--s-muted); overflow: hidden; }
.sbx-hbar-fill { display: block; height: 100%; background: var(--s-accent); border-radius: 6px; }
.sbx-hbar-val { font-weight: 700; text-align: right; }

/* Roadmap and sprint board */
.sbx-roadmap, .sbx-sprint { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sbx-col { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 12px; background: var(--s-muted); min-height: 160px; }
.sbx-col h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: .875rem; font-weight: 700; }
.sbx-col.is-over { background: var(--s-danger-soft); box-shadow: inset 0 0 0 1.5px rgba(184, 58, 46, .45); }
.sbx-load { font-size: .75rem; font-weight: 600; color: var(--s-muted-fg); }
.sbx-col.is-over .sbx-load { color: var(--s-danger); }
.sbx-feature, .sbx-story { display: grid; gap: 7px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--s-border); }
.sbx-feature-title { font-weight: 600; font-size: .875rem; line-height: 1.35; }
.sbx-move { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--s-muted-fg); }
.sbx-move .sbx-select { min-width: 0; min-height: 30px; padding: 2px 22px 2px 8px; font-size: .75rem; }
.sbx-theme-revenue { background: var(--s-primary-soft); color: var(--s-primary-text); }
.sbx-theme-retention { background: var(--s-accent-soft); color: var(--s-accent); }
.sbx-theme-reliability { background: var(--s-ok-soft); color: var(--s-ok); }
.sbx-points { flex: none; padding: 1px 8px; border-radius: 999px; background: var(--s-primary-soft); color: var(--s-primary-text); font-size: .75rem; font-weight: 700; }
.sbx-goal { padding: 10px 12px; border-left: 3px solid var(--s-primary); background: var(--s-primary-soft); border-radius: 0 8px 8px 0; }
.sbx-goal p { font-weight: 600; color: var(--s-heading); }
.sbx-capacity { display: grid; gap: 6px; }
.sbx-capacity-track { height: 10px; border-radius: 5px; background: var(--s-muted); overflow: hidden; }
.sbx-capacity-fill { display: block; height: 100%; background: var(--s-ok); transition: width .25s; }
.sbx-capacity-track.is-over .sbx-capacity-fill { background: var(--s-danger); }
.sbx-over { color: var(--s-danger); font-weight: 700; }

/* GTM plan */
.sbx-gtm { display: grid; min-width: 640px; }
.sbx-gtm-head, .sbx-gtm-row { display: grid; grid-template-columns: 9rem repeat(6, minmax(0, 1fr)); }
.sbx-gtm-head span { padding: 4px 6px; font-size: .75rem; font-weight: 700; color: var(--s-muted-fg); border-bottom: 1px solid var(--s-border); }
.sbx-gtm-row > div { border-bottom: 1px solid var(--s-border); min-height: 56px; }
.sbx-gtm-stream { display: grid; align-content: center; padding: 6px; }
.sbx-gtm-stream strong { font-size: .875rem; color: var(--s-heading); }
.sbx-gtm-stream span { font-size: .75rem; color: var(--s-muted-fg); }
.sbx-gtm-cell { display: grid; gap: 4px; align-content: center; padding: 4px; border-left: 1px dashed var(--s-border); }
.sbx-task { display: inline-block; padding: 3px 7px; border-radius: 6px; background: var(--s-accent-soft); color: var(--s-accent); font-size: .75rem; font-weight: 600; line-height: 1.3; }
.sbx-dep { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .875rem; }
.sbx-risks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sbx-risks li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--s-muted); font-size: .875rem; }
.sbx-risks span { color: var(--s-muted-fg); }

/* AI orchestration */
.sbx-orch { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
.sbx-flow { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 0; }
.sbx-flow li { display: grid; justify-items: stretch; }
.sbx-flow li + li::before { content: ""; justify-self: center; width: 2px; height: 14px; background: var(--s-accent); }
.sbx-flow-node { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; width: 100%; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--s-border); border-radius: 10px; background: #fff; font: 600 .875rem var(--font-body); color: var(--s-heading); text-align: left; cursor: pointer; }
.sbx-flow-node.is-fixed { background: var(--s-muted); }
.sbx-flow-node.is-active { border-color: var(--s-primary); box-shadow: 0 0 0 3px var(--s-primary-soft); }
.sbx-flow-num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--s-heading); color: #fff; font-size: .6875rem; }
.sbx-flag { margin-left: auto; padding: 1px 7px; border-radius: 999px; background: var(--s-danger-soft); color: var(--s-danger); font-size: .6875rem; }
.sbx-node-panel { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 12px; background: var(--s-muted); }
.sbx-node-panel h4 { font-size: .9375rem; font-weight: 700; }

/* AI failure analysis */
.sbx-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sbx-log li { display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; background: var(--s-muted); font-size: .875rem; }
.sbx-log strong { font-size: .75rem; color: var(--s-muted-fg); }
.sbx-log .is-tool { background: #FDF3E1; font-family: ui-monospace, Consolas, monospace; font-size: .8125rem; }
.sbx-log .is-agent { background: var(--s-danger-soft); border-left: 3px solid var(--s-danger); }

/* Quiz */
.sbx-quiz-q { font-size: 1.1rem; font-weight: 700; margin-top: 6px; }
.sbx-quiz-opts { display: grid; gap: 8px; }
.sbx-quiz-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 2px solid var(--s-border); border-radius: 12px; background: #fff; font: 400 .9375rem/1.4 var(--font-body); color: var(--s-fg); text-align: left; cursor: pointer; }
.sbx-quiz-opt:hover:not(:disabled) { border-color: rgba(222, 155, 54, .5); }
.sbx-quiz-opt:disabled { cursor: default; }
.sbx-quiz-key { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--s-border); font-size: .75rem; font-weight: 700; }
.sbx-quiz-opt.is-correct { border-color: var(--s-accent); background: var(--s-accent-soft); }
.sbx-quiz-opt.is-correct .sbx-quiz-key { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }
.sbx-quiz-opt.is-wrong { border-color: var(--s-danger); background: var(--s-danger-soft); }
.sbx-quiz-opt.is-wrong .sbx-quiz-key { background: var(--s-danger); border-color: var(--s-danger); color: #fff; }
.sbx-explain { padding: 12px; border-radius: 10px; background: var(--s-muted); }
.sbx-explain:focus-visible { outline: 2px solid var(--s-accent); }

/* Voice */
.sbx-criteria { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sbx-criteria li { display: flex; gap: 8px; align-items: center; font-size: .875rem; }
.sbx-criteria li::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--s-border); }
.sbx-live { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--s-muted-fg); }
.sbx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s-primary); animation: sbx-pulse 1.2s ease-in-out infinite; }
.sbx-mic { justify-self: center; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--s-primary-soft); font-size: 2rem; }
.sbx-transcript { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sbx-transcript li { display: grid; gap: 2px; max-width: 88%; padding: 9px 12px; border-radius: 12px; background: var(--s-muted); font-size: .9rem; animation: sbx-in .3s ease both; }
.sbx-transcript li.is-you { justify-self: end; background: var(--s-primary-soft); }
.sbx-transcript strong { font-size: .75rem; color: var(--s-muted-fg); }
.sbx-transcript .sbx-done { justify-self: center; background: transparent; color: var(--s-muted-fg); font-style: italic; font-size: .8125rem; }
@keyframes sbx-pulse { 50% { opacity: .35; } }
@keyframes sbx-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Result */
.sbx-result { display: grid; gap: 14px; }
.sbx-result:empty { display: none; }
.sbx-grading { display: grid; gap: 10px; padding: 18px; border-radius: 12px; border: 1px solid var(--s-border); background: #fff; color: var(--s-muted-fg); font-weight: 600; }
.sbx-grading-bar { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--s-muted) 0%, var(--s-primary) 50%, var(--s-muted) 100%) 0 0 / 200% 100%; animation: sbx-sweep 1.1s linear infinite; }
@keyframes sbx-sweep { to { background-position: -200% 0; } }
.sbx-score { padding: 22px; border-radius: 12px; border: 1px solid rgba(222, 155, 54, .35); background: rgba(222, 155, 54, .07); text-align: center; }
.sbx-score:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }
.sbx-score-num { font-size: 2.4rem; font-weight: 700; color: var(--s-primary-text); line-height: 1.1; }
.sbx-demo-note { margin: 10px auto 0; max-width: 34rem; font-size: .8125rem; color: var(--s-muted-fg); }
.sbx-fb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sbx-fb { padding: 16px; border-radius: 12px; border: 1px solid var(--s-border); background: rgba(240, 237, 232, .45); display: grid; gap: 10px; align-content: start; }
.sbx-fb h4 { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; }
.sbx-fb-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--s-primary-soft); color: var(--s-primary-text); font-size: .875rem; font-weight: 700; }
.sbx-fb ol { margin: 0; padding: 0; list-style: none; counter-reset: fb; display: grid; gap: 8px; }
.sbx-fb li { counter-increment: fb; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; font-size: .875rem; color: var(--s-muted-fg); line-height: 1.5; }
.sbx-fb li::before { content: counter(fb); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--s-primary-soft); color: var(--s-primary-text); font-size: .6875rem; font-weight: 700; }
.sbx-fb > p { font-size: .875rem; color: var(--s-muted-fg); }
.sbx-fb .sbx-badge { font-weight: 400; } .sbx-fb .sbx-badge b { font-weight: 600; }
.sbx-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; border-radius: 12px; background: var(--s-heading); color: #E9EEF2; }
.sbx-cta .sbx-muted { color: #BFCAD3; }
.sbx-cta-title { font-weight: 700; color: #fff; }
.sbx-cta .sbx-btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.sbx-cta .sbx-btn-outline:hover { border-color: #fff; }

@media (max-width: 760px) {
  .sbx-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .sbx-zones, .sbx-fb-grid, .sbx-orch { grid-template-columns: minmax(0, 1fr); }
  .sbx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sbx-roadmap, .sbx-sprint { grid-template-columns: minmax(0, 1fr); }
  .sbx-col { min-height: 0; }
  .sbx-item { flex-direction: column; align-items: stretch; }
  .sbx-hbar { grid-template-columns: 6rem minmax(0, 1fr) 2.6rem; }
  .sbx-row.sbx-wrap > .sbx-input { flex: 1 1 100%; }
  .sbx-cta .sbx-btn { flex: 1 1 100%; }
}

/* Responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .how-grid, .why-grid, .voice-grid, .faq-grid, .field-grid, .work-cert { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 15ch; }
  .radar-card { max-width: 520px; }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .facts-row li { padding: 16px 0; }
  .facts-row li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-row li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .index, .work-grid { grid-template-columns: minmax(0, 1fr); }
  .ledger-head { display: none; }
  .ledger ul { border-top: 2px solid var(--navy); }
  .ledger li { grid-template-columns: minmax(0, 1fr); }
  .footer-row { grid-template-columns: 1fr; }
  .guide-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .brand img { width: 136px; }
  .header-row { gap: 12px; min-height: 60px; }
  .sheet { padding: 20px 16px 16px 30px; }
  .sheet::before { left: 16px; }
  .sheet-head .demo-tag { margin-left: 0; width: 100%; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { flex: 1 1 100%; }
  .facts-row li { flex-direction: column; gap: 2px; }
  .work-item { padding: 22px 18px; }
  .radar-labels text { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
