/* infoharness — proofreader's markup: navy ink on cool paper, a red pen for problems,
   a yellow highlighter on the values that disagree. Quoted page text is set in a serif (the "document"). */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400 900; font-style: normal; font-display: swap;
  src: url("/static/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-style: normal; font-display: swap;
  src: url("/static/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-style: italic; font-display: swap;
  src: url("/static/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); }

:root {
  --paper: #f6f7f9;
  --sheet: #ffffff;
  --ink: #0e1a2b;
  --ink-soft: #2a3a52;
  --muted: #566277;
  --line: #dadfe7;
  --line-strong: #b9c1cf;
  --marker: #ffe45c;
  --note-bg: #fff6cf; --note-line: #e6c84a;
  --pen: #d23b3b;
  --pen-bg: #fdeceb;
  --amber: #a3600a;
  --amber-bg: #fdf1dc;
  --calm: #4a6178;
  --calm-bg: #e9eef4;
  --ok: #1b7f55;
  --ok-bg: #e3f4ec;
  --on-ink: #f6f7f9;
  --focus: #2b4fd6;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1120px;
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1522; --sheet: #142033; --ink: #e8edf5; --ink-soft: #c3cddd; --muted: #96a3b8;
    --line: #25344b; --line-strong: #3a4c69; --marker: #7a6a14; --note-bg: #2b2712; --note-line: #7a6a14; --pen: #ff7b78; --pen-bg: #3a1f26;
    --amber: #efb35f; --amber-bg: #3a2c16; --calm: #9db4cb; --calm-bg: #1c2b3f; --ok: #6fd3a2; --ok-bg: #153a2c;
    --on-ink: #0d1522; --focus: #8fa6ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
code, pre { font-family: var(--mono); font-size: .88em; }
pre { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; overflow-x: auto; }
mark { background: var(--marker); color: inherit; padding: 0 .12em; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: var(--r-s); z-index: 20; }
.skip:focus { top: 8px; }

h1, h2, h3 { font-family: var(--sans); line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 780; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 720; }
h3 { font-size: 1.08rem; font-weight: 680; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); max-width: 36em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header / footer */
.site-head { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; font-size: 1.12rem; letter-spacing: -0.02em; text-decoration: none; }
.wordmark img { width: 28px; height: 28px; display: block; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--r-s); font-weight: 560; font-size: .95rem; color: var(--ink-soft); }
.main-nav a:hover { background: var(--calm-bg); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav .nav-cta { background: var(--ink); color: var(--on-ink); margin-left: 6px; }
.main-nav .nav-cta:hover { background: var(--ink-soft); color: var(--on-ink); }

.site-foot { margin-top: 96px; border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: .94rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot h2 { font-size: .95rem; font-weight: 700; color: var(--ink); letter-spacing: 0; margin-bottom: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot p { max-width: 30em; margin-bottom: .6em; }
.fine { font-size: .85rem; }

/* ---------- controls */
.button, button {
  font: 640 1rem/1 var(--sans); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink);
  border-radius: var(--r-s); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .05s;
}
.button:hover, button:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: var(--on-ink); }
.button:active, button:active { transform: translateY(1px); }
button[disabled] { opacity: .6; cursor: progress; }
.button.secondary, button.secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); padding: 10px 14px; font-size: .92rem; font-weight: 600; }
.button.secondary:hover, button.secondary:hover { background: var(--calm-bg); border-color: var(--ink-soft); color: var(--ink); }
.button.small, button.small { padding: 8px 12px; font-size: .86rem; }
.button.danger, button.danger { color: var(--pen); }
.button.on-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button.on-dark:hover { background: #fff; color: var(--ink); }

label { display: block; font-weight: 640; font-size: .94rem; margin-bottom: 8px; }
input[type=text], input[type=email], select {
  font: 500 1.05rem/1.2 var(--sans); width: 100%; padding: 15px 16px; color: var(--ink); background: var(--sheet);
  border: 1px solid var(--line-strong); border-radius: var(--r-s); min-width: 0;
}
input::placeholder { color: var(--muted); opacity: .8; }
input:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
select { width: auto; padding-right: 36px; }

.scan-form .field-row { display: flex; gap: 10px; }
.scan-form .field-row input { flex: 1; }
.scan-form .field-row button { flex: none; padding-left: 26px; padding-right: 26px; }
.form-note { margin: 10px 0 0; font-size: .92rem; color: var(--muted); }
.form-note.is-error { color: var(--pen); font-weight: 600; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: .92rem; color: var(--muted); }
.chip-link {
  font: 560 .88rem/1 var(--sans); background: var(--sheet); color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; cursor: pointer;
}
.chip-link:hover { border-color: var(--ink-soft); background: var(--sheet); color: var(--ink); }

/* ---------- home: hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 32px; }

/* the red-pen specimen: the memorable thing on the page */
.redline { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(14, 26, 43, .28); }
.redline-bar { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.redline-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.redline .doc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; }
.redline .doc + .gap { height: 40px; position: relative; }
.doc h3 { font-size: .82rem; font-weight: 600; color: var(--muted); font-family: var(--mono); letter-spacing: 0; margin-bottom: 8px; }
.doc p { font: 400 1.08rem/1.55 var(--serif); margin: 0; }
.circled { position: relative; display: inline-block; background: var(--marker); padding: 0 .18em; margin: 0 .1em; border-radius: 2px; white-space: nowrap; }
.circled svg { position: absolute; inset: -9px -8px; width: calc(100% + 16px); height: calc(100% + 18px); overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--pen); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s .5s cubic-bezier(.5, 0, .2, 1) forwards; }
.circled.second path { animation-delay: 1.15s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; color: var(--pen); font-weight: 700; font-size: .85rem; white-space: nowrap; background: var(--sheet); padding: 0 10px; }
.vs::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--pen-bg); border: 1.5px solid var(--pen); display: inline-block;
  background-image: linear-gradient(var(--pen), var(--pen)), linear-gradient(var(--pen), var(--pen)); background-size: 10px 2px, 10px 2px; background-position: center 7px, center 12px; background-repeat: no-repeat; }
