/* ============================================================
   Interlaced AI Readiness Assessment - styles
   Built on the Interlaced Design System tokens (Oct 2026 rule set).
   Decision tree: Website · Mixed · G2 · C2 · icons on
   Sand page · white containers · one gradient takeaway (score)
   cream C2 on two emphasis cards · Feather icons, Teal 700 on white
   ============================================================ */
:root {
  /* Palette (tokens.json) */
  --teal-50: #E6FAF7; --teal-100: #C2F2EC; --teal-200: #8AE6DB;
  --teal-500: #00C2B2; --teal-600: #00A89A; --teal-700: #0A8C8C;
  --lime-500: #D8F06E;
  --ink: #0A0A0A;
  --gray-700: #4A4A48; --gray-600: #6E6E6C; --gray-500: #9B9B9B; --gray-400: #B6B4AE; --gray-300: #D6D4CF; --gray-200: #E4E1DA;
  --sand: #F0EEE9; --sand-deep: #E7E4DC; --white: #FFFFFF;
  --red-500: #E5484D; --red-50: #FCEBEB; --amber-500: #E0A93B; --amber-50: #FBF1DD;

  /* Semantic */
  --surface-page: var(--sand);
  --surface-card: var(--white);
  --surface-sunken: var(--sand-deep);
  --text-primary: var(--ink);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  --accent: var(--teal-500);
  --accent-hover: var(--teal-600);
  --border: var(--gray-200);
  --focus-ring: 0 0 0 3px rgba(0, 194, 178, 0.40);
  --shadow-sm: 0 1px 3px rgba(10,10,10,.06), 0 1px 2px rgba(10,10,10,.04);
  --shadow-md: 0 4px 12px rgba(10,10,10,.07), 0 2px 4px rgba(10,10,10,.04);
  --shadow-teal: 0 8px 24px rgba(0,194,178,.28);

  /* Callouts (the only four presets) */
  --gradient-callout: linear-gradient(135deg, #0199A1 0%, #01A5AB 60%, #01D8D7 100%);
  --gradient-cream: linear-gradient(180deg, #F2F0CA 0%, #FEFEC4 100%);
  --cream-border: #E5E2B4;
  --shadow-callout-grad: 0 10px 28px rgba(1,120,128,.22);
  --shadow-callout-cream: 0 6px 18px rgba(120,118,40,.12);
  --text-shadow-callout: 0 1px 3px rgba(0,62,66,.38);
  --callout-on-grad: #FFFFFF;
  --callout-on-grad-heading-alt: var(--lime-500);
  --callout-on-cream: var(--ink);
  --callout-on-cream-heading-alt: var(--teal-700);
  --w-callout-grad-body: 600;
  --w-callout-grad-heading: 800;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 20px; --radius-pill: 999px;
  --max: 760px;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text-primary); background: var(--surface-page); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.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-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: var(--radius-pill); font-weight: 600; z-index: 200; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* Progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; background: var(--border); z-index: 100; }
.progress > div { height: 100%; background: var(--accent); width: 0; transition: width .5s cubic-bezier(.22,1,.36,1); }

/* Layout */
main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 64px 16px; }
.wrap { width: 100%; max-width: var(--max); }
.wrap--wide { max-width: 920px; }
.center { text-align: center; }
.fade-in { animation: fadeUp .45s cubic-bezier(.22,1,.36,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.slide-in { animation: slideIn .35s cubic-bezier(.22,1,.36,1) both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-in, .slide-in { animation: none; } .progress > div { transition: none; } }

/* Type */
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 14px; }
.eyebrow--teal { color: var(--teal-700); }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; line-height: 1.15; color: var(--text-primary); }
h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; }
h1.display { text-transform: uppercase; font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.accent { color: var(--accent); }
.lede { font-size: 17px; color: var(--text-secondary); margin: 18px auto 0; max-width: 560px; }
.muted { color: var(--text-secondary); }
.small { font-size: 14px; }
.tiny { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

/* Logo: top-left on content, centered on the welcome screen */
.logo { height: 24px; width: auto; margin: 0 auto 36px; }
.logo--small { height: 20px; margin: 0; }
.logo--footer { height: 18px; margin: 0 auto 10px; }

/* Buttons - pill shape, sentence-case labels. One primary per view. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-pill); border: 1px solid transparent;
  padding: 14px 28px; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:focus-visible { box-shadow: var(--focus-ring); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-teal); transform: translateY(-1px); }
.btn--ghost { background: var(--surface-card); color: var(--text-primary); border-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--gray-400); }
.btn--outline { background: transparent; color: var(--text-primary); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn[disabled] { background: var(--gray-200); color: var(--text-muted); box-shadow: none; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .15s; display: inline-flex; }
.btn:hover .arrow { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal-700); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.link-btn:hover { text-decoration: underline; }
.link-btn--muted { color: var(--text-muted); font-weight: 500; }

/* Pills */
.pill { display: inline-block; border-radius: var(--radius-pill); padding: 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: var(--ink); }
.pill--lime { background: var(--lime-500); color: var(--ink); text-shadow: none; }

/* Welcome */
.welcome .pill { margin-bottom: 26px; }
.welcome .meta { margin-top: 22px; font-size: 13px; color: var(--text-muted); }
.welcome .rule { width: 64px; height: 1px; margin: 44px auto 20px; background: var(--gray-300); }

/* Question */
.question h1 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 12px; }
.question .sub { color: var(--text-secondary); margin-bottom: 30px; font-size: 16px; }
.options { display: grid; gap: 12px; }
.option { width: 100%; text-align: left; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; color: var(--text-primary); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.option:hover { border-color: var(--gray-400); box-shadow: var(--shadow-md); }
.option:focus-visible { box-shadow: var(--focus-ring); }
.option[aria-checked="true"] { border-color: var(--accent); box-shadow: var(--focus-ring); }
.option .radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gray-400); flex: 0 0 22px; display: grid; place-items: center; transition: all .15s; }
.option[aria-checked="true"] .radio { background: var(--accent); border-color: var(--accent); }
.option .radio svg { width: 13px; height: 13px; stroke: var(--ink); stroke-width: 3; fill: none; opacity: 0; }
.option[aria-checked="true"] .radio svg { opacity: 1; }
.text-input { width: 100%; border: 0; border-bottom: 1px solid var(--gray-300); background: transparent; padding: 14px 0; font: inherit; font-size: 20px; color: var(--text-primary); outline: none; transition: border-color .15s; border-radius: 0; }
.text-input:focus { border-bottom-color: var(--accent); box-shadow: none; }
.text-input::placeholder { color: var(--text-muted); }
.field-error { color: var(--red-500); font-size: 13px; margin-top: 8px; min-height: 20px; }
.noted { height: 24px; margin-top: 14px; font-size: 14px; color: var(--text-muted); font-style: italic; }
.nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.step-count { margin-left: auto; font-size: 11px; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

/* Interstitial */
.stat-card { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center; box-shadow: var(--shadow-sm); }
.stat-card .stat { font-size: 34px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 480px) { .stat-card { grid-template-columns: 1fr; gap: 8px; } }
.stat-card .src { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.stack { display: grid; gap: 14px; }

/* Results */
.results main { align-items: flex-start; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.toolbar .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Containers: white on sand, hairline + soft shadow. The default. */
.card { position: relative; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.card h2 { margin-bottom: 8px; }
.card .intro { color: var(--text-secondary); font-size: 15px; margin-bottom: 22px; max-width: 640px; }
/* Container icon: one per container, top right, Teal 700 on white */
.card__icon { position: absolute; top: 24px; right: 24px; width: 24px; height: 24px; color: var(--teal-700); }
.card__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card--has-icon > .eyebrow, .card--has-icon > h2 { padding-right: 44px; }

/* Callout G2: the one gradient takeaway on the page */
.callout-g2 { background: var(--gradient-callout); border: 0; box-shadow: var(--shadow-callout-grad); color: var(--callout-on-grad); text-shadow: var(--text-shadow-callout); }
.callout-g2 p, .callout-g2 .muted { color: var(--callout-on-grad); font-weight: var(--w-callout-grad-body); }
.callout-g2 .eyebrow, .callout-g2 h2, .callout-g2 h3, .callout-g2 .num, .callout-g2 .card__icon { color: var(--callout-on-grad-heading-alt); font-weight: var(--w-callout-grad-heading); }
.callout-g2 .pill { text-shadow: none; }

/* Callout C2: cream, Teal 700 heading, ink body */
.callout-c2 { background: var(--gradient-cream); border: 1px solid var(--cream-border); box-shadow: var(--shadow-callout-cream); color: var(--callout-on-cream); }
.callout-c2 h2, .callout-c2 h3, .callout-c2 .eyebrow, .callout-c2 .card__icon { color: var(--callout-on-cream-heading-alt); }
.callout-c2 .intro, .callout-c2 .muted, .callout-c2 p { color: var(--callout-on-cream); }
.callout-c2 .tiny { color: var(--gray-700); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .grid-3 { grid-template-columns: 1fr; } }
.tile { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-sm); }
.tile .tiny { margin-bottom: 8px; display: block; }
.tile .val { font-size: 18px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.tile p { font-size: 14px; color: var(--text-secondary); }

/* Score (on the gradient) */
.score-hero { display: grid; grid-template-columns: 216px 1fr; gap: 28px; align-items: center; }
@media (max-width: 640px) { .score-hero { grid-template-columns: 1fr; text-align: center; } .score-hero .ring { margin: 0 auto; } }
.ring { position: relative; width: 196px; height: 196px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring .track { stroke: rgba(255,255,255,.22); }
.ring .fill { stroke: var(--lime-500); stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.22,1,.36,1); }
.ring .num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 68px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; text-shadow: var(--text-shadow-callout); font-variant-numeric: tabular-nums; }
.ring .num small { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; font-size: 10px; font-weight: 700; color: var(--callout-on-grad); letter-spacing: .14em; text-transform: uppercase; }
.score-note { font-size: 15px; margin-top: 16px; max-width: 46ch; }

/* Category bars */
.bars { display: grid; gap: 16px; margin-top: 8px; }
.bar__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; margin-bottom: 6px; }
.bar__row .right { display: flex; align-items: center; gap: 10px; }
.tag { border-radius: var(--radius-pill); padding: 3px 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--border); background: var(--surface-card); color: var(--text-secondary); }
.tag--strong { background: var(--teal-50); color: var(--teal-700); border-color: transparent; }
.tag--dev { background: var(--amber-50); color: #8A6512; border-color: transparent; }
.tag--priority { background: var(--red-50); color: #B5373B; border-color: transparent; }
.bar__track { height: 10px; background: var(--sand); border-radius: var(--radius-pill); overflow: hidden; }
.bar__fill { height: 100%; background: var(--accent); border-radius: var(--radius-pill); width: 0; transition: width .8s cubic-bezier(.22,1,.36,1); }
details { margin-top: 18px; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 16px; background: var(--sand); }
summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.raw { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--gray-300); }
.raw:last-child { border-bottom: 0; }

/* Item rows inside a container (sunken, no colored borders) */
.item { display: grid; grid-template-columns: 112px 1fr; gap: 18px; border-radius: var(--radius-md); padding: 20px; background: var(--sand); margin-bottom: 12px; align-items: start; }
.item:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .item { grid-template-columns: 1fr; gap: 8px; } }
.item .metric { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; color: var(--teal-700); }
.item .metric .src { display: block; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }
.item h3 { margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.item p { font-size: 14px; color: var(--text-secondary); }
.item .pill--lime { font-size: 9.5px; padding: 3px 8px; letter-spacing: .08em; }

.insight { position: relative; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.insight h3 { margin-bottom: 8px; padding-right: 40px; }
.insight p { font-size: 14.5px; color: var(--text-secondary); }
.section-label { margin: 8px 0 12px; }

/* Quick win (C2) */
.steps { display: grid; gap: 10px; margin: 18px 0; }
.step { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.step .n { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--lime-500); color: var(--ink); border-radius: var(--radius-pill); padding: 6px 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.quote { background: rgba(255,255,255,.55); border: 1px solid var(--cream-border); padding: 14px 18px; border-radius: var(--radius-md); }
.quote p:first-child { font-style: italic; font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.quote .src { font-size: 12px; color: var(--gray-700); }

/* Table */
.table-wrap { overflow-x: auto; margin: 0 -28px -28px; border-top: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 620px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
th.you, td.you-col { background: var(--teal-50); }
th.you { color: var(--teal-700); }
th .you-tag { background: var(--accent); color: var(--ink); font-size: 9px; border-radius: var(--radius-pill); padding: 2px 6px; margin-left: 6px; vertical-align: middle; }
td { color: var(--text-secondary); }
td.is { font-weight: 600; color: var(--text-primary); }
td.is::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--text-primary); white-space: nowrap; }

/* Engagement */
.includes { background: rgba(255,255,255,.55); border: 1px solid var(--cream-border); border-radius: var(--radius-md); padding: 18px 20px; margin: 18px 0; }
.includes ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 9px; }
.includes li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; color: var(--ink); }
.includes li svg { width: 18px; height: 18px; flex: 0 0 18px; stroke: var(--teal-700); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.facts { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 20px; }
.facts .val { font-size: 18px; font-weight: 800; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.cta-note { text-align: center; font-size: 12.5px; color: var(--gray-700); margin-top: 12px; }

/* Email share */
.email-preview { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-top: 14px; background: var(--sand); }
.email-preview .subj { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.email-preview pre { margin: 0; padding: 14px; font: 12.5px/1.6 var(--font); white-space: pre-wrap; max-height: 320px; overflow: auto; }
.check-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.check-chips span { font-size: 11px; background: var(--sand); border-radius: var(--radius-pill); padding: 4px 10px; color: var(--text-secondary); }

/* References */
.refs ol { margin: 12px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; font-size: 13.5px; color: var(--text-secondary); }
.refs li b { color: var(--teal-700); margin-right: 8px; }
.refs a { color: var(--teal-700); }
.cite { color: var(--teal-700); font-weight: 700; font-size: 10px; vertical-align: super; margin-left: 2px; text-decoration: none; cursor: help; }
.callout-g2 .cite, .callout-c2 .cite { color: inherit; }

/* Footer: text on sand, no band */
.footer { text-align: center; margin-top: 40px; color: var(--text-muted); font-size: 12.5px; }
.footer .links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.footer .rule { width: 64px; height: 1px; margin: 26px auto 14px; background: var(--gray-300); }
.footer .contact { margin-top: 6px; }
.footer a { color: var(--text-secondary); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Toast: white container, never ink */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--surface-card); color: var(--text-primary); border: 1px solid var(--border); padding: 12px 20px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; opacity: 0; transition: all .25s; z-index: 300; pointer-events: none; box-shadow: var(--shadow-md); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Embed mode */
body.embed { background: transparent; }
body.embed main { min-height: 0; padding: 24px 16px; }
body.embed .footer .contact, body.embed .footer .rule { display: none; }

@media print {
  .toolbar, .footer .links, .btn, .progress { display: none !important; }
  body { background: var(--sand); }
  * { text-shadow: none !important; box-shadow: none !important; }
  .card { break-inside: avoid; }
}

/* ===== v2 additions: zones, category check, guardrails, patterns, five questions, phases ===== */
.display-md { font-size: clamp(26px, 4vw, 36px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.05; }
.option { position: relative; }
.option__text { flex: 1; min-width: 0; }
.option__rate { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.option[aria-checked="true"] .option__rate { color: var(--teal-700); }
@media (max-width: 480px) { .option__rate { display: none; } }
.text-area { resize: vertical; min-height: 96px; font-size: 17px; line-height: 1.5; border: 1px solid var(--gray-300); border-radius: var(--radius-md); padding: 14px 16px; background: var(--surface-card); }
.text-area:focus { border-color: var(--accent); box-shadow: var(--focus-ring); }

/* Midpoint stat cards: G2 takeaway + white */
.stat-card .stat__label { font-weight: 700; margin-bottom: 2px; }
.stat-card .stat__body { font-size: 14px; color: var(--text-secondary); }
.stat-card.callout-g2 .stat { color: var(--callout-on-grad-heading-alt); font-weight: 800; text-shadow: var(--text-shadow-callout); }
.stat-card.callout-g2 .stat__label { color: var(--callout-on-grad-heading-alt); font-weight: 800; }
.stat-card.callout-g2 .stat__body { color: var(--callout-on-grad); font-weight: 600; }

/* Axes inside the score card */
.axes { display: grid; gap: 12px; margin-top: 18px; }
.axis__row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; color: var(--callout-on-grad-heading-alt); margin-bottom: 5px; font-variant-numeric: tabular-nums; }
.axis__track { height: 8px; background: rgba(255,255,255,.22); border-radius: var(--radius-pill); overflow: hidden; }
.axis__fill { height: 100%; background: var(--lime-500); border-radius: var(--radius-pill); width: 0; transition: width .8s cubic-bezier(.22,1,.36,1); }
.axis__q { font-size: 12.5px; margin-top: 4px; font-weight: 600; color: var(--callout-on-grad); }
.score-note { font-size: 13.5px; margin-top: 16px; }

/* Category check rows */
.cat-list { display: grid; gap: 8px; }
.cat-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-card); }
.cat-row__icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; }
.cat-row__title { font-weight: 700; font-size: 14.5px; }
.cat-row__title .tiny { margin-right: 6px; }
.cat-row__right { display: flex; align-items: center; gap: 10px; }
.cat-row__pts { font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; }
@media (max-width: 560px) { .cat-row { grid-template-columns: 36px 1fr; } .cat-row__right { grid-column: 2; justify-content: flex-start; } }

/* Guardrails */
.item--guard { grid-template-columns: 40px 1fr; }
.item__n { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.item--guard h3 .tag { vertical-align: middle; margin-left: 2px; }

/* Patterns */
.item--pattern { grid-template-columns: 1fr 28px 1fr; align-items: center; }
.pattern__quote { font-size: 16px; font-weight: 700; font-style: italic; color: var(--ink); line-height: 1.35; }
.pattern__arrow { color: var(--teal-700); display: grid; place-items: center; }
.pattern__resp { font-size: 14.5px; color: var(--text-secondary); }
@media (max-width: 560px) { .item--pattern { grid-template-columns: 1fr; } .pattern__arrow { transform: rotate(90deg); justify-self: start; } }

/* Five questions */
.five { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .five { grid-template-columns: 1fr; } }
.five__q { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; background: var(--surface-card); }
.five__q--em { background: var(--gradient-cream); border-color: var(--cream-border); box-shadow: var(--shadow-callout-cream); }
.five__q--em h3 { color: var(--teal-700); }
.five__head { display: flex; justify-content: space-between; align-items: center; color: var(--teal-700); margin-bottom: 8px; }
.five__q h3 { font-size: 15px; margin-bottom: 6px; }
.five__q p { font-size: 13.5px; color: var(--text-secondary); }
.five__q--em p { color: var(--ink); }

/* Zone table */
tr.is-you td { background: var(--teal-50); }
td .you-tag { background: var(--accent); color: var(--ink); font-size: 9px; border-radius: var(--radius-pill); padding: 2px 6px; margin-left: 6px; vertical-align: middle; font-weight: 800; }
td:first-child { white-space: nowrap; font-weight: 600; }

/* Phases */
.phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0; }
@media (max-width: 860px) { .phases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .phases { grid-template-columns: 1fr; } }
.phase { background: rgba(255,255,255,.55); border: 1px solid var(--cream-border); border-radius: var(--radius-md); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.phase--now { background: var(--surface-card); border-color: var(--teal-200); }
.phase__title { font-weight: 800; font-size: 14px; color: var(--teal-700); }
.phase__body { font-size: 12.5px; color: var(--ink); }
.phase .pill { align-self: flex-start; margin-top: 6px; font-size: 9px; padding: 3px 8px; }
.includes li b { font-weight: 800; }

/* Inline CTA inside the zone card (top of the report) */
.cta-inline { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cta-inline p { margin: 0; max-width: 46ch; }
.cta-row--left { justify-content: flex-start; }
.sub-gap { height: 14px; }

.pill--xs { font-size: 9px; padding: 3px 8px; letter-spacing: .1em; margin-left: 8px; vertical-align: middle; }
