/* siseo: report pages, free result, progress, emails' web twin and the PDF.
   One light theme: reports are read, printed and forwarded; they must look the
   same everywhere. Black bands open and close a page, pale grey carries the
   quiet panels, and gold is kept for the score, the brand and the buttons. The
   fonts, colours, header and footer are the website's, so a report reads as
   part of the same site. Cards are square with hairline borders; buttons, dark
   panels and chips are round. */

/* Manrope, one variable file per script covering every weight (200–800); JetBrains Mono for code only. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('fonts/manrope-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --paper: #ffffff;
  --canvas: #f5f6f8;
  --canvas-2: #eceef2;
  --ink: #16181d;
  --ink-2: #3c414c;
  --ink-3: #646a77;
  --ink-4: #8d93a0;
  --line: #e6e8ec;
  --line-2: #d5d8df;
  --night: #16181d;
  --night-2: #2b2f38;
  --night-3: #23262e;
  --night-4: #4a4f5a;
  --on-night: #b6bbc6;
  --gold: #f5a800;
  --gold-2: #ffc23d;
  --gold-ink: #8a5800;
  --gold-soft: #fff6dc;

  --critical: #d92d20; --critical-ink: #b42318; --critical-soft: #fef3f2;
  --high: #ef6820; --high-ink: #c4320a; --high-soft: #fef3f2;
  --medium: #f5a800; --medium-ink: #8a5800; --medium-soft: #fff6dc;
  --low: #b6bbc6; --low-ink: #646a77; --low-soft: #f5f6f8;
  --info: #b6bbc6; --info-ink: #646a77; --info-soft: #f5f6f8;
  --good: #12b76a; --good-ink: #067647; --good-soft: #ecfdf3;
  --bad: #f04438;

  --grade-a: #12b76a; --grade-b: #5cb620; --grade-c: #f5a800; --grade-d: #c4320a; --grade-f: #d92d20;

  --font-display: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --measure: 44em;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --page: 1500px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.2; text-wrap: balance; color: var(--ink); }
h1, h2 { font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; }
figure { margin: 0; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
code, .mono { font-family: var(--font-mono); font-size: 0.86em; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; }
img { max-width: 100%; display: block; }
/* Icons are sized where they sit; one with no rule of its own stays text-sized
   instead of growing to the width of its container. */
:where(svg[viewBox="0 0 24 24"]) { width: 1.15em; height: 1.15em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.spark { width: 14px; height: 14px; flex: none; fill: var(--gold); }

/* ── Top bar: the website's header, measure for measure (theme.css, .s-header) ── */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0 var(--gutter); }
.topbar-inner { max-width: var(--page); min-height: 72px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: none; color: #2b2e35; text-decoration: none; }
.brand:hover { color: #2b2e35; }
.brand svg { display: block; width: auto; height: 28px; }
.topbar-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; gap: 4px; }
.topbar-nav a, .topbar-account { padding: 8px 13px; border-radius: 9px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease; }
.topbar-account { padding: 8px 12px; }
.topbar-nav a:hover, .topbar-account:hover { background: var(--canvas); color: var(--ink); }
.topbar-nav a[aria-current='page'] { background: var(--canvas); color: var(--ink); }
.topbar-actions { flex: none; margin-left: auto; display: flex; align-items: center; gap: 6px; }
/* Where the menu doesn't fit in the row it opens from a button, as on the site. */
.topbar-menu { display: none; }
.topbar-menu > summary { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: var(--ink); cursor: pointer; list-style: none; }
.topbar-menu > summary::-webkit-details-marker { display: none; }
.topbar-menu > summary svg { width: 26px; height: 26px; }
.topbar-menu > summary svg + svg, .topbar-menu[open] > summary svg { display: none; }
.topbar-menu[open] > summary svg + svg { display: block; }
.topbar-menu nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 2px; max-height: calc(100vh - 73px); overflow-y: auto; padding: 6px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 32px -24px rgba(22, 24, 29, 0.28); }
.topbar-menu nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font: 600 18px/1.25 var(--font-display); text-decoration: none; }
.topbar-menu nav a:last-child { border-bottom: 0; }
@media (max-width: 1080px) {
  .topbar-nav { display: none; }
  .topbar-menu { display: block; }
}
/* A long buy button takes the menu's room sooner. */
@media (max-width: 1180px) {
  .topbar-inner:has(.btn-gold) .topbar-nav { display: none; }
  .topbar-inner:has(.btn-gold) .topbar-menu { display: block; }
}
@media (max-width: 781px) {
  .topbar-inner { gap: 8px; }
  .topbar-account { display: none; }
}
@media (max-width: 640px) {
  .topbar-inner { min-height: 62px; }
  .brand svg { height: 25px; }
}
/* On a phone the buy button drops its price (the buttons in the page show it), and on the
   narrowest phones the menu steps aside for it: the same links are in the footer. */