.redline .gap::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed var(--pen); opacity: .55; }
.redline-foot { margin: 16px 2px 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- home: sections */
.section { padding: 64px 0 8px; }
.section-head { max-width: 40rem; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 12px 0 0; }

.ledger { width: 100%; border-collapse: collapse; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ledger tr:last-child th, .ledger tr:last-child td { border-bottom: 0; }
.ledger thead th { font-size: .86rem; font-weight: 640; color: var(--muted); background: var(--paper); padding-top: 12px; padding-bottom: 12px; }
.ledger tbody th { width: 22%; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.ledger td:nth-child(2) { color: var(--ink-soft); width: 38%; }
.ledger .eg { font: 400 1rem/1.5 var(--serif); }
.ledger .eg s { text-decoration-color: var(--pen); text-decoration-thickness: 2px; color: var(--muted); }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-weight: 780; font-size: 1.5rem; letter-spacing: -0.03em; margin-bottom: 6px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-soft); margin: 0; }

.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 660; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-right: 2rem; }

.cta-band { margin-top: 72px; background: var(--ink); color: var(--on-ink); border-radius: var(--r-l); padding: 44px; }
.cta-band h2 { color: var(--on-ink); max-width: 18em; margin-bottom: 20px; }
.cta-band .scan-form { max-width: 40rem; }
.cta-band input[type=text] { border-color: transparent; }
.cta-band .button, .cta-band button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .form-note { color: #a9b6cb; }
.cta-band .form-note.is-error { color: #ffb4b1; }

/* ---------- panels, prose, tables */
.page { padding-top: 56px; }
.page-narrow { max-width: 36rem; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.panel { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; }
.prose { max-width: 42rem; }
.prose h2 { margin: 36px 0 10px; font-size: 1.4rem; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .4em; }
.prose code { background: var(--calm-bg); padding: 1px 6px; border-radius: 4px; }

/* ---------- report */
.report-top { padding: 40px 0 28px; }
.crumb { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); }
.report-top h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.report-top h1 a { text-decoration: none; }
.report-top h1 a:hover { text-decoration: underline; }
.report-meta { margin: 10px 0 0; color: var(--muted); max-width: 46em; }
.report-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.summary { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; }
.stamp { width: 132px; height: 132px; border-radius: 50%; border: 5px double var(--ok); color: var(--ok); display: grid; place-content: center; text-align: center; transform: rotate(-6deg); flex: none; }
.stamp-grade { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.stamp-score { font-size: .88rem; font-weight: 700; margin-top: 4px; }
.grade-b .stamp { border-color: #4a8a2e; color: #4a8a2e; }
.grade-c .stamp { border-color: var(--amber); color: var(--amber); }
.grade-d .stamp, .grade-f .stamp { border-color: var(--pen); color: var(--pen); }
.verdict { font-size: 1.32rem; font-weight: 680; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 14px; max-width: 28em; }
.gauge { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; max-width: 28rem; }
.gauge span { display: block; height: 100%; background: var(--ok); border-radius: 999px; }
.grade-c .gauge span { background: var(--amber); } .grade-d .gauge span, .grade-f .gauge span { background: var(--pen); }
.gauge-note { font-size: .88rem; color: var(--muted); margin: 8px 0 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; position: sticky; top: 64px; z-index: 5; padding: 10px 0; background: var(--paper); }
.filter { background: var(--sheet); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .92rem; font-weight: 600; gap: 8px; }
.filter:hover { background: var(--sheet); border-color: var(--ink-soft); color: var(--ink); }
.filter .n { background: var(--calm-bg); border-radius: 999px; padding: 2px 8px; font-size: .82rem; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.filter[aria-pressed="true"] .n { background: rgba(255,255,255,.2); color: inherit; }
.filter.is-zero { opacity: .5; }

.group { margin-top: 36px; scroll-margin-top: 130px; }
.group[hidden] { display: none; }
.group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.group-head .count { color: var(--muted); font-weight: 600; font-size: 1.1rem; }
.group-why { color: var(--muted); max-width: 44em; margin-bottom: 14px; }
.issues { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.issue { background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--calm); border-radius: var(--r-m); padding: 18px 20px; }
.issue.sev-high { border-left-color: var(--pen); } .issue.sev-medium { border-left-color: var(--amber); }
.issue-head { display: flex; align-items: flex-start; gap: 12px; }
.issue-head h3 { flex: 1; }
.sev { font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--calm-bg); color: var(--calm); flex: none; margin-top: 1px; }
.sev-high .sev { background: var(--pen-bg); color: var(--pen); } .sev-medium .sev { background: var(--amber-bg); color: var(--amber); }
.issue-detail { color: var(--ink-soft); margin: 8px 0 0; font-size: .98rem; max-width: 48em; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.compare blockquote, blockquote.single { margin: 14px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; }
.compare blockquote { margin: 0; }
blockquote p { font: 400 1.02rem/1.55 var(--serif); margin: 0 0 8px; }
cite { display: block; font: 400 .82rem/1.4 var(--mono); font-style: normal; color: var(--muted); overflow-wrap: anywhere; }
cite a { color: var(--muted); }
.pages { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; font: 400 .85rem/1.4 var(--mono); overflow-wrap: anywhere; }
.pages .k { color: var(--muted); font-family: var(--sans); font-size: .85rem; margin-right: 6px; }
.issue-foot { margin-top: 12px; display: flex; gap: 8px; }

.progress { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; max-width: 40rem; }
.progress h2 { font-size: 1.3rem; margin-bottom: 18px; }
.stepper { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.stepper li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 560; }
.stepper li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.stepper li.done { color: var(--ink); } .stepper li.done::before { background: var(--ok); border-color: var(--ok); }
.stepper li.active { color: var(--ink); font-weight: 700; } .stepper li.active::before { border-color: var(--ink); background: var(--marker); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--marker) 50%, transparent); } }
.bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ink); width: 0; transition: width .6s ease; }
.progress-pages { margin: 12px 0 0; color: var(--muted); font-size: .94rem; }

