/* Talent Trailblazer site styles: tokens and base, shared components, then one section per page. */
:root {
  /* Spacing */
  --s25: 2px; --s50: 4px; --s75: 8px; --s100: 12px; --s200: 16px; --s300: 24px;
  --s400: 32px; --s500: 40px; --s600: 48px; --s700: 64px; --s800: 80px; --s900: 96px;
  --gutter: var(--s300);
  --max: 1280px;
  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ui: cubic-bezier(0.23, 1, 0.32, 1);
  /* Type */
  --font: 'Poppins', sans-serif;
  /* Color */
  --ground: #fff; --ink: #0A1F3D; --ink-2: #4F5B6B; --on-ink: #F4F1EA; --on-ink-2: #9AA3B2;
  --line: #D9D5CB; --line-strong: #8A8578;
  --wash: #F4F1EA; --wash-hover: #E9E5DA;
  --accent: #E8A33D; --cobalt: #0A1F3D; --cobalt-tint: #FBF3E4; --on-cobalt: #F4F1EA;
  --sticky: #E8A33D; --sticky-edge: #B97F22; --sticky-tint: #FBF3E4;
  --danger: #b42318;
  --primary: #E8A33D; --primary-hover: #F0B257; --on-primary: #0A1F3D; --focus: #0A1F3D; --select: #E8A33D;
  /* Box corners: note = stickies and paper, control = things you press or type in, card = cards and callouts, panel = top-level panels and media */
  --r-note: 3px; --r-control: 8px; --r-card: 12px; --r-panel: 16px;
  /* Box depth: only sticky notes cast a shadow. Cards and dropdowns use a thin border instead. */
  --e-note: 0 1px 1px rgba(10,31,61,.15), 0 3px 6px -2px rgba(10,31,61,.3);
  --e-card: 0 0 0 1px var(--line);
  --e-lift: 0 0 0 1px var(--line-strong);
  --e-paper: 0 2px 4px rgba(10,31,61,.16), 0 28px 40px -24px rgba(10,31,61,.6);
}
@media (min-width: 768px) { :root { --gutter: var(--s600); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--s900); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
picture source { display: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: var(--select); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Named text styles, sizes on the Tailwind scale */
.heading-2 { font-size: 30px; line-height: 36px; font-weight: 700; }
.heading-3 { font-size: 30px; line-height: 36px; font-weight: 700; }
@media (min-width: 768px) {
  .heading-2 { font-size: 36px; line-height: 44px; }
}
@media (min-width: 1100px) {
  .heading-2 { font-size: 36px; line-height: 44px; }
  .heading-3 { font-size: 36px; line-height: 40px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s75); min-height: 48px; padding: var(--s100) var(--s300); border-radius: var(--r-control); background: var(--primary); color: var(--on-primary); font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; transition: background-color .25s var(--ease-ui), transform .16s var(--ease-ui), box-shadow .25s var(--ease-ui); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { min-height: 40px; padding: var(--s75) var(--s200); font-size: 14px; line-height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--primary-hover, var(--primary)); box-shadow: var(--e-lift); }
  .btn-ghost:hover { background: var(--ink); color: var(--ground); }
}
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Skip link */
.skip { position: fixed; left: var(--s200); top: var(--s200); z-index: 100; padding: var(--s75) var(--s200); background: var(--ink); color: #fff; border-radius: var(--r-control); transform: translateY(-200%); transition: transform .2s var(--ease-ui); }
.skip:focus { transform: none; }

/* Floating nav */
.nav { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: var(--s300); padding: var(--s75) var(--gutter); background: #fff; box-shadow: inset 0 -1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: var(--s75); text-decoration: none; font-weight: 600; font-size: 14px; line-height: 20px; white-space: nowrap; margin-right: 0; min-height: 40px; }
.brand svg { width: 16px; height: 24px; flex: none; }
.nav-links { display: none; gap: var(--s50); margin-left: var(--s300); margin-right: auto; align-items: center; }
.nav-link, .nav-trigger { padding: var(--s75) var(--s100); border-radius: var(--r-control); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; transition: background-color .25s var(--ease-ui); }
@media (hover: hover) and (pointer: fine) { .nav-link:hover, .nav-trigger:hover { background: rgba(10,31,61,.08); } }
.nav .nav-cta { display: none; }
.menu-toggle { position: relative; width: 44px; height: 44px; border-radius: var(--r-control); flex: none; }
.menu-toggle span { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); border-radius: var(--r-note); transition: transform .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.menu { overscroll-behavior: contain; position: fixed; inset: 0; z-index: 40; padding: var(--s900) var(--gutter) var(--s400); background: var(--menu-surface, rgba(255,255,255,.94)); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); display: flex; flex-direction: column; gap: var(--s75); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease-ui), visibility 0s linear .25s; }
.menu.open { opacity: 1; visibility: visible; transition: opacity .25s var(--ease-ui); }
.menu a { font-size: 30px; line-height: 36px; font-weight: 600; text-decoration: none; padding: var(--s100) 0; opacity: 0; transform: translateY(24px); }
.menu.open a { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.menu a.btn { font-size: 16px; line-height: 24px; margin-top: var(--s300); padding: var(--s100) var(--s300); }
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .menu-toggle, .menu { display: none; }
}

/* Tagline reveal */
.tagline { padding-block: var(--s600); background: var(--ink); color: var(--on-ink); }
.tagline p { max-width: 24ch; font-size: 30px; line-height: 40px; font-weight: 700; text-wrap: balance; }
.tagline .w { opacity: .45; transition: opacity .6s var(--ease); }
.tagline .w.on { opacity: 1; }
@media (min-width: 768px) { .tagline p { font-size: 48px; line-height: 60px; } .tagline { padding-block: var(--s700); } }

/* Footer */
.foot { padding-block: var(--s600); background: var(--foot-ground, var(--ground)); }
.foot-top { display: flex; flex-wrap: wrap; gap: var(--s200) var(--s400); align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s75) var(--s300); }
.foot-links a { font-size: 14px; line-height: 20px; font-weight: 600; min-height: 24px; }
.foot-legal { margin-top: var(--s300); font-size: 12px; line-height: 16px; color: var(--ink-2); max-width: 720px; }


.mono { font-family: var(--font); font-variant-numeric: tabular-nums; }