.topbar-price { display: contents; }
@media (max-width: 440px) { .topbar-price { display: none; } }
@media (max-width: 389px) { .topbar-inner:has(.btn-gold) .brand svg { height: 22px; } }
@media (max-width: 374px) { .topbar-inner:has(.btn-gold) .topbar-menu { display: none; } }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  font: 700 14px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--night-3); color: #fff; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-2); color: var(--night); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); font-weight: 600; }
.btn-ghost:hover { border-color: var(--ink-4); color: var(--ink); }
.btn-sm { height: 38px; padding: 0 14px; border-radius: 7px; font-weight: 600; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }
/* On black: the main action in gold, the others quiet. */
.band .btn-dark { background: var(--gold); color: var(--night); }
.band .btn-dark:hover { background: var(--gold-2); color: var(--night); }
.band .btn-ghost { background: var(--night-3); color: #fff; border-color: var(--night-4); }
.band .btn-ghost:hover { background: var(--night-2); color: #fff; }

/* ── Page frames ─────────────────────────────────────────────────────── */
.wrap { padding: 48px var(--gutter) 80px; }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 48px 24px 120px; }
.layout { max-width: var(--page); margin: 0 auto; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.stack { display: grid; gap: 24px; }
.stack-lg { display: grid; gap: 56px; }
.card { background: var(--paper); border: 1px solid var(--line); }
.card-pad { padding: 28px; }

.kicker { font: 600 14px/1.3 var(--font-body); color: var(--gold-ink); }
.lede { color: var(--ink-3); font-size: 15px; max-width: var(--measure); text-wrap: pretty; }

/* The black band that opens a result or report, and the one that closes the sample. */
.band { background: var(--night); color: #fff; padding: 48px var(--gutter) 64px; }
.band-inner { max-width: var(--page); margin: 0 auto; }
.band h1, .band h2, .band h3 { color: #fff; }
.band a:not(.btn) { color: #fff; }
.band a:not(.btn):hover { color: var(--gold); }

/* ── Table of contents ───────────────────────────────────────────────── */
.toc { position: sticky; top: 92px; max-height: calc(100vh - 108px); overflow-y: auto; font-size: 14px; }
.toc .toc-meta { margin: 0 0 10px; font: 700 16px/1.3 var(--font-display); overflow-wrap: anywhere; }
.toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.toc a { display: flex; gap: 10px; padding: 9px 0; color: var(--ink); text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); flex: 0 0 22px; color: var(--ink-3); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.toc a.active { font-weight: 600; }
.toc-note { margin: 18px 0 0; padding: 14px 16px; background: var(--canvas); border-radius: 8px; font-size: 13px; color: var(--ink-3); }

/* No llms.txt (components.ts llmsCallout()) and settings nobody chose: highlighted first steps at the top of the report. */
.llms-callout, .silent-callout { padding: 16px 20px; border-radius: 8px; background: var(--gold-soft); }
.llms-callout > svg, .silent-callout > svg { display: none; }
.llms-callout h2, .silent-callout h2 { margin: 0 0 4px; font-size: 19px; }
.llms-callout p, .silent-callout p { margin: 0; max-width: 78ch; font-size: 14px; line-height: 1.55; }
.llms-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.silent-callout ul { margin: 8px 0; padding-left: 18px; display: grid; gap: 5px; font-size: 14px; }
.silent-callout ul a { font-weight: 600; }
.silent-callout p.muted { font-size: 13px; }

/* The PDF's contents page (report.ts contentsPage()): the sidebar's sections, each with the
   page it starts on. Block layout, one page; the page box has a fixed width, so the second
   printing, which fills it in, breaks every page where the first did. */
.contents { break-after: page; }
.contents-head { display: block; margin-bottom: 7mm; }
.contents-head h2 { font-size: 21pt; letter-spacing: -0.03em; }
.contents-head .lede { margin-top: 2mm; }
.contents-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contents-list li { border-bottom: 1px solid var(--line); break-inside: avoid; }
.contents-list a { display: flex; align-items: baseline; gap: 4mm; padding: 3.4mm 1mm; color: var(--ink); text-decoration: none; }
.contents-num { flex: none; width: 7mm; font: 700 9pt/1 var(--font-display); color: var(--gold-ink); }
.contents-title { flex: 1; min-width: 0; font-size: 12pt; font-weight: 600; }
.contents-note { margin-left: 3mm; font-size: 9.5pt; font-weight: 400; color: var(--ink-3); }
.contents-page { flex: none; width: 12mm; text-align: right; font-size: 11pt; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-3); }

/* ── Gauge: an arc filling with the score, the number inside it ──────── */
.gauge { display: block; overflow: visible; width: 150px; height: auto; }
.gauge-track { stroke: var(--gauge-track, var(--canvas-2)); }
.gauge-fill { stroke: var(--gold); }
.gauge-num { font-family: var(--font-display); font-weight: 800; font-size: 54px; letter-spacing: -0.03em; fill: var(--gauge-num, var(--ink)); }
.band { --gauge-track: var(--night-2); --gauge-num: #fff; }
.tone-a { --tone: var(--grade-a); }
.tone-b { --tone: var(--grade-b); }
.tone-c { --tone: var(--grade-c); }
.tone-d { --tone: var(--grade-d); }
.tone-f { --tone: var(--grade-f); }
.tone-none { --tone: var(--line-2); }
.gauge-animate .gauge-fill { animation: gauge-fill 1.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes gauge-fill { from { stroke-dasharray: 0 100; } }

.grade { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; font: 800 13px/1 var(--font-display); color: #fff; background: var(--tone, var(--ink-3)); }
.grade.tone-a, .grade.tone-b, .grade.tone-c { color: var(--night); }
.grade-sm { width: 24px; height: 24px; font-size: 12px; }

/* ── The opening band: the score beside the homepage ─────────────────── */
.site-hero-cols { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.site-hero-body { flex: 1.3 1 520px; min-width: 0; }
.site-hero-shot { flex: 1 1 380px; min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 5px 14px 5px 9px; border-radius: 99px; background: var(--night-2); color: #fff; font-size: 13.5px; font-weight: 700; }
.site-hero h1 { margin: 0 0 20px; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -0.03em; overflow-wrap: anywhere; text-wrap: wrap; }
.site-hero-score { display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: center; margin-bottom: 22px; }
.hero-grade-col { display: flex; flex-direction: column; gap: 6px; }
.hero-grade { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.counts { margin: 0; font-size: 14px; color: var(--on-night); }
.counts strong { color: #fff; }
.hero-verdict { margin: 0 0 22px; font-size: 17px; color: var(--on-night); max-width: 40em; text-wrap: pretty; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-3); }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.meta-row svg { width: 15px; height: 15px; color: var(--ink-4); }
.meta-row .is-bad { color: var(--critical-ink); font-weight: 600; }
.meta-row a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.meta-row a:hover { text-decoration: underline; }
.site-hero .meta-row { margin-bottom: 24px; color: var(--on-night); }
.site-hero .meta-row svg { display: none; }
.site-hero .meta-row .is-bad { color: #ff9d8a; }
.site-hero-actions, .report-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sample-banner { margin: 0 0 32px; padding: 12px 16px; border-radius: 8px; background: var(--gold-soft); color: var(--ink); font-size: 14px; max-width: calc(62em + 32px); }
.sample-banner p { margin: 0; }
.sample-banner b { color: var(--ink); }
/* Under the counts: the most issues on one page, and how many are on most pages. */
.spread { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 22px; padding: 12px 16px; border-radius: 8px; background: var(--gold-soft); color: var(--ink); font-size: 14px; line-height: 1.5; max-width: 40em; }
.spread svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--gold-ink); }
.shot-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; line-height: 1.5; max-width: 52ch; color: var(--on-night); }
.shot-note svg { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--on-night); }

/* The homepage as we saw it. */
.screens { display: flex; gap: 16px; align-items: flex-end; }
.browser { flex: 1 1 260px; min-width: 0; background: #fff; padding: 6px; border-radius: 10px; }
.browser-bar { display: block; height: 8px; margin-bottom: 6px; background: var(--canvas); }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { flex: 0 0 108px; background: #fff; border-radius: 14px; padding: 6px; }
.phone img { width: 100%; height: auto; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 10px; }
.screens-empty { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 12px; color: var(--ink-3); font-size: 13px; text-align: center; background: var(--canvas-2); }

/* The facts under the band: a strip of cells across the page. */
.fact-strip { padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.site-facts { max-width: var(--page); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.site-fact { display: block; min-width: 0; padding: 18px 16px; border-right: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.site-fact:last-child { border-right: 0; }
.snap-label { display: block; margin-bottom: 4px; color: var(--ink-3); }
.snap-value { font-weight: 700; overflow-wrap: anywhere; }
.snap-sub { display: block; color: var(--ink-3); overflow-wrap: anywhere; }
.snap-sub.is-alert { color: var(--high-ink); }
.site-fact.is-bad .snap-value { color: var(--critical-ink); }

/* ── Score tiles: hairline grids (a cell's border hides under the frame at its edges) ── */
.dims, .stats, .vitals, .worklog ul { overflow: hidden; border: 1px solid var(--line); }
.dim, .stat, .vital, .worklog li { margin: 0 -1px -1px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dim { padding: 20px 22px; min-width: 0; }
.dim-name { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.dim-score { display: flex; align-items: baseline; gap: 10px; }
.dim-score b { font: 800 40px/1 var(--font-display); letter-spacing: -0.02em; }
.dim-note { margin-top: 6px; font-size: 13px; color: var(--ink-3); }

/* ── Chips ───────────────────────────────────────────────────────────── */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 700 12px/1.4 var(--font-body); white-space: nowrap; background: var(--canvas); color: var(--ink-3); }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sev, currentColor); flex-shrink: 0; }
.chip.plain::before { display: none; }
.chip-critical { --sev: var(--critical); background: var(--critical-soft); color: var(--critical-ink); }
.chip-high { --sev: var(--high); background: var(--high-soft); color: var(--high-ink); }
.chip-medium { --sev: var(--medium); background: var(--medium-soft); color: var(--medium-ink); }
.chip-low { --sev: var(--low); background: var(--low-soft); color: var(--low-ink); }
.chip-info { --sev: var(--info); background: var(--info-soft); color: var(--info-ink); }
.chip-good { --sev: var(--good); background: var(--good-soft); color: var(--good-ink); }
.chip-gold { --sev: var(--gold); background: var(--gold-soft); color: var(--gold-ink); }
.chip-outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); font-weight: 600; }
.chip-count { font-variant-numeric: tabular-nums; }

/* ── Section headings ────────────────────────────────────────────────── */
.sec { display: grid; gap: 24px; scroll-margin-top: 92px; min-width: 0; }
.issue[id], .ready-head[id] { scroll-margin-top: 92px; }
.sec-head { display: grid; gap: 8px; justify-items: start; }
.sec-num { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 4px; padding: 5px 14px 5px 9px; border-radius: 99px; background: var(--gold-soft); color: var(--ink); font-size: 13.5px; font-weight: 700; }
.sec-head h2 { font-size: 32px; letter-spacing: -0.025em; line-height: 1.1; }
.sub-head { display: grid; gap: 4px; }
.sub-head h2 { font-size: 26px; }
.sub-head h3 { font-size: 19px; }
.sub-head > .muted { font-size: 13px; }

/* ── Issue cards ─────────────────────────────────────────────────────── */
.issue { background: var(--paper); border: 1px solid var(--line); }
/* The serious ones stand out with a dark frame. */
.issue.sev-critical, .issue.sev-high { border-color: var(--ink); }
.issue-head { padding: 20px 28px; }
.issue-tags { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 10px; font-size: 12px; font-weight: 700; }
/* A cause sits under the symptom it explains, indented, and says which. */
.issue.is-cause { margin-left: 28px; }
.cause-of { margin: 0 0 8px; font-size: 13px; color: var(--ink-3); }
.cause-list { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 6px; font-size: 14px; }
.cause-list li { display: flex; justify-content: space-between; gap: 12px; }
.cause-list a { text-decoration: none; }
.cause-list a:hover { text-decoration: underline; }
@media (max-width: 640px) { .issue.is-cause { margin-left: 12px; } }
.issue-area { color: var(--ink-3); font-weight: 600; }
.issue-reach { color: var(--ink-3); font-weight: 500; }
.gain-pill { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--good-soft); color: var(--good-ink); white-space: nowrap; }
.issue h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.issue.sev-critical h3, .issue.sev-high h3 { font-size: 24px; }
.issue-why { font-size: 14px; color: var(--ink-3); max-width: 70em; text-wrap: pretty; }
.ai-note { padding: 16px 28px; background: var(--gold-soft); font-size: 14px; }
.ai-note p { margin: 0; }
.ai-note .ai-note-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 4px; font-size: 12px; }
.ai-note b { font-weight: 700; }
/* What AI wrote is labelled in small words, never a badge. */
.ai-tag { font: 500 12px/1.4 var(--font-body); letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
h3 .ai-tag { margin-left: 8px; }
.ai-credit { display: block; margin: 0; font-size: 13px; color: var(--ink-3); }
.ai-credit .ai-tag { margin-right: 6px; font-weight: 700; }
.issue-body { padding: 20px 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; align-items: start; }
.issue-head + .issue-body { margin-top: 0; }
.fix, .issue-found { display: grid; gap: 14px; min-width: 0; align-content: start; }
.fix-title, .evidence-title { font: 700 17px/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.fix-summary { font-size: 14px; color: var(--ink-3); margin-top: -8px; }
.steps { padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.platform { display: grid; gap: 6px; }
.platform-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 700; }
.platform-name .chip { padding: 2px 8px; font-size: 11px; font-weight: 600; }
details.more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1.4 var(--font-body); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > .more-body { padding-top: 12px; display: grid; gap: 12px; }
.dev-text { font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.dev-text strong { color: var(--ink); }
.code { position: relative; min-width: 0; }
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; border-radius: 8px; background: var(--night); color: #fff; font: 400 12.5px/1.55 var(--font-mono); white-space: pre; }
.code--wrap pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.code-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.copy-btn { flex: none; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-3); font: 600 12px/1.5 var(--font-body); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.copy-light { background: #fff; }
.issue-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 14px 28px; border-top: 1px solid var(--line); background: var(--canvas); font-size: 13px; }
.foot-effort { font-weight: 700; }
.foot-who { padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.foot-sources { margin-left: auto; color: var(--ink-3); }
.foot-sources a { color: var(--ink-3); }
.issue-foot:empty { display: none; }
.rewrites-link { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 14px; background: var(--gold-soft); color: var(--ink); font-size: 14px; text-decoration: none; }
.rewrites-link svg { flex: none; width: 16px; height: 16px; }
.rewrites-link:hover b { text-decoration: underline; }

/* Evidence */
.evidence { display: grid; gap: 10px; min-width: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; padding: 10px 12px; background: var(--canvas); color: var(--ink-3); font-weight: 600; line-height: 1.35; }
.tbl td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl th:first-child, .tbl td:first-child { padding-left: 16px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 16px; }
.tbl td.url { font: 400 12.5px/1.5 var(--font-mono); word-break: break-all; min-width: 150px; max-width: 320px; }
.tbl td.url a { text-decoration: none; }
.tbl td.url a:hover { text-decoration: underline; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl td.wrap { max-width: 380px; overflow-wrap: break-word; }
/* A row that needs a look: a crawler that's shut out. */
.tbl tr.is-flagged td { background: var(--gold-soft); }
/* The crawler table comes in two parts, so their columns line up. */
.bot-table { table-layout: fixed; }
.bot-table th:nth-child(1) { width: 25%; }
.bot-table th:nth-child(2) { width: 27%; }
.bot-table th:nth-child(3) { width: 14%; }
.bot-table th:nth-child(4) { width: 19%; }
.bot-table th:nth-child(5) { width: 15%; }
.tbl td small { display: block; }
.op { color: var(--ink-3); }
.evidence-sub { font-size: 13px; font-weight: 600; margin-top: 2px; }
.cell-list { display: grid; gap: 5px; }
.cell-list.links { gap: 0; }
.cell-list.links a { display: inline-block; padding: 4px 0; }
.tbl td.wrap a { text-decoration: none; font: 400 12.5px/1.5 var(--font-mono); word-break: break-all; }
.tbl td.wrap a:hover { text-decoration: underline; }
.arrow { color: var(--ink-3); margin: 0 3px; }
.code-chip { display: inline-block; padding: 1px 6px; background: var(--canvas); color: var(--ink-3); font: 500 11.5px/1.5 var(--font-mono); vertical-align: 1px; }
.url-list { display: grid; gap: 2px; padding: 12px 14px; max-height: 340px; overflow: auto; border: 1px solid var(--line); background: var(--paper); font: 400 12.5px/1.6 var(--font-mono); }
.url-list a { padding: 2px 0; color: var(--ink); text-decoration: none; word-break: break-all; }
.url-list a:hover { text-decoration: underline; }

/* ── Free result: the offer strip, the to-do list and the unlock panel ── */
.offer-strip { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; padding: 20px 24px; border-radius: 12px; background: var(--gold-soft); }
.offer-strip p { flex: 1 1 320px; font-size: 15px; line-height: 1.5; }
.offer-strip .btn-gold { background: var(--night); color: #fff; }
.offer-strip .btn-gold:hover { background: var(--night-2); color: #fff; }

.todo { display: grid; gap: 12px; }
.todo-sum { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-3); }
.todo-legend { margin: -4px 0 12px; font-size: 13px; color: var(--ink-3); }
.todo-sum span { display: block; }
.todo-sum b { color: var(--ink); font-weight: 600; }
.todo-sum svg { display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; color: var(--ink-3); }
.todo-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); background: var(--paper); }
.todo-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 64px 112px; gap: 14px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line); }
.todo-row:first-child { border-top: 0; }
.todo-row.is-free { background: var(--canvas); }
.todo-n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--canvas); font: 700 13px/1 var(--font-display); color: var(--ink); }
.todo-row.is-free .todo-n { background: #fff; }
.todo-main { display: grid; gap: 4px; min-width: 0; }
.todo-title { font-size: 14px; font-weight: 600; line-height: 1.35; }
.todo-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 12px; color: var(--ink-3); }
.todo-meta .chip { padding: 2px 8px; font-size: 11px; }
.todo-gain { justify-self: end; font: 700 14px/1 var(--font-body); color: var(--good-ink); white-space: nowrap; }
.todo-gain small { margin-left: 3px; font: 700 12px/1 var(--font-body); color: var(--good-ink); }
.todo-state { justify-self: end; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font: 600 12px/1.5 var(--font-body); white-space: nowrap; }
.todo-state.is-free { background: var(--good-soft); color: var(--good-ink); text-decoration: none; }
.todo-state.is-free::after { content: '↓'; }
.todo-state.is-locked { background: var(--canvas); color: var(--ink-3); }
.todo-row.is-free .todo-state.is-locked { background: #fff; }
.todo-state svg { width: 13px; height: 13px; }
.todo-more > summary { cursor: pointer; padding: 10px 2px; font-weight: 600; font-size: 14px; }
.todo-more[open] > summary { margin-bottom: 8px; }
.todo-more .todo-list { margin-top: 0; }

.unlock-sample { color: #fff; font-size: 14px; }
.unlock-sample:hover { color: var(--on-night); }

.unlock { padding: 32px; border-radius: 12px; background: var(--night); color: #fff; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: start; --gauge-track: var(--night-2); }
.unlock h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
.unlock .kicker, .side-offer .kicker { color: var(--gold); }
.unlock .lede { color: var(--on-night); }
.unlock-list { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.unlock-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.unlock-list svg { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; stroke-width: 2.5; }
.unlock-buy { display: grid; gap: 14px; justify-items: start; padding: 24px; border: 1px solid var(--night-2); border-radius: 8px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.price b { font: 800 56px/1 var(--font-display); letter-spacing: -0.04em; color: #fff; }
.price span { color: var(--on-night); font-size: 15px; font-weight: 500; }
/* The original price, crossed out, and what the buyer saves. */
.price s { font: 600 24px/1 var(--font-display); letter-spacing: -0.02em; color: var(--on-night); text-decoration-thickness: 2px; }
.price .save { align-self: center; padding: 6px 10px; border-radius: 999px; background: var(--night-2); color: var(--gold); font: 700 12.5px/1 var(--font-body); font-style: normal; white-space: nowrap; }
.price .price-note { flex-basis: 100%; }
.price-tag .was { font-weight: 500; opacity: 0.62; text-decoration-thickness: 1.5px; }
.unlock-fine { font-size: 12px; color: var(--on-night); }
/* Beside the buy button, on the dark offers: the refund policy in one line, the ways to pay, and this site's report in numbers. */
.buy-refund { margin: 0; font-size: 13px; line-height: 1.5; color: var(--on-night); }
.buy-refund a { color: #fff; }
.pay-marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pay-marks li { padding: 4px 9px; border: 1px solid var(--night-2); border-radius: 6px; font: 600 12px/1.4 var(--font-body); color: var(--on-night); }
.unlock-preview { margin: 0; font-size: 15px; line-height: 1.55; color: #fff; font-weight: 600; }
.unlock .btn-gold { width: 100%; }

.share-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.share-card { padding: 22px 24px; display: grid; gap: 10px; align-content: start; }
.share-card h3 { display: flex; gap: 8px; align-items: center; font-size: 19px; }
.share-card h3 svg { display: none; }
.share-card p { margin: 0; font-size: 14px; }
.share-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.share-image-card { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; }
.share-image-card.made { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.share-image-text { display: grid; gap: 10px; align-content: start; }
.share-image-text .form-msg:empty { display: none; }
.share-image[hidden] { display: none; }
.share-image img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
@media (max-width: 640px) { .share-image-card.made { grid-template-columns: minmax(0, 1fr); } }
.competitor-form { display: flex; gap: 8px; }
.competitor-form input { flex: 1; min-width: 0; width: 0; height: 40px; border: 1px solid var(--line-2); padding: 0 12px; font: inherit; font-size: 14px; color: var(--ink); background: var(--paper); border-radius: 8px; }
.wrong-finding { padding: 0 28px 14px; font-size: 13px; color: var(--ink-3); }
.wrong-finding summary { cursor: pointer; display: inline-block; text-decoration: underline; text-underline-offset: 2px; }
.wrong-finding form, .useful form { display: grid; gap: 8px; margin-top: 10px; max-width: 560px; }
.wrong-finding label, .useful form > label { font-size: 13px; color: var(--ink-3); }
.wrong-finding textarea, .useful textarea { width: 100%; border: 1px solid var(--line-2); padding: 8px 10px; font: inherit; font-size: 14px; color: var(--ink); background: var(--paper); resize: vertical; border-radius: 8px; }
.feedback-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.feedback-actions .form-msg { margin: 0; }
.useful { padding: 22px 24px; }
.useful h2 { font-size: 19px; }
.useful-answers { display: flex; gap: 18px; margin: 0; padding: 0; border: 0; }
.useful-answers label { display: flex; gap: 6px; align-items: center; font-size: 15px; color: var(--ink); }
.leave-prompt { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(360px, calc(100vw - 40px)); display: grid; gap: 12px; padding: 18px; background: var(--paper); border: 1px solid var(--ink); opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; }
.leave-prompt[hidden] { display: none; }
.leave-prompt.show { opacity: 1; transform: none; }
.leave-prompt p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.leave-prompt p b { color: var(--ink); }
.leave-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .leave-prompt { transition: none; transform: none; } }
.sticky-unlock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--night); color: #fff; display: none; align-items: center; gap: 12px; }
.sticky-unlock .txt { font-size: 13px; color: var(--on-night); line-height: 1.35; }
.sticky-unlock .txt b { color: #fff; }
.sticky-unlock .btn { margin-left: auto; }
@media (max-width: 374px) { .sticky-unlock .txt { display: none; } .sticky-unlock .btn { flex: 1; } }
/* With the script on, the bar slides in once the reader is past the score and hides beside the full offer. */
.sticky-unlock { transition: transform 0.25s ease; }
.js-on .sticky-unlock:not(.show) { transform: translateY(110%); }

/* ── The report's checklist: ticks kept in the browser ─────────────── */
.done-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 600 12px/1.5 var(--font-body); color: var(--ink-3); cursor: pointer; }
.done-toggle[hidden] { display: none; }
.done-toggle input { width: 16px; height: 16px; margin: 0; accent-color: var(--good); cursor: pointer; }
.plan-top .done-toggle { flex: 0 0 18px; margin: 0; padding: 0; box-shadow: none; background: none; }
.plan-top .done-toggle input { width: 18px; height: 18px; }
.plan-top .done-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan-top li.is-done { background: var(--good-soft); }
.is-done .plan-t b, .issue.is-done h3, .plan-item.is-done b { text-decoration: line-through; text-decoration-color: var(--ink-4); color: var(--ink-3); }
.issue.is-done { opacity: 0.78; }
.done-progress { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; align-items: center; padding: 16px 20px; border-radius: 8px; background: var(--canvas); }
.done-progress[hidden] { display: none; }
.done-text { font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.done-text b { font: 800 18px/1 var(--font-display); color: var(--ink); }
.done-bar { height: 6px; border-radius: 999px; background: var(--canvas-2); overflow: hidden; }
.done-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--good); transition: width 0.3s ease; }
.done-progress .muted { grid-column: 1 / -1; font-size: 12px; }
.done-score { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.done-score[hidden] { display: none; }
.done-score b { font: 800 18px/1 var(--font-display); color: var(--ink); }

/* ── Every page: a page's details ─────────────────────────────────── */
.page-more { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 600 12px/1.5 var(--font-body); color: var(--ink-3); cursor: pointer; }
.page-more:hover { border-color: var(--ink); color: var(--ink); }
.page-more[aria-expanded='true'] { background: var(--night); border-color: var(--night); color: #fff; }
tr.page-detail > td { padding: 18px 20px 22px; background: var(--canvas); white-space: normal; }
.page-detail-body { display: grid; gap: 10px; justify-items: start; }
.page-detail-body .serp { padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); }
.page-detail-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; width: 100%; margin-top: 6px; }
.page-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 13px; }
.page-facts dt { color: var(--ink-3); }
.page-facts dd { margin: 0; overflow-wrap: anywhere; }
.page-issues ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; }
.page-issues ul + .kicker { margin-top: 14px; }

/* ── Google preview ────────────────────────────────────────────────── */
.serp-preview { display: grid; gap: 14px; }
.serp-frames { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.serp-frame { margin: 0; display: grid; gap: 8px; padding: 18px 20px 20px; border: 1px solid var(--line); background: var(--paper); min-width: 0; }
.serp-frame figcaption { font-size: 13px; font-weight: 600; color: var(--ink-3); }
/* Google's own fonts and column widths, so the browser cuts about where Google does; zoom then
   shrinks the whole result to fit without changing where it cuts. The zoom follows the room the
   preview has (its .serp-fit box, measured as a container), not the screen, so it never sticks out
   of its panel; a box narrower than the smallest step scrolls inside itself, never the page. */
.serp-fit { container-type: inline-size; min-width: 0; overflow-x: auto; }
.serp { font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #4d5156; width: 600px; zoom: 0.84; }
@container (width < 504px) { .serp { zoom: 0.75; } }
@container (width < 450px) { .serp { zoom: 0.66; } }
@container (width < 396px) { .serp { zoom: 0.58; } }
@container (width < 348px) { .serp { zoom: 0.5; } }
@container (width < 300px) { .serp { zoom: 0.4; } }
@container (width < 250px) { .serp { zoom: 0.36; } }
.serp-site { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.serp-fav { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #f1f3f4; border: 1px solid #dadce0; font: 700 13px/1 Arial, sans-serif; color: #3c4043; }
.serp-name { display: grid; min-width: 0; line-height: 1.3; }
.serp-name b { font-size: 14px; font-weight: 400; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-name span { font-size: 12px; color: #4d5156; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-title { font-size: 20px; line-height: 1.3; color: #1a0dab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-desc { margin-top: 4px; font-size: 14px; line-height: 1.58; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* After the computer steps above, so the phone preview's own steps win. */
.serp-mobile { width: 360px; zoom: 0.86; }
@container (width < 310px) { .serp-mobile { zoom: 0.75; } }
@container (width < 270px) { .serp-mobile { zoom: 0.66; } }
@container (width < 238px) { .serp-mobile { zoom: 0.6; } }
.serp-mobile .serp-title { font-size: 18px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.serp-mobile .serp-desc { -webkit-line-clamp: 3; }
.serp-missing { color: #70757a; font-style: italic; }
.serp-notes { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.serp-notes li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; line-height: 1.35; }
.serp-notes li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.serp-notes .is-good { background: var(--good-soft); color: var(--good-ink); }
.serp-notes .is-warn { background: var(--medium-soft); color: var(--medium-ink); }

.email-me { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: end; padding: 22px 24px; }
.email-me h3 { font-size: 19px; }
.field { display: grid; gap: 8px; }
.field input[type='email'] { height: 44px; border-radius: 8px; border: 1px solid var(--line-2); padding: 0 14px; font: 400 15px var(--font-body); color: var(--ink); background: var(--paper); width: 100%; }
.field input[type='email']:focus { outline: 2.5px solid var(--gold); outline-offset: 1px; }
.consents { grid-column: 1 / -1; display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.consents legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--night); }
.consent-note { grid-column: 1 / -1; font-size: 12px; color: var(--ink-3); }
.form-msg { grid-column: 1 / -1; font-size: 13px; }
.form-msg.ok { color: var(--good-ink); }
.form-msg.err { color: var(--critical-ink); }

/* ── Passed checks ───────────────────────────────────────────────────── */
.passed { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 24px; }
.passed li { list-style: none; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 13px; color: var(--ink-3); }
.passed svg { width: 16px; height: 16px; color: var(--good); margin-top: 2px; stroke-width: 2.5; }
.passed-wrap { padding: 0; margin: 0; }
/* The row under an area: how many checks passed, and the list when asked for. */
details.passed-box { padding: 14px 20px; border: 1px solid var(--line); }
details.passed-box > summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: 14px; font-weight: 700; text-decoration: none; }
details.passed-box > summary > span { display: inline-flex; align-items: center; gap: 10px; }
details.passed-box > summary svg { width: 18px; height: 18px; color: var(--good); stroke-width: 2.5; }
details.passed-box > summary u { font-size: 13px; font-weight: 600; }
details.passed-box[open] > summary u { display: none; }

/* ── Stats and small charts ──────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.stat { padding: 16px 18px; min-width: 0; }
.stat b { display: block; font: 800 28px/1 var(--font-display); }
.stat span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(54px, auto); gap: 12px; align-items: center; font-size: 13px; }
.bar-row .track { height: 6px; border-radius: 999px; background: var(--canvas-2); overflow: hidden; }
.bar-row .track i { display: block; height: 100%; border-radius: 999px; background: var(--ink-3); }
.bar-row .track i.good { background: var(--good); }
.bar-row .track i.warn { background: var(--medium); }
.bar-row .track i.bad { background: var(--critical); }
.bar-row .track i.gold { background: var(--gold); }
.bar-row b { text-align: right; font-weight: 700; white-space: nowrap; }
/* One bar split by share: how the addresses answered. */
.stack-bar { display: flex; gap: 4px; height: 14px; }
.stack-bar span { min-width: 3px; background: var(--ink-3); }
.stack-bar .good { background: var(--good); }
.stack-bar .gold { background: var(--gold); }
.stack-bar .bad { background: var(--bad); }
.stack-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; }
.stack-key span { color: var(--ink-3); }

/* Core Web Vitals meters */
.vitals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vital { display: block; padding: 18px 22px; min-width: 0; }
.vital-name { display: block; font-size: 13px; font-weight: 600; }
.vital-name small { color: var(--ink-3); font-size: 13px; font-weight: 500; }
.vital-read { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 6px 0; }
.vital-value { font: 800 36px/1 var(--font-display); }
.vital-read .chip { padding: 2px 8px; font-size: 11px; }
.vital-scale { position: relative; display: grid; grid-template-columns: var(--g) var(--n) var(--p); height: 6px; border-radius: 999px; overflow: hidden; }
.vital-scale span:nth-child(1) { background: var(--good); }
.vital-scale span:nth-child(2) { background: var(--gold); }
.vital-scale span:nth-child(3) { background: var(--high); }
.vital-marker { position: relative; height: 12px; margin-top: -9px; }
.vital-marker i { position: absolute; top: 0; width: 3px; height: 12px; background: var(--ink); transform: translateX(-50%); box-shadow: 0 0 0 1.5px var(--paper); }
.vital-legend { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--ink-3); }
.vital-src { margin-top: 4px; font-size: 11px; color: var(--ink-3); }

/* Crawler access matrix */
.ok-icon, .no-icon, .warn-icon, .off-icon { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
/* A choice, not a fault: a site that keeps model-training crawlers out. */
.off-icon { color: var(--ink-3); }
.ok-icon { color: var(--good-ink); }
.no-icon { color: var(--high-ink); }
.warn-icon { color: var(--medium-ink); }
.ok-icon svg, .no-icon svg, .warn-icon svg, .off-icon svg { width: 16px; height: 16px; }

/* SERP preview */
.serp { padding: 18px 20px; border: 1px solid var(--line); background: var(--paper); display: grid; gap: 4px; font-family: Arial, 'Helvetica Neue', sans-serif; max-width: 640px; }
.serp-site { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #202124; }
.serp-site i { width: 26px; height: 26px; border-radius: 50%; background: var(--canvas); display: grid; place-items: center; overflow: hidden; }
.serp-site small { display: block; color: #4d5156; font-size: 12px; }
.serp-title { font-size: 20px; line-height: 1.3; color: #1a0dab; margin-top: 6px; }
.serp-desc { font-size: 14px; line-height: 1.58; color: #4d5156; }

/* Recommended fixes */
.plan-top { list-style: none; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--line); }
.plan-top li { display: flex; gap: 14px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.plan-top li:last-child { border-bottom: 0; }
.plan-n { flex: 0 0 22px; font: 700 14px/1 var(--font-display); color: var(--ink-3); }
.plan-t { flex: 1 1 auto; display: block; min-width: 0; }
.plan-t a { text-decoration: none; }
.plan-t a:hover b { text-decoration: underline; }
.plan-t b { font-weight: 600; line-height: 1.35; }
.plan-t span { display: block; font-size: 12px; color: var(--ink-3); }
.plan-meta { flex: none; display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
.plan-meta .chip { padding: 2px 8px; font-size: 11px; }
.plan-meta .chip::before { display: none; }
.plan-meta .gain-chip { width: 60px; text-align: right; }
.plan-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: start; }
.plan-col { display: grid; gap: 8px; align-content: start; padding: 18px 20px; border: 1px solid var(--line); min-width: 0; }
.plan-col h4 { margin-bottom: 2px; font: 700 14px/1.4 var(--font-body); letter-spacing: 0; }
.plan-col h4 span { margin-left: 4px; font-weight: 500; color: var(--ink-3); }
.plan-item { display: block; font-size: 13px; }
.plan-item b { font-weight: 600; line-height: 1.35; }
.plan-item span { display: block; color: var(--ink-3); }
a.plan-item { text-decoration: none; }
a.plan-item:hover b { text-decoration: underline; }
.plan-col .more-body { display: grid; gap: 8px; padding-top: 8px; }

/* Summary */
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.summary-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.summary-box { padding: 22px 24px; border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; min-width: 0; }
.summary-box h3 { font-size: 19px; }
.summary-box ul { padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.summary-box ul li { position: relative; padding-left: 26px; }
.summary-box ul li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
.summary-box--good ul { color: var(--ink-3); }
.summary-box--good ul li { padding-left: 16px; }
.summary-box--good ul li::before { left: 0; top: 8px; width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--good); transform: none; }
.summary-box p { color: var(--ink-3); font-size: 15px; }
.summary-box ul li a { color: var(--ink); }
.summary-box--night { border-radius: 12px; background: var(--night); border-color: var(--night); color: #fff; }
.summary-box--night h3 { color: #fff; }
.summary-box--night p { color: #fff; }
.summary-box--night .named-instead { color: var(--on-night); }
.summary-box--night .named-instead b { color: #fff; }
.summary-box--night .muted { color: var(--on-night); }
.summary-box--night .ai-tag { color: var(--on-night); }
.summary-box--night .more-link { color: var(--gold); }
.box-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; justify-content: space-between; }
.big-line b { margin-right: 6px; font: 800 34px/1 var(--font-display); }
.summary-box--night .big-line b { color: var(--gold); }
.quote { font: 600 19px/1.35 var(--font-display); letter-spacing: -0.01em; text-wrap: pretty; }

/* Where the points went */
.points { display: grid; gap: 4px; }
.points > p { font-size: 13px; color: var(--ink-3); }
.points h3 { font-size: 19px; }
.lost { list-style: none; padding: 0; margin: 8px 0 12px; display: flex; flex-direction: column; border-top: 1px solid var(--line); font-size: 14px; }
.lost-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lost-row .name { min-width: 0; text-decoration: none; }
.lost-row .name:hover { text-decoration: underline; }
.lost-bar { flex: none; display: flex; align-items: center; gap: 10px; }
.lost-row .track { width: 118px; height: 6px; border-radius: 999px; background: var(--canvas-2); }
.lost-row .track i { display: block; height: 100%; border-radius: 999px; background: var(--low); }
.lost-row.is-big .track i { background: var(--high); }
.lost-row.is-mid .track i { background: var(--gold); }
.lost-row b { width: 44px; text-align: right; font-family: var(--font-display); font-weight: 700; }
.link-strong { font-size: 14px; font-weight: 700; }
.points .weights { margin-top: 10px; font-size: 12px; }

/* Notices */
.notice { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: 8px; background: var(--canvas); font-size: 14px; }
.notice svg { width: 18px; height: 18px; margin-top: 2px; color: var(--ink-3); }
.notice.warn { background: var(--medium-soft); }
.notice.warn svg { color: var(--medium-ink); }
.notice.bad { background: var(--critical-soft); }
.notice.bad svg { color: var(--critical-ink); }
.notice.good { background: var(--good-soft); }
.notice.good svg { color: var(--good-ink); }

/* Page-by-page appendix */
.appendix-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.appendix-tools input[type='search'] { height: 40px; border-radius: 8px; border: 1px solid var(--line-2); padding: 0 12px; font: 400 14px var(--font-body); min-width: 240px; color: var(--ink); }
.appendix-tools select { height: 40px; border-radius: 8px; border: 1px solid var(--line-2); padding: 0 10px; font: 400 14px var(--font-body); background: var(--paper); color: var(--ink); }
.tbl th[data-sort] { cursor: pointer; }
.tbl th[data-sort]:hover { color: var(--ink); }
.status { display: inline-block; min-width: 38px; padding: 2px 8px; font: 600 12px/1.4 var(--font-mono); text-align: center; }
.status-2 { background: var(--good-soft); color: var(--good-ink); }
.status-3 { background: var(--low-soft); color: var(--low-ink); }
.status-4, .status-5, .status-0 { background: var(--critical-soft); color: var(--critical-ink); }

/* ── Full report ─────────────────────────────────────────────────────── */
.report-main { min-width: 0; }
/* What went into the report, counted. */
.worklog ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 12px; }
.worklog li { padding: 16px 18px; min-width: 0; }
.worklog b { display: block; font: 800 28px/1 var(--font-display); }
.worklog span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
/* How to read the report: the numbers and labels in plain words, before any of them is used. */
.read-guide { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.read-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.read-guide-grid > div { padding: 16px 18px; border-left: 1px solid var(--line); font-size: 13px; min-width: 0; }
.read-guide-grid > div:first-child { padding-left: 0; border-left: 0; }
.read-guide-grid > div:last-child { padding-right: 0; }
.read-guide-grid h3 { margin: 0 0 4px; font: 700 13px/1.4 var(--font-body); letter-spacing: 0; }
.read-guide-grid p { color: var(--ink-3); }
.inline-form { display: inline; margin: 0; }
/* Sharing a report: the link and password the owner hands on. */
.share-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px 28px; align-items: start; padding: 22px 24px; }
.share-copy { display: grid; gap: 6px; }
.share-copy h2 { margin: 0; font-size: 19px; }
.share-copy h2 svg { display: none; }
.share-copy p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.share-fields { display: grid; gap: 8px; }
.share-field { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; background: var(--canvas); }
.share-label { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.share-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 13px/1.4 var(--font-body); background: none; border: 0; padding: 0; }
.share-value.mono { font: 600 15px/1.4 var(--font-mono); letter-spacing: 0.04em; }
.share-renew { grid-column: 2; justify-self: start; }
/* The optional "Checked by siseo" badge, for the owner: how it looks, and its code. */
.badge-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px 28px; align-items: center; padding: 22px 24px; }
.badge-preview { justify-self: start; }
.badge-panel .share-field { grid-column: 1 / -1; grid-template-columns: 52px minmax(0, 1fr) auto; }
.badge-code { font: 500 12px/1.4 var(--font-mono) !important; letter-spacing: 0 !important; color: var(--ink-3) !important; }
.guest-note { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; border-radius: 8px; background: var(--canvas); font-size: 14px; color: var(--ink-3); }
.guest-note svg { width: 16px; height: 16px; flex: none; color: var(--ink-3); }
/* The password page a shared link shows. */
.password-form { display: grid; gap: 8px; width: 100%; }
.password-form label { font-size: 14px; font-weight: 600; }
.password-row { display: flex; flex-wrap: wrap; gap: 10px; }
.password-row input { flex: 1 1 200px; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); color: var(--ink); font: 500 16px/1 var(--font-mono); letter-spacing: 0.04em; }
.password-row input:focus { outline: 2.5px solid var(--gold); outline-offset: 1px; }
.password-row input[aria-invalid='true'] { border-color: var(--critical-ink); }
.form-error { margin: 0; font-size: 14px; color: var(--critical-ink); }
@media (max-width: 760px) {
  .share-panel, .badge-panel { grid-template-columns: minmax(0, 1fr); }
  .share-renew { grid-column: 1; }
  .password-row { flex-direction: column; }
  .password-row input { flex: none; width: 100%; }
}
.more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.more-link svg { display: none; }
.area-overview { display: grid; gap: 24px; min-width: 0; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.panel-box { display: grid; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); min-width: 0; align-content: start; }
.panel-box h3 { font-size: 17px; }
.panel-box .sub-head h3 { font-size: 17px; }
/* A heading and a table of its own need no frame around the two. */
.panel-open { padding: 0; border: 0; gap: 10px; }
.panel-open h3, .panel-open .sub-head h3 { font-size: 19px; }
.panel-open > p { font-size: 13px; color: var(--ink-3); }
.facts-list { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--ink-3); }
.facts-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; }
.facts-list li > svg, .facts-list li > span > svg { width: 16px; height: 16px; color: var(--ink-4); margin-top: 2px; }
.facts-list li > .ok-icon svg { color: var(--good); }
.facts-list li > .no-icon svg { color: var(--critical); }
.facts-list b { color: var(--ink); font-weight: 600; }
.facts-list small { display: block; font-size: 12px; }
.facts-list--plain li { display: block; }
.rank-list { padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.rank-list li a { text-decoration: none; font-weight: 600; }
.rank-list li a:hover { text-decoration: underline; }
.rank-list li span { display: block; font-size: 12px; color: var(--ink-3); }
.pages-focus .rank-list { padding-left: 18px; }
.tight { padding-left: 18px; display: grid; gap: 6px; margin: 0; font-size: 14px; color: var(--ink-3); }
.score-good, .score-ok, .score-bad { display: inline-grid; place-items: center; min-width: 28px; height: 24px; font: 700 13px/1 var(--font-display); }
.score-good { background: var(--good-soft); color: var(--good-ink); }
.score-ok { background: var(--medium-soft); color: var(--medium-ink); }
.score-bad { background: var(--critical-soft); color: var(--critical-ink); }
.v-good { color: var(--good-ink); }
.v-warn { color: var(--medium-ink); }
.v-bad { color: var(--critical-ink); }
.type-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.type-chips .chip { font-weight: 500; font-size: 12px; }
.type-chips .chip small { margin-left: 4px; color: var(--ink-3); font-weight: 600; }
.ai-answer { padding: 22px 24px; display: grid; gap: 12px; }
.ai-question { margin: 0; padding: 14px 18px; background: var(--canvas); font: 600 16px/1.45 var(--font-display); }
.ai-question::before { content: '“'; }
.ai-question::after { content: '”'; }
.ai-verdict { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--ink-3); }
.ai-verdict svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--ink-3); }
/* The free result's AI visibility card: a heading, one paragraph and the buttons. */
.ai-band { display: grid; gap: 10px; justify-items: start; padding: 28px 32px; border-radius: 12px; background: var(--canvas); border: 0; }
.ai-band .kicker { display: inline-flex; align-items: center; gap: 8px; }
.ai-band .kicker svg { display: none; }
.ai-band h2 { font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
.ai-band-lede { max-width: 44em; color: var(--ink-3); font-size: 15px; line-height: 1.55; }
.ai-band-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
@media (max-width: 640px) {
  .ai-band { padding: 22px 18px 20px; }
}
.mention-score { display: flex; align-items: baseline; gap: 10px; }
.mention-score b { font: 800 40px/1 var(--font-display); letter-spacing: -0.03em; }
.mention-score span { color: var(--ink-3); }
/* The AI area: two readouts side by side, never one number. */
.readouts { align-items: stretch; }
.readout { padding: 22px 24px; }
.readout-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.readout-head h3 { margin: 0; font-size: 19px; text-wrap: wrap; }
.readout-head .chip { flex: none; padding: 2px 8px; font-size: 11px; font-weight: 600; }
.readout-big { margin: 0; font-size: 15px; }
.readout-big b { margin-right: 6px; font: 800 34px/1 var(--font-display); }
.readout-note { margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.55; }
.readout--night { border-radius: 12px; background: var(--night); border-color: var(--night); color: #fff; }
.readout--night h3 { color: #fff; }
.readout--night .readout-big b { color: var(--gold); }
.readout--night .ai-tag, .readout--night .readout-note, .readout--night .muted { color: var(--on-night); }
.readout--night .chip { background: var(--night-2); color: var(--on-night); }
.readout--night .facts-list { color: var(--on-night); }
.readout--night .facts-list b, .readout--night .named-instead b { color: #fff; }
.readout--night .facts-list li { display: block; }
.readout--night .facts-list svg { display: none; }
.readout--night .named-instead { color: #fff; }
.engine-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; font-size: 13px; }
.engine-list li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 8px; align-items: start; }
.engine-list li::before { content: ''; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--good); }
.engine-list li.is-off::before { background: var(--bad); }
.engine-list b { font-weight: 700; }
.engine-list small { display: block; color: var(--high-ink); font-size: 13px; line-height: 1.4; }
.sample-facts { gap: 4px; font-size: 13px; }
.named-instead { margin: 0; font-size: 13px; }
.bind-note { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.bot-note { display: block; font-size: 12px; font-weight: 600; color: var(--high-ink); }
.bot-note.muted { font-weight: 400; color: var(--ink-3); }
.check-list li > svg { color: var(--ink-3); }
.ai-tasks td a { text-decoration: none; }
/* Task titles are words, not addresses: no code font, no breaks mid-word. */
.ai-tasks td.wrap a { font: inherit; word-break: normal; overflow-wrap: break-word; }
.ai-tasks td a:hover { text-decoration: underline; }
.chip.ev-optional { color: var(--ink-3); }
/* Agents: a pass ratio and what the site offers them, never part of the score. */
.agent-checks .agent-page { margin-left: 4px; font-size: 12px; color: var(--ink-3); overflow-wrap: anywhere; }
.agent-offers-head { margin: 6px 0 0; font: 700 14px/1.4 var(--font-body); letter-spacing: 0; }
.agent-offers li > .off-icon svg { color: var(--ink-4); }
.method-box { padding: 16px 20px; background: var(--canvas); }
.method-box h3 { margin: 0 0 8px; font-size: 17px; }
.method-box ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-3); font-size: 13px; line-height: 1.55; }
.mobile-overview { grid-template-columns: 170px minmax(0, 1fr); align-items: start; gap: 22px; }
.mobile-overview.no-shot { grid-template-columns: minmax(0, 1fr); }
.mobile-checks { display: grid; gap: 12px; align-content: start; min-width: 0; }
.mobile-checks .facts-list + .sub-head { margin-top: 8px; }
.phone-static { position: static; width: 170px; background: var(--canvas); }
/* What a fix or a cause is worth: green words, no badge. */
.gain-chip { font: 700 14px/1.2 var(--font-body); color: var(--good-ink); white-space: nowrap; }
.notes-block > summary { color: var(--ink-3); }
.pages-table .page-title { font: 400 12.5px/1.4 var(--font-body); color: var(--ink-3); margin-top: 2px; word-break: normal; }
.pages-table td.url { min-width: 280px; }
.prose-box { gap: 10px; }
.prose-box p { color: var(--ink-3); font-size: 14px; }
.glossary { display: grid; gap: 10px; margin: 0; }
.glossary dt { font-weight: 600; font-size: 14px; }
.glossary dd { margin: 2px 0 0; color: var(--ink-3); font-size: 13px; }

/* The rest of the report: each section a row that opens where it is. */
.rest > h2 { font-size: 24px; }
.rest-list { border: 1px solid var(--line); }
.rest-row { scroll-margin-top: 92px; }
.rest-row + .rest-row { border-top: 1px solid var(--line); }
.rest-row > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 14px 20px; font-size: 14px; }
.rest-row > summary::-webkit-details-marker { display: none; }
.rest-row > summary:hover .rest-title { text-decoration: underline; }
.rest-num { flex: 0 0 28px; font: 700 14px/1.4 var(--font-display); color: var(--gold-ink); }
.rest-title { flex: 1 1 240px; font: 700 14px/1.4 var(--font-body); letter-spacing: 0; }
.rest-note { color: var(--ink-3); }
.rest-open { padding: 2px 10px; border-radius: 999px; background: var(--canvas); font-size: 12px; font-weight: 600; }
.rest-open::before { content: 'Open'; }
.rest-row[open] > summary .rest-open::before { content: 'Close'; }
.rest-row[open] > summary { border-bottom: 1px solid var(--line); background: var(--canvas); }
.rest-row[open] > summary .rest-open { background: #fff; }
.rest-body { padding: 24px 20px 28px; }

/* The band that closes the sample: scan your own site. */
.cta-band { padding: 64px var(--gutter); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-copy { flex: 1 1 400px; min-width: 0; }
.cta-copy h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.025em; line-height: 1.1; }
.cta-copy p { font-size: 15px; color: var(--on-night); max-width: 36em; }
/* One white box holding the field and the button: the website's scan form (siseo Connect, form.css). */
.url-form { flex: 1 1 380px; min-width: 0; max-width: 580px; display: flex; align-items: stretch; gap: 8px; padding: 6px; border: 1px solid rgba(22, 24, 29, 0.14); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(22, 24, 29, 0.06), 0 12px 32px -12px rgba(22, 24, 29, 0.28); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.url-form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.55), 0 12px 32px -12px rgba(22, 24, 29, 0.28); }
.url-form label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.url-form .btn { flex: none; height: 48px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; font-size: 16px; font-weight: 650; }
.url-form input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 17px; outline: none; }
.url-form input::placeholder { color: #8a8f99; opacity: 1; }

/* ── Free result: the site and its score first, then the offer beside the list ── */
.wrap-result { max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 120px; }
.unchecked { margin: 0; padding-left: 20px; display: grid; gap: 6px; max-width: var(--measure); font-size: 15px; color: var(--ink-3); }
.result-cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.result-main { min-width: 0; }
.result-side { position: sticky; top: 92px; }
.side-offer { display: grid; gap: 14px; padding: 24px; border-radius: 12px; background: var(--night); color: #fff; }
.side-offer h2 { color: #fff; font-size: 21px; line-height: 1.2; overflow-wrap: anywhere; }
.side-goal { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--night-2); border-radius: 8px; }
.side-goal b { font: 800 28px/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--gold); }
.side-goal span { font-size: 13px; color: var(--on-night); }
.side-list { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 14px; line-height: 1.45; }
.side-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; }
.side-list svg { width: 16px; height: 16px; margin-top: 3px; color: var(--gold); stroke-width: 2.5; }
.side-buy { width: 100%; justify-content: center; }
.side-offer .price b { font-size: 44px; }
.side-offer .price s { font-size: 20px; }
.side-fine { font-size: 12px; line-height: 1.5; color: var(--on-night); }
.side-sample { font-size: 14px; font-weight: 600; color: #fff; }
.side-sample:hover { color: var(--on-night); }
.unlock-inline { display: none; }

/* ── Report: ready-made fixes ────────────────────────────────────────── */
.ready-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ready-cell { min-width: 0; }
.ready-wide { grid-column: 1 / -1; }
.ready-part { height: 100%; border: 1px solid var(--line); min-width: 0; }
.ready-part > * { margin: 14px 20px; }
.ready-part > .ready-head { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ready-part > .code { margin: 14px 0 0; }
.ready-part > .ready-head + .code { margin-top: 0; }
.ready-part > .code .code-cap { margin: 0; padding: 10px 20px; font-weight: 600; color: var(--ink-3); }
.ready-part > .code pre { max-height: 440px; padding: 14px 20px; }
.ready-head h3 { margin: 0 0 4px; font-size: 17px; }
.ready-head p { font-size: 13px; color: var(--ink-3); max-width: 70em; }
.ready-note { font-size: 13px; color: var(--ink-3); }
.rw-list { display: grid; }
.ready-part > .rw-list { margin: 0; }
.rw-page { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.rw-page:last-child { border-bottom: 0; }
.rw-url { margin-bottom: 8px; font-size: 12px; font-weight: 700; color: var(--ink-3); overflow-wrap: anywhere; }
.rw-url a { color: inherit; text-decoration: none; }
.rw-url a:hover { text-decoration: underline; }
.rw-rows { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 6px 16px; font-size: 14px; }
.rw-label { color: var(--ink-3); }
.rw-label--new { font-weight: 700; color: var(--ink); }
.rw-now { color: var(--ink-3); overflow-wrap: anywhere; }
.rw-now i { font-style: italic; }
.rw-new { overflow-wrap: anywhere; }
.rw-new b { font-weight: 700; }
.rw-new small { margin-left: 6px; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.rw-new .copy-btn { margin-left: 6px; }
.ready-part .more { margin: 14px 20px; }

/* ── Progress page ───────────────────────────────────────────────────── */
.progress-shell { min-height: calc(100vh - 73px); display: grid; align-content: start; justify-items: center; gap: 24px; padding: 48px var(--gutter) 80px; }
.progress-card { width: min(1040px, 100%); padding: 32px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 26px 40px; align-items: center; }
.progress-clock { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 13px; color: var(--ink-3); }
.progress-clock span { display: inline-flex; align-items: center; gap: 6px; }
.progress-clock svg { width: 15px; height: 15px; color: var(--ink-3); }
.progress-clock b { font: 600 13px/1 var(--font-mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.progress-areas { width: min(1040px, 100%); display: grid; gap: 12px; }
.progress-areas h2 { font-size: 19px; }
.progress-areas ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); }
.progress-areas li { display: grid; gap: 8px; align-content: start; margin: 0 -1px -1px 0; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink-3); transition: color 0.3s ease, background-color 0.3s ease; }
.progress-areas li svg { width: 20px; height: 20px; color: var(--ink-4); transition: color 0.3s ease; }
.progress-areas li.active { color: var(--ink); background: var(--gold-soft); }
.progress-areas li.active svg { color: var(--gold-ink); animation: area-pulse 1.6s ease-in-out infinite; }
.progress-areas li.done { color: var(--ink); background: var(--good-soft); }
.progress-areas li.done svg { color: var(--good-ink); }
@keyframes area-pulse { 50% { opacity: 0.35; } }
.progress-tip { width: min(1040px, 100%); display: grid; gap: 6px; padding: 18px 22px; border-radius: 8px; background: var(--canvas); }
.progress-tip-text { font: 600 17px/1.45 var(--font-display); letter-spacing: -0.01em; min-height: 50px; transition: opacity 0.25s ease; text-wrap: pretty; }
.progress-tip-text.is-changing { opacity: 0; }
.progress-top { display: grid; gap: 10px; justify-items: center; text-align: center; }
.progress-top h1 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.03em; word-break: break-word; }
.progress-top .gauge { width: 240px; }
.gauge-progress .gauge-fill { transition: stroke-dasharray 0.6s ease; }
.gauge-progress .gauge-num { font-size: 42px; }
.progress-msg { font-size: 15px; color: var(--ink-3); min-height: 24px; }
.progress-steps { list-style: none; padding: 0; display: grid; }
.progress-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 6px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.progress-steps li:first-child { border-top: 0; }
.progress-steps li .st { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.progress-steps li.done { color: var(--ink); }
.progress-steps li.done .st { border-color: var(--good); background: var(--good); }
.progress-steps li.done .st::after { content: ''; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.progress-steps li.active { color: var(--ink); font-weight: 600; }
.progress-steps li.active .st { border-color: var(--gold); border-top-color: transparent; animation: spin 0.9s linear infinite; }
.progress-steps li .val { font: 500 12.5px/1 var(--font-mono); color: var(--ink-3); }
@keyframes spin { to { transform: rotate(360deg); } }
/* First under the top bar while a scan runs: no need to watch, and the link to come back to. */
.progress-away { width: min(1040px, 100%); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 20px; border-radius: 8px; background: var(--gold-soft); }
.progress-away > svg { width: 24px; height: 24px; margin-top: 1px; color: var(--gold-ink); }
.progress-away p { margin: 0; font-size: 14px; line-height: 1.55; }
.progress-away .progress-away-link { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; }
.progress-away-link a { font: 600 14px/1.4 var(--font-mono); overflow-wrap: anywhere; }

/* ── Errors and simple pages ─────────────────────────────────────────── */
.simple { min-height: calc(100vh - 73px); display: grid; place-items: center; padding: 48px 20px; background: var(--canvas); }
.simple-card { width: min(600px, 100%); padding: 32px; display: grid; gap: 18px; justify-items: start; }
.simple-card h1 { font-size: 32px; letter-spacing: -0.03em; }
.simple-card p { color: var(--ink-3); }
.simple-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); }
.simple-icon svg { width: 26px; height: 26px; }
.simple-icon.bad { background: var(--critical-soft); color: var(--critical-ink); }
.simple-card :not(pre) > code { background: var(--canvas); padding: 1px 6px; overflow-wrap: anywhere; }
.simple-card .code { width: 100%; }
.simple-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.simple-list { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-3); }
.prep { width: 100%; display: grid; gap: 10px; }
.prep-bar { height: 6px; border-radius: 999px; background: var(--canvas-2); overflow: hidden; }
.prep-bar i { display: block; height: 100%; border-radius: 999px; background: var(--gold); transition: width 0.6s ease; }
.prep-msg { font-size: 14px; color: var(--ink-3); }
.bot-facts { display: grid; gap: 12px; width: 100%; }
.bot-facts h2 { font-size: 19px; margin-top: 8px; }
.bot-facts ul { padding-left: 18px; display: grid; gap: 8px; color: var(--ink-3); }
.bot-facts p { color: var(--ink-3); }

/* ── Footer: the website's, measure for measure (theme.css, .s-footer) ── */
.footer { background: var(--night); color: var(--on-night); padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 28px; }
.footer-grid { max-width: var(--page); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-bottom: 52px; }
.footer-brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.footer-brand p { max-width: 22rem; font-size: 15px; line-height: 1.6; }
.footer-logo { display: inline-flex; color: #fff; }
.footer-logo:hover { color: #fff; }
.footer-logo svg { display: block; width: auto; height: 28px; }
.footer-title { margin: 0 0 14px; font: 650 14px/1.3 var(--font-body); color: #9aa0ad; }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: #e6e8ec; font-size: 15px; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.footer-base { max-width: var(--page); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.09); font-size: 13.5px; color: #7f8592; }
.footer-note { flex: 1 1 100%; max-width: 82ch; line-height: 1.6; }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}

/* ── Responsive ──────────────────────────────────────────────────────── */
/* An issue's fix and evidence sit side by side only where each still has room. */
@media (max-width: 1240px) {
  .issue-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .result-cols { grid-template-columns: minmax(0, 1fr); }
  .result-side { display: none; }
  .unlock-inline { display: block; }
  .site-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-fact { border-bottom: 1px solid var(--line); }
  .site-fact:nth-child(3n) { border-right: 0; }
  .site-fact:nth-last-child(-n+3):nth-child(3n+1), .site-fact:nth-last-child(-n+3):nth-child(3n+1) ~ .site-fact { border-bottom: 0; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .wrap { padding-top: 0; }
  .toc {
    position: sticky; top: 73px; z-index: 30; display: block; max-height: none; overflow: visible;
    margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter);
    background: var(--canvas);
  }
  .toc .toc-meta, .toc-note { display: none; }
  .toc ol { flex-direction: row; gap: 6px; border: 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc li { border: 0; flex: none; }
  .toc a { display: block; white-space: nowrap; padding: 7px 13px; border-radius: 999px; background: #fff; font-size: 13px; line-height: 1.2; }
  .toc a::before { content: none; }
  .toc a:hover { text-decoration: none; }
  .toc a.active { background: var(--night); color: #fff; font-weight: 600; }
  .sec, .issue[id], .ready-head[id], .rest-row { scroll-margin-top: 136px; }
  html { scroll-padding-top: 136px; }
  .read-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .read-guide-grid > div { border-left: 0; padding: 14px 18px 14px 0; }
  .read-guide-grid > div:nth-child(even) { padding: 14px 0 14px 18px; border-left: 1px solid var(--line); }
  .read-guide-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .serp-frames { grid-template-columns: minmax(0, 1fr); }
  .dims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unlock { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; gap: 24px; }
  .summary-grid, .plan-cols, .vitals, .ready-grid { grid-template-columns: minmax(0, 1fr); }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .progress-card { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
  .progress-areas ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .inside-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .band { padding: 28px var(--gutter) 36px; }
  .wrap { padding-bottom: 120px; }
  .wrap-narrow { padding: 20px 16px 120px; }
  .toc { top: 63px; }
  .card-pad { padding: 20px; }
  .site-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-fact { padding: 14px 12px; }
  .site-fact:nth-child(3n) { border-right: 1px solid var(--line); }
  .site-fact:nth-child(2n) { border-right: 0; }
  .site-fact:nth-last-child(-n+3):nth-child(3n+1), .site-fact:nth-last-child(-n+3):nth-child(3n+1) ~ .site-fact { border-bottom: 1px solid var(--line); }
  .site-fact:nth-last-child(-n+2):nth-child(2n+1), .site-fact:nth-last-child(-n+2):nth-child(2n+1) ~ .site-fact { border-bottom: 0; }
  .site-hero-shot { flex-basis: 100%; }
  .phone { flex-basis: 84px; }
  .dim { padding: 16px; }
  .dim-score b { font-size: 34px; }
  .worklog ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .worklog li { padding: 14px; }
  .worklog b { font-size: 24px; }
  .sec-head h2 { font-size: 28px; }
  .issue-head, .issue-body { padding: 18px; }
  .ai-note { padding: 14px 18px; }
  .issue-foot { padding: 12px 18px; }
  .wrong-finding { padding: 0 18px 12px; }
  .issue h3, .issue.sev-critical h3, .issue.sev-high h3 { font-size: 20px; }
  .gain-pill { margin-left: 0; }
  .foot-sources { margin-left: 0; flex-basis: 100%; }
  .offer-strip .btn { width: 100%; }
  .todo-row { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 14px; }
  .todo-state { grid-column: 2 / -1; justify-self: start; }
  .page-detail-cols { grid-template-columns: minmax(0, 1fr); }
  .todo-meta > span:last-child { display: none; }
  .sticky-unlock { display: flex; }
  .email-me { grid-template-columns: minmax(0, 1fr); }
  .bar-row { grid-template-columns: 110px minmax(0, 1fr) minmax(46px, auto); }
  .plan-top li { flex-wrap: wrap; padding: 12px 14px; gap: 8px 10px; }
  .plan-t { flex-basis: calc(100% - 64px); }
  .plan-meta { flex-basis: 100%; justify-content: flex-start; padding-left: 28px; }
  .plan-meta .gain-chip { width: auto; }
  .progress-card { padding: 24px 18px; }
  .progress-top .gauge { width: 200px; }
  .simple-card { padding: 24px 20px; }
  .mobile-overview { grid-template-columns: minmax(0, 1fr); }
  .phone-static { width: 150px; }
  .lost-row { flex-wrap: wrap; gap: 6px 12px; }
  .lost-row .name { flex-basis: 100%; }
  .lost-bar { flex: 1 1 100%; justify-content: space-between; }
  .lost-row .track { flex: 1 1 auto; width: auto; }
  .engine-list { grid-template-columns: minmax(0, 1fr); }
  .rest-row > summary { padding: 12px 14px; }
  .rest-num { flex-basis: 22px; }
  .rest-title { flex-basis: calc(100% - 100px); }
  .rest-open { margin-left: auto; }
  .rest-note { order: 3; flex-basis: 100%; padding-left: 38px; }
  .rest-body { padding: 18px 14px 22px; }
  .rw-rows { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rw-now, .rw-new { margin-bottom: 8px; }
  .ready-part > * { margin: 12px 14px; }
  .ready-part > .ready-head { padding: 14px; }
  .ready-part > .code .code-cap { padding: 10px 14px; }
  .ready-part > .code pre { padding: 12px 14px; }
  .rw-page { padding: 14px; }
  /* Evidence tables become a stack of small cards. */
  .tbl.tbl-cards thead { display: none; }
  .tbl.tbl-cards, .tbl.tbl-cards tbody, .tbl.tbl-cards tr, .tbl.tbl-cards td { display: block; width: 100%; }
  .tbl.tbl-cards tr { padding: 11px 14px; border-top: 1px solid var(--line); }
  .tbl.tbl-cards tbody tr:first-child { border-top: 0; }
  .tbl.tbl-cards td, .tbl.tbl-cards tbody tr:first-child td { border: 0; padding: 2px 0; min-width: 0; max-width: none; text-align: left; }
  .tbl.tbl-cards td[data-label] { display: grid; grid-template-columns: minmax(80px, 36%) minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 3px 0; }
  .tbl.tbl-cards td[data-label]::before { content: attr(data-label); font-size: 12px; font-weight: 600; line-height: 1.6; color: var(--ink-3); }
  .tbl.tbl-cards td:not([data-label]) { padding-bottom: 4px; font-weight: 600; }
  .tbl.tbl-cards td[data-label] > .v { min-width: 0; }
  .tbl.tbl-cards td:not([data-label]) .muted { font-weight: 400; }
  .progress-shell { padding: 22px var(--gutter) 60px; gap: 16px; }
  .progress-areas ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progress-areas li { grid-template-columns: 20px minmax(0, 1fr); align-items: center; padding: 10px 12px; }
  .progress-tip-text { font-size: 15.5px; }
  .wrap-result { padding: 28px var(--gutter) 120px; }
  .site-hero-actions .btn, .report-actions .btn { flex: 1 1 100%; }
  .report-actions .inline-form { flex: 1 1 100%; }
  .report-actions .inline-form .btn { width: 100%; }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px 16px; }
  .path-panel { padding: 22px 18px; }
  .path-score b { font-size: 34px; }
  .summary-box { padding: 18px; }
  .inside { padding: 18px; }
  .cta-band { padding: 40px var(--gutter); }
  .cta-copy h2 { font-size: 28px; }
  .url-form { flex-direction: column; gap: 6px; }
  .url-form .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Report: the score path and what's inside ────────────────────────── */
.path-panel { border-radius: 12px; background: var(--night); color: #fff; padding: 28px 32px; display: grid; gap: 20px; }
.path-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; }
.path-head h3 { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.path-head p { font-size: 14px; color: var(--on-night); }
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; }
.path-step { display: block; padding: 16px 0 0; border-top: 3px solid var(--tone, var(--on-night)); min-width: 0; }
.path-step.tone-a { border-top-color: var(--good-ink); }
.path-step.tone-d { border-top-color: var(--high); }
.path-score { display: flex; align-items: baseline; gap: 8px; }
.path-score b { font: 800 40px/1 var(--font-display); }
.path-label { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; }
.path-sub { display: block; font-size: 13px; color: var(--on-night); }
.path-note { font-size: 12px; color: var(--on-night); }
.path-panel .muted { color: var(--on-night); }
@media (max-width: 640px) { .path { grid-auto-flow: row; } }

.inside { padding: 22px 24px; border: 1px solid var(--line); }
.inside h3 { margin-bottom: 12px; font-size: 19px; }
.inside-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-size: 14px; }
.inside-tile { display: block; min-width: 0; text-decoration: none; }
.inside-tile b { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.inside-tile small { display: block; font-size: 14px; color: var(--ink-3); }

/* ── Print (the PDF) ─────────────────────────────────────────────────── */
.print-only { display: none; }
@page { size: A4; margin: 16mm 14mm 18mm; }
@media print {
  /* The AI visibility card prints whole (its buy button is no-print). */
  .ai-band { break-inside: avoid; }
  /* The A4 text column is about 700 CSS px, narrow enough to trigger the
     tablet layout above; these put the document's own layout back. */
  html, body { background: #fff; font-size: 10pt; }
  .no-print, .topbar, .toc, .sticky-unlock, .copy-btn, .appendix-tools, .footer, .report-actions { display: none !important; }
  .print-only { display: block; }
  .wrap { padding: 0; max-width: none; }
  .layout { display: block; max-width: none; }
  .stack-lg { gap: 9mm; }
  .stack { gap: 6mm; }

  /* The opening band prints as a black block on the first page of the body. */
  .band { padding: 7mm 8mm; }
  .site-hero-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 6mm; align-items: center; }
  .site-hero h1 { margin-bottom: 3mm; font-size: 20pt; }
  .hero-kicker, .sec-num { padding: 1mm 3mm 1mm 2mm; font-size: 9pt; }
  .hero-kicker { margin-bottom: 2mm; }
  .sec-num { margin-bottom: 1mm; }
  .spark { width: 9pt; height: 9pt; }
  .site-hero-score { margin-bottom: 3mm; gap: 3mm 5mm; }
  .site-hero .gauge { width: 34mm; }
  .hero-verdict { margin-bottom: 3mm; font-size: 10.5pt; }
  .site-hero .meta-row { margin-bottom: 0; font-size: 8.5pt; }
  .screens { gap: 3mm; }
  .phone { flex-basis: 19mm; padding: 1mm; border-radius: 3mm; }
  .phone img { border-radius: 2mm; }
  .browser { padding: 1mm; }
  .browser-bar { height: 1.5mm; margin-bottom: 1mm; }
  .fact-strip { padding: 0; break-inside: avoid; }
  .site-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-fact, .site-fact:nth-child(3n) { padding: 3mm 3.5mm; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .site-fact:nth-child(3n), .site-fact:last-child { border-right: 0; }
  .site-fact:nth-last-child(-n+3):nth-child(3n+1), .site-fact:nth-last-child(-n+3):nth-child(3n+1) ~ .site-fact { border-bottom: 0; }

  /* The reading guide keeps its four columns on A4, and stays on one page. */
  .read-guide { break-inside: avoid; }
  .read-guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .read-guide-grid > div, .read-guide-grid > div:nth-child(even) { padding: 3mm 3.5mm; border-top: 0; border-left: 1px solid var(--line); font-size: 8.5pt; }
  .read-guide-grid > div:first-child { padding-left: 0; border-left: 0; }
  .read-guide-grid > div:last-child { padding-right: 0; }
  .read-guide-grid h3 { font-size: 9pt; }

  .summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3mm; }
  .summary-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-box { padding: 4mm; gap: 2mm; }
  .summary-box ul, .summary-box p { font-size: 9pt; }
  .summary-box h3 { font-size: 12pt; }
  .worklog ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .worklog li { padding: 2.5mm 3mm; }
  .worklog b { font-size: 14pt; }
  .worklog span { font-size: 8pt; }
  .path-panel { padding: 5mm 6mm; gap: 3mm; }
  .path-head h3 { font-size: 15pt; }
  .path-head p { font-size: 9.5pt; }
  .path { grid-auto-flow: column; gap: 4mm; }
  .path-step { padding-top: 2.5mm; }
  .path-score b { font-size: 20pt; }
  .llms-callout, .silent-callout { display: block; break-inside: avoid; padding: 4mm 5mm; }
  .llms-callout h2, .silent-callout h2 { font-size: 12pt; }
  .llms-callout p, .silent-callout p, .silent-callout ul { font-size: 9.5pt; }
  .readout { break-inside: avoid; padding: 4mm; }
  .readout-big b { font-size: 20pt; }
  .method-box { break-inside: avoid; }
  /* Its heading stays with its list: a small block that moves to the next page whole. */
  .inside { display: block; break-inside: avoid; padding: 4mm; }
  .inside h3 { margin-bottom: 3mm; font-size: 12pt; }
  .inside-grid { gap: 2mm 5mm; font-size: 9pt; }
  .inside-tile small { font-size: 9pt; }
  .ready-grid { display: block; }
  .ready-part { display: block; height: auto; }
  .ready-cell + .ready-cell { margin-top: 5mm; }
  .ready-part > * { margin: 3mm 4mm; }
  .ready-part > .ready-head { padding: 3mm 4mm; }
  .ready-part > .code { margin: 3mm 0 0; }
  .ready-part > .code .code-cap { padding: 2mm 4mm; }
  .ready-part > .code pre { max-height: none; overflow: visible; padding: 3mm 4mm; }
  .rw-page { padding: 3mm 4mm; break-inside: avoid; }
  .rw-rows { grid-template-columns: 26mm minmax(0, 1fr); }
  .quote { font-size: 13pt; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(26mm, 1fr)); }
  .stat { padding: 3mm 3.5mm; }
  .stat b { font-size: 16pt; }
  .dims { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dim { padding: 3.5mm 4mm 3mm; }
  .dim-score b { font-size: 20pt; }
  .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4mm; }
  .vitals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vital { padding: 3mm 3.5mm; }
  .vital-value { font-size: 18pt; }
  .engine-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Week, month, later one after another, each in two columns: three side by side split badly across pages. */
  .plan-cols { display: block; }
  .plan-col { display: block; padding: 0; border: 0; column-count: 2; column-gap: 4mm; }
  .plan-col + .plan-col { margin-top: 5mm; }
  .plan-col h4 { column-span: all; margin-bottom: 2.5mm; padding-bottom: 1.5mm; border-bottom: 0.3mm solid var(--ink); }
  .plan-col .plan-item { display: block; margin-bottom: 2.5mm; padding: 0; break-inside: avoid; }
  .plan-col .plan-item span { display: block; margin-top: 0.5mm; }
  .plan-col .more > summary { display: none; }
  .plan-col .more-body { display: block !important; padding-top: 0; }
  .plan-top li { padding: 2.5mm 4mm; font-size: 9.5pt; }
  .mobile-overview { grid-template-columns: 34mm minmax(0, 1fr); }
  .mobile-overview.no-shot { grid-template-columns: minmax(0, 1fr); }
  .mobile-checks { display: block; }
  .mobile-checks > * + * { margin-top: 3mm; }
  .phone-static { width: 34mm; }
  .sec-head h2 { font-size: 21pt; }
  .issue h3, .issue.sev-critical h3, .issue.sev-high h3 { font-size: 13.5pt; }
  .issue-head { padding: 5mm 6mm 4mm; }
  .issue-body { padding: 4mm 6mm 5mm; grid-template-columns: minmax(0, 1fr); gap: 4mm; }
  .ai-note { padding: 3.5mm 6mm; }
  .issue-foot { padding: 3mm 6mm; }
  .lost-row { padding: 1.8mm 0; }
  .lost-row .track { width: 24mm; }

  /* Chapters start on a new page; long cards may break, their parts may not. */
  .sec { break-before: page; }
  .sec.no-break { break-before: auto; }
  .issue, .fix, .card, .panel-box { break-inside: auto; }
  .dim, .stat, .vital, .summary-box, .plan-top li, .plan-item, .notice, .serp, .platform, .code, .ai-note, .steps li, .lost-row, .path-step, .inside-tile, .rw-row, .worklog { break-inside: avoid; }
  .issue-head, .sub-head, .fix-title, .evidence-title, h2, h3 { break-after: avoid; }
  .issue-head { break-inside: avoid; }
  /* Folded parts print open, under their own label. */
  details > summary { pointer-events: none; color: var(--ink-3) !important; font-size: 9pt !important; text-decoration: none !important; }
  details > summary::before { display: none !important; }
  details > .more-body { display: grid !important; padding-top: 2mm; }
  details.passed-box { padding: 3mm 4mm; }
  details.passed-box > summary u { display: none; }
  /* Block layout paginates reliably; grids split across pages can overlap.
     A chapter or a list of cards that is a grid lets the next item overlap a
     card split across pages, and leaves a blank page after it. */
  .stack-lg, .sec, .stack, .evidence, .issue-body, .fix, .issue-found, .more-body, .platform, .steps, .panel-box, .area-overview:not(.two-col):not(.mobile-overview) { display: block !important; }
  /* Margins, unlike grid gaps, are dropped at a page break: a gap after a
     chapter that ends at the foot of a page would push out a blank page. */
  .stack-lg > * + * { margin-top: 9mm; }
  .sec > * + *, .stack > * + *, .area-overview:not(.two-col):not(.mobile-overview) > * + * { margin-top: 5mm; }
  .panel-box > * + * { margin-top: 3mm; }
  .issue { overflow: visible; }
  .fix > * + *, .issue-found > * + * { margin-top: 3mm; }
  .issue-found { margin-top: 4mm; }
  .fix-summary { margin-top: 1.5mm !important; }
  /* Rows of inline boxes paginate cleanly; CSS columns can leave an empty page after them. */
  /* Passed checks run on like ticked text: compact, and lines break cleanly
     across pages (grids and CSS columns split badly or leave a blank page). */
  .passed { display: block; }
  .passed li { display: inline-block; margin: 0 5mm 1.6mm 0; padding: 0; font-size: 8.5pt; line-height: 1.4; }
  .passed svg { display: inline-block; width: 9pt; height: 9pt; margin: 0 1.2mm 0 0; vertical-align: -1.5pt; }
  .evidence > * + *, .more-body > * + *, .platform > * + * { margin-top: 3mm; }
  .steps { padding-left: 5mm; }
  .steps li { display: list-item; }
  .steps li + li { margin-top: 1.5mm; }
  /* Long page lists print two to a line instead of running down a page:
     rows of inline boxes paginate cleanly, however long the list. */
  .url-list { display: block; max-height: none; overflow: visible; }
  .url-list > * { display: inline-block; width: calc((100% - 6mm) / 2); margin-right: 6mm; vertical-align: top; }
  .url-list > :nth-child(2n) { margin-right: 0; }
  /* Paper has no fingers: links keep their text height. */
  .url-list a, .cell-list.links a { padding: 0; }
  .cell-list.links { gap: 1mm; }
  .table-wrap { overflow: visible; }
  .tbl { font-size: 8.5pt; }
  .tbl thead { display: table-header-group; }
  .tbl tr { break-inside: avoid; }
  .code pre { white-space: pre-wrap; word-break: break-all; }
  /* Text to read (an llms.txt) runs on across pages, breaking at spaces: kept whole, a long one
     would leave the page under its heading empty. */
  .code.code--wrap { break-inside: auto; }
  .code--wrap pre { word-break: normal; overflow-wrap: anywhere; }
  a { text-decoration: none; }
  .inside-tile b { text-decoration: none; }
  .gauge-animate .gauge-fill { animation: none !important; }
  /* Backgrounds print as they look on screen. */
  .band, .path-panel, .summary-box--night, .readout--night, .code pre, .tbl th, .ai-note, .issue-foot, .chip, .hero-kicker, .sec-num { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
body.pdf .wrap { padding: 0; }
body.pdf .gauge-animate .gauge-fill { animation: none; }

/* PDF cover (rendered alone, full bleed) */
.cover { width: 210mm; height: 297mm; padding: 22mm 20mm; display: grid; grid-template-rows: auto 1fr auto; background: var(--night); color: #fff; position: relative; overflow: hidden; --gauge-track: var(--night-2); --gauge-num: #fff; }
.cover-brand svg { height: 30px; width: auto; }
.cover-main { align-self: center; display: grid; gap: 14mm; position: relative; z-index: 1; }
.cover-kicker { font-size: 11pt; font-weight: 600; color: var(--gold); }
.cover h1 { color: #fff; font-size: 38pt; letter-spacing: -0.03em; line-height: 1.05; word-break: break-word; }
.cover-score { display: grid; grid-template-columns: 60mm minmax(0, 1fr); gap: 10mm; align-items: center; }
.cover-score .gauge { width: 60mm; }
.cover-verdict { font: 600 17pt/1.3 var(--font-display); color: #fff; letter-spacing: -0.015em; }
.cover-meta { display: flex; flex-wrap: wrap; gap: 4mm 9mm; font-size: 10pt; color: var(--on-night); position: relative; z-index: 1; }
.cover-sample { margin: 18px 0 0; color: var(--on-night); font-size: 13px; }
.cover-meta b { display: block; color: #fff; font: 700 12pt/1.3 var(--font-body); }
.cover-meta .cover-goal b { color: var(--gold); }
