/* CRA On Call. Light, instrument-like: white paper, ink type, one cobalt
   accent, status colours only where they carry meaning. One family (Geist);
   hierarchy comes from size, weight, tracking and tabular numerals. */
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-subtle: #f6f7f9;
  --bg-sunken: #eff1f4;
  --surface: #ffffff;
  --ink: #0b1520;
  --ink-2: #48566a;
  --ink-3: #66748a;
  --line: #e4e8ee;
  --line-2: #d3d9e2;
  --accent: #2742e8;
  --accent-hover: #1c33c7;
  --accent-ink: #1b31b5;
  --accent-soft: #eef1ff;
  --accent-line: #c9d1ff;
  --good: #137043; --good-bg: #e7f5ed; --good-line: #b9e2c9; --good-dot: #1f9d5c;
  --warn: #8a4f00; --warn-bg: #fff3df; --warn-line: #f3d39b; --warn-dot: #e09a1c;
  --bad: #b3261e; --bad-bg: #fdecea; --bad-line: #f5c2bd; --bad-dot: #e0473c;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --measure: 68ch;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 32, .05);
  --shadow: 0 1px 2px rgba(11, 21, 32, .04);
  --shadow-lg: 0 1px 3px rgba(11, 21, 32, .06);
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--font); font-feature-settings: "ss01" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--font); color: var(--ink); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.04; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 620; letter-spacing: -0.03em; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
p { margin: 0; }
a { color: var(--accent-ink); text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease, text-decoration-color .15s ease; }
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
strong, b { font-weight: 600; }
code { font: 500 0.9em/1.4 var(--font); letter-spacing: -0.005em; background: var(--bg-sunken); border: 1px solid var(--line); padding: 0.08em 0.36em; border-radius: 5px; color: var(--ink); white-space: nowrap; }
pre { font: 400 0.9rem/1.6 var(--font); background: var(--bg-subtle); border: 1px solid var(--line); padding: 16px 18px; border-radius: var(--r); overflow-x: auto; }
::selection { background: color-mix(in srgb, var(--accent) 18%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.label { font-size: 0.78rem; font-weight: 550; letter-spacing: 0.01em; color: var(--ink-3); line-height: 1.3; }
.eyebrow, .kicker { display: block; font-size: 0.92rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); line-height: 1.4; }
.muted { color: var(--ink-2); }
.small { font-size: 0.88rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.22rem; letter-spacing: -0.035em; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo svg { width: 28px; height: 28px; flex: none; }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.94rem; padding: 7px 12px; border-radius: var(--r-sm); transition: color .15s ease, background-color .15s ease; }
nav.main a:not(.btn):hover { color: var(--ink); background: var(--bg-subtle); }
nav.main a[aria-current="page"]:not(.btn) { color: var(--ink); background: var(--bg-sunken); }
nav.main .nav-cta { margin-left: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 0.97rem/1 var(--font); letter-spacing: -0.005em; padding: 0 20px; height: 46px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: #fff; text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 2px rgba(20, 36, 160, .25), inset 0 1px 0 rgba(255, 255, 255, .14); transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.secondary, .btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn.secondary:hover, .btn.ghost:hover { background: var(--bg-subtle); border-color: #b9c2cf; color: var(--ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 0.9rem; border-radius: var(--r-sm); }
.nav-cta.btn { background: var(--ink); border-color: var(--ink); box-shadow: none; }
.nav-cta.btn:hover { background: #24303d; border-color: #24303d; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.95rem; color: var(--accent-ink); text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform .15s ease; }
.arrow-link:hover::after, a:hover > .arrow-link::after { transform: translateX(3px); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { text-decoration-color: currentColor; }

/* Form controls */
input, select, textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; min-height: 44px; box-shadow: var(--shadow-sm); transition: border-color .15s ease, box-shadow .15s ease; }
input::placeholder, textarea::placeholder { color: #8b97a8; }
input:hover, select:hover, textarea:hover { border-color: #b9c2cf; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2348566a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea { min-height: 140px; resize: vertical; }
textarea.mono { font: 400 0.9rem/1.65 var(--font); font-variant-numeric: tabular-nums; }
label { display: block; font-weight: 550; font-size: 0.88rem; margin-bottom: 7px; color: var(--ink); }
.form-msg { font-weight: 550; font-size: 0.94rem; }
.form-msg:empty { display: none; }
.form-msg.err { color: var(--bad); }
.form-msg.ok { color: var(--good); }
.field + .field, .row + .row, .row + .field, .field + .row { margin-top: 18px; }
.row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }
.row > .field { margin-top: 0 !important; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
form .btn[type="submit"] { margin-top: 24px; }
form .form-msg { margin-top: 14px; }

/* Sections */
.section { padding-block: 96px; }
.section-tight { padding-block: 0 96px; }
.section-flush { padding-top: 48px; }
.section-subtle { background: var(--bg-subtle); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 12px; }

/* Hero */
.hero { position: relative; padding-block: 72px 88px; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr); gap: 72px; align-items: center; }
.hero-copy { display: grid; gap: 0; justify-items: start; }
.hero-copy h1 { margin-top: 16px; max-width: 15em; }
.hero-copy h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.hero-copy .lede { margin-top: 22px; font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); max-width: 33em; }
.pill { display: inline-flex; align-items: center; gap: 9px; font-size: 0.84rem; font-weight: 550; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px 6px 11px; box-shadow: var(--shadow-sm); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bad-dot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad-dot) 20%, transparent); }

.scan { margin-top: 32px; display: flex; align-items: center; gap: 8px; width: 100%; max-width: 580px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); transition: border-color .15s ease, box-shadow .15s ease; }
.scan:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent), var(--shadow); }
.scan-prefix { color: var(--ink-3); font-size: 1.04rem; font-weight: 450; user-select: none; }
.scan input { border: 0; background: transparent; font-size: 1.06rem; font-weight: 500; padding: 10px 2px; min-height: 0; min-width: 0; box-shadow: none; flex: 1; }
.scan input:focus { box-shadow: none; }
.scan .btn { flex: none; height: 46px; border-radius: 10px; margin-top: 0; }
.scan-note { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.88rem; color: var(--ink-2); }
.scan-note li { display: inline-flex; align-items: center; gap: 7px; }
.scan-note li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--good-dot); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.scan-alt { margin-top: 14px; font-size: 0.9rem; }
#scan-status { margin-top: 14px; }
.paste { margin-top: 18px; display: grid; gap: 4px; width: 100%; max-width: 580px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.paste label .muted { font-weight: 400; }
.paste textarea { min-height: 120px; }
.paste .btn { margin-top: 8px; }

/* Clock card (light) */
.clock-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.clock-top { padding: 26px 28px 24px; }
.clock { margin-top: 8px; font: 600 clamp(3rem, 6.2vw, 4.6rem)/1 var(--font); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--ink); }
.clock .sep { color: #b4bdca; margin-inline: 0.02em; position: relative; top: -0.06em; }
.clock-bar { margin-top: 20px; height: 6px; border-radius: 99px; background: var(--bg-sunken); overflow: hidden; }
.clock-bar span { display: block; height: 100%; background: var(--accent); border-radius: inherit; transform-origin: left center; transition: transform 1s linear; }
.deadlines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); background: var(--bg-subtle); }
.deadlines li { padding: 18px 18px 20px; display: grid; gap: 6px; align-content: start; position: relative; }
.deadlines li + li { border-left: 1px solid var(--line); }
.deadlines b { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.deadlines span { font-size: 0.85rem; line-height: 1.4; color: var(--ink-2); }
.deadlines li.is-next::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); }
.deadlines li.is-next b { color: var(--accent); }
.clock-foot { padding: 13px 28px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-3); }