/* Board */
.presets { display: flex; flex-wrap: wrap; gap: var(--s50); }
.chip { min-height: 44px; padding: var(--s75) var(--s100); border-radius: var(--r-control); background: #fff; font-size: 14px; line-height: 20px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s var(--ease-ui), box-shadow .2s var(--ease-ui), transform .16s var(--ease-ui); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }

.board { display: grid; grid-template-columns: var(--rowhead) 1fr; grid-template-rows: 1fr auto; --rowhead: 80px; --cols: 6; }
.axis-y { display: grid; grid-template-rows: repeat(5, 1fr); }
.axis-y span { display: flex; align-items: center; justify-content: flex-end; padding-right: var(--s75); text-align: right; font-size: 12px; line-height: 16px; font-weight: 600; }
.axis-x { grid-column: 2; display: grid; grid-template-columns: repeat(6, 1fr); }
.axis-x span { padding-top: var(--s75); text-align: center; font-size: 12px; line-height: 16px; font-weight: 600; overflow-wrap: anywhere; }
.grid { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(5, 1fr); gap: 2px; aspect-ratio: 1 / 1.55; touch-action: pan-y; }
@media (min-width: 640px) { .grid { aspect-ratio: 6 / 4; } }
.cell { background: #fff; border-radius: var(--r-note); transition: background-color .3s var(--ease-ui); position: relative; }
.cell.hot { outline: 2px solid var(--cobalt); outline-offset: -2px; }
.note { position: absolute; left: 0; top: 0; width: var(--t); height: var(--t); display: grid; place-items: center; background: var(--sticky); border-radius: var(--r-note); font-size: 12px; line-height: 16px; color: var(--ink); box-shadow: var(--e-note); cursor: grab; touch-action: none; user-select: none; transition: transform .45s var(--ease), box-shadow .2s var(--ease-ui); z-index: 2; }
.note.drag { transition: box-shadow .2s var(--ease-ui); cursor: grabbing; z-index: 5; box-shadow: var(--e-lift); }
.note::after { content: ""; position: absolute; inset: -6px; }
.board-help { margin-top: var(--s100); font-size: 12px; line-height: 16px; color: var(--ink-2); }





.faq details { box-shadow: inset 0 -1px 0 var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s200); padding-block: var(--s200); font-size: 18px; line-height: 28px; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); border-radius: var(--r-note); transition: transform .3s var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq p { padding-bottom: var(--s200); color: var(--ink-2); max-width: 60ch; }
.faq h2 { margin-bottom: var(--s300); }

/* ---- Site additions ---- */
@media (max-width: 1099px) { .menu-toggle { margin-left: auto; } }
.nav-link[aria-current="page"], .nav-trigger[aria-current] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--cobalt); border-radius: 0; }
.menu a[aria-current="page"]:not(.btn) { color: var(--cobalt); }
.nav-group { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: var(--s50); }
.nav-trigger svg { width: 16px; height: 16px; transition: transform .2s var(--ease-ui); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-panel { position: absolute; top: calc(100% + var(--s75)); left: 0; width: 340px; padding: var(--s75); display: grid; gap: var(--s25); background: #fff; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line), var(--e-lift); }
.nav-panel[hidden] { display: none; }
.nav-panel a { display: grid; padding: var(--s75) var(--s100); border-radius: var(--r-control); text-decoration: none; transition: background-color .2s var(--ease-ui); }
.nav-panel a strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.nav-panel a span { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.nav-panel a[aria-current="page"] { background: var(--wash); }
@media (hover: hover) and (pointer: fine) { .nav-panel a:hover { background: var(--wash); } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s200) var(--s300); }
.fw-more { margin-top: var(--s300); }

/* Post lists */

/* Page and article structure */
.prose-page, .post { padding-top: var(--s400); padding-bottom: var(--s800); }
.page-head { padding-top: var(--s500); padding-bottom: var(--s300); }
.page-head .c-lead { margin-top: var(--s200); }
.nf { min-height: 50vh; } .nf .actions { margin-top: var(--s400); }
.c-h1 { font-size: 36px; line-height: 40px; font-weight: 600; text-wrap: balance; }
@media (min-width: 768px) { .c-h1 { font-size: 48px; line-height: 48px; } }
.c-lead { font-size: 20px; line-height: 28px; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.c-hero { padding-bottom: var(--s500); display: grid; gap: var(--s200); }
.c-hero .c-label { order: 2; }
.c-hero h1, .c-hero .c-h1 { order: 0; } .c-hero .c-lead { order: 1; }
.c-hero .actions, .c-hero .c-actions { order: 3; }
.c-back { display: inline-flex; align-items: center; min-height: 44px; gap: var(--s50); margin-bottom: var(--s200); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.c-back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: var(--s25); }
@media (hover: hover) and (pointer: fine) { .c-back:hover { color: var(--cobalt); } }

/* Prose */
.prose-page > *, .post-body > *, .doc-body > section > * { margin-top: var(--s200); }
/* Long pages split into sections: each starts clearly apart from the last. */
.doc-body > section > :first-child { margin-top: 0 !important; }
.doc-body > section + section { margin-top: var(--s700); padding-top: var(--s600); box-shadow: inset 0 1px 0 var(--line); }
.prose-page p, .post-body p, .prose-page li, .post-body li { font-size: 18px; line-height: 1.6; }
.prose-page h2, .post-body h2 { font-size: 30px; line-height: 36px; font-weight: 600; margin-top: var(--s600); text-wrap: balance; scroll-margin-top: var(--s900); }
.prose-page h3, .post-body h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin-top: var(--s400); scroll-margin-top: var(--s900); text-wrap: balance; }
.prose-page h4, .post-body h4 { font-size: 18px; line-height: 28px; font-weight: 600; margin-top: var(--s300); }
.post-body { margin-top: var(--s400); }
.prose-page a:not(.btn):not(.c-back), .post-body a:not(.btn) { color: var(--cobalt); text-decoration: underline; }
.prose-page hr, .post-body hr { border: 0; height: 1px; background: var(--line); margin-block: var(--s600); }
.c-title { font-size: 30px; line-height: 36px; font-weight: 600; }
.c-label { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cobalt); }
.prose-page > .c-label, .post-body > .c-label, .doc-body > section > .c-label, .c-stack + .c-label, .c-card + .c-label, .c-grid + .c-label { margin-top: var(--s500); }
.c-label + .c-title, .c-label + h2, .c-label + h3 { margin-top: var(--s50) !important; }
.c-title + p, h2 + p { margin-top: var(--s100) !important; }
.c-stack { display: grid; gap: var(--s200); align-content: start; }
@media (min-width: 640px) { .c-grid:has(> .c-stack) { grid-template-columns: 1fr 2fr; } }
.c-meta { display: block; font-size: 14px !important; line-height: 20px !important; color: var(--ink-2); }
.c-num { justify-self: start; width: fit-content; display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding-inline: var(--s75); border-radius: var(--r-note); background: var(--sticky); font-family: var(--font); font-size: 14px; line-height: 20px; color: var(--ink); }
.c-name { display: block; font-size: 20px; line-height: 28px; font-weight: 600; }
.c-belief { font-size: 20px !important; line-height: 28px !important; font-weight: 600; }
.c-signal { display: block; padding-left: var(--s200); position: relative; font-size: 16px; line-height: 24px; }
.c-signal::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--cobalt); }
.c-list, .post-body ul, .post-body ol, .prose-page ul:not([role]) { display: grid; gap: var(--s75); }
.c-list > li, .post-body ul > li, .prose-page ul > li { position: relative; padding-left: var(--s300); }
.c-list > li::before, .post-body ul > li::before, .prose-page ul > li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 2px; background: var(--cobalt); }
.post-body ol { list-style: decimal; padding-left: var(--s300); }
.c-quote, .post-body blockquote, .prose-page blockquote { background: var(--sticky); border-radius: var(--r-card); padding: var(--s300); font-size: 20px; line-height: 28px; font-weight: 600; margin-block: var(--s500) !important; }
@media (min-width: 720px) { .c-quote, .post-body blockquote, .prose-page blockquote { padding: var(--s400); font-size: 24px; line-height: 32px; } }
.c-quote p, blockquote p { font-size: inherit !important; line-height: inherit !important; font-weight: inherit; }
blockquote cite, .c-quote cite { display: block; margin-top: var(--s75); font-size: 14px; line-height: 20px; font-weight: 400; font-style: normal; letter-spacing: 0; color: var(--ink); }
em { font-style: normal; font-weight: 600; }