.notice { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; max-width: 40rem; }
.notice h2 { margin-bottom: 10px; }
.notice ul { padding-left: 1.2em; color: var(--ink-soft); }
.notice.failed { border-left: 4px solid var(--pen); }
.notice.clean { border-left: 4px solid var(--ok); }
.notice .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.share { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.share .panel h2 { font-size: 1.2rem; margin-bottom: 14px; }
.share .field-row { display: flex; gap: 8px; margin-bottom: 14px; }
.share input { font-size: .9rem; padding: 11px 12px; font-family: var(--mono); }
.share .badge-preview { display: block; margin-bottom: 14px; }

/* ---------- auth, pricing, account */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 32px 0 8px; align-items: stretch; }
.plan { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-l); padding: 30px; display: flex; flex-direction: column; }
.plan h2 { font-size: 1.25rem; }
.plan .price { font-size: 2.6rem; font-weight: 780; letter-spacing: -0.04em; margin: 10px 0 4px; line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 560; letter-spacing: 0; color: var(--muted); }
.plan ul { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 6px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-48deg); }
.plan.pro { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.plan.pro .price small { color: #a9b6cb; } .plan.pro li::before { border-color: var(--marker); }
.plan.pro .button, .plan.pro button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.plan.pro .button:hover, .plan.pro button:hover { background: #fff; color: var(--ink); }
.plan.pro .form-note { color: #a9b6cb; }
.plan.pro input[type=text] { border-color: transparent; }

.sites { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.site { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; }
.grade-chip { width: 44px; height: 44px; border-radius: 10px; display: grid; place-content: center; font-weight: 800; font-size: 1.3rem; background: var(--ok-bg); color: var(--ok); text-decoration: none; }
.grade-chip.g-c { background: var(--amber-bg); color: var(--amber); }
.grade-chip.g-d, .grade-chip.g-f { background: var(--pen-bg); color: var(--pen); }
.grade-chip.g-none { background: var(--calm-bg); color: var(--calm); font-size: 1rem; }
.site-url { font-weight: 650; overflow-wrap: anywhere; }
.site-meta { font-size: .88rem; color: var(--muted); }
.site-actions { display: flex; gap: 8px; }
.site-actions form { margin: 0; }
.empty { text-align: left; background: var(--sheet); border: 1px dashed var(--line-strong); border-radius: var(--r-l); padding: 32px; max-width: 40rem; margin: 24px 0; }
.empty h2 { font-size: 1.3rem; margin-bottom: 8px; }
.flash { border-radius: var(--r-s); padding: 12px 14px; margin: 16px 0; font-weight: 560; background: var(--ok-bg); color: var(--ok); }
.flash.error { background: var(--pen-bg); color: var(--pen); }

/* ---------- responsive */
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .wrap > :first-child { grid-column: 1 / -1; }
  .plans, .share { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px; }
  /* Keep every nav link reachable on phones: brand on top, links in a swipeable row below. */
  .site-head .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 4px; gap: 2px 12px; }
  .main-nav { width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0; padding-bottom: 6px; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; padding: 8px 11px; }
  .main-nav .nav-cta { margin-left: auto; }
  .nav-how { display: none; }
  .page { padding-top: 28px; }
  .grid2 { grid-template-columns: 1fr !important; }
  .scan-form .field-row { flex-direction: column; }
  .scan-form .field-row button { width: 100%; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: 100% !important; }
  .ledger tr { padding: 14px 4px; border-bottom: 1px solid var(--line); } .ledger tr:last-child { border-bottom: 0; }
  .ledger th, .ledger td { border: 0; padding: 4px 18px; }
  .summary { grid-template-columns: 1fr; justify-items: start; padding: 22px; gap: 20px; }
  .compare { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 22px; }
  .site { grid-template-columns: auto 1fr; } .site-actions { grid-column: 1 / -1; }
  .filters { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .circled path { animation: none; stroke-dashoffset: 0; }
  .stepper li.active::before { animation: none; } .bar span { transition: none; }
}
@media print {
  .site-head, .site-foot, .filters, .report-actions, .share, .issue-foot, .skip { display: none !important; }
  body { background: #fff; font-size: 12pt; } .group { break-inside: avoid-page; } .issue { break-inside: avoid; }
}

/* ---------- guides */
.article { max-width: 44rem; }
.article h1 { margin-bottom: 18px; }
.article .lede { margin-bottom: 28px; }
.article p, .article li { max-width: 40rem; }
.article ol, .article ul { padding-left: 1.3em; } .article li { margin-bottom: .55em; }
.article h3 { margin: 22px 0 6px; }
.article table.plans { font-size: .95rem; }
.article table.plans td { vertical-align: top; }
.takeaways { background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--marker); border-radius: var(--r-m); padding: 18px 22px; margin: 0 0 12px; }
.takeaways h2 { font-size: 1.05rem; margin: 0 0 8px; }
.takeaways ul { margin: 0; }
.checklist { list-style: none; padding: 0 !important; counter-reset: c; }
.checklist > li { counter-increment: c; border-top: 1px solid var(--line); padding: 16px 0 4px 44px; position: relative; max-width: none; }
.checklist > li::before { content: counter(c); position: absolute; left: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-content: center; font-weight: 700; font-size: .9rem; }
.checklist h3 { margin-top: 2px; }
.cta-inline { margin: 40px 0 8px; background: var(--ink); color: var(--on-ink); border-radius: var(--r-l); padding: 26px 28px; }
.cta-inline h2 { color: var(--on-ink); margin: 0 0 8px; font-size: 1.35rem; }
.cta-inline p { color: #c3cddd; }
.cta-inline .button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.guide-list { margin-top: 28px; }

.notice.coverage{background:var(--marker-soft,#fff7c2);border-left:3px solid var(--marker,#ffe45c);padding:.6rem .8rem;margin:.8rem 0;font-size:.92rem}
.full-url{word-break:break-all;font-size:.85rem}
.pages .ctx{color:var(--muted,#5b6675);font-size:.85rem;margin-left:.4rem}
.pages .more{color:var(--muted,#5b6675)}
.pages li.target{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}

.history{margin:.8rem 0}.history table{width:100%;border-collapse:collapse;font-size:.9rem;margin-top:.5rem}
.history th,.history td{text-align:left;padding:.35rem .5rem;border-bottom:1px solid var(--line,#dde1e7)}.history tr.current{background:var(--marker-soft,#fff7c2)}

.tag-new{background:var(--marker,#ffe45c);color:#0e1a2b;font-size:.7rem;font-weight:700;padding:.1rem .4rem;border-radius:3px;vertical-align:middle;text-transform:uppercase}
.notice.diff{border-left:3px solid var(--red,#d23b3b);padding:.5rem .8rem;margin:.6rem 0}
.legal h2{margin-top:1.6rem}

form.inline{display:inline}.issue-foot{display:flex;gap:.5rem;flex-wrap:wrap}
.tag-ignored{background:var(--line,#dde1e7);color:var(--muted,#5b6675);font-size:.7rem;padding:.1rem .4rem;border-radius:3px;text-transform:uppercase}
.spark{vertical-align:middle;margin-left:.4rem}.hook{margin-top:.5rem;font-size:.85rem}.hook input{min-width:16rem}

.subnav{display:flex;gap:1rem;margin:.4rem 0 1rem;border-bottom:1px solid var(--line,#dde1e7)}.subnav a{padding:.4rem 0;text-decoration:none;color:var(--muted,#5b6675)}
.subnav a[aria-current]{color:var(--ink,#0e1a2b);border-bottom:2px solid var(--red,#d23b3b)}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.8rem;margin:1rem 0}
.stat{border:1px solid var(--line,#dde1e7);border-radius:8px;padding:.8rem 1rem;background:var(--paper-2,transparent)}
.stat .n{display:block;font-size:1.8rem;font-weight:700;line-height:1.1}.stat .l{font-size:.85rem;color:var(--muted,#5b6675)}.stat.bad .n{color:var(--red,#d23b3b)}
.table-wrap{overflow-x:auto}.bigspark svg{width:100%;height:auto;max-width:640px}
.bytype{list-style:none;padding:0;margin:0 0 .8rem;display:grid;gap:.3rem}.bytype li{display:flex;justify-content:space-between;max-width:24rem;border-bottom:1px dotted var(--line,#dde1e7)}
.grade-chip.small{width:1.7rem;height:1.7rem;font-size:.9rem}

.recent ul{list-style:none;padding:0;margin:0;display:grid;gap:.2rem;font-size:.92rem}

.live-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.6rem;margin:1rem 0}
.live-stats dt{font-size:.8rem;color:var(--muted,#5b6675)}.live-stats dd{margin:0;font-size:1.3rem;font-weight:700}
.live-stats .of{font-size:.8rem;font-weight:500;color:var(--muted,#5b6675)}
.live-now{font-family:ui-monospace,monospace;font-size:.85rem;margin:.4rem 0;word-break:break-all;min-height:1.3em}
.live-feed{list-style:none;padding:0;margin:0 0 1rem;font-family:ui-monospace,monospace;font-size:.78rem;color:var(--muted,#5b6675)}
.live-feed li{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-feed li:first-child{color:var(--ink,#0e1a2b)}
@media (prefers-reduced-motion:no-preference){.live-feed li{animation:feedin .25s ease-out}@keyframes feedin{from{opacity:0;transform:translateY(-3px)}}}

.notice.coverage{background:var(--note-bg);color:var(--ink);border:1px solid var(--note-line);border-left-width:4px;border-radius:var(--r-s,6px);padding:.7rem .9rem;margin:.8rem 0;font-size:.93rem;max-width:44rem}
.notice.coverage strong{font-weight:700}.notice.coverage ul{margin:.3rem 0 0;padding-left:1.1rem}
.notice.diff{background:var(--sheet);color:var(--ink);border:1px solid var(--line);border-left:4px solid var(--pen,#d23b3b);border-radius:var(--r-s,6px);max-width:44rem}
.notice.diff .sub{display:block;color:var(--muted);font-size:.88rem;margin-top:.2rem}
details.more-issues{margin-top:.8rem}details.more-issues>summary{cursor:pointer;font-weight:600;padding:.6rem .9rem;border:1px dashed var(--line-strong);border-radius:var(--r-s,6px);list-style:none}
details.more-issues>summary::-webkit-details-marker{display:none}details.more-issues[open]>summary{margin-bottom:.8rem}
.verdict-sub{color:var(--muted);font-size:.92rem;margin-top:.3rem}
/* Low-severity items without quotes (e.g. "not modified in 3 years") are compact rows so long lists stay scannable */
.issue.sev-low:not(:has(blockquote)){padding-top:.7rem;padding-bottom:.7rem}
.issue.sev-low:not(:has(blockquote)) .issue-detail{margin:.2rem 0;font-size:.9rem;color:var(--muted)}
.issue.sev-low:not(:has(blockquote)) .pages{margin:.3rem 0}
.issue.sev-low:not(:has(blockquote)) .issue-foot{margin-top:.4rem}

.chip-row{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.6rem}

.issue.dismissed{opacity:.55}

.tracker{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.8rem 0;font-size:.9rem}.tracker input,.tracker select{width:auto;min-width:11rem;padding:.45rem .6rem;font-size:.9rem}

.how-fix{margin:.6rem 0}.how-fix summary{cursor:pointer;font-weight:600;font-size:.92rem}.how-fix ol{margin:.4rem 0 .4rem 1.2rem;padding:0}.how-fix li{margin:.2rem 0;color:var(--ink-soft)}.ai-fix{white-space:pre-wrap;background:var(--sheet);border:1px solid var(--line);border-radius:6px;padding:.6rem .8rem}

/* ---------- tools index and home lists */
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool-card { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s; }
.tool-card:hover, .tool-card:focus-within { border-color: var(--ink-soft); }
.tool-card h3 { font-size: 1.1rem; line-height: 1.3; }
.tool-card h3 a { text-decoration: none; }
.tool-card h3 a::after { content: ""; position: absolute; inset: 0; }  /* whole card is the link */
.tool-card { position: relative; }
.tool-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.tools-h { font-size: 1.15rem; margin: 40px 0 0; }
.scan-form + .tools-h { margin-top: 44px; }
.more { margin: 18px 0 0; font-weight: 560; }

/* ---------- report: quieter chrome */
.coverage.quiet { background: transparent; border: 0; border-left: 3px solid var(--line-strong); border-radius: 0; color: var(--ink-soft); padding: 2px 0 2px 12px; font-size: .92rem; }
.coverage.quiet strong { display: none; }
.coverage.quiet ul { margin: 0; padding-left: 0; list-style: none; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.menu-list { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; min-width: 14rem; background: var(--sheet); border: 1px solid var(--line-strong); border-radius: var(--r-s); padding: 6px; display: grid; box-shadow: 0 8px 24px rgb(0 0 0 / .12); }
.menu-list a, .menu-list button { all: unset; box-sizing: border-box; cursor: pointer; padding: 9px 12px; border-radius: 6px; font-size: .94rem; color: var(--ink); text-decoration: none; }
.menu-list a:hover, .menu-list button:hover, .menu-list a:focus-visible, .menu-list button:focus-visible { background: var(--calm-bg); }
.tracker-box { margin: 14px 0 4px; }
.tracker-box > summary { cursor: pointer; color: var(--ink-soft); font-size: .92rem; font-weight: 560; width: fit-content; }
.tracker-box > summary:hover { color: var(--ink); }
.tracker .hint { color: var(--ink-soft); font-size: .86rem; }
.issue-foot { gap: 4px 16px !important; }
button.ghost { all: unset; box-sizing: border-box; cursor: pointer; font-size: .88rem; font-weight: 560; color: var(--ink-soft); padding: 6px 0; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
button.ghost:hover, button.ghost:focus-visible { color: var(--ink); text-decoration-color: currentColor; }
button.ghost:focus-visible { outline: 2px solid var(--focus, currentColor); outline-offset: 2px; border-radius: 3px; }
@media (max-width:640px){.menu-list{min-width:0;width:min(14rem,calc(100vw - 36px))}}

/* ---------- page speed card */
.speed { margin: 28px 0 8px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 26px; }
.speed-head h2 { font-size: 1.25rem; margin: 0 0 4px; }
.speed-head p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.speed-head code { font-size: .86rem; overflow-wrap: anywhere; }
.speed-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin-top: 20px; }
.speed-col h3 { font-size: 1rem; margin: 0 0 14px; }
.rings { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ring { --c: var(--ink-soft); text-align: center; font-size: .78rem; color: var(--ink-soft); line-height: 1.25; }
.ring.good { --c: var(--ok); } .ring.ok { --c: #b86e00; } .ring.poor { --c: var(--pen); }
.ring b { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 6px; border-radius: 50%; font-size: 1.1rem; color: var(--c);
  background: radial-gradient(closest-side, var(--sheet) 76%, transparent 78% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); }
.vitals { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.vitals li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0 7px 12px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--line-strong); font-size: .92rem; }
.vitals li.good { border-left-color: var(--ok); } .vitals li.ok { border-left-color: #b86e00; } .vitals li.poor { border-left-color: var(--pen); }
.vitals span { color: var(--ink-soft); }
.opp-h { margin: 16px 0 6px; font-weight: 640; font-size: .9rem; }
.opps { margin: 0; padding-left: 18px; font-size: .9rem; } .opps li { margin: 3px 0; } .opps span { color: var(--ink-soft); white-space: nowrap; }
.field-note { margin: 12px 0 0; font-size: .88rem; color: var(--ink-soft); }
.speed-foot { margin: 18px 0 0; font-size: .92rem; font-weight: 560; }
@media (max-width: 760px) { .speed { padding: 20px 18px; } .speed-cols { grid-template-columns: 1fr; } }
@media print { .speed-foot { display: none; } }

.own-score { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; --c: var(--ink-soft); }
.own-score.good { --c: var(--ok); } .own-score.ok { --c: #b86e00; } .own-score.poor { --c: var(--pen); }
.own-score b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 1.4rem; color: var(--c);
  background: radial-gradient(closest-side, var(--sheet) 76%, transparent 78% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); }
.own-score p { margin: 0; font-weight: 640; } .own-score p span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .86rem; }
.fixes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.fixes li { padding-left: 12px; border-left: 3px solid var(--line-strong); } .fixes li.poor { border-left-color: var(--pen); } .fixes li.ok { border-left-color: #b86e00; }
.g-h { font-size: 1rem; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); } .speed-col h4 { font-size: .95rem; margin: 14px 0 12px; }