/* Scan results */
.results { margin-top: 56px; scroll-margin-top: 84px; }
.report { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 26px 28px; border-bottom: 1px solid var(--line); position: relative; }
.report-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.report-head.r-green::before { background: var(--good-dot); }
.report-head.r-amber::before { background: var(--warn-dot); }
.report-head.r-red::before { background: var(--bad-dot); }
.report-title { display: grid; gap: 6px; }
.report-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
.report-head .domain { color: var(--ink); font-weight: 600; }
.report-sum { font-size: 0.92rem; font-weight: 550; display: flex; flex-wrap: wrap; gap: 0 4px; }
.checks-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.checks-list .check:nth-child(odd) { border-right: 1px solid var(--line); }
.checks-list .check:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.check-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.check h3 { font-size: 1rem; }
.check p { color: var(--ink-2); font-size: 0.92rem; margin-top: 4px; overflow-wrap: anywhere; }
.findings { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; font-size: 0.9rem; }
.findings li { position: relative; padding-left: 16px; color: var(--ink-2); }
.findings li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; }
.f-green::before { background: var(--good-dot); }
.f-amber::before { background: var(--warn-dot); }
.f-red::before { background: var(--bad-dot); }
.mark { width: 22px; height: 22px; border-radius: 50%; margin-top: 0; display: grid; place-items: center; }
.mark::after { content: ""; width: 12px; height: 12px; background: #fff; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.m-green { background: var(--good-dot); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.m-amber { background: var(--warn-dot); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v6' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='12.6' r='1.4'/%3E%3C/svg%3E"); }
.m-red { background: var(--bad-dot); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.chip { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 0.74rem; font-weight: 600; line-height: 1; letter-spacing: 0.02em; padding: 5px 9px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-lg { font-size: 0.85rem; padding: 8px 13px; }
.s-green { color: var(--good); background: var(--good-bg); border-color: var(--good-line); }
.s-amber { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.s-red { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
.t-green { color: var(--good); } .t-amber { color: var(--warn); } .t-red { color: var(--bad); }
.report-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 22px 28px; background: var(--accent-soft); }
.report-cta p { max-width: 38em; font-weight: 500; }

/* Proof band */
.proof { background: var(--bg-subtle); border-block: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; }
.proof-copy { display: grid; gap: 18px; }
.proof-copy h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); max-width: 22em; }
.proof-num { margin: 0; font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.proof-num span { font-size: 0.4em; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-3); }
.proof-copy .muted { max-width: 36em; font-size: 1.02rem; }
.dots { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.dot-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.dot-grid i { aspect-ratio: 1; border-radius: 8px; }
.dots .g { background: var(--good-dot); }
.dots .a { background: var(--warn-bg); border: 1.5px solid var(--warn-dot); }
.dots .r { background: var(--bad-bg); border: 1.5px dashed color-mix(in srgb, var(--bad-dot) 70%, transparent); }
.dots figcaption { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.86rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dots figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.dots figcaption i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); scroll-margin-top: 96px; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head h2, .plan-head h3 { font-size: 1.3rem; font-weight: 620; letter-spacing: -0.02em; }
.tag { font-size: 0.78rem; font-weight: 550; color: var(--ink-2); background: var(--bg-sunken); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.plan-key { margin-top: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink-2); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-key b { font-size: 2.6rem; font-weight: 650; letter-spacing: -0.045em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.checks { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.checks li { position: relative; padding-left: 26px; font-size: 0.97rem; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 0.5em; width: 11px; height: 6px; border-left: 1.75px solid var(--ink-3); border-bottom: 1.75px solid var(--ink-3); transform: rotate(-45deg); }
.plan > .btn { align-self: flex-start; }
.plan-foot { display: grid; gap: 14px; justify-items: start; }
.fine { font-size: 0.86rem; color: var(--ink-2); }
.plans-lg .plan { padding: 36px; }
.plans-lg .checks li { color: var(--ink-2); }
.plans-lg .checks strong { color: var(--ink); }

/* Resources row */
.resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.resources a { display: grid; gap: 6px; align-content: start; padding: 26px 28px; color: inherit; text-decoration: none; background: var(--surface); transition: background-color .15s ease; }
.resources a + a { border-left: 1px solid var(--line); }
.resources a:hover { background: var(--bg-subtle); color: inherit; }
.resources strong { font-size: 1.06rem; font-weight: 600; letter-spacing: -0.015em; }
.resources strong::after { content: " →"; color: var(--ink-3); transition: color .15s ease; }
.resources a:hover strong::after { color: var(--accent); }
.resources .muted { font-size: 0.92rem; }

/* Inner pages: header band */
.hero.page { padding-block: 72px 56px; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero.page::before { display: none; }
.hero.page .eyebrow + h1 { margin-top: 14px; }
.hero.page h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22em; }
.hero.page .lede, .lede { font-size: 1.14rem; line-height: 1.55; color: var(--ink-2); }
.hero.page .lede { margin-top: 18px; max-width: 40em; }
.hero.page h1 + .muted { margin-top: 12px; }
.print-row { margin-top: 24px; }
section.hero.page + .section, section.hero.page + section { padding-top: 56px; }
.section:last-child { padding-bottom: 104px; }

/* Prose */
.prose { max-width: var(--measure); }
.wrap.prose { max-width: var(--max); }
.wrap.prose > * { max-width: var(--measure); }
.wrap.prose > .table-wrap, .wrap.prose > .cta-band { max-width: 900px; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 2.2vw, 1.7rem); scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { padding-left: 0.2em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--bg-subtle); border-radius: 0 var(--r) var(--r) 0; color: var(--ink); font-size: 1.02rem; }
article.hero.page { background: none; border-bottom: 0; padding-block: 56px 32px; }
article.hero.page .prose > .eyebrow + h1 { margin-top: 14px; }
article.hero.page .prose > h1 { font-size: clamp(2rem, 4vw, 2.85rem); }
article.hero.page .prose > .lede { margin-top: 18px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
article.hero.page .prose > .lede + h2 { margin-top: 1.6em; }
.note { padding: 16px 20px; border: 1px solid var(--line); background: var(--bg-subtle); border-radius: var(--r); font-size: 0.97rem; color: var(--ink-2); }
blockquote.note { border-left: 3px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; color: var(--ink); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; line-height: 1.5; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--bg-subtle); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
td:first-child { font-weight: 550; color: var(--ink); }
td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
td strong { color: var(--ink); }

/* Numbered steps */
.steps { list-style: none; padding: 0 !important; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 46px !important; min-height: 30px; }
.steps li + li { margin-top: 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -0.05em; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); }

/* CTA band (light) */
.cta-band { position: relative; margin-top: 3em !important; padding: 32px; border: 1px solid var(--line); background: var(--bg-subtle); border-radius: var(--r-lg); display: grid; gap: 12px; justify-items: start; }
.cta-band h2 { margin: 0 !important; font-size: 1.45rem; }
.cta-band p { color: var(--ink-2); max-width: 36em; margin: 0 !important; }
.cta-band .btn { margin-top: 8px !important; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }

/* Services page */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.split-head { position: sticky; top: 104px; display: grid; gap: 12px; }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; display: grid; gap: 0; }
.flow li { counter-increment: f; position: relative; padding: 0 0 30px 60px; }
.flow li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); font-size: 0.85rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 42px; bottom: 4px; width: 1px; background: var(--line-2); }
.flow h3 { font-size: 1.1rem; }
.flow p { margin-top: 6px; color: var(--ink-2); max-width: 40em; }
.split .note { margin-top: 8px; background: var(--surface); }
.faq { margin: 0; display: grid; border-top: 1px solid var(--line); }
.faq > div { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.faq dt { font-weight: 600; font-size: 1.06rem; letter-spacing: -0.012em; }
.faq dd { margin: 0; color: var(--ink-2); max-width: 44em; }

/* Form pages (contact, runbook) */
.form-page { padding-block: 72px 104px; background: var(--bg); border-top: 0; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.form-intro { display: grid; gap: 0; position: sticky; top: 104px; }
.form-intro h1 { margin-top: 14px; font-size: clamp(2rem, 3.8vw, 2.8rem); }
.form-intro .lede { margin-top: 18px; max-width: 30em; }
.next-steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: n; display: grid; gap: 16px; }
.next-steps li { counter-increment: n; position: relative; padding-left: 42px; color: var(--ink-2); }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 650; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.next-steps b { color: var(--ink); }
.researcher { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 30em; }
.form-card { padding: 32px; box-shadow: var(--shadow-lg); }
.form-fine { margin-top: 16px; }
.runbook-toc { list-style: none; margin: 32px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.runbook-toc li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 12px; padding: 11px 16px; font-size: 0.93rem; }
.runbook-toc li + li { border-top: 1px solid var(--line); }
.runbook-toc b { font-weight: 650; font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.runbook-toc span { color: var(--ink-2); }

/* Guides index */
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.guide-list a { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; counter-increment: g; }
.guide-list { counter-reset: g; }
.guide-list a::before { content: counter(g, decimal-leading-zero); font-size: 0.8rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.guide-list a:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.guide-list h2 { font-size: 1.2rem; letter-spacing: -0.02em; }
.guide-list p { color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.guide-list .arrow-link { margin-top: 6px; font-size: 0.9rem; }

/* Guide article layout with sticky table of contents */
.article-layout { display: grid; grid-template-columns: minmax(0, var(--measure)) 260px; justify-content: space-between; gap: 64px; align-items: start; }
.article-body { max-width: var(--measure); }
.toc { position: sticky; top: 96px; display: grid; gap: 12px; padding-top: 6px; font-size: 0.9rem; }
.toc-h { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 0; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.toc ol a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc ol a:hover { color: var(--ink); border-left-color: var(--ink); }
.toc-cta { margin-top: 18px; display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-subtle); color: inherit; text-decoration: none; }
.toc-cta b { color: var(--accent-ink); }
.toc-cta b::after { content: " →"; }
.toc-cta span { color: var(--ink-2); font-size: 0.86rem; line-height: 1.45; }
.toc-cta:hover { border-color: var(--line-2); color: inherit; }

/* Generator */
.gen-form .row { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-actions .btn[type="submit"] { margin-top: 0; }
.gen-out { margin-top: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.out { display: grid; gap: 14px; padding: 24px; }
.out-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.out-head h2 { font-size: 1.1rem; letter-spacing: -0.015em; }
.out textarea { min-height: 300px; background: var(--bg-subtle); box-shadow: none; }
.gen-note { margin-top: 20px; max-width: 60em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-subtle); padding-block: 56px 36px; color: var(--ink-2); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.7fr); gap: 48px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand p { max-width: 34em; line-height: 1.55; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-h { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.footer-col a { color: var(--ink-2); text-decoration: none; width: fit-content; }
.footer-col a:hover { color: var(--ink); }
.footer-legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--ink-3); }

/* Responsive */
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 900px) {
  .hero { padding-block: 48px 64px; }
  .hero-grid, .proof-grid, .form-layout, .split { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split-head, .form-intro { position: static; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .resources { grid-template-columns: minmax(0, 1fr); }
  .resources a + a { border-left: 0; border-top: 1px solid var(--line); }
  .checks-list { grid-template-columns: minmax(0, 1fr); }
  .checks-list .check:nth-child(odd) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding-block: 72px; }
  .section-tight { padding-block: 0 72px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .site-header .wrap { height: 58px; gap: 8px; }
  .logo { font-size: 1.12rem; }
  .logo svg { width: 26px; height: 26px; }
  nav.main a:not(.btn) { padding: 6px 8px; font-size: 0.9rem; }
  nav.main .hide-sm { display: none; }
  nav.main .nav-cta { margin-left: 4px; height: 34px; padding: 0 11px; font-size: 0.86rem; }
  .hero { padding-block: 36px 56px; }
  .hero::before { height: 420px; background-size: 36px 36px; }
  .hero-copy h1 { margin-top: 18px; font-size: 2.15rem; }
  .hero-copy .lede { font-size: 1.04rem; margin-top: 16px; }
  .pill { font-size: 0.78rem; }
  .scan { flex-wrap: wrap; padding: 6px; margin-top: 26px; }
  .scan-prefix { padding-left: 10px; }
  .scan input { padding: 8px 2px; }
  .scan .btn { width: 100%; }
  .clock-top { padding: 22px 20px 20px; }
  .clock { font-size: 3.2rem; }
  .deadlines li { padding: 14px 12px 16px; }
  .deadlines b { font-size: 1.02rem; }
  .deadlines span { font-size: 0.8rem; }
  .clock-foot { padding: 12px 20px; }
  .results { margin-top: 40px; }
  .report-head { padding: 22px 18px 20px 22px; flex-direction: column; gap: 12px; }
  .report-head .chip-lg { order: -1; }
  .check { padding: 18px; gap: 12px; }
  .check-title { align-items: flex-start; }
  .report-cta { padding: 20px 18px; }
  .report-cta .actions, .report-cta .btn { width: 100%; }
  .section { padding-block: 56px; }
  .section-tight { padding-block: 0 56px; }
  .section-flush { padding-top: 32px; }
  .section-head { margin-bottom: 28px; }
  .dots { padding: 20px; }
  .dot-grid { gap: 7px; }
  .dot-grid i { border-radius: 6px; }
  .plan, .plans-lg .plan { padding: 24px 20px; }
  .plan > .btn, .plan-foot .btn { width: 100%; }
  .plan-foot { justify-items: stretch; }
  .plan-key b { font-size: 2.2rem; }
  .resources a { padding: 22px 20px; }
  .hero.page { padding-block: 44px 36px; }
  .hero.page h1, article.hero.page .prose > h1 { font-size: 1.95rem; }
  .hero.page .lede, .lede { font-size: 1.04rem; }
  article.hero.page { padding-top: 36px; }
  .card, .form-card { padding: 22px 18px; }
  .form-page { padding-block: 44px 72px; }
  .form-layout { gap: 32px; }
  .cta-band { padding: 24px 20px; }
  .cta-band .btn { width: 100%; }
  th, td { padding: 11px 12px; }
  .flow li { padding-left: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cta-band, .btn, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero.page { background: none; border: 0; padding: 0 0 12pt; }
  .table-wrap { box-shadow: none; overflow: visible; }
  .section, .section-flush { padding: 0; }
  h2 { break-after: avoid; }
  tr { break-inside: avoid; }
}

@media (max-width: 720px) { .proof-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.scan .btn[type="submit"] { margin-top: 0; }

/* Scan results, simplified: one column, one status mark per row. */
.report { box-shadow: none; max-width: 760px; }
.report-head { display: grid; gap: 6px; padding: 24px 28px; }
.report-head::before { content: none; }
.report-head .label { font-size: 0.9rem; color: var(--ink-3); }
.checks-list { grid-template-columns: minmax(0, 1fr); }
.checks-list .check:nth-child(odd) { border-right: 0; }
.check { grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 16px 28px; align-items: start; }
.check:last-child { border-bottom: 0; }
.check .mark { margin-top: 2px; }
.check h3 { font-size: 0.98rem; }
.check p { margin-top: 2px; font-size: 0.92rem; }
.check .findings { margin: 6px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: 0.9rem; }
.check .findings li::before { content: none; }
.report-cta { background: var(--surface); border-top: 1px solid var(--line); padding: 20px 28px; }
.report-cta p { font-weight: 400; color: var(--ink-2); font-size: 0.95rem; }
.check .findings { list-style: disc; display: block; }
.check .findings li { padding-left: 0; }
.check .findings li + li { margin-top: 2px; }
.check .mark { width: 20px; height: 20px; }

/* Single offer: two phases side by side in one card */
.offer-one { gap: 28px; }
.offer-one .phases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.offer-one .phases > div + div { border-left: 1px solid var(--line); padding-left: 40px; }
.offer-one h2, .offer-one h3 { font-size: 1.15rem; }
.offer-one .checks { margin: 16px 0 0; }
.offer-one > .btn { align-self: flex-start; }
@media (max-width: 760px) { .offer-one .phases { grid-template-columns: minmax(0, 1fr); gap: 28px; } .offer-one .phases > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; } }
