/* The Nonprofit Visibility Report — shared stylesheet.
   Tokens from the design handoff (README "Design Tokens"). Inline styles in
   the prototype were a constraint of its format; everything lives here. */

:root {
  --navy: #0D1B2A; --navy-deep: #08131E; --navy-darkest: #0A1622;
  --teal: #1AA18C; --teal-deep: #0F7566; --mint: #5FD3BD;
  --mint-wash: #E6F7F5; --mint-wash-2: #F4FBF9;
  --off: #F9FAFB; --white: #fff;
  --border: #E5E7EB; --border-light: #F1F3F5; --border-input: #D9DEE4; --track: #E9EBEE;
  --ink: #0D1B2A; --ink-muted: #5B6878;
  --bar-mid: #4AA8B8; --bar-low: #8FA3B8; --bar-alt: #3FB6A2;
  --amber: #B45309; --amber-wash: #FEF3E2; --amber-border: #F5D9A8; --amber-edge: #E08A1E;
  --orange: #C2410C; --red: #B4231F; --red-wash: #FDECEC; --red-edge: #D14A45;
  --dk-82: rgba(230,247,245,.82); --dk-76: rgba(230,247,245,.76); --dk-72: rgba(230,247,245,.72);
  --dk-64: rgba(230,247,245,.64); --dk-62: rgba(230,247,245,.62); --dk-6: rgba(230,247,245,.6);
  --dk-55: rgba(230,247,245,.55); --dk-5: rgba(230,247,245,.5);
  --sans: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease-bar: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--off); color: var(--ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.6; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--ink); }
p { text-wrap: pretty; margin: 0; }
h1, h2, h3 { margin: 0; }
input, button, select { font-family: inherit; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.tabnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page { max-width: 100%; overflow-x: clip; }   /* clip, never hidden: hidden breaks position:sticky */
.wrap { max-width: 1120px; margin: 0 auto; }
.wrap--narrow { max-width: 1000px; }

/* ── logo lockup (typographic stand-in until the SVG asset lands) ─────── */
.logo { font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.logo b { font-weight: 800; color: var(--mint); }
.logo:hover, .logo:focus-visible { color: #fff; }          /* an <a>, but the lockup never recolours */
.logo:hover b { color: var(--mint); }
.logo--light { color: var(--navy); }
.logo--light b { color: var(--teal); }

/* ── hero ────────────────────────────────────────────────────────────── */
.hero { background: var(--navy);
  background-image: radial-gradient(ellipse 100% 70% at 50% -10%, rgba(26,161,140,.22), transparent 70%);
  padding: 64px 24px 72px; }
.hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.builtby { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 10px 18px;
  border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.builtby .lbl { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dk-5); }
.builtby .div { width: 1px; height: 18px; background: rgba(255,255,255,.16); }
/* Readability over the design's 300/.76 (Steven, 2026-09-24): regular weight, near-white. */
.subhead { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; font-weight: 400; color: rgba(240,250,248,.96);
  margin: 26px auto 0; max-width: 60ch; }
.subhead .tip { font-weight: 600; }
.tip { position: relative; color: #fff; font-weight: 500; border-bottom: 1px dashed rgba(95,211,189,.7);
  cursor: help; background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0; font: inherit; }
.tip-panel { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  width: min(300px, 78vw); padding: 14px 16px; border-radius: 12px; background: var(--navy-deep);
  border: 1px solid rgba(95,211,189,.3); box-shadow: 0 18px 40px -16px rgba(0,0,0,.7);
  font-size: 13px; line-height: 1.6; font-weight: 400; color: rgba(230,247,245,.88); text-align: left; z-index: 20; }
.tip-panel .eyebrow { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 7px; }
.map-slot { margin-top: 44px; }

.lead-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px;
  align-items: end; margin-top: 20px; padding: 28px; border-radius: 16px; background: #fff;
  border: 1px solid var(--border); box-shadow: 0 24px 60px -24px rgba(8,19,30,.6); text-align: left; }
.lead-card .head { grid-column: 1 / -1; min-width: 0; }
.lead-card .head h2 { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: -.015em; line-height: 1.3; }
.lead-card .head p { font-size: 14px; line-height: 1.55; color: var(--ink-muted); margin-top: 7px; }
.field { min-width: 0; }
.field label { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--border-input);
  background: var(--off); font-size: 14px; color: var(--ink); outline: none; }
.field input:focus { border-color: var(--teal); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--red-edge); }
.field .err { font-size: 11.5px; color: var(--red); margin-top: 5px; min-height: 0; }
.btn { display: inline-block; text-align: center; padding: 14px 18px; border-radius: 10px; border: 0;
  font-size: 14px; font-weight: 700; cursor: pointer; line-height: 1.2; }
