@font-face{font-family:"Schibsted Grotesk";font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/schibsted-grotesk-latin-wght-normal.4c8b93f431.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"DM Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/dm-mono-latin-400-normal.e1896b13b2.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"DM Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/dm-mono-latin-500-normal.9964608a84.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root {
  --ink: #0b1220; --ink-2: #121b2e; --line-ink: #2a3654;
  --paper: #ffffff; --paper-2: #f4f6fa; --line: #dde2ec;
  --text: #172033; --muted: #566175; --on-ink: #e9edf5; --on-ink-muted: #a8b2c6;
  --amber: #f5a524; --amber-dark: #9a5b00;
  --high: #b3261e; --medium: #a8520c; --low: #545e70; --info: #2f63ad; --ok: #1d7f47;
  --focus: var(--amber-dark);
  --radius: 10px; --wrap: 1120px;
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --line-strong: #c9cfdb; --text-2: #3a4560;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
a { color: #1f4fa0; }
a:hover { color: #163a78; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -0.035em; font-weight: 800; line-height: 1.02; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); letter-spacing: -0.025em; font-weight: 800; margin-top: 1.2em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 500; color: var(--amber-dark); margin-bottom: .5em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fine { font-size: .875rem; color: var(--muted); }
.btn { display: inline-block; font: inherit; font-weight: 700; padding: 12px 20px; border: 0; border-radius: var(--radius); background: var(--amber); color: var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--ink); filter: brightness(1.05); }

.site-header { background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--line-ink); --focus: var(--amber); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--on-ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand:hover { color: var(--on-ink); }
.brand b { color: var(--amber); }
.brand .mark { width: 22px; height: 22px; fill: var(--amber); }
.site-header nav, .site-footer nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.site-header nav a { color: var(--on-ink); text-decoration: none; font-weight: 600; }
.site-header nav a:hover { color: var(--amber); }
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 40px 0; margin-top: 64px; font-size: .9rem; --focus: var(--amber); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-footer a { color: var(--on-ink); }

.hero { background: radial-gradient(1200px 500px at 80% -10%, #1f2d52 0%, var(--ink) 60%); color: var(--on-ink); padding: 56px 0 64px; --focus: var(--amber); }
.hero .eyebrow:where(:not(.scan-results *)) { color: var(--amber); }
.hero .lede { font-size: 1.15rem; color: var(--on-ink-muted); max-width: 720px; }
.page-head { background: var(--ink); color: var(--on-ink); padding: 40px 0 48px; margin-bottom: 24px; --focus: var(--amber); }
.page-head p:where(:not(.scan-results *)) { color: var(--on-ink-muted); max-width: 720px; }
.hero .fine:where(:not(.scan-results *)), .page-head .fine:where(:not(.scan-results *)) { color: var(--on-ink-muted); }
/* The scan result is a light panel inside those dark headers, so each header rule stops at the panel: its text,
   its classes and its buttons keep their own colours. :where() keeps each rule at the weight it had before, so
   '.page-head .definition' and the like still win. */
.hero a:not(.btn):where(:not(.scan-results *)), .page-head a:not(.btn):where(:not(.scan-results *)) { color: var(--amber); }

.scanner { margin-top: 24px; }
.scan-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.scan-row { display: flex; gap: 8px; max-width: 640px; }
.scan-row input { flex: 1; min-width: 0; font: inherit; padding: 14px 16px; border-radius: var(--radius); border: 2px solid var(--line-ink); background: var(--paper); color: var(--text); }
.scan-row button { font: inherit; font-weight: 700; padding: 14px 20px; border: 0; border-radius: var(--radius); background: var(--amber); color: var(--ink); cursor: pointer; }
.scan-row button:disabled { opacity: .6; cursor: progress; }
.scanner .scan-error { color: #ffb4a8; font-weight: 600; margin-top: 8px; }
.scan-live { margin-top: 20px; background: var(--ink-2); border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 16px; max-width: 640px; color: var(--on-ink); --focus: var(--amber); }
.scan-status { font-weight: 700; margin: 0 0 8px; }
.scan-live .scan-status { color: var(--on-ink); }
.scan-log { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: .85rem; color: var(--on-ink-muted); white-space: pre-wrap; word-break: break-all; }
.scan-results { margin-top: 28px; background: var(--paper); color: var(--text); border-radius: var(--radius); padding: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); --focus: var(--amber-dark); }
.scan-results a:not(.btn, .btn-small) { color: #1f4fa0; }

.res-summary h2 { margin: 0 0 .2em; }
.sev-counts { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 8px 0 20px; }
.sev { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; white-space: nowrap; }
.sev.high { background: var(--high); }
.sev.medium { background: var(--medium); }
.sev.low { background: var(--low); }
.sev.info { background: var(--info); }
.rec { border: 2px solid var(--amber); border-radius: var(--radius); padding: 20px; margin: 0 0 24px; background: #fffaf0; }
.rec h3 { font-size: 1.3rem; }
.rec-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0; }
.rev { background: var(--paper-2); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.rev-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; margin-bottom: 16px; }
.rev-form label { font-size: .85rem; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.rev-form input, .rev-form select { font: inherit; padding: 8px 10px; border: 1px solid var(--muted); border-radius: 8px; background: #fff; color: var(--text); }
.rev-form .fine { grid-column: 1 / -1; margin: 0; }
.rev-help { grid-column: 1 / -1; font-size: .9rem; }
.rev-help summary { cursor: pointer; font-weight: 600; }
.rev-help ul { margin: 8px 0 0; padding-left: 18px; }
.rev-help li { margin-bottom: 6px; }
.rev-big { font-size: 2rem; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.rev-range { color: var(--muted); }
.mode-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.mode-toggle button { font: inherit; font-size: .9rem; border: 0; background: #fff; color: var(--text); padding: 6px 16px; cursor: pointer; }
.mode-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
/* The toggle clips its rounded ends, which would cut away a ring drawn outside the button, so the ring sits inside it. */
.mode-toggle button:focus-visible { outline-offset: -3px; }
.f-group h3 { margin-top: 20px; }
.f-group h3 .count { color: var(--muted); font-weight: 600; }
.finding { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; background: #fff; }
.finding summary { display: flex; gap: 10px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none; }
.finding summary::-webkit-details-marker { display: none; }
.f-title { flex: 1; font-weight: 600; }
.f-cost { font-weight: 700; white-space: nowrap; }
.f-body { padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.f-body h4 { margin: 12px 0 4px; font-size: .9rem; }
.f-locked { margin: 12px 0 4px; }
.evidence { margin: 0; padding-left: 18px; }
.evidence code { font-size: .82rem; word-break: break-word; }
.not-measured { margin-top: 20px; color: var(--muted); }
.all-clear { font-weight: 600; color: var(--ok); }

.band { padding: 56px 0; }
.band.alt { background: var(--paper-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: start; }
.steps h3 { margin: 0 0 8px; }
.steps p { margin: 0; }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.checks li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; display: flex; align-items: center; gap: 6px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 16px 0 24px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.plan.featured { border: 2px solid var(--amber); }
.price { font-size: 1.8rem; font-weight: 800; margin: 4px 0 8px; }
.price span { font-size: .95rem; font-weight: 600; color: var(--muted); }
.terms { padding-left: 20px; color: var(--muted); }
.btn-small { display: inline-block; margin-top: 12px; font: inherit; font-size: .85rem; font-weight: 700; padding: 8px 14px; border: 0; border-radius: var(--radius); background: var(--amber); color: var(--ink); text-decoration: none; cursor: pointer; }
.btn-small:hover { color: var(--ink); filter: brightness(1.05); }

.start-scan { background: var(--paper-2); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; }
.start-scan p { margin: 0; }
.start-form { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 640px; margin-top: 24px; }
.start-form .field { display: flex; flex-direction: column; gap: 6px; }
.start-form label { font-weight: 600; }
.start-form input, .start-form select, .start-form textarea { font: inherit; padding: 10px 12px; border: 2px solid var(--line-ink); border-radius: var(--radius); background: var(--paper); color: var(--text); }
.start-form textarea { min-height: 120px; resize: vertical; }
.start-form .opt-in label { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.start-form .field-error, .start-form .form-error { color: var(--high); font-weight: 600; margin: 0; }
.start-form .wide, .start-form [data-turnstile], .start-form .form-error, .start-form > button, .start-form > .fine {
  grid-column: 1 / -1;
}
.scan-turnstile { margin: 12px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 640px) {
  .start-form { grid-template-columns: 1fr 1fr; }
}

.table-wrap { overflow-x: auto; margin-bottom: 24px; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper-2); }
tr:target { background: #fff6e0; }
pre, .formula { background: var(--paper-2); padding: 12px 14px; border-radius: 8px; overflow-x: auto; font-size: .88rem; font-family: var(--mono); }

.notice { background: #fff6e0; border: 1px solid var(--amber); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 16px; }
.plan .buy { margin: 12px 0 0; }
.plan .buy .btn-small { margin-top: 0; }
.plan .alt { margin: 8px 0 0; font-size: .875rem; }
.price-group { margin-top: 8px; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0 0 16px; font-size: .9rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--on-ink-muted); }
.breadcrumbs [aria-current] { color: var(--on-ink-muted); }
.byline { font-size: .9rem; }
.hub h2 { margin-top: 1.6em; }
.hub-links { padding-left: 1.2em; }
.hub-links li { margin-bottom: 6px; }
.hub-index { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.hub-index li { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; display: flex; gap: 18px; align-items: flex-start; }
.g-icon-sm { flex-shrink: 0; transform: scale(.78); transform-origin: top left; margin: 2px -10px -10px 0; }
.g-after { margin-top: 24px; }
.hub-index h2, .hub-index h3 { font-size: 1.25rem; margin: 0 0 .3em; }
.hub-index p { margin: 0; }
.jump ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.jump a { display: inline-block; min-width: 24px; padding: 4px 0; font-weight: 600; }
.scan-box { background: var(--ink); color: var(--on-ink); border-radius: var(--radius); padding: 24px; margin: 40px 0; --focus: var(--amber); }
.scan-box h2 { margin-top: 0; }
.scan-box label { display: block; font-weight: 600; margin-bottom: 6px; }
.scan-box .fine { color: var(--on-ink-muted); margin: 10px 0 0; }
.benchmark { margin: 16px 0 24px; }
.benchmark table { border-collapse: collapse; width: 100%; }
.benchmark caption { text-align: left; font-weight: 600; margin-bottom: 8px; }
.benchmark th, .benchmark td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.benchmark figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.assumptions { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 8px; }
.assumptions dt { font-weight: 600; }
.assumptions dd { margin: 0; }
.sources { font-size: .9rem; }

.sample .inputs { border-collapse: collapse; margin: 8px 0 16px; }
.sample .inputs caption { text-align: left; font-weight: 600; margin-bottom: 6px; }
.sample .inputs th, .sample .inputs td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.sample .res-summary { margin-top: 32px; }

.site-footer nav[aria-label="Services"], .site-footer nav[aria-label="Industries"] { flex-basis: 100%; }
.footer-title { margin: 0; font-weight: 700; color: var(--on-ink); flex-basis: 100%; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .scan-row { flex-direction: column; }
  .scan-row button { width: 100%; }
  .scan-results { padding: 16px; }
  .finding summary { flex-wrap: wrap; }
  .f-cost { flex-basis: 100%; }
  .band { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.keep { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 24px; }
.keep h3 { margin-top: 0; }
.keep label { display: block; font-weight: 600; margin-bottom: 6px; }
.keep-save, .keep-link, .keep-form { margin: 16px 0 0; }
.keep-save .fine, .keep-form .fine { margin: 6px 0 0; }
.keep-row { display: flex; gap: 8px; max-width: 560px; }
.keep-row input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--muted); border-radius: 8px; background: #fff; color: var(--text); }
.keep-row button { font: inherit; font-weight: 700; padding: 10px 14px; border: 0; border-radius: 8px; background: var(--amber); color: var(--ink); cursor: pointer; }
.keep button:disabled { opacity: .6; cursor: progress; }
/* Spacing only while Cloudflare shows the box (turnstile.mjs adds ts-box); hidden, it takes no room. */
.keep-turnstile.ts-box { margin: 12px 0 0; }
.keep-status { font-weight: 600; margin: 12px 0 0; }
.keep-status:empty { display: none; }

/* Guides and glossary (Plan 7) */
.answer { background: var(--paper-2); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 24px; }
.answer h2 { margin: 0 0 .4em; font-size: 1.1rem; }
.answer p { margin: 0; }
.example { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 32px 0; }
.example h2 { margin-top: 0; }
.example .assumptions { grid-template-columns: minmax(0, max-content) 1fr; }
.next-step { border: 1px solid var(--amber); border-radius: var(--radius); padding: 20px 24px; margin: 40px 0 0; }
.next-step h2 { margin-top: 0; }
.page-head .definition { font-size: 1.15rem; color: var(--on-ink); max-width: 720px; }
@media (max-width: 640px) {
  .example .assumptions { grid-template-columns: 1fr; row-gap: 2px; }
  .example .assumptions dt:not(:first-child) { margin-top: 10px; }
}

/* Blog (Plan 8) */
.reading { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 32px 0; }
.reading h2 { margin-top: 0; }
.reading blockquote { margin: 20px 0 6px; padding: 4px 0 4px 16px; border-left: 4px solid var(--amber); font-style: italic; }
.reading blockquote p { margin: 0; }
.reading .note { margin: 0 0 12px; }
.hub-box { background: var(--paper-2); border-radius: var(--radius); padding: 16px 20px; margin: 32px 0 0; }
.hub-box h2 { margin: 0 0 .4em; font-size: 1.1rem; }
.hub-box .hub-links { margin: 0; }
.founding { background: var(--paper-2); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 32px; }
.founding h2 { margin-top: 0; }
.founding-line { font-weight: 700; }

/* Graphics (src/site/components/graphics.mjs), from the design canvas of 2026-10-02. Shapes are decoration; every
   figure is text. Amber dots and bars carry no meaning a reader needs: the counts and labels beside them do. */
.g-label { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.g-mono { font-family: var(--mono); font-size: .82rem; line-height: 1.65; margin: 0; }
.g-muted { color: var(--muted); }
.g-big { font-size: clamp(3.6rem, 11vw, 8.25rem); line-height: .9; font-weight: 800; letter-spacing: -0.045em; margin: 0; }
.g-sample .g-big { font-size: clamp(3rem, 6.2vw, 5.4rem); white-space: nowrap; }
.g-big-label { font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; margin: 8px 0 4px; }
.band-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.band-head h2 { margin: 0; }

.g-sample { margin: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; }
.g-sample-head { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.g-sample-figure { position: relative; isolation: isolate; }
.g-sample-figure p { position: relative; }
.g-moon { position: absolute; z-index: -1; left: -28px; top: -40px; width: clamp(150px, 26vw, 280px); height: auto; fill: var(--amber); }
.g-sample-list ul { list-style: none; margin: 0; padding: 0; }
.g-sample-list li { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.g-list-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; }
.g-f-title { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px; }
.g-sample-list .g-mono { overflow-wrap: anywhere; }
.g-f-cost { text-align: right; flex-shrink: 0; }
.g-f-cost > p:first-child { font-size: 1.6rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; margin: 0 0 6px; }
.g-sev { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; border: 1.5px solid var(--muted); }
.g-sev.high { background: var(--high); border-color: var(--high); }
.g-sev.medium { background: var(--amber); border-color: var(--amber-dark); }
.g-list-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; padding-top: 16px; margin: 0; border-top: 2px solid var(--ink); font-weight: 600; }
.g-list-foot strong { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.g-sample figcaption { grid-column: 1 / -1; margin: 0; }

.g-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 64px; }
.g-steps h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 12px; }
.g-steps p { color: var(--text-2); margin: 0; }
.g-phase { width: 72px; height: 72px; margin-bottom: 20px; color: var(--ink); display: block; }

.g-checks { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 72px; align-items: center; }
.g-checks-total { display: flex; flex-direction: column; gap: 14px; }
.g-checks-total .g-big { font-size: clamp(7rem, 20vw, 16rem); line-height: .78; letter-spacing: -0.06em; margin-left: -.04em; }
.g-checks-total .g-big-label { margin: 0; }
.g-checks-total .g-mono { color: var(--muted); max-width: 34ch; }
.g-checks-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-strong); }
.g-checks-rows li { display: grid; grid-template-columns: minmax(8.5em, auto) 1fr auto; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-strong); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.g-dots { display: flex; flex-wrap: wrap; gap: 7px; }
.g-dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); }
.g-row-n { font-weight: 800; font-variant-numeric: tabular-nums; }

.g-hubs { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
@media (min-width: 761px) { .g-hubs.g-four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.g-hubs li { display: flex; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.g-hubs a { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 160px; padding: 22px; color: var(--ink); text-decoration: none; position: relative; }
.g-hubs a:hover .g-hub-name { text-decoration: underline; text-underline-offset: 3px; }
.g-hubs a:focus-visible { outline-offset: -3px; }
.g-icon-wrap { position: relative; display: block; width: 56px; height: 56px; }
.g-disc { position: absolute; left: 0; bottom: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); }
.g-disc.open { background: transparent; border: 1.5px dashed var(--amber-dark); }
.g-icon { position: absolute; right: 0; top: 0; width: 42px; height: 42px; color: var(--ink); }
.g-hub-name { font-size: 1.2rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.g-tag { position: absolute; top: 22px; right: 22px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

.g-ramp { margin: 24px 0; }
.g-ramp-chart { display: block; width: 100%; height: auto; max-width: 760px; overflow: visible; }
.g-ramp-chart rect { fill: var(--amber); }
.g-ramp-chart line { stroke: var(--ink); stroke-width: 2; }
.g-ramp-n { font-family: var(--font); font-size: 44px; font-weight: 800; letter-spacing: -0.04em; fill: var(--ink); }
.g-ramp-m { font-family: var(--mono); font-size: 14px; fill: var(--muted); }
.g-ramp figcaption { margin-top: 12px; max-width: 60ch; }

.g-work { display: flex; flex-direction: column; gap: 22px; }
.g-work-head { font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: 1; font-weight: 800; letter-spacing: -0.045em; margin: 0; }
.g-work-head mark { background: var(--amber); color: var(--ink); padding: 0 .12em; margin: 0 -.06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.g-work-text { max-width: 640px; font-size: 1.15rem; color: var(--text-2); margin: 0; }
.g-terms { list-style: none; margin: 18px 0 0; padding: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-terms li { padding: 24px 32px 4px; border-left: 1px solid var(--line-strong); }
.g-terms li:first-child { padding-left: 0; border-left: 0; }
.g-terms p { margin: 0; color: var(--text-2); }
.g-terms .g-term { font-size: 1.3rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }

@media (max-width: 760px) {
  .g-sample, .g-checks { grid-template-columns: 1fr; }
  .g-sample-list li { gap: 12px; }
  .g-f-cost > p:first-child { font-size: 1.3rem; }
  .g-checks-rows li { grid-template-columns: 1fr auto; font-size: 1.05rem; }
  .g-checks-rows .g-dots { grid-column: 1 / -1; grid-row: 2; }
  .g-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-hubs a { min-height: 132px; padding: 16px; gap: 20px; }
  .g-tag { top: 16px; right: 16px; }
  .g-terms { grid-template-columns: 1fr; }
  .g-terms li, .g-terms li:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line-strong); }
  .g-terms li:first-child { border-top: 0; }
}


/* The audit checklist (Plan 9). Colours come only from site.css tokens already in the contrast list
   (scripts/qa/contrast.mjs), so the contrast check holds without a new pair. */
.checklist { margin: 0 0 32px; }
.checklist-status { font-weight: 700; margin: 0 0 4px; }
.checklist-group { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 4px; }
.checklist-items { list-style: none; padding: 0; margin: 0; }
.checklist-item { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist-item input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--amber-dark); }
.checklist-item label { font-weight: 600; }
.checklist-item .fine { grid-column: 2; margin: 0; }
.checklist-verified { grid-column: 2; margin: 0; font-size: .875rem; font-weight: 600; color: var(--ok); }
@media print {
  .checklist [data-checklist-clear] { display: none; }
}

/* The diagnosis quiz, and the note it leaves on the scan report (Plan 9). Colours come only from site.css tokens
   already in the contrast list (scripts/qa/contrast.mjs). */
.quiz-wrap { margin: 0 0 32px; }
.quiz { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.quiz legend { font-weight: 700; font-size: 1.15rem; padding: 0; margin-bottom: 10px; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.quiz-option { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.quiz-option input { margin: 5px 0 0; accent-color: var(--amber-dark); }
.quiz label[for="quiz-url"] { display: block; font-weight: 600; margin-bottom: 6px; }
.quiz input[type="text"] { font: inherit; width: 100%; max-width: 480px; padding: 12px 14px; border: 2px solid var(--line-ink); border-radius: var(--radius); background: var(--paper); color: var(--text); }
.quiz-step { font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.quiz-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0 0; }
.quiz-nav .btn-small { margin-top: 0; }
.quiz-about { background: var(--paper-2); border-radius: var(--radius); padding: 12px 16px; margin-top: 12px; }
.quiz-about ul { margin: 0 0 8px; padding-left: 20px; }
.quiz-error { color: var(--high); font-weight: 600; margin: 8px 0 0; }
.focus-note { background: var(--paper-2); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 16px; }
.focus-note p { margin: 0 0 6px; }
.focus-note ul { margin: 0; padding-left: 20px; }

/* The ROI calculator and its printable business case (Plan 9). Colours come only from site.css tokens already in the
   contrast list (scripts/qa/contrast.mjs). On paper, only the business case prints. */
.roi { margin: 0 0 32px; }
.roi-form { background: var(--paper-2); border-radius: var(--radius); padding: 20px; }
.roi-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 16px 0 24px; }
.roi-actions .btn-small { margin-top: 0; }
.roi-case { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.roi-case h2 { margin-top: 0; }
.roi-case caption { text-align: left; font-weight: 600; margin-bottom: 6px; }
.roi-inputs { margin: 8px 0 16px; }
.roi-inputs th { width: 45%; }
.roi-headline { font-size: 1.6rem; font-weight: 800; margin: 16px 0 8px; }
.roi-months td { white-space: nowrap; }
@media print {
  body:has([data-roi]) .skip, body:has([data-roi]) .site-header, body:has([data-roi]) .site-footer, body:has([data-roi]) .page-head,
  .tool-roi-calculator > :not(.roi), .roi > :not([data-roi-output]) { display: none; }
  .roi-case { border: 0; padding: 0; }
}