/* Cards and grids */
.c-card, .c-key, .c-cta, .c-assess { border-radius: var(--r-card); padding: var(--s300); display: grid; gap: var(--s100); align-content: start; }
.c-card { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.c-key, .c-assess { background: var(--wash); }
.c-card > *, .c-key > *, .c-cta > *, .c-assess > * { margin: 0 !important; }
.c-card p, .c-card li, .c-key p, .c-key li, .c-cta p { font-size: 16px; line-height: 24px; }
.c-card h3, .c-card h4, .c-key h3, .c-cta h3, .c-cta h2 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; }
a.c-card { text-decoration: none !important; color: inherit !important; transition: box-shadow .25s var(--ease-ui), transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { a.c-card:hover { box-shadow: inset 0 0 0 1.5px var(--cobalt); transform: translateY(-2px); } }
.c-cta { background: var(--cobalt); color: #fff; margin-block: var(--s500) !important; padding: var(--s300); }
@media (min-width: 720px) { .c-cta { padding: var(--s500); } }
.c-cta .btn, .c-card .btn { width: fit-content; margin-top: var(--s75) !important; }
.c-grid { display: grid; gap: var(--s200); margin-block: var(--s300); }
.c-grid > * { margin: 0 !important; min-width: 0; }
@media (min-width: 640px) { .c-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.c-actions { display: flex; flex-wrap: wrap; gap: var(--s200); align-items: center; margin-top: var(--s300); }
.c-note { font-size: 16px !important; color: var(--ink-2); padding: var(--s200) 0; }
.prose-page a.btn { color: var(--on-primary); text-decoration: none; }
.prose-page a.btn-ghost { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .prose-page a.btn-ghost:hover { color: var(--ground); } }

/* Stats inside articles */
.c-stats { display: grid; gap: var(--s200); margin-block: var(--s400) !important; }
@media (min-width: 640px) { .c-stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.c-stat { display: grid; gap: var(--s50); align-content: start; padding-top: var(--s200); box-shadow: inset 0 2px 0 var(--ink); }
.c-stat-num { font-size: 48px; line-height: 48px; font-weight: 600; font-variant-numeric: tabular-nums; }
.c-stat-label { font-size: 14px; line-height: 20px; }
.c-stat-source { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-2); }

/* Tabs and prompts in framework pages */
.c-tabset { margin-block: var(--s300); }
.c-tablist { display: flex; flex-wrap: wrap; gap: var(--s50); margin-bottom: var(--s100); }
.c-tab { min-height: 40px; padding: var(--s75) var(--s100); border-radius: var(--r-control); font-size: 14px; line-height: 20px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s var(--ease-ui), color .2s var(--ease-ui); }
.c-tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .c-tab[aria-selected="false"]:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.c-panel[hidden] { display: none; }
.c-panel { display: grid; gap: var(--s100); }
.c-prompt { background: var(--wash); border-radius: var(--r-card); padding: var(--s200); font-size: 16px; line-height: 24px; white-space: pre-wrap; overflow-wrap: anywhere; }
.c-turn, .c-panel > .c-label { display: block; margin-top: var(--s100); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); }
.c-panel > :first-child { margin-top: 0; }
.c-panel > h3 { margin-top: var(--s200); }
.c-assess-list { display: grid; gap: var(--s75); }
.c-assess-list > li { display: grid !important; grid-template-columns: 48px 1fr; gap: var(--s100); padding-left: 0 !important; font-size: 16px !important; line-height: 24px !important; align-items: start; }
.c-assess-list > li::before { display: none; }
.c-yes { display: inline-grid; place-items: center; height: 24px; border-radius: var(--r-note); font-size: 12px; line-height: 16px; font-weight: 600; }
.c-yes.is-yes { background: var(--sticky); } .c-yes.is-no { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* Insights filters */
.insights { padding-bottom: var(--s800); }
.filters { display: grid; gap: var(--s200); padding-block: var(--s200); box-shadow: inset 0 -1px 0 var(--ink); position: sticky; top: 56px; background: #fff; z-index: 10; }
.search { display: grid; gap: var(--s50); max-width: 420px; }
.search label { font-size: 14px; line-height: 20px; font-weight: 600; }
.empty { padding-block: var(--s700); display: grid; gap: var(--s200); justify-items: start; }
.empty[hidden], .post-row[hidden] { display: none; }
input[type=search], input[type=text], input[type=email], input:not([type]), textarea, select { width: 100%; min-height: 48px; padding: var(--s100); font: inherit; color: var(--ink); background-color: #fff; border: 0; border-radius: var(--r-control); box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .2s var(--ease-ui); }
select { appearance: none; padding-right: var(--s500); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1F3D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--s100) center; background-size: 20px; cursor: pointer; }
select:has(option[value=""]:checked) { color: var(--ink-2); }
input:focus, textarea:focus, select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cobalt); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.err { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--danger); }
.err:empty { display: none; }

/* Assessment */
.as { padding-top: var(--s400); padding-bottom: var(--s800); }
.as [hidden] { display: none !important; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s75); }
.as-opt { display: grid; grid-template-columns: 24px 1fr; gap: var(--s100); align-items: start; padding: var(--s200); min-height: 56px; background: #fff; border-radius: var(--r-control); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s var(--ease-ui), background-color .2s var(--ease-ui); }
@media (hover: hover) and (pointer: fine) { .as-opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.as-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--cobalt); background: var(--cobalt-tint); }
.as-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.as-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cobalt); }
.as-fields { display: grid; gap: var(--s200); }
@media (min-width: 560px) { .as-fields { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s50); align-content: start; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; }
@media (min-width: 560px) { .field-wide { grid-column: 1 / -1; } }
.as-check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s100); font-size: 14px; line-height: 20px; cursor: pointer; }
.as-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--cobalt); }
.as-checks { display: grid; gap: var(--s100); }
.as-checks .err:empty { display: none; }
.as-check a { color: inherit; font-weight: 600; }
.as-fine { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.as-bar { display: block; width: 100%; height: 8px; border: 0; border-radius: var(--r-control); background: var(--wash); overflow: hidden; appearance: none; }
.as-bar::-webkit-progress-bar { background: var(--wash); }
.as-bar::-webkit-progress-value { background: var(--accent); border-radius: var(--r-control); transition: inline-size .4s var(--ease); }
.as-bar::-moz-progress-bar { background: var(--accent); border-radius: var(--r-control); }

.as-q #q:focus { outline: none; }
.likert { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s75); }
.likert label { display: grid; place-items: center; min-height: 56px; background: #fff; border-radius: var(--r-control); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: box-shadow .2s var(--ease-ui), background-color .2s var(--ease-ui), color .2s var(--ease-ui); }
.likert input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.likert label:has(input:checked) { background: var(--cobalt); color: #fff; box-shadow: none; }
.likert label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .likert label:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
textarea { resize: vertical; line-height: 24px; }
.as-nav { display: flex; justify-content: space-between; gap: var(--s200); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.as-sk { display: grid; gap: var(--s100); }
.as-sk i { display: block; height: 72px; border-radius: var(--r-card); background: var(--wash); animation: sk 1.4s var(--ease) infinite alternate; }
.as-sk i:nth-child(2) { animation-delay: .15s; } .as-sk i:nth-child(3) { animation-delay: .3s; }
@keyframes sk { from { opacity: 1; } to { opacity: .45; } }

/* Results */
.res-page { padding-top: var(--s400); padding-bottom: var(--s800); display: grid; gap: var(--s600); }
.r-head { display: grid; gap: var(--s500); align-items: center; }
.r-head .c-lead { margin-top: var(--s200); }
@media (min-width: 1000px) { .r-head { grid-template-columns: 5fr 6fr; gap: var(--s700); } }
.r-board { background: var(--wash); border-radius: var(--r-panel); padding: var(--s200); }
.r-board .grid { aspect-ratio: 6 / 4; } 
.r-board .cell.me { background: var(--cobalt); position: relative; }
.r-board .cell.band { background: var(--wash-hover); }
.r-pin { position: absolute; inset: 0; display: grid; place-items: center; }
.r-pin i { display: grid; place-items: center; width: min(70%, 44px); aspect-ratio: 1; background: var(--sticky); border-radius: var(--r-note); transform: rotate(-3deg); font-style: normal; font-size: 12px; font-weight: 600; box-shadow: var(--e-note); color: var(--ink); }
.r-sec { display: grid; gap: var(--s300); padding-top: var(--s300); box-shadow: inset 0 2px 0 var(--ink); }
@media (min-width: 900px) { .r-sec { grid-template-columns: 320px 1fr; gap: var(--s600); } }
.r-sec h2 { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); }
.r-sec .big { font-size: 36px; line-height: 40px; font-weight: 600; margin-top: var(--s50); text-wrap: balance; }
.r-sec .sub { margin-top: var(--s75); font-size: 18px; line-height: 28px; font-weight: 600; }
.r-body { display: grid; gap: var(--s200); max-width: 70ch; font-size: 18px; line-height: 28px; }
.r-meter { display: flex; align-items: center; gap: var(--s100); margin-top: var(--s200); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.r-meter span { flex: 1; height: 8px; border-radius: var(--r-control); background: var(--wash); overflow: hidden; max-width: 200px; }
.r-meter + p { margin-top: var(--s200); }
.r-meter span i { display: block; height: 100%; width: 100%; background: var(--cobalt); transform-origin: left; transform: scaleX(var(--p)); }
.r-note { background: var(--sticky-tint); border-radius: var(--r-card); padding: var(--s200); font-size: 16px; line-height: 24px; }
.r-prompt { background: var(--wash); border-radius: var(--r-card); padding: var(--s200); display: grid; gap: var(--s75); font-size: 16px; line-height: 24px; }
.r-prompt strong { font-weight: 600; }
/* Six-habit radar, peer comparison and next-level examples */
.rd { background: var(--wash); border-radius: var(--r-panel); padding: var(--s200); }
.rd-svg { width: 100%; max-width: 520px; height: auto; margin-inline: auto; overflow: visible; font-family: var(--font); }
.rd-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.rd-target { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 6 4; }
.rd-you { fill: var(--accent); fill-opacity: .4; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.rd-dot { fill: var(--ink); }
.rd-label { fill: var(--ink); font-size: 14px; font-weight: 600; }
.rd-sub { fill: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
/* On phones the chart shrinks to about 60%, so its labels are drawn larger to stay readable. The list below gives exact scores. */
@media (max-width: 599px) { .rd { padding: var(--s75); } .rd-label { font-size: 19px; } .rd-sub { font-size: 17px; } }
.rd-key { display: flex; flex-wrap: wrap; gap: var(--s100) var(--s300); margin-top: var(--s200); font-size: 14px; line-height: 20px; color: var(--ink-2); }
.rd-key li { display: flex; align-items: center; gap: var(--s75); }
.rd-key i { width: 20px; height: 12px; border-radius: var(--r-note); }
.rd-key .you { background: color-mix(in srgb, var(--accent) 40%, var(--ground)); box-shadow: inset 0 0 0 2px var(--ink); }
.rd-key .tgt { border: 1.5px dashed var(--ink-2); }
.rd-list { display: grid; gap: var(--s75) var(--s300); font-size: 16px; line-height: 24px; }
@media (min-width: 600px) { .rd-list { grid-template-columns: 1fr 1fr; } }
.rd-list div { display: flex; justify-content: space-between; gap: var(--s200); padding-bottom: var(--s75); box-shadow: inset 0 -1px 0 var(--line); }
.rd-list dd { margin: 0; color: var(--ink-2); }
.bm { display: grid; gap: var(--s75); }
.bm-h { display: flex; justify-content: space-between; gap: var(--s200); font-size: 16px; line-height: 24px; font-weight: 600; }
.bm-bar { position: relative; height: 12px; border-radius: var(--r-control); background: var(--wash); }
.bm-med { position: absolute; top: -4px; bottom: -4px; left: calc(var(--x) * 100%); width: 2px; margin-left: -1px; background: var(--ink-2); }
.bm-you { position: absolute; top: 50%; left: calc(var(--x) * 100%); width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: var(--r-note); background: var(--sticky); box-shadow: var(--e-note); }
.bm-scale { display: flex; justify-content: space-between; gap: var(--s100); font-size: 14px; line-height: 20px; color: var(--ink-2); }
.rx-quote { color: var(--ink-2); }
.rx-h { font-size: 20px; line-height: 28px; font-weight: 600; margin-top: var(--s200); }
.r-note p + p { margin-top: var(--s75); }
.rx-links { display: flex; flex-wrap: wrap; gap: var(--s75) var(--s300); }
.r-steps { counter-reset: s; display: grid; gap: var(--s300); }
.r-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: var(--s200); }
.r-steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; background: var(--sticky); border-radius: var(--r-note); font-family: var(--font); font-size: 14px; line-height: 20px; }
.r-share { display: flex; flex-wrap: wrap; gap: var(--s200); align-items: center; }
.r-copied { font-size: 14px; line-height: 20px; font-weight: 600; }
.r-card { margin: 0; display: grid; gap: var(--s75); }
.r-card img { display: block; width: 100%; height: auto; border-radius: var(--r-card); box-shadow: var(--e-paper); }
.r-card figcaption, .r-fine { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.r-post { display: grid; gap: var(--s100); justify-items: start; padding: var(--s300); background: var(--sticky-tint); border-radius: var(--r-card); }
.r-post-label { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.r-post-text { font-size: 16px; line-height: 26px; }
@media (prefers-reduced-motion: reduce) { .as-sk i { animation: none; } }
@media print { .nav, .foot, .menu, .r-share, .skip { display: none !important; } main { padding-top: 0; } }

/* ---- Subpage system ---- */
main { padding-top: 56px; }
.ph { background: var(--wash); padding-block: var(--s600); }
.ph-grid { display: grid; gap: var(--s500); align-items: center; }
.ph-copy { display: grid; gap: var(--s200); justify-items: start; }
.ph-copy .c-back { margin: 0; }
.ph-kicker { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cobalt); }
.ph-title { font-size: 36px; line-height: 40px; font-weight: 600; text-wrap: balance; }
.ph-lead { font-size: 18px; line-height: 28px; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.ph-meta { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.ph-meta a { color: inherit; }
.ph-board { background: #fff; border-radius: var(--r-panel); padding: var(--s200); box-shadow: var(--e-card); }
.ph-board .board { --rowhead: 84px; }
.ph-board .grid { aspect-ratio: 6 / 3.4; }
.ph-board .cell { background: var(--wash); }
.ph-board .cell.band { background: var(--wash-hover); }
.ph-board .cell.me { background: var(--cobalt); position: relative; }
.ph-board .r-pin i { width: min(62%, 30px); }
.ph-board .axis-y a, .ph-board .axis-x a { font-size: 12px; line-height: 16px; font-weight: 600; text-decoration: none; }
.ph-board .axis-y a { display: flex; align-items: center; justify-content: flex-end; padding-right: var(--s75); text-align: right; }
.ph-board .axis-x a { padding-top: var(--s75); text-align: center; overflow-wrap: anywhere; }
.ph-board a[aria-current="page"] { font-weight: 700; color: var(--cobalt); }
@media (hover: hover) and (pointer: fine) { .ph-board .axis-y a:hover, .ph-board .axis-x a:hover { color: var(--cobalt); text-decoration: underline; } }
.cell.style-r0 { background: #E7E9ED !important; } .cell.style-r1 { background: var(--wash-hover) !important; } .cell.style-r2 { background: #9AA3B2 !important; } .cell.style-r3 { background: #5F6C80 !important; } .cell.style-r4 { background: #0A1F3D !important; }
.cell.style-c0 { background: #EEF0F3 !important; } .cell.style-c1 { background: #D7DBE1 !important; } .cell.style-c2 { background: #B3BAC6 !important; } .cell.style-c3 { background: #7E8A9B !important; } .cell.style-c4 { background: #3A4A61 !important; } .cell.style-c5 { background: #0A1F3D !important; }
.ph-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-panel); }
.ph-photo { width: 100%; max-width: 320px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-panel); justify-self: end; transform: rotate(1.5deg); box-shadow: var(--e-paper); }
.ph-stat { justify-self: start; width: min(100%, 320px); aspect-ratio: 1; padding: var(--s400); background: var(--sticky); border-radius: var(--r-note); transform: rotate(-2deg); display: grid; align-content: center; gap: var(--s100); box-shadow: var(--e-paper); }
.ph-stat b { font-size: 72px; line-height: 72px; font-weight: 600; }
.ph-stat p { font-size: 18px; line-height: 28px; font-weight: 600; }
@media (min-width: 768px) { .ph-title { font-size: 48px; line-height: 48px; } .ph-lead { font-size: 20px; line-height: 28px; } }
@media (min-width: 1000px) {
  .ph { padding-block: var(--s700); }
  .ph-grid { grid-template-columns: 6fr 5fr; gap: var(--s800); }
  .ph-solo { grid-template-columns: minmax(0, 860px); }
  .ph-title { font-size: 60px; line-height: 60px; }
}

/* Document layout */
.doc { display: grid; gap: var(--s300); padding-block: var(--s500) var(--s800); }
.doc-body { padding: 0 !important; min-width: 0; max-width: 720px; }
.doc-body > :first-child { margin-top: 0 !important; }
.toc-box summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 14px; line-height: 20px; font-weight: 600; }
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease-ui); margin-right: var(--s50); }
.toc-box[open] summary::after { transform: rotate(225deg); }
.toc ol { display: grid; gap: var(--s25); padding-bottom: var(--s100); }
.toc a { display: block; padding: var(--s50) var(--s100); border-radius: var(--r-control); font-size: 14px; line-height: 20px; color: var(--ink-2); text-decoration: none; transition: background-color .2s var(--ease-ui), color .2s var(--ease-ui); }
.toc a[aria-current] { background: var(--sticky); color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .toc a:not([aria-current]):hover { background: var(--wash); color: var(--ink); } }
@media (max-width: 999px) { .toc { background: var(--wash); border-radius: var(--r-card); padding-inline: var(--s200); } }
@media (min-width: 1000px) {
  .doc { grid-template-columns: 240px minmax(0, 760px); gap: var(--s800); justify-content: start; padding-top: var(--s700); }
  .doc-solo { grid-template-columns: minmax(0, 760px); }
  .toc { position: sticky; top: calc(56px + var(--s400)); align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
  .toc-box summary { pointer-events: none; min-height: 0; margin-bottom: var(--s100); } .toc-box summary::after { display: none; }
}
.read-bar { position: fixed; top: 56px; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.read-bar i { display: block; height: 100%; background: var(--cobalt); transform: scaleX(0); transform-origin: left; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s200); padding-bottom: var(--s800); }
.pager a { display: grid; gap: var(--s25); padding: var(--s300); border-radius: var(--r-card); font-size: 20px; line-height: 28px; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease-ui), transform .3s var(--ease); }
.pager small { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); }
.pager .next { text-align: right; background: var(--ink); color: #fff; box-shadow: none; }
.pager .next small { color: var(--on-ink-2); }
@media (hover: hover) and (pointer: fine) { .pager a:hover { transform: translateY(-2px); } .pager a:not(.next):hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }

/* Content blocks, restyled */
.c-cta p, .c-cta li { color: var(--on-cobalt); }
.c-cta .c-label { color: var(--accent); }
.c-cta h2, .c-cta h3 { font-size: 24px; line-height: 32px; color: #fff; }
.c-cta a.btn { background: var(--primary); color: var(--on-primary); }
.c-cta a.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.c-cta :focus-visible { outline-color: #fff; }
@media (hover: hover) and (pointer: fine) { .c-cta a.btn:hover { background: var(--primary-hover); color: var(--on-primary); } .c-cta a.btn-ghost:hover { background: #fff; color: var(--ink); } }
.c-cta a:not(.btn) { color: var(--sticky) !important; }
.c-cta .c-grid .c-card { background: rgba(255,255,255,.1); box-shadow: none; padding: var(--s200); }
@media (min-width: 640px) { .c-cta .c-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }

/* Numbered rows */
.c-row { grid-template-columns: 40px minmax(0, 1fr); gap: var(--s200); align-items: start; padding: var(--s300); }
.c-row > .c-num { width: 40px; height: 40px; border-radius: var(--r-note); transform: rotate(-2deg); box-shadow: var(--e-note); }
.row-body { display: grid; gap: var(--s75); min-width: 0; }
.row-body > * { margin: 0 !important; }
.c-row-link { position: relative; padding-right: var(--s600); }
.c-row-link::after { content: ""; position: absolute; right: var(--s300); top: 50%; width: 10px; height: 10px; margin-top: -5px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .c-row-link:hover::after { transform: translateX(4px) rotate(45deg); } }
.doc-body > .c-row, .doc-body > .c-card + .c-card, .doc-body > section > .c-row { margin-top: var(--s100) !important; }
/* Stages */
.stage { scroll-margin-top: 80px; padding: var(--s300) !important; margin-top: var(--s200) !important; }
@media (min-width: 720px) { .stage { padding: var(--s400) !important; } }
.stage .c-belief { font-size: 24px !important; line-height: 32px !important; font-weight: 600; }
.stage .c-name { font-size: 14px; line-height: 20px; color: var(--cobalt); }
.stage-signals { grid-column: 2; padding-top: var(--s200); box-shadow: inset 0 1px 0 var(--line); display: grid; gap: var(--s100); }
.stage-signals > * { margin: 0 !important; }
.stage-signals li { font-size: 16px !important; line-height: 24px !important; }
@media (max-width: 519px) { .c-row { grid-template-columns: minmax(0, 1fr); gap: var(--s100); } .stage-signals { grid-column: 1; } }
.stage-signals .c-label { color: var(--ink-2); }
/* Self-check */
.selfcheck { background: var(--wash); border-radius: var(--r-panel); padding: var(--s300); display: grid; gap: var(--s300); margin-top: var(--s200); }
@media (min-width: 720px) { .selfcheck { padding: var(--s400); } }
.selfcheck > * { margin: 0 !important; }
.sc-cols { display: grid; gap: var(--s300); }
@media (min-width: 640px) { .sc-cols { grid-template-columns: 1fr 1fr; align-items: start; } }
.sc-cols legend { font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: var(--s75); }
.sc-item { display: grid; grid-template-columns: 24px 1fr; gap: var(--s75); align-items: start; padding: var(--s100); background: #fff; border-radius: var(--r-control); font-size: 14px; line-height: 20px; cursor: pointer; transition: box-shadow .2s var(--ease-ui), background-color .2s var(--ease-ui); min-height: 44px; }
.sc-item input { width: 20px; height: 20px; margin: 0; accent-color: var(--cobalt); }
.sc-item:has(input:checked) { box-shadow: inset 0 0 0 2px var(--cobalt); }
.sc-item:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.sc-out { padding: var(--s200); background: #fff; border-radius: var(--r-card); font-size: 16px !important; line-height: 24px !important; font-weight: 600; transition: background-color .25s var(--ease-ui); }
.sc-out[data-state="here"], .sc-out[data-state="past"] { background: var(--sticky); }
/* Prompts */
.c-prompt { position: relative; padding-right: var(--s800); white-space: pre-wrap; background: var(--wash); }
.copy-btn { position: absolute; top: var(--s75); right: var(--s75); min-height: 32px; padding: var(--s50) var(--s100); background: #fff; border-radius: var(--r-control); font-size: 12px; line-height: 16px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease-ui); }
@media (hover: hover) and (pointer: fine) { .copy-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.copy-btn:active { transform: scale(.97); }

/* ---- Assessment ---- */
body.focus .foot, body.focus .nav-links, body.focus .nav-cta, body.focus .menu-toggle { display: none !important; }
body.focus main { min-height: 100vh; }
#app [hidden] { display: none !important; }
.as-intro-wrap { background: var(--wash); padding-block: var(--s500) var(--s800); min-height: calc(100vh - 56px); }
.as-intro { display: grid; gap: var(--s500); align-items: start; }
.as-pitch { display: grid; gap: var(--s200); }
.as-pitch .ph-board { margin-top: var(--s100); }
.as-eg { font-size: 12px; line-height: 16px; color: var(--ink-2); }
.as-facts { display: flex; flex-wrap: wrap; gap: var(--s400); margin-top: var(--s100); }
.as-facts li { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.as-facts b { display: block; font-size: 36px; line-height: 40px; font-weight: 600; color: var(--ink); }
.as-card { background: #fff; border-radius: var(--r-panel); padding: var(--s300); display: grid; gap: var(--s300); box-shadow: var(--e-card); }
@media (min-width: 720px) { .as-card { padding: var(--s400); } }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: var(--s100); background: var(--sticky); border-radius: var(--r-note); font-family: var(--font); font-size: 14px; line-height: 20px; font-weight: 600; transform: rotate(-2deg); }
legend, .as-step-h { display: flex; align-items: center; padding: 0; font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: var(--s200); }
.as-opt { grid-template-columns: 24px 1fr; }
.as-opt span strong { display: block; font-weight: 600; }
.as-details { display: grid; gap: var(--s200); animation: as-in .35s var(--ease-ui); }
.as-go { width: 100%; }
@keyframes as-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1000px) { .as-intro { grid-template-columns: 5fr 6fr; gap: var(--s800); } .as-intro-wrap { padding-top: var(--s700); } .as-card { position: sticky; top: calc(56px + var(--s300)); } }

.as-run { display: grid; gap: var(--s300); padding-block: var(--s200) var(--s800); }
.as-rail { position: sticky; top: 56px; z-index: 5; background: #fff; padding-block: var(--s100); display: grid; grid-template-columns: 1fr auto; gap: var(--s75) var(--s200); align-items: baseline; }
.as-part { font-size: 14px; line-height: 20px; font-weight: 600; }
.as-count { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.as-rail .as-bar { grid-column: 1 / -1; }
.as-notes, .as-saved { display: none; }
.as-notes-lg { display: grid; }
.as-notes { grid-template-columns: repeat(6, 1fr); gap: var(--s50); }
.as-note { height: 36px; width: 100%; display: grid; place-items: center; border-radius: var(--r-note); background: var(--wash); color: var(--ink-2); font-family: var(--font); font-size: 12px; line-height: 16px; transition: background-color .25s var(--ease-ui), transform .3s var(--ease), box-shadow .2s var(--ease-ui); }
.as-note[disabled] { cursor: default; }
.as-note.done { background: var(--sticky); color: var(--ink); transform: rotate(var(--r, -2deg)); box-shadow: var(--e-note); }
.as-note.now { background: var(--cobalt); color: #fff; }
.as-note.is-prompt:not(.done):not(.now) { box-shadow: inset 0 0 0 1.5px var(--cobalt); color: var(--cobalt); }
@media (hover: hover) and (pointer: fine) { .as-note.done:hover { transform: rotate(0) scale(1.08); } }
.as-q { width: 100%; max-width: 760px; display: grid; gap: var(--s300); padding-top: var(--s200); }
.q-type { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cobalt); }
.q-text { font-size: 24px; line-height: 32px; font-weight: 600; text-wrap: pretty; }
.q-likert .q-text { font-size: 30px; line-height: 36px; }
.as-q #q { display: grid; gap: var(--s300); }
.as-q fieldset { gap: var(--s100); }
.as-pick { display: grid; grid-template-columns: 32px 1fr; gap: var(--s200); align-items: start; padding: var(--s200); min-height: 64px; background: #fff; border-radius: var(--r-control); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; line-height: 24px; cursor: pointer; transition: box-shadow .15s var(--ease-ui), background-color .15s var(--ease-ui), transform .12s var(--ease-ui); }
.as-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.as-pick .key { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-note); background: var(--wash); font-family: var(--font); font-size: 14px; line-height: 20px; transition: background-color .15s var(--ease-ui), color .15s var(--ease-ui); }
.as-pick:active { transform: scale(.995); }
.as-pick:has(input:checked) { box-shadow: inset 0 0 0 2px var(--cobalt); background: var(--cobalt-tint); }
.as-pick:has(input:checked) .key { background: var(--cobalt); color: #fff; }
.as-pick:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .as-pick:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } .as-pick:has(input:checked):hover { box-shadow: inset 0 0 0 2px var(--cobalt); } }
.likert { grid-template-columns: 1fr; gap: var(--s75); }
.likert label { grid-template-columns: 32px 1fr; display: grid; place-items: center start; gap: var(--s200); padding: var(--s100) var(--s200); min-height: 56px; font-weight: 600; text-align: left; }
.likert label .key { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-note); background: var(--wash); font-family: var(--font); font-size: 14px; }
.likert label:has(input:checked) { background: var(--cobalt-tint); color: var(--ink); box-shadow: inset 0 0 0 2px var(--cobalt); }
.likert label:has(input:checked) .key { background: var(--cobalt); color: #fff; }
@media (min-width: 720px) {
  .likert { grid-template-columns: repeat(5, 1fr); }
  .likert label { grid-template-columns: 1fr; place-items: center; text-align: center; padding: var(--s200) var(--s100); min-height: 112px; font-size: 14px; line-height: 20px; }
}
.q-instr { font-size: 16px; line-height: 24px; color: var(--ink-2); }
textarea { min-height: 260px; padding: var(--s200); border-radius: var(--r-card); }
.wc-row { display: flex; align-items: center; gap: var(--s100); font-size: 14px; line-height: 20px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.wc-meter { flex: 1; max-width: 200px; height: 6px; border-radius: var(--r-control); background: var(--wash); overflow: hidden; }
.wc-meter i { display: block; height: 100%; background: var(--cobalt); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .3s var(--ease-ui); }
.as-nav { align-items: center; }
.as-keys { display: none; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.as-saved { font-size: 12px; line-height: 16px; color: var(--ink-2); }
@media (min-width: 720px) and (hover: hover) { .as-keys { display: inline; } }
@media (min-width: 1000px) {
  .as-run { grid-template-columns: 240px minmax(0, 760px); gap: var(--s800); justify-content: start; padding-top: var(--s500); }
  .as-rail { top: calc(56px + var(--s400)); align-self: start; padding: 0; grid-template-columns: 1fr; gap: var(--s100); }
  .as-rail .as-bar { display: none; }
  .as-part { font-size: 18px; line-height: 28px; }
  .as-notes { display: grid; margin-top: var(--s100); }
  .as-saved { display: block; margin-top: var(--s100); }
  .q-text { font-size: 30px; line-height: 36px; }
  .q-likert .q-text { font-size: 36px; line-height: 40px; }
  .as-q { padding-top: 0; }
}
.as-end { max-width: 860px; margin-inline: auto; padding-block: var(--s700) var(--s800); display: grid; gap: var(--s300); justify-items: start; }
.as-end .ph-title:focus { outline: none; }
.as-notes-lg { width: 100%; max-width: 560px; grid-template-columns: repeat(8, 1fr); }
.as-scan { position: relative; width: 100%; max-width: 560px; }
.as-scan-note { position: absolute; left: 24%; top: 16%; width: 28px; height: 28px; background: var(--sticky); border-radius: var(--r-note); box-shadow: var(--e-note); animation: scan 5s var(--ease) infinite; }
@keyframes scan { 0% { transform: translate(0, 0) rotate(-3deg); } 25% { transform: translate(260px, 120px) rotate(3deg); } 50% { transform: translate(120px, 40px) rotate(-2deg); } 75% { transform: translate(320px, 20px) rotate(2deg); } 100% { transform: translate(0, 0) rotate(-3deg); } }
@media (max-width: 620px) { .as-scan-note { animation: none; left: 50%; } }
@media (prefers-reduced-motion: reduce) { .as-scan-note, .as-details { animation: none; } }

/* Boards never push the page wider than the screen */
.board { grid-template-columns: var(--rowhead) minmax(0, 1fr); }
.board .grid, .axis-x { grid-template-columns: repeat(6, minmax(0, 1fr)); min-width: 0; }
.as-intro > *, .as-pitch > *, .ph-grid > * { min-width: 0; }
@media (max-width: 519px) {
  .ph-board { padding: var(--s100); }
  .ph-board .board { --rowhead: 88px; }
  .ph-board .grid { aspect-ratio: 6 / 5; }
  .ph-board .axis-x a { writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; text-align: left; padding: 0 0 var(--s75); overflow-wrap: normal; }
  .ph-board .axis-y a { padding-right: var(--s50); }
}

/* Fixes from visual review */
.axis-x span, .ph-board .axis-x a { overflow-wrap: normal; white-space: nowrap; justify-self: center; }
.doc-body .c-stat-label { font-size: 14px; line-height: 20px; margin: 0; }
.doc-body .c-stat-source { font-size: 12px; line-height: 16px; margin: 0; color: var(--ink-2); }
.doc-body .c-stat > * { margin: 0; }
.c-cta .c-meta { color: var(--on-cobalt); }
.c-cta li::before { background: var(--sticky) !important; }
.c-cta .c-card .c-name, .c-cta h4 { color: #fff; }
.as-notes { align-items: start; }
.as-notes-lg .as-note { height: 56px; }
.risk-line { padding-top: var(--s75); box-shadow: inset 0 1px 0 var(--line); font-size: 14px !important; line-height: 20px !important; color: var(--ink-2); }
.risk-line strong { color: var(--ink); font-weight: 600; }
.row-body > p { font-size: 16px; line-height: 24px; }
.doc-body > .intro { font-size: 20px; line-height: 28px; color: var(--ink-2); margin-bottom: var(--s300); }
@media (max-width: 519px) { .axis-x span, .ph-board .axis-x a { white-space: nowrap; } }

/* ---- Insights ---- */
[hidden] { display: none !important; }
.se-note { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; background: var(--sticky); border-radius: var(--r-note); font-family: var(--font); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); transform: rotate(-2deg); box-shadow: var(--e-note); }
li:nth-child(even) > * > .se-note, li:nth-child(even) > .se-note, .dg-col:nth-child(even) .se-note, .qr-tab:nth-child(even) .se-note { transform: rotate(2deg); }
.in-top { padding-block: var(--s500) var(--s700); }
.in-head { display: grid; gap: var(--s100); margin-bottom: var(--s500); }
@media (min-width: 900px) { .in-head { grid-template-columns: auto 1fr; align-items: baseline; gap: var(--s500); } .in-head .ph-lead { justify-self: end; text-align: right; } }
.in-img { display: block; overflow: hidden; border-radius: var(--r-card); background: var(--wash); }
.in-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { a:hover > .in-img img { transform: scale(1.03); } }
.in-topic { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--cobalt); }
.in-meta { display: block; font-size: 14px; line-height: 20px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.in-lead-grid { display: grid; gap: var(--s500); }
.in-feature { display: grid; gap: var(--s100); text-decoration: none; align-content: start; }
.in-feature .in-img { aspect-ratio: 16 / 9; margin-bottom: var(--s100); }
.in-feature h2 { font-size: 30px; line-height: 36px; font-weight: 600; text-wrap: balance; }
.in-feature p { font-size: 18px; line-height: 28px; color: var(--ink-2); max-width: 62ch; }
.in-side { display: grid; align-content: start; }
.in-side a { display: grid; grid-template-columns: 104px 1fr; gap: var(--s200); padding-block: var(--s200); text-decoration: none; box-shadow: inset 0 -1px 0 var(--line); align-items: start; }
.in-side li:first-child a { padding-top: 0; }
.in-side .in-img { aspect-ratio: 1; border-radius: var(--r-control); }
.in-side strong { display: block; margin-block: var(--s25) var(--s50); font-size: 18px; line-height: 28px; font-weight: 600; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .in-feature:hover h2, .in-side a:hover strong, .in-card a:hover h3 { color: var(--cobalt); } }
@media (min-width: 1000px) { .in-lead-grid { grid-template-columns: 7fr 5fr; gap: var(--s700); } .in-feature h2 { font-size: 36px; line-height: 40px; } .in-side a { grid-template-columns: 128px 1fr; } }
.in-series { background: var(--wash); padding-block: var(--s800); }
.in-series h2 { max-width: 760px; }
.se-row { display: grid; gap: var(--s200); margin-top: var(--s600); }
.se-head { display: grid; gap: var(--s75); justify-items: start; align-content: start; }
.se-head h3 { font-size: 24px; line-height: 32px; font-weight: 600; }
.se-head p { color: var(--ink-2); }
.se-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s100); }
.se-tile { display: grid; gap: var(--s75); align-content: start; height: 100%; padding: var(--s200); background: #fff; border-radius: var(--r-control); text-decoration: none; transition: transform .3s var(--ease), box-shadow .25s var(--ease-ui); }
.se-tile strong { font-size: 16px; line-height: 24px; font-weight: 600; }
.se-tile > span:last-child { font-size: 14px; line-height: 20px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .se-tile:hover { transform: translateY(-3px); box-shadow: var(--e-lift); } .se-tile:hover strong { color: var(--cobalt); } }
@media (min-width: 720px) { .se-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .se-head { grid-template-columns: auto 1fr auto; align-items: baseline; gap: var(--s300); } .se-tiles.se-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .se-tiles.se-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.in-all { padding-block: var(--s700) var(--s800); scroll-margin-top: 56px; }
.in-bar { display: grid; gap: var(--s200); padding-block: var(--s100) var(--s200); position: sticky; top: 56px; z-index: 10; background: #fff; box-shadow: inset 0 -1px 0 var(--line); }
.in-all-h { font-size: 24px; line-height: 32px; font-weight: 600; }
.in-tools { display: grid; gap: var(--s100); }
.in-tools .chip .num { color: var(--ink-2); font-weight: 400; margin-left: var(--s25); }
.in-tools .chip[aria-pressed="true"] .num { color: var(--on-ink-2); }
.in-tools .search input { min-height: 44px; padding-block: var(--s50); }
@media (max-width: 719px) { .in-bar { position: static; } }
@media (min-width: 1100px) { .in-bar { grid-template-columns: auto 1fr; align-items: center; gap: var(--s500); } .in-tools { grid-template-columns: 1fr 220px; align-items: center; } }
.in-count { margin-block: var(--s200) var(--s300); font-size: 14px; line-height: 20px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.in-grid { display: grid; gap: var(--s500) var(--s400); }
.in-card a { display: grid; gap: var(--s75); text-decoration: none; align-content: start; height: 100%; }
.in-card .in-img { aspect-ratio: 16 / 9; margin-bottom: var(--s75); }
.in-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; text-wrap: pretty; transition: color .2s var(--ease-ui); }
.in-card p { font-size: 16px; line-height: 24px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 640px) { .in-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .in-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Blog: the index uses the Insights cards with cover photos; articles add a cover and figures. */
@media (min-width: 900px) { .bl-feature { grid-template-columns: 7fr 5fr; column-gap: var(--s600); align-items: center; } .bl-feature .in-img { grid-row: 1 / span 4; margin-bottom: 0; } }
.post-cover img, .post-fig img { width: 100%; height: auto; border-radius: var(--r-card); background: var(--wash); }
.post-body > .post-cover { margin-bottom: var(--s400); }
.post-body > .post-fig { display: grid; gap: var(--s100); margin-block: var(--s500) !important; }
.post-fig figcaption { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.in-more { display: flex; justify-content: center; margin-top: var(--s600); }

/* ---- Resources ---- */
.rs-hero { overflow: hidden; }
.rs-fan { position: relative; height: 300px; }
.rs-fan img { position: absolute; border-radius: var(--r-note); height: auto; box-shadow: var(--e-paper); }
.rs-fan picture:nth-child(1) img { width: 62%; left: 36%; top: 6%; transform: rotate(5deg); }
.rs-fan picture:nth-child(2) img { width: 62%; left: 14%; top: 30%; transform: rotate(-3deg); }
.rs-fan picture:nth-child(3) img { width: 36%; left: 0; top: 0; transform: rotate(-7deg); }
@media (min-width: 1000px) { .rs-fan { height: 400px; } .rs-hero { padding-bottom: var(--s800); } }
.rs-sec { padding-block: var(--s800); scroll-margin-top: 56px; }
.rs-wash { background: var(--wash); }
.rs-head { display: grid; gap: var(--s300); margin-bottom: var(--s500); }
.rs-head p { margin-top: var(--s100); font-size: 18px; line-height: 28px; color: var(--ink-2); max-width: 68ch; text-wrap: pretty; }
.rs-dl { display: grid; gap: var(--s75); justify-items: start; }
.rs-dl small { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.rs-dl-row { margin-top: var(--s400); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s200); }
@media (min-width: 1000px) { .rs-head { grid-template-columns: 1fr auto; gap: var(--s700); align-items: end; } .rs-dl:not(.rs-dl-row) { justify-items: end; } }
/* Diagnostic */
.dg-grid { display: grid; gap: var(--s100); }
.dg-col { display: grid; gap: var(--s50); align-content: start; padding: var(--s75); background: var(--wash); border-radius: var(--r-card); transition: background-color .25s var(--ease-ui), box-shadow .25s var(--ease-ui); }
.dg-col.top { background: #fff; box-shadow: inset 0 0 0 2px var(--cobalt); }
.dg-h { display: flex; align-items: center; gap: var(--s75); width: 100%; margin: 0; padding: var(--s50) var(--s25) var(--s100); font-size: 16px; line-height: 24px; font-weight: 600; }
.dg-n { margin-left: auto; min-width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: var(--r-card); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-2); }
.dg-col.has .dg-n { background: var(--ink); color: #fff; }
.dg-col.top .dg-n { background: var(--cobalt); }
.dg-item { display: grid; grid-template-columns: 20px 1fr; gap: var(--s75); align-items: start; padding: var(--s75); min-height: 44px; background: #fff; border-radius: var(--r-control); font-size: 14px; line-height: 20px; cursor: pointer; transition: box-shadow .15s var(--ease-ui), background-color .15s var(--ease-ui); }
.dg-col.top .dg-item { background: var(--wash); }
.dg-item input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--cobalt); }
.dg-item:has(input:checked), .dg-col.top .dg-item:has(input:checked) { background: var(--sticky-tint); box-shadow: inset 0 0 0 1.5px var(--sticky-edge); }
.dg-item:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .dg-item:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
@media (min-width: 640px) { .dg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .dg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1360px) { .dg-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* Rows line up across the columns where the browser supports it. */
@supports (grid-template-rows: subgrid) { @media (min-width: 640px) { .dg-col { grid-row: span 5; grid-template-rows: subgrid; } } }
.dg-out { margin-top: var(--s200); padding: var(--s300); border-radius: var(--r-card); background: var(--wash); transition: background-color .25s var(--ease-ui); }
.dg-empty { font-size: 16px; line-height: 24px; color: var(--ink-2); }
.dg-out[data-state="result"] { background: var(--sticky); display: grid; gap: var(--s200); padding: var(--s400); }
.dg-big { font-size: 30px; line-height: 36px; font-weight: 600; }
.dg-sub { margin-top: var(--s50); font-size: 14px; line-height: 20px; }
.dg-means { display: grid; gap: var(--s100); font-size: 18px; line-height: 28px; font-weight: 600; }
.dg-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s200) var(--s300); }
.dg-reset { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; min-height: 24px; }
@media (min-width: 1000px) { .dg-out[data-state="result"] { grid-template-columns: 4fr 5fr; gap: var(--s200) var(--s700); } .dg-acts { grid-column: 1 / -1; } }
/* Quick reference ladder */
.qr { display: grid; gap: var(--s200); margin: 0; }
.qr-tabs { display: grid; grid-template-columns: 1fr; gap: var(--s50); }
.qr-tab { display: flex; gap: var(--s100); align-items: center; text-align: left; padding: var(--s100); min-height: 64px; background: #fff; border-radius: var(--r-control); transition: background-color .2s var(--ease-ui), color .2s var(--ease-ui), box-shadow .2s var(--ease-ui); }
.qr-tab strong { display: block; font-size: 16px; line-height: 24px; font-weight: 600; }
.qr-tab small { display: block; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.qr-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.qr-tab[aria-selected="true"] small { color: var(--on-ink-2); }
@media (hover: hover) and (pointer: fine) { .qr-tab[aria-selected="false"]:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.qr-panels { background: #fff; border-radius: var(--r-panel); box-shadow: var(--e-card); padding: var(--s300); min-width: 0; }
@media (min-width: 720px) { .qr-panels { padding: var(--s400); } }
.qr-panel { display: grid; gap: var(--s200); justify-items: start; }
.qr-panel h3 { font-size: 30px; line-height: 36px; font-weight: 600; }
.qr-def { font-size: 20px; line-height: 28px; font-weight: 600; max-width: 60ch; }
.qr-cols { display: grid; gap: var(--s300); width: 100%; padding-top: var(--s200); box-shadow: inset 0 1px 0 var(--line); }
.qr-cols h4, .qr-next h4 { font-size: 14px; line-height: 20px; font-weight: 600; margin-bottom: var(--s50); }
.qr-cols p + h4 { margin-top: var(--s200); }
.qr-cols .c-list { display: grid; gap: var(--s75); }
.qr-cols .c-list li { position: relative; padding-left: var(--s300); }
.qr-cols .c-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 2px; background: var(--cobalt); }
.qr-next { width: 100%; padding: var(--s200); background: var(--sticky-tint); border-radius: var(--r-card); }
.qr-next p { font-size: 18px; line-height: 28px; font-weight: 600; }
@media (min-width: 640px) { .qr-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .qr { grid-template-columns: 340px minmax(0, 1fr); gap: var(--s300); align-items: start; }
  .qr-tabs { display: flex; flex-direction: column-reverse; gap: var(--s75); }
  .qr-tab:nth-child(1) { margin-right: 64px; } .qr-tab:nth-child(2) { margin-right: 48px; } .qr-tab:nth-child(3) { margin-right: 32px; } .qr-tab:nth-child(4) { margin-right: 16px; }
}
/* White paper */
.rs-paper { background: var(--cobalt); color: #fff; }
.rs-paper-grid { display: grid; gap: var(--s500); align-items: center; }
.rs-cover { display: block; width: min(100%, 320px); transform: rotate(-2deg); transition: transform .4s var(--ease); }
.rs-cover img { width: 100%; height: auto; border-radius: var(--r-note); box-shadow: var(--e-paper); }
@media (hover: hover) and (pointer: fine) { .rs-cover:hover { transform: rotate(0) translateY(-4px); } }
.rs-paper-lead { margin-top: var(--s200); font-size: 20px; line-height: 28px; color: var(--on-cobalt); max-width: 62ch; }
.rs-toc { display: grid; gap: var(--s100); margin-top: var(--s400); }
.rs-toc li { display: flex; align-items: center; gap: var(--s100); font-size: 16px; line-height: 24px; }
.rs-paper .btn { background: var(--primary); color: var(--on-primary); }
.rs-paper .rs-dl small { color: var(--on-cobalt); }
.rs-paper :focus-visible { outline-color: #fff; }
@media (hover: hover) and (pointer: fine) { .rs-paper .btn:hover { background: var(--primary-hover); } }
@media (min-width: 1000px) { .rs-paper-grid { grid-template-columns: 4fr 7fr; gap: var(--s800); } .rs-cover { width: 100%; max-width: 400px; justify-self: center; } }
.rs-next { padding-block: var(--s800); }
.rs-next-grid { display: grid; gap: var(--s500); }
.rs-next-grid > div { display: grid; gap: var(--s100); justify-items: start; align-content: start; padding-top: var(--s200); box-shadow: inset 0 2px 0 var(--ink); }
.rs-next-grid p { color: var(--ink-2); margin-bottom: var(--s100); }
@media (min-width: 900px) { .rs-next-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s500); } }

/* About: the bio card sits at the top beside its text, with the name leading the role */
.c-grid:has(> .c-stack) > .c-card { align-self: start; }
.c-card p.c-name { font-size: 20px; line-height: 28px; font-weight: 600; }
.c-card .c-name + .c-name { margin-top: calc(var(--s100) * -1 + var(--s25)) !important; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); }

/* FAQ inside a framework page uses the same accordion as the home page */
.prose-page .faq { margin-top: var(--s200); }
.prose-page .faq summary { font-size: 18px; line-height: 28px; }

/* Cards in document pages: two across, and an odd last card takes the full row rather than leaving a hole */
@media (min-width: 640px) {
  .doc-body .c-grid:not(:has(> .c-stack), .c-cta .c-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-body .c-grid:not(:has(> .c-stack), .c-cta .c-grid) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* What a tool is good at, inside its card */
.c-tags { display: flex !important; flex-wrap: wrap; gap: var(--s50) !important; }
.c-tags > li { padding: var(--s25) var(--s100) !important; background: var(--wash); border-radius: var(--r-control); font-size: 14px !important; line-height: 20px !important; }
.c-tags > li::before { display: none; }
a.c-meta { min-height: 24px; }

/* ---- Brand layer: navy, paper, one amber. Values from the Brand Sheet, except --ink-2, darkened to pass AA on paper. ---- */
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('/fonts/poppins-latin-700-normal.woff2') format('woff2'); }

/* Accent marks are amber, never text on white or paper */
.c-signal::before, .c-list > li::before, .post-body ul > li::before, .prose-page ul > li::before, .qr-cols .c-list li::before, .read-bar i, .wc-meter i, .r-meter span i { background: var(--accent); }
.prose-page a:not(.btn):not(.c-back), .post-body a:not(.btn), .link { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.c-cta a:not(.btn) { color: var(--accent) !important; }
.btn { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost { background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn:hover { box-shadow: inset 0 0 0 1px var(--ink); } .btn-ghost:hover { background: var(--ink); color: var(--on-ink); } }
.btn[disabled] { box-shadow: inset 0 0 0 1px var(--ink); }

/* Amber bar above section titles, in place of the old small eyebrow text */
.heading-2::before, .doc-body > section > .c-label:first-child::before, .close-cta h2::before, .latest-head h2::before { content: ""; display: block; width: 180px; max-width: 100%; height: 12px; margin-bottom: var(--s300); background: var(--accent); }
.c-label, .ph-kicker, .in-topic, .q-type, .stage .c-name { color: var(--ink); }
.ph .ph-kicker { color: var(--on-ink); }

/* Wordmark */
.wordmark { display: inline-flex; align-items: center; gap: var(--s100); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.wordmark i { flex: none; width: 12px; height: 12px; background: var(--accent); }
@media (max-width: 400px) { .wordmark { font-size: 12px; line-height: 16px; letter-spacing: .08em; } }

/* Nav on navy */
.nav { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.nav :focus-visible, .menu :focus-visible, .foot :focus-visible, .ph :focus-visible, .as-intro-wrap :focus-visible, .tagline :focus-visible, .h-hero :focus-visible, .rs-paper :focus-visible, .c-cta :focus-visible, .bc:focus-visible { outline-color: var(--accent); }
.ph .ph-board :focus-visible, .as-card :focus-visible, .h-panel :focus-visible { outline-color: var(--ink); }
.nav-link, .nav-trigger { font-weight: 400; }
@media (hover: hover) and (pointer: fine) { .nav-link:hover, .nav-trigger:hover { background: rgba(244,241,234,.12); } }
.nav-link[aria-current="page"], .nav-trigger[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav .nav-cta { margin-left: auto; color: var(--on-primary); white-space: nowrap; }
@media (min-width: 640px) { .nav .nav-cta { display: inline-flex; } .nav-cta ~ .menu-toggle { margin-left: 0; } }
.nav-panel { color: var(--ink); }
.menu-toggle span { background: var(--on-ink); }
.menu { --menu-surface: rgba(10,31,61,.98); color: var(--on-ink); }
.menu a[aria-current="page"]:not(.btn) { color: var(--accent); }

/* Footer on navy */
.foot { background: var(--ink); color: var(--on-ink); }
.foot-legal { color: var(--on-ink-2); }

/* Navy heroes on every page */
.ph, .as-intro-wrap { background: var(--ink); color: var(--on-ink); }
.ph-title { font-weight: 700; line-height: 44px; }
.ph .ph-lead, .as-intro-wrap .ph-lead { color: var(--on-ink); }
.ph-meta, .ph .c-back, .as-intro-wrap .as-eg, .as-intro-wrap .as-facts li { color: var(--on-ink-2); }
.as-intro-wrap .as-facts b { color: var(--on-ink); }
.ph .btn-ghost { color: var(--on-ink); box-shadow: inset 0 0 0 1.5px var(--on-ink); }
@media (hover: hover) and (pointer: fine) { .ph .c-back:hover { color: var(--on-ink); } .ph .btn-ghost:hover { background: var(--on-ink); color: var(--ink); } }
.ph-meta a { text-decoration-color: var(--accent); }
.ph-board, .as-card, .ph-stat { color: var(--ink); }
.ph-board { box-shadow: none; }
.ph-photo { box-shadow: none; }
@media (min-width: 768px) { .ph-title { font-size: 48px; line-height: 60px; } }
@media (min-width: 1000px) { .ph-title { font-size: 48px; line-height: 60px; } }
.c-h1, .c-title, .prose-page h2, .post-body h2, .in-feature h2 { font-weight: 700; }
.prose-page h2, .post-body h2 { line-height: 40px; }
.c-h1 { line-height: 44px; }
@media (min-width: 768px) { .c-h1 { line-height: 60px; } }
.as-card { position: relative; }
.as-end .ph-title, .in-head .ph-title { color: inherit; }

/* Sticky notes carry every stat */
.c-stats { gap: var(--s300); }
.c-stat { padding: var(--s300); background: var(--sticky); color: var(--ink); border-radius: var(--r-note); box-shadow: var(--e-paper); transform: rotate(-1.5deg); }
.c-stat:nth-child(even) { transform: rotate(1.5deg); }
.c-stat-num { font-weight: 700; }
.doc-body .c-stat-source, .c-stat-source { color: var(--ink); }
.c-quote, .post-body blockquote, .prose-page blockquote { border-radius: var(--r-note); box-shadow: var(--e-note); }
.r-pin i { background: var(--sticky); }

/* Things that sat on amber or cobalt and need their own contrast */
.dg-out[data-state="result"] .btn { background: var(--ink); color: var(--on-ink); }
@media (hover: hover) and (pointer: fine) { .dg-out[data-state="result"] .btn:hover { background: var(--ink); } }
.dg-out[data-state="result"] .link, .dg-reset { text-decoration-color: currentColor; }
.rs-paper { background: var(--ink); color: var(--on-ink); }
.rs-paper h2::before { background: var(--accent); }
.rs-fan img, .rs-cover img { box-shadow: none; }
.pager .next { color: var(--on-ink); }
.c-cta { color: var(--on-ink); }

/* Navy brand cards replace article images */
.bc { display: flex; flex-direction: column; gap: var(--s300); min-height: 240px; padding: var(--s300); background: var(--ink); color: var(--on-ink); border-radius: var(--r-card); text-decoration: none; transition: transform .5s var(--ease); }
.bc-bar { flex: none; width: 96px; height: 8px; background: var(--accent); }
.bc h2, .bc h3 { font-size: 20px; line-height: 28px; font-weight: 600; text-wrap: pretty; }
.bc .wordmark { margin-top: auto; font-size: 12px; line-height: 16px; }
.bc .wordmark i { width: 8px; height: 8px; }
.bc-lg { min-height: 320px; padding: var(--s400); }
.bc-lg .bc-bar { width: 180px; height: 12px; }
.bc-lg h2 { font-size: 30px; line-height: 40px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { a.bc:hover, a:hover > .bc { transform: translateY(-4px); } }
.bc-grid { display: grid; gap: var(--s200); }
@media (min-width: 800px) { .bc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.latest { padding-block: var(--s800); }
.latest-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s200); margin-bottom: var(--s500); }
.close-cta { background: var(--wash); padding-block: var(--s800); }
.close-cta .wrap { display: grid; gap: var(--s300); align-items: end; }
.close-cta p { margin-top: var(--s100); font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 900px) { .close-cta .wrap { grid-template-columns: 1fr auto; gap: var(--s600); } }
.in-card .bc { margin-bottom: var(--s100); }
.in-feature .bc { margin-bottom: var(--s100); }
.in-side a { grid-template-columns: 1fr; }

/* ---- Home ---- */
.h-hero { background: var(--ink); color: var(--on-ink); padding-block: var(--s600) 0; }
.h-grid { display: grid; gap: var(--s500); align-items: start; }
.h-hero h1 { font-size: 36px; line-height: 44px; font-weight: 700; max-width: 680px; }
.h-lead { max-width: 60ch; }
.h-act { margin-top: var(--s100); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s100) var(--s300); }
.h-fine { font-size: 14px; line-height: 20px; color: var(--on-ink-2); }
@media (min-width: 768px) { .h-hero h1 { font-size: 48px; line-height: 60px; } }
.h-copy { display: grid; gap: var(--s200) var(--s600); }
/* The board is a whiteboard that overlaps the band below it. */
.h-panel { position: relative; z-index: 2; margin-bottom: calc(var(--s800) * -1); background: #fff; color: var(--ink); border-radius: var(--r-card); padding: var(--s300); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; container-type: inline-size; }
.h-panel-title { margin-bottom: var(--s100); font-size: 14px; line-height: 20px; font-weight: 600; }
.h-controls { margin-block: var(--s200) 0; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--s75); }
.h-seg { display: inline-flex; padding: 2px; border-radius: var(--r-control); background: var(--wash); }
.h-seg button { min-height: 40px; padding: var(--s75) var(--s100); border-radius: 6px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
.h-seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.h-panel .board { --rowhead: 88px; }
.h-panel .grid { gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.h-panel .cell { border-radius: 0; }
@media (min-width: 640px) { .h-panel .grid { aspect-ratio: 6 / 3.6; } }
.h-panel .axis-y span, .h-panel .axis-x span { font-weight: 600; }
.h-panel .axis-x span { writing-mode: horizontal-tb; transform: none; padding: var(--s100) 0 0; text-align: center; }
@container (max-width: 569.98px) { .h-panel .axis-x span { writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; padding: var(--s100) 0 var(--s75); } }
.h-panel .cell.hot { outline-color: var(--accent); }
.h-panel .grid.placing .cell { cursor: pointer; }
.h-panel .note { font-size: 14px; line-height: 20px; font-weight: 700; }
.h-panel .note[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 4; }
.h-help { margin-top: var(--s100); font-size: 14px; line-height: 20px; color: var(--ink-2); }
.h-stack { display: grid; gap: var(--s75); }
.h-stack li { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-control); padding: var(--s100); font-size: 14px; line-height: 20px; }
.h-stack strong { display: block; font-size: 16px; line-height: 24px; font-weight: 600; }
.h-who { display: flex; flex-wrap: wrap; gap: var(--s50) var(--s100); margin-top: var(--s75); color: var(--ink-2); }
.h-readout { margin-top: var(--s200); padding: var(--s300); background: var(--sticky); color: #0A1F3D; border-radius: var(--r-note); box-shadow: var(--e-paper); transform: rotate(-1.5deg); }
.h-readout h2 { font-size: 20px; line-height: 28px; font-weight: 600; }
.h-readout p { margin-top: var(--s75); font-size: 16px; line-height: 24px; }
.h-forward { display: block; margin-top: var(--s100); min-height: 40px; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 1000px) {
  .h-copy { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
  .h-hero h1 { grid-row: span 2; }
  .h-panel { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s500); align-items: start; }
  .h-panel .grid { aspect-ratio: 6 / 2.8; }
  .h-readout { margin-top: var(--s500); }
}
@media (min-width: 1100px) { .h-hero { padding-top: var(--s500); } }
.h-proof { background: var(--wash); padding-block: calc(var(--s800) + var(--s500)) var(--s300); }
.h-proof-grid { display: grid; gap: var(--s300); align-items: center; }
@media (min-width: 900px) { .h-proof-grid { grid-template-columns: 1fr 1fr; gap: var(--s600); } }
.h-founder { display: flex; gap: var(--s200); align-items: center; }
.h-founder img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.h-name { font-size: 16px; line-height: 24px; font-weight: 600; }
.h-small { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.h-quote { font-size: 16px; line-height: 24px; }
.h-sec { padding-block: var(--s700); }
.h-white { background: #fff; }
.h-paper { background: var(--wash); }
@media (min-width: 768px) { .h-sec { padding-block: var(--s900); } }
.h-head p { margin-top: var(--s200); max-width: 70ch; }
.h-head h2 { max-width: 24ch; }
.h-card { background: #fff; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line); padding: var(--s300); }
.h-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.h-card p { margin-top: var(--s75); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.h-cards { margin-top: var(--s600); display: grid; gap: var(--s200); }
@media (min-width: 700px) { .h-cards { grid-template-columns: repeat(2, 1fr); } }
.h-fw { margin-top: var(--s600); display: grid; gap: var(--s600); }
@media (min-width: 1000px) { .h-fw { grid-template-columns: 1.4fr 1fr; gap: var(--s700); } }
.h-fw h3 { font-size: 24px; line-height: 32px; font-weight: 700; }
.h-rows { margin-block: var(--s200); box-shadow: inset 0 1px 0 var(--line); }
.h-rows li { display: grid; gap: var(--s50); padding-block: var(--s200); box-shadow: inset 0 -1px 0 var(--line); font-size: 16px; line-height: 24px; }
.h-rows strong { font-size: 18px; line-height: 28px; font-weight: 600; }
.h-rows q { color: var(--ink-2); }
.h-rows b { font-weight: 600; }
.h-steps { margin-top: var(--s600); display: grid; gap: var(--s200); }
@media (min-width: 800px) { .h-steps { grid-template-columns: repeat(3, 1fr); } }
.h-steps .se-note { width: 40px; height: 40px; margin-bottom: var(--s200); font-size: 16px; line-height: 24px; font-weight: 700; }
.h-faq { display: grid; gap: var(--s500); }
@media (min-width: 1000px) { .h-faq { grid-template-columns: 1fr 1.6fr; gap: var(--s700); } }
.h-faq .faq { box-shadow: inset 0 1px 0 var(--line); }
.h-faq .faq p { max-width: 70ch; }
.h-faq .faq summary { font-weight: 600; }

/* Small boards: when columns are too narrow for "Experimenter", labels run vertically instead of colliding */
.ph-board, .r-board { container-type: inline-size; }
@container (max-width: 600px) {
  .axis-x span, .ph-board .axis-x a { writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; text-align: left; padding: 0 0 var(--s75); }
}

/* Results open with the same navy hero as every other page */
.res-page { padding-top: 0; }
.r-head { background: var(--ink); color: var(--on-ink); padding-block: var(--s500) var(--s600); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); }
.r-head .c-h1 { color: var(--on-ink); }
.r-head .c-lead { color: var(--on-ink); }
.r-head .r-board { color: var(--ink); }
.r-head :focus-visible { outline-color: var(--accent); }
.r-head .r-board :focus-visible { outline-color: var(--ink); }

/* ---- Finish ---- */
html { scrollbar-color: var(--line-strong) transparent; accent-color: var(--ink); }
input, textarea { caret-color: var(--ink); }
.h-panel .grid:not(.ready) .note { transition: none; }
.res-page > section.r-sec:first-of-type { box-shadow: none; padding-top: 0; }
.doc-body p + .c-card, .doc-body p + .c-key, .doc-body p + .c-assess, .doc-body p + .c-grid, .doc-body p + .c-stack { margin-top: var(--s300) !important; }
.share-hero .h-act { margin-top: var(--s100); }
.r-share .btn { white-space: nowrap; }

/* ---- Platform features. Each one is an enhancement: older browsers simply skip it. ---- */
@keyframes read-grow { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .nav { view-transition-name: site-nav; }
  @supports (animation-timeline: scroll()) {
    .read-bar i { animation: read-grow linear both; animation-timeline: scroll(root block); }
  }
}

/* Reduced motion: nothing travels, and colour changes stay so controls still respond. Kept last so it wins. */
@media (prefers-reduced-motion: reduce) {
  .btn, .skip, .menu-toggle span, .menu.open a, .chip, .note, .faq .pm::before, .faq .pm::after, .nav-trigger svg, a.c-card, .toc-box summary::after, .pager a, .c-row-link::after, .as-note, .as-pick, .wc-meter i, .in-img img, .se-tile, .rs-cover, .bc, .as-bar::-webkit-progress-value { transition-property: background-color, color, box-shadow, opacity; }
  .menu a { transform: none; }
  .menu.open a { transition-delay: 0s; }
  .tagline .w { opacity: 1; transition: none; }
  .as-sk i { animation: none; }
}

/* ---- Search additions: framework names inside H1s, the assessment page's explainer, the in-article assessment link ---- */
.ph-title > .ph-kicker { display: block; margin-bottom: var(--s200); }
.as-intro-wrap .ph-kicker { color: var(--on-ink); }
.h-fw > div > p { margin-top: var(--s100); color: var(--ink-2); max-width: 60ch; }
.h-rows strong a { color: inherit; }
@media (min-width: 1000px) { .as-gets { grid-template-columns: repeat(3, 1fr); } }
.post-cta { margin-block: var(--s400) !important; padding: var(--s300); background: var(--wash); border-radius: var(--r-card); box-shadow: inset 4px 0 0 var(--accent); }
.post-cta p { margin: 0; }
.post-cta strong { font-weight: 600; }