.btn--primary { background: var(--teal); color: #fff; width: 100%; }
.btn--primary:hover { background: var(--teal-deep); color: #fff; }
.btn--primary[disabled] { opacity: .6; cursor: progress; }
.btn--ghost { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 600; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.form-msg { grid-column: 1 / -1; font-size: 12.5px; color: var(--red); }
.form-msg:empty { display: none; }

/* hero extras: key takeaways, form preview, privacy note */
.hero-tk { margin-top: 28px; padding: 24px 28px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-align: left; }
.hero-tk ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 10px 28px; }
.hero-tk li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.55; color: var(--dk-82); }
.hero-tk li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.hero-tk li strong { color: #fff; font-weight: 700; }
.lead-card .preview { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lead-card .preview li { position: relative; padding-left: 16px; font-size: 12.5px; color: var(--ink-muted); }
.lead-card .preview li::before { content: '✓'; position: absolute; left: 0; color: var(--teal-deep); font-weight: 700; }
.lead-card .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lead-card .actions .btn--primary { width: auto; flex: none; }
.lead-card .privacy { font-size: 12px; color: var(--ink-muted); line-height: 1.45; }

/* ── sticky section nav ──────────────────────────────────────────────── */
.secnav { position: sticky; top: 0; z-index: 40; background: rgba(9,20,32,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(95,211,189,.18); }
.secnav .wrap { display: flex; align-items: center; gap: 28px; padding: 0 24px; }
.secnav .lbl { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dk-64); padding: 16px 0; }
.secnav .items { display: flex; gap: 4px; overflow-x: auto; flex: 1 1 auto; scrollbar-width: none; }
.secnav .items::-webkit-scrollbar { display: none; }
.secnav a, .secnav .soon { flex: none; display: flex; align-items: center; gap: 7px; padding: 16px 14px;
  font-size: 13.5px; font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; }
.secnav a { color: var(--dk-62); }
.secnav a:hover { color: #fff; }
.secnav a[aria-current="true"] { color: #fff; border-bottom-color: var(--teal); }
.secnav .soon { color: var(--dk-55); cursor: default; }
.secnav-logo { flex: none; font-size: 14px; padding: 12px 0 12px 16px; margin-left: auto; border-left: 1px solid rgba(255,255,255,.1); }
.secnav-logo .by { font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dk-5); margin-right: 8px; }
/* the nav lockup never changes on hover: solid white, mint "Pilot", dim label */
/* `.secnav a` makes every nav link a flex row with gap:7px. In the lockup
   that turns "Ad Grants" and <b>Pilot</b> into two flex items with 7px
   wedged between them, on top of the word space -- so the nav lockup read
   wider than the identical one in the hero. The hero is plain inline text;
   make this one inline too and the spacing matches by construction. */
.secnav .secnav-logo { display: inline-block; gap: 0; }
.secnav .secnav-logo, .secnav .secnav-logo:hover, .secnav .secnav-logo:focus-visible { color: #fff; border-bottom-color: transparent; }
.secnav .secnav-logo:hover .by { color: var(--dk-5); }
.secnav .secnav-logo:hover b { color: var(--mint); }
@media (max-width: 640px) { .secnav-logo .by { display: none; } }
.chip-soon { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dk-55);
  border: 1px solid rgba(230,247,245,.24); border-radius: 5px; padding: 2px 5px; }

/* ── data sections ───────────────────────────────────────────────────── */
.sec { padding: 88px 24px; border-bottom: 1px solid var(--border); scroll-margin-top: 60px; }
.sec--off { background: var(--off); }
.sec--white { background: #fff; }
.sec-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* Section titles: large, black, no pill (Steven, 2026-09-20). The check
   page's .pill--dark keeps the pill treatment on the navy header. */
.pill { display: inline-flex; font-size: 20px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); line-height: 1; }
.pill--dark { font-size: 11px; font-weight: 700; letter-spacing: .13em; padding: 7px 14px; border-radius: 999px; line-height: 1.2; }
.h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin-top: 14px; max-width: 32ch; }
.h2--wide { max-width: 34ch; }
.h2--next { margin-top: 64px; }   /* a second question within the same section */
.intro { font-size: 16px; line-height: 1.65; color: var(--ink-muted); margin-top: 16px; max-width: 64ch; }
.intro--wide { max-width: 66ch; }
.intro--wider { max-width: 68ch; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.eyebrow--teal { color: var(--teal-deep); }
.eyebrow--amber { color: var(--amber); }
.eyebrow--mint { color: var(--mint); }
.sub-eyebrow { margin-top: 44px; }
.sub-note { font-size: 13px; line-height: 1.7; color: var(--ink-muted); margin-top: 10px; max-width: 72ch; }

.badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 7px; font-size: 10px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; }
.badge--tierb { background: var(--amber-wash); border: 1px solid var(--amber-border); color: var(--amber); }
.badge--geo { background: var(--mint-wash); border: 1px solid rgba(26,161,140,.3); color: var(--teal-deep); }
.badge--m8 { background: var(--mint-wash); border: 1px solid rgba(26,161,140,.28); color: var(--teal-deep);
  padding: 4px 9px; letter-spacing: .07em; }

.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: 36px; }
.counters--tight { margin-top: 20px; }
.counter { padding: 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--card-bg, #fff); }
.counter .num { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.counter .num--teal { color: var(--teal-deep); }
.counter .cap { font-size: 12.5px; line-height: 1.55; color: var(--ink-muted); margin-top: 9px; }

.note { margin-top: 20px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--border); background: var(--card-bg, #fff);
  display: flex; gap: 14px; align-items: flex-start; }
.note .eyebrow { flex: none; padding: 2px 0; }
.note p { font-size: 12.5px; line-height: 1.7; color: var(--ink-muted); }
.note--mint { background: var(--mint-wash); border-color: rgba(26,161,140,.22); }
.note--mint p { color: var(--ink); }
.note--mint .eyebrow { color: var(--teal-deep); }
.callout-dark { margin-top: 28px; padding: 20px 22px; border-radius: 14px; background: var(--navy);
  display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.callout-dark .eyebrow { color: var(--mint); flex: none; padding: 3px 0; }
.callout-dark p { font-size: 13.5px; line-height: 1.7; color: var(--dk-82); max-width: 78ch; }
.callout-dark strong { color: #fff; font-weight: 700; }

/* revenue-band table */
.bt { margin-top: 28px; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow-x: auto; }
.bt--tight { margin-top: 20px; }
.bt-inner { min-width: 820px; --cols: minmax(180px, 1.4fr) repeat(5, minmax(0, 1fr)); }
.bt-inner--wide { min-width: 860px; --cols: minmax(190px, 1.4fr) repeat(5, minmax(0, 1fr)); }
.bt-inner--all { min-width: 900px; --cols: minmax(190px, 1.4fr) 82px repeat(4, minmax(0, 1fr)); }
.bt-inner--allcol { min-width: 900px; --cols: minmax(180px, 1.3fr) minmax(0, 1.1fr) repeat(4, minmax(0, 1fr)); }
.bt-band--all, .bt-any--all, .bt-cell--all { background: var(--mint-wash-2); }
.bt-band--all .nm { color: var(--teal-deep); }
.bt-row--any .bt-any--all { background: #E9F6F2; }
.bt-row { display: grid; grid-template-columns: var(--cols); gap: 0; border-bottom: 1px solid var(--border-light); }
.bt-row--head { border-bottom: 1px solid var(--border); }
.bt-row--any { background: var(--mint-wash-2); border-bottom: 1px solid var(--border); }
.bt-row:last-child { border-bottom: 0; }
.bt-lbl { padding: 20px 22px; }
.bt-lbl .eyebrow { display: block; }
.bt-band { padding: 20px 18px; text-align: right; }
.bt-band .nm { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.bt-band .n { font-size: 11.5px; color: var(--ink-muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
.bt-any-lbl { padding: 18px 22px; }
.bt-any-lbl .t { font-size: 14px; font-weight: 700; color: var(--navy); }
.bt-any-lbl .s { font-size: 11.5px; color: var(--ink-muted); margin-top: 4px; }
.bt-any { padding: 18px; text-align: right; }
.bt-any .p { font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.bt-any .n { font-size: 11.5px; color: var(--ink-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.bt-vendor { padding: 16px 22px; display: flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--navy); }
.bt-cell { padding: 14px 18px; text-align: right; }
.bt-cell .p { font-size: 14.5px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.bt-cell .n { font-size: 11.5px; color: var(--ink-muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.bt-all { padding: 14px 10px 14px 18px; text-align: right; }
.bt-all .p { font-size: 14px; font-weight: 700; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.bt-all .n { font-size: 11.5px; color: var(--ink-muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.bt-all--head { padding: 20px 10px 20px 18px; }

/* bars */
.bar4 { height: 4px; border-radius: 2px; background: var(--border-light); margin-top: 7px; overflow: hidden; }
.bar4 i, .bar9 i { display: block; height: 100%; border-radius: inherit; width: 0; background: var(--fill, var(--teal));
  transition: width .9s var(--ease-bar); }
.bar9 { height: 9px; border-radius: 5px; background: var(--track); overflow: hidden; }
.bar9--light { background: var(--border-light); }
.in .bar4 i, .in .bar9 i { width: var(--w); }
.f-high { --fill: var(--teal); } .f-mid { --fill: var(--bar-mid); } .f-low { --fill: var(--bar-low); }
.f-alt { --fill: var(--bar-alt); } .f-orange { --fill: var(--orange); } .f-amber { --fill: var(--amber); }

/* takeaway cards */
.takeaways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 20px; }
.card .key-tk { background: var(--off); }
.takeaway { padding: 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--card-bg, #fff); }
.takeaway p { font-size: 13.5px; line-height: 1.7; color: var(--ink); margin-top: 12px; }

/* key takeaways: one big statement + evidence, full width */
.key-tk { grid-column: 1 / -1; padding: 26px 28px; border-radius: 14px; border: 1px solid var(--border); background: var(--card-bg, #fff); }
.key-tk-h { font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; color: var(--navy); margin-top: 12px; max-width: 34ch; }
.key-tk p { font-size: 14.5px; line-height: 1.7; color: var(--ink); margin-top: 12px; max-width: 78ch; }
.key-tk-p { display: block; }
.key-tk-p + .key-tk-p { margin-top: 10px; }

.h3q { font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: var(--navy); margin-top: 44px; line-height: 1.3; }
/* declared before .lb-row, so the selectors carry extra specificity */
.lb .lb-row.lb-row--cms { grid-template-columns: minmax(170px, 1.2fr) 110px 80px 56px minmax(0, 1.4fr); padding: 13px 0; }
.lb .lb-row.lb-row--cms .n small { display: block; font-size: 11px; }
.lb .lb-row.lb-row--cms .p { font-size: 15px; }
.lb .lb-row.lb-row--cms.lb-row--all { background: var(--mint-wash-2); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 8px; }
.lb .lb-row.lb-row--cms.lb-row--head { padding: 14px 0; }

/* cards + leaderboards */
.card { margin-top: 20px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.card--first { margin-top: 44px; }
.card--tierb { border-left: 3px solid var(--orange); }
.card--geo { border-left: 3px solid var(--teal); }
.card--off { background: var(--off); padding: 26px; margin-top: 36px; }
.card-title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.card-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-sub { font-size: 13.5px; line-height: 1.6; color: var(--ink-muted); margin-top: 10px; max-width: 72ch; }
.card-note { margin-top: 20px; padding: 16px 18px; border-radius: 11px; background: var(--off); border: 1px solid var(--border); }
.card-note p { font-size: 13px; line-height: 1.65; color: var(--ink-muted); }
.card-note--mint { background: var(--mint-wash); border-color: rgba(26,161,140,.22); }
.card-note--mint p { color: var(--ink); }
.card-note--mint strong { font-weight: 700; }
.lb { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; }
.lb--tight { margin-top: 20px; }
.lb-row { display: grid; grid-template-columns: minmax(180px, 1fr) 78px 62px minmax(0, 1.6fr); gap: 16px; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--border-light); }
.lb-row--rank { grid-template-columns: 32px minmax(120px, 1.2fr) 78px 62px minmax(0, 1.6fr); padding: 13px 0; }
.lb-row--ask { grid-template-columns: minmax(170px, 1fr) 70px 58px minmax(0, 1.6fr); padding: 13px 0; }
.lb-row--speed { grid-template-columns: minmax(200px, 1.1fr) 78px 62px minmax(0, 1.3fr); }
.lb-row--wide { grid-template-columns: minmax(200px, 1fr) 78px 62px minmax(0, 1.6fr); }
.lb-row--head { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-muted); }
.lb-row--head div { font-size: inherit; }
.lb-row .rk { font-size: 12px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.lb-row .nm { font-size: 14px; font-weight: 600; color: var(--navy); min-width: 0; }
.lb-row .nm small { font-size: 12px; font-weight: 400; color: var(--ink-muted); margin-left: 8px; }
.lb-row .n { text-align: right; font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.lb-row .p { text-align: right; font-size: 15px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.lb-row--rank .p, .lb-row--ask .p { font-size: 14px; }
.lb-row--ask .p { font-size: 14.5px; }
.lb-card { margin-top: 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 8px 24px 16px; }
.lb-card .lb { margin-top: 0; }
.lb-card .lb-row--all { margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.lb-card .lb-row:last-child { border-bottom: 1px solid var(--border-light); }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; margin-top: 24px; }
.stat-tile { padding: 18px; border-radius: 12px; background: var(--off); border: 1px solid var(--border); }
.stat-tile .v { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-tile .c { font-size: 11.5px; line-height: 1.55; color: var(--ink-muted); margin-top: 7px; }
code.inl { font-family: var(--mono); font-size: 12.5px; background: #fff; border: 1px solid #D7E8E3; border-radius: 5px; padding: 1px 6px; }
.archive-note { margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: var(--mint-wash); border: 1px solid rgba(26,161,140,.22); }
.archive-note p { font-size: 13.5px; line-height: 1.75; color: var(--ink); }
.archive-note strong { font-weight: 700; }
.sec-hidden { display: none !important; }

/* section CTA, tied to the finding above it */
.cta { margin-top: 28px; padding: 22px 26px; border-radius: 14px; background: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cta:empty { display: none; }
.cta p { font-size: 16px; font-weight: 600; line-height: 1.45; color: #fff; max-width: 52ch; }
.cta .btn { width: auto; flex: none; }

/* glossary tooltips */
.term { border-bottom: 1px dotted var(--teal); cursor: help; }
.hero .term, .footer .term { border-bottom-color: rgba(95,211,189,.6); }
#term-tip { position: absolute; z-index: 60; width: 300px; padding: 12px 14px; border-radius: 10px; background: var(--navy-deep); color: rgba(230,247,245,.9);
  border: 1px solid rgba(95,211,189,.3); box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); font-size: 12.5px; line-height: 1.55; pointer-events: none; }

/* share a single chart */
[data-slot] { position: relative; }
.share { position: absolute; right: 10px; top: -30px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted);
  background: none; border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; cursor: pointer; }
.share:hover { color: var(--teal-deep); border-color: var(--teal); }
.bt--tight + .share, [data-slot] .bt--tight ~ .share { top: -12px; }

/* ── footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--navy-deep); padding: 64px 24px 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 44px 56px; align-items: start; }
.footer h2 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: #fff; margin-top: 14px; line-height: 1.3; }
.footer .body { font-size: 13px; line-height: 1.75; color: var(--dk-6); margin-top: 14px; }
.ticker { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; animation: agpBlink 1.6s infinite; }
.ticker span:last-child { font-size: 12px; line-height: 1.45; color: var(--dk-72); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.step { padding: 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.step .k { font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--mint); }
.step .t { font-size: 13.5px; font-weight: 600; color: #fff; margin-top: 9px; }
.step .b { font-size: 11.5px; line-height: 1.6; color: var(--dk-55); margin-top: 6px; }
.sources { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.sources span { padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  font-size: 11.5px; font-weight: 600; color: var(--dk-72); }
.footer-rule { height: 1px; background: rgba(255,255,255,.08); margin: 44px 0 24px; }
.legal { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
.legal p { font-size: 11.5px; line-height: 1.7; color: var(--dk-55); max-width: 70ch; }
.legal a { color: rgba(230,247,245,.75); border-bottom: 1px solid rgba(230,247,245,.3); }
.legal .asof { white-space: nowrap; }

/* ── results page ────────────────────────────────────────────────────── */
.rh { background: var(--navy); background-image: radial-gradient(ellipse 100% 80% at 50% -20%, rgba(26,161,140,.2), transparent 70%);
  padding: 40px 24px 56px; }
.rh-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1); }
.rh-top a.back { font-size: 12.5px; font-weight: 600; color: rgba(230,247,245,.7); }
.rh-top a.back:hover { color: #fff; }
.pill--dark { margin-top: 36px; gap: 8px; padding: 7px 14px; background: rgba(26,161,140,.14); border: 1px solid rgba(26,161,140,.32); color: var(--mint); }
.rh h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin-top: 20px; color: #fff; }
.rh .meta { font-size: 14px; color: var(--dk-6); margin-top: 10px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; margin-top: 32px; }
.tile { padding: 22px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.tile .k { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--dk-55); }
.tile .big { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.tile .big .v { font-size: 36px; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .big .v--mint { color: var(--mint); }
.tile .big .of { font-size: 16px; color: var(--dk-55); }
.tile .t { font-size: 15px; font-weight: 700; color: #fff; margin-top: 10px; line-height: 1.35; }
.tile .s { font-size: 11.5px; color: var(--dk-5); margin-top: 7px; }
.rh .prov { font-size: 13px; line-height: 1.7; color: var(--dk-6); margin-top: 24px; max-width: 76ch; }

.band { margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: rgba(26,161,140,.10); border: 1px solid rgba(26,161,140,.28); }
.band:empty { display: none; }
.band .k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--mint); }
.band p { font-size: 13.5px; line-height: 1.65; color: var(--dk-82); margin-top: 7px; max-width: 80ch; }
.band strong { color: #fff; font-weight: 700; }
/* The band block was written for the dark header. It now sits inside the
   white technical pane, where mint-on-mint and white type are invisible
   (2026-10-06). Repaint it for a light ground. */
.pane .band .k { color: var(--teal-deep); }
.pane .band p { color: var(--ink-muted); }
.pane .band strong { color: var(--ink); }
.panel .b.band { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); color: var(--teal-deep); background: none; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; }
.panel .b.band .bk { display: inline-block; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin-right: 6px; vertical-align: 1px; }

.rsec { padding: 64px 24px; border-bottom: 1px solid var(--border); }
.rsec h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.rsec .lead { font-size: 15px; line-height: 1.65; color: var(--ink-muted); margin-top: 12px; max-width: 62ch; }
.prio-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.prio { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding: 24px; border-radius: 14px; background: var(--off); border: 1px solid var(--border); }
.prio .num { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
.prio .t { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.prio p { font-size: 14px; line-height: 1.7; color: var(--ink-muted); margin-top: 9px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.chip { padding: 6px 11px; border-radius: 7px; font-size: 11.5px; font-weight: 600; }
.chip--effort { background: var(--mint-wash); border: 1px solid rgba(26,161,140,.25); color: var(--teal-deep); }
.chip--bench { background: #fff; border: 1px solid var(--border); color: var(--ink-muted); }

.res-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.res-tools .legend { margin-top: 0; }
.link-btn { background: none; border: 0; padding: 4px 2px; font: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--teal-deep); cursor: pointer; border-radius: 4px; }
.link-btn:hover { color: var(--ink); }
.sw--pass { background: var(--mint-wash); color: var(--teal-deep); }
.sw--warn { background: var(--amber-wash); color: var(--amber); }
.sw--miss { background: var(--red-wash); color: var(--red); }
.sw--unseen { background: #EEF1F4; color: #64748B; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.legend div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-muted); }
.sw { width: 20px; height: 20px; border-radius: 6px; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.groups { display: flex; flex-direction: column; gap: 32px; margin-top: 36px; }
.grp-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.grp-head .tally { font-size: 12px; color: var(--ink-muted); }
.grp-items { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.ck { background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--edge); border-radius: 13px; padding: 0; }
.ck[open] { box-shadow: 0 1px 2px rgba(13,27,42,.04); }
.ck-sum { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; cursor: pointer;
  list-style: none; border-radius: 10px; }
.ck-sum::-webkit-details-marker { display: none; }
.ck-sum:hover { background: var(--off); }
.ck-sum .nm { font-size: 15px; font-weight: 700; letter-spacing: -.01em; flex: 1 1 auto; min-width: 0; }
.ck-sum .st { font-size: 12.5px; font-weight: 600; color: var(--st-ink); flex: none; }
.ck-sum .caret { width: 9px; height: 9px; flex: none; border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s ease; }
.ck[open] .ck-sum .caret { transform: rotate(225deg) translate(-2px, -2px); }
.ck-body { padding: 0 20px 18px 20px; }
.chip--fix { background: var(--navy); color: #fff; flex: none; }
.fix { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: var(--mint-wash); border: 1px solid rgba(26,161,140,.25); }
.fix .k { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.fix p { font-size: 13px; line-height: 1.6; color: var(--ink); margin-top: 6px; }
.fix .chips { margin-top: 10px; }
.fix .chip--effort { background: #fff; }
@media (prefers-reduced-motion: reduce) { .ck-sum .caret { transition: none; } }
@media (max-width: 560px) {
  .ck-sum { padding: 14px 16px; gap: 9px; }
  .ck-sum .nm { flex-basis: 100%; order: -1; }
  .ck-body { padding: 0 16px 16px 16px; }
}
.ck-grid { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
.ck .badge-st { width: 26px; height: 26px; border-radius: 8px; background: var(--st-bg); color: var(--st-ink); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex: none; }
.ck .row { display: flex; gap: 14px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.ck .row .nm { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.ck .row .st { font-size: 12.5px; font-weight: 600; color: var(--st-ink); }
.ck .found { font-size: 13px; line-height: 1.6; color: var(--ink-muted); margin-top: 0; }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 16px; }
.panel { padding: 14px 16px; border-radius: 10px; background: var(--off); border: 1px solid #EDEFF2; }
.panel .k { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.panel .b { font-size: 13px; line-height: 1.55; color: var(--ink); margin-top: 6px; }
.panel--rec { background: var(--rec-bg); border-color: var(--rec-border); }
.panel--rec .k { color: var(--rec-ink); }
.evidence { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.evidence .k { font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-muted); }
.evidence code { font-family: var(--mono); font-size: 11.5px; color: var(--ink-muted); background: #F4F6F8; border: 1px solid var(--border);
  border-radius: 6px; padding: 3px 8px; }
.ck--pass { --edge: var(--teal); --st-bg: var(--mint-wash); --st-ink: var(--teal-deep); --rec-bg: var(--off); --rec-border: #EDEFF2; --rec-ink: var(--ink-muted); }
.ck--warn { --edge: var(--amber-edge); --st-bg: var(--amber-wash); --st-ink: var(--amber); --rec-bg: #FEF9F0; --rec-border: #F5E3C0; --rec-ink: var(--amber); }
.ck--miss { --edge: var(--red-edge); --st-bg: var(--red-wash); --st-ink: var(--red); --rec-bg: var(--mint-wash); --rec-border: rgba(26,161,140,.25); --rec-ink: var(--teal-deep); }
/* Not a failure and not a pass: something a scanner cannot settle. Neutral on
   purpose -- it must not read as a red mark against the organization. */
.ck--unseen { --edge: #CBD5E1; --st-bg: #EEF1F4; --st-ink: #64748B; --rec-bg: var(--off); --rec-border: #EDEFF2; --rec-ink: var(--ink-muted); }

/* ── the two halves (check page) ───────────────────────────────────────── */
.tabs { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--border); }
.tabs-inner { display: flex; gap: 4px; }
.tab { position: relative; appearance: none; background: none; border: 0; font: inherit; cursor: pointer;
  padding: 16px 4px 14px; margin-right: 24px; font-size: 14px; font-weight: 600; color: var(--ink-muted);
  border-bottom: 2px solid transparent; display: flex; align-items: baseline; gap: 8px; }
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); border-bottom-color: var(--teal); }
.tab .n { font-size: 11.5px; font-weight: 600; color: var(--ink-muted); background: var(--off);
  border: 1px solid var(--border); border-radius: 20px; padding: 2px 8px; font-variant-numeric: tabular-nums; }
.tab.is-on .n { background: var(--mint-wash); border-color: rgba(26,161,140,.3); color: var(--teal-deep); }
.pane { display: none; }
.pane.is-on { display: block; }
.tab { white-space: nowrap; }
@media (max-width: 560px) {
  /* Two labels plus two counts do not fit a phone, and a wrapped tab label
     reads as two tabs. Keep them on one line and let the bar scroll. */
  .tabs-inner { overflow-x: auto; scrollbar-width: none; }
  .tabs-inner::-webkit-scrollbar { display: none; }
  .tab { margin-right: 18px; font-size: 13px; padding: 13px 2px 11px; gap: 6px; }
  .tab .n { font-size: 10.5px; padding: 1px 6px; }
}

/* The Calendly frame sits on the dark closing section, so it gets its own
   light card rather than floating on navy. */
.cal { margin-top: 28px; background: #fff; border-radius: 14px; padding: 8px; overflow: hidden; }
.cal .calendly-inline-widget { width: 100%; min-width: 0 !important; }
/* Calendly's two-column layout needs more room than the closing column gives
   a paragraph, so the section widens only when a booking frame is embedded. */
.closing.has-cal .wrap { max-width: 940px; }

/* ── search footprint + the plan (check page) ──────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; margin-top: 28px; }
.kpi { padding: 18px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.kpi .k { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.kpi .v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.kpi .s { font-size: 12px; line-height: 1.5; color: var(--ink-muted); margin-top: 5px; }
.kwt { margin-top: 28px; }
.kwt-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.kwt-head .tally { font-size: 12px; color: var(--ink-muted); }
.tw { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.kwtable { width: 100%; border-collapse: collapse; font-size: 13px; }
.kwtable th, .kwtable td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.kwtable thead th { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); background: var(--off); }
.kwtable tbody tr:last-child td { border-bottom: 0; }
.kwtable .num { text-align: right; font-variant-numeric: tabular-nums; }
.kwtable .kw { white-space: normal; min-width: 220px; font-weight: 500; }
.tag { display: inline-block; padding: 1px 6px; border-radius: 5px; font-size: 10px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; margin-left: 6px; }
.tag--warn { background: var(--amber-wash); color: var(--amber); }

.groups-plan { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.pg { border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; }
.pg-head { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--off); border-bottom: 1px solid var(--border); }
.pg-n { width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pg-head .t { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.pg-head .s { font-size: 12.5px; line-height: 1.5; color: var(--ink-muted); margin-top: 4px; }
.pg-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; padding: 18px 20px; }
.pg-col .k { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.kwlist { list-style: none; margin: 9px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kwlist li { font-size: 12.5px; padding: 5px 10px; border-radius: 7px; background: var(--mint-wash); color: var(--teal-deep); }
.lp { margin-top: 9px; }
.lp code { font-family: var(--mono); font-size: 11.5px; color: var(--ink-muted); background: #F4F6F8;
  border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; word-break: break-all; }
.lp .warn { font-size: 12px; line-height: 1.55; color: var(--amber); margin-top: 8px; }
.rk { list-style: none; margin: 9px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.rk li { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ink-muted); }
.rk li b { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rk--wide { margin-top: 12px; }
.guard { margin-top: 12px; padding: 16px 18px; border-radius: 11px; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--amber-edge); }
.guard .t { font-size: 14px; font-weight: 700; }
.guard p { font-size: 13px; line-height: 1.65; color: var(--ink-muted); margin-top: 6px; }
/* `.note` is a two-column row (eyebrow, then prose). A keyword list added as
   a third flex item gets squeezed into a column; give it the full width under
   the prose instead. */
#plan-gaps .note { margin-top: 22px; flex-wrap: wrap; }
#plan-gaps .note .rk--wide { flex-basis: 100%; }
#plan-gaps .note .rk li { font-size: 13px; }
#plan-gaps .note--mint .rk li { color: var(--ink); }

/* ── share, in the sticky nav ──────────────────────────────────────────── */
.navshare { position: relative; flex: none; margin-left: 14px; }
.navshare-btn { appearance: none; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
  padding: 8px 15px; border-radius: 8px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); color: #fff; white-space: nowrap; }
.navshare-btn:hover, .navshare.is-open .navshare-btn { background: var(--teal); border-color: var(--teal); }
.navshare-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; z-index: 50;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 30px rgba(13,27,42,.18); }
/* `.secnav a` paints links for the DARK nav bar and also sets display/padding.
   The menu is a white panel inside that nav, so every one of those has to be
   undone here -- at `.secnav .navshare-item`, which outranks `.secnav a`.
   Without this the four link items render dim-white on white and vanish. */
.secnav .navshare-item { display: block; width: 100%; text-align: left; appearance: none; font: inherit;
  font-size: 13px; font-weight: 500; cursor: pointer; padding: 9px 12px; border: 0; border-radius: 8px;
  background: none; color: var(--ink); text-decoration: none; gap: 0; border-bottom: 0; }
.secnav .navshare-item:hover { background: var(--mint-wash); color: var(--teal-deep); border-bottom: 0; }
.navshare-note { font-size: 11.5px; line-height: 1.45; color: var(--teal-deep); margin: 4px 12px 6px;
  overflow-wrap: anywhere; }
.navshare-note:empty { display: none; }
@media (max-width: 560px) {
  /* Sections + the built-by lockup + Share do not fit a phone: the button
     ran 9px past the viewport and was clipped. The lockup is decorative in
     the nav and already appears in the hero, so it is the one that goes. */
  /* `.secnav a` (0,1,1) sets display:flex and outranks a bare `.secnav-logo`
     (0,1,0), so this has to be the two-class form to win. */
  .secnav .secnav-logo { display: none; }
  .navshare { margin-left: auto; }
  .navshare-btn { padding: 7px 11px; font-size: 12px; }
  .navshare-menu { min-width: 160px; }
}
@media print { .navshare { display: none !important; } }

.closing { background: var(--navy); background-image: radial-gradient(ellipse 70% 70% at 50% 0%, rgba(26,161,140,.16), transparent 70%); padding: 72px 24px; }
.closing .wrap { max-width: 700px; text-align: center; }
.closing h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.closing p.body { font-size: 15px; line-height: 1.7; font-weight: 300; color: var(--dk-72); margin: 18px auto 0; max-width: 56ch; }
.closing .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.closing .btn { padding: 14px 22px; }
.closing .fine { font-size: 11.5px; line-height: 1.7; color: var(--dk-5); margin-top: 28px; }

/* ── loading overlay ─────────────────────────────────────────────────── */
.vc { position: fixed; inset: 0; z-index: 90; background: var(--navy-darkest);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,161,140,.18), transparent 70%);
  display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 1; transition: opacity .45s ease; overflow: hidden; }
.vc.fade { opacity: 0; }
.vc-grid { position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image: linear-gradient(rgba(95,211,189,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(95,211,189,.055) 1px, transparent 1px);
  background-size: 44px 44px; }
.vc-sweep { position: absolute; left: 0; right: 0; height: 180px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(26,161,140,.10) 60%, rgba(95,211,189,.3)); animation: vcSweep 2.6s linear infinite; }
.vc-inner { position: relative; width: 100%; max-width: 620px; }
.vc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.vc-head .l { display: flex; align-items: center; gap: 11px; }
.vc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: vcBlink 1.4s infinite; }
.vc-head .k { font: 700 10.5px/1 var(--mono); letter-spacing: .2em; color: var(--mint); }
.vc-title { font-size: clamp(22px, 3vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: #fff; margin-top: 28px; }
.vc-domain { font: 600 13px/1.5 var(--mono); color: var(--mint); margin-top: 10px; }
.vc-prog { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 32px; }
.vc-prog .k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dk-6); }
.vc-prog .p { font: 700 13px/1 var(--mono); color: #fff; font-variant-numeric: tabular-nums; }
.vc-bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.1); margin-top: 10px; overflow: hidden; }
.vc-bar i { display: block; height: 100%; border-radius: 4px; width: 0; background: linear-gradient(90deg, #148A77, var(--mint)); transition: width .6s cubic-bezier(.4,0,.2,1); }
.vc-stages { display: flex; flex-direction: column; gap: 2px; margin-top: 28px; list-style: none; padding: 0; }
.vc-stage { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06); opacity: .5; transition: opacity .4s ease; }
.vc-stage.done, .vc-stage.running, .vc-stage.failed { opacity: 1; }
.vc-stage .ring { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); background: transparent; color: var(--mint);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.vc-stage.done .ring { border-color: var(--teal); background: var(--teal); color: var(--navy-darkest); }
.vc-stage.running .ring { border-color: var(--mint); }
.vc-stage.failed .ring { border-color: var(--red-edge); color: var(--red-edge); }
.vc-stage .nm { font-size: 13.5px; font-weight: 600; color: var(--dk-55); line-height: 1.4; }
.vc-stage.done .nm, .vc-stage.running .nm, .vc-stage.failed .nm { color: #fff; }
.vc-stage .d { font: 500 11.5px/1.5 var(--mono); color: var(--dk-5); margin-top: 4px; }
.vc-stage .st { font: 600 10.5px/1 var(--mono); letter-spacing: .12em; white-space: nowrap; color: rgba(230,247,245,.3); }
.vc-stage.done .st { color: rgba(230,247,245,.45); }
.vc-stage.running .st { color: var(--mint); }
.vc-stage.failed .st { color: var(--red-edge); }
.vc-foot { font-size: 12px; line-height: 1.7; color: var(--dk-5); margin-top: 26px; }
.vc-msg { margin-top: 26px; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  font-size: 13.5px; line-height: 1.65; color: var(--dk-82); }
.vc-msg a { color: var(--mint); }
.vc-msg .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.ein-form { margin-top: 14px; }
.ein-form label { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dk-62); margin-bottom: 6px; }
.ein-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ein-row input { flex: 1 1 160px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: 600 13px var(--mono); outline: none; }
.ein-row input:focus { border-color: var(--mint); }
.ein-form .err { font-size: 11.5px; color: #F0A8A5; margin-top: 6px; }

@keyframes agpBlink { 0%, 100% { opacity: 1 } 50% { opacity: .2 } }
@keyframes vcBlink { 0%, 100% { opacity: 1 } 50% { opacity: .2 } }
@keyframes vcSweep { 0% { top: -180px } 100% { top: 100% } }

@media (prefers-reduced-motion: reduce) {
  .bar4 i, .bar9 i, .vc-bar i, .vc, .vc-stage { transition: none; }
  .dot, .vc-dot, .vc-sweep { animation: none; }
  .vc-sweep { display: none; }
}

/* ── print / PDF ─────────────────────────────────────────────────────── */
/* The results page prints as a compact brief: same content, about a third
   of the screen length. The web layout above is untouched. */
@media print {
  @page { size: A4; margin: 10mm 11mm; }
  .hero .map-slot, .lead-card, .cta, .share, #term-tip, .secnav { display: none !important; }
  .hero { padding: 24px; border-radius: 10px; }
  .sec { padding: 22px 0; border-bottom: 0; break-inside: auto; }
  .bt { break-inside: avoid; }
  .key-tk { break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html, body { font-size: 11px; line-height: 1.45; background: #fff; }
  .vc, .secnav, .closing .btns, .legend, .tabs, .cal { display: none !important; }
  /* Both halves print, whichever tab is on screen. */
  .pane { display: block !important; }
  .page { overflow: visible; }
  .wrap--narrow { max-width: none; }
  a { color: inherit; }
  .bar4 i, .bar9 i { width: var(--w); transition: none; }

  /* header */
  .rh { padding: 16px 18px 18px; border-radius: 10px; }
  .rh-top { padding-bottom: 10px; }
  .rh-top a.back { font-size: 9.5px; }
  .logo { font-size: 13px; }
  .pill--dark { margin-top: 12px; padding: 4px 9px; font-size: 8.5px; }
  .rh h1 { font-size: 24px; margin-top: 8px; line-height: 1.1; }
  .rh .meta { font-size: 10.5px; margin-top: 5px; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
  .tile { padding: 10px 12px; border-radius: 8px; }
  .tile .k { font-size: 8px; }
  .tile .big { margin-top: 4px; }
  .tile .big .v { font-size: 22px; }
  .tile .big .of { font-size: 11px; }
  .tile .t { font-size: 11.5px; margin-top: 4px; }
  .tile .s { font-size: 9px; margin-top: 3px; }
  .rh .prov { font-size: 9.5px; line-height: 1.5; margin-top: 10px; max-width: none; }
  .band { margin-top: 8px; padding: 8px 12px; border-radius: 8px; }
  .band .k { font-size: 8px; }
  .band p { font-size: 9.5px; line-height: 1.5; margin-top: 3px; max-width: none; }

  /* sections */
  .rsec { padding: 14px 0 6px; border-bottom: 0; }
  .rsec h2 { font-size: 15px; }
  .rsec .lead { font-size: 10.5px; margin-top: 3px; max-width: none; }

  /* priority fixes: one compact row each */
  .prio-list { gap: 6px; margin-top: 10px; }
  .prio { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 9px 12px; border-radius: 8px; break-inside: avoid; }
  .prio .num { width: 26px; height: 26px; border-radius: 7px; font-size: 12px; }
  .prio .t { font-size: 12px; }
  .prio p { font-size: 10px; line-height: 1.5; margin-top: 2px; }
  .chips { gap: 6px; margin-top: 6px; }
  .chip { padding: 2px 7px; font-size: 9px; border-radius: 5px; }

  /* checklist: tight cards, three facts side by side */
  .groups { gap: 10px; margin-top: 10px; }
  .grp-head { break-after: avoid; }
  .grp-head .eyebrow { font-size: 8.5px; }
  .grp-head .tally { font-size: 9px; }
  .grp-items { gap: 5px; margin-top: 5px; }
  .ck { padding: 0; border-radius: 8px; border-left-width: 3px; break-inside: avoid; }
  .ck-sum { padding: 6px 10px 2px 12px; gap: 8px; }
  .ck-sum .nm { font-size: 11.5px; }
  .ck-sum .st { font-size: 9.5px; }
  .ck-sum .caret, .res-tools .link-btn { display: none !important; }
  /* A collapsed row must still print. check.js also opens every row on
     beforeprint, which is what headless Chrome honours; this is the belt to
     that braces. */
  .ck-body { padding: 0 10px 8px 12px; display: block !important; content-visibility: visible !important; }
  .fix { margin-top: 5px; padding: 6px 9px; border-radius: 6px; }
  .fix .k { font-size: 7.5px; }
  .fix p { font-size: 9.5px; line-height: 1.45; margin-top: 2px; }
  .ck-grid { grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
  .ck .badge-st { width: 16px; height: 16px; border-radius: 5px; font-size: 9.5px; }
  .ck .row { gap: 8px; }
  .ck .row .nm { font-size: 11.5px; }
  .ck .row .st { font-size: 9.5px; }
  .ck .found { font-size: 10px; line-height: 1.45; margin-top: 2px; }
  .panels { grid-template-columns: 1.15fr 1fr; gap: 6px; margin-top: 6px; }
  .panel { padding: 6px 9px; border-radius: 6px; }
  .panel .k { font-size: 7.5px; letter-spacing: .1em; }
  .panel .b { font-size: 9.5px; line-height: 1.45; margin-top: 2px; }
  .panel .b.band { margin-top: 3px; padding-top: 3px; }
  .panel .b.band .bk { font-size: 7.5px; margin-right: 4px; }
  .evidence { margin-top: 5px; gap: 6px; }
  .evidence .k { font-size: 7.5px; }
  .evidence code { font-size: 8.5px; padding: 1px 6px; }

  /* search footprint + plan */
  .kpis { gap: 6px; margin-top: 10px; }
  .kpi { padding: 7px 10px; border-radius: 7px; }
  .kpi .k { font-size: 7.5px; }
  .kpi .v { font-size: 15px; margin-top: 3px; }
  .kpi .s { font-size: 8.5px; margin-top: 1px; }
  .kwt { margin-top: 10px; break-inside: avoid; }
  .tw { border-radius: 6px; overflow: visible; }
  .kwtable { font-size: 9px; }
  .kwtable th, .kwtable td { padding: 3px 7px; }
  .groups-plan { gap: 6px; margin-top: 10px; }
  .pg { border-radius: 7px; break-inside: avoid; }
  .pg-head { padding: 6px 10px; gap: 8px; }
  .pg-n { width: 17px; height: 17px; border-radius: 5px; font-size: 9.5px; }
  .pg-head .t { font-size: 11px; }
  .pg-head .s { font-size: 8.5px; margin-top: 1px; }
  .pg-body { padding: 6px 10px; gap: 10px; }
  .kwlist li { font-size: 8.5px; padding: 1px 6px; }
  .guard { margin-top: 6px; padding: 6px 9px; border-radius: 6px; break-inside: avoid; }
  .guard .t { font-size: 10px; }
  .guard p { font-size: 8.5px; line-height: 1.45; margin-top: 2px; }

  /* closing */
  .closing { padding: 14px 18px; border-radius: 10px; margin-top: 12px; break-inside: avoid; }
  .closing h2 { font-size: 15px; }
  .closing p.body { font-size: 10px; line-height: 1.5; margin-top: 6px; max-width: none; }
  .closing .fine { font-size: 8.5px; margin-top: 8px; }
}
