/* =====================================================================
   Leakproof design kit · site.css  (shared public base)
   Needs tokens.css first. Fonts (Google Fonts, one request):
   Mona Sans (display, condensed), Public Sans (body), Martian Mono (labels, data),
   Covered By Your Grace (the pen: marks and notes only, max 5 words, 20 px+).
   This file: everything more than one surface uses (base, buttons, header/footer, example
   labelling, notices, the pen, figures, notes, the § section rail, the price list and tier cards,
   the audit head + counts, status lines, the audit log and state tags, form fields, long text).
   Page-specific CSS: landing.css (the landing page, after this file and before mockups.css) and
   results.css (the live scan, /r/<token>, the shared /report/ page). sitePage() loads them.
   The paid report (src/delivery/report.js) inlines all three.
   ===================================================================== */
/* ---------- 1 · base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--lp-head-h) + 16px); }
body {
  margin: 0; background: var(--lp-paper); color: var(--lp-ink);
  font-family: var(--lp-f-body); font-size: var(--lp-t-body); line-height: var(--lp-lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
@media (max-width: 640px) { body { font-size: 17px; } }
h1, h2, h3 {
  font-family: var(--lp-f-display); font-stretch: 80%; font-weight: 780;
  letter-spacing: -.012em; line-height: 1.02; text-wrap: balance; margin: 0;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; }
/* Links are ink with an underline (never a status colour: calm blue means a money opportunity). */
a { color: var(--lp-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lp-ink); text-decoration-thickness: 2px; }
a.btn, .nav a, .brand { text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--lp-hl); color: #141836; }
[hidden] { display: none !important; }
.num, .mono { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--lp-ink); color: var(--lp-on-ink); padding: 10px 14px; border-radius: var(--lp-r-1); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--lp-wrap); margin-inline: auto; padding-inline: var(--lp-gutter); }
.wrap--wide { max-width: var(--lp-wrap-wide); }
.label {
  font-family: var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); font-size: var(--lp-t-label); font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; color: var(--lp-ink-2); line-height: 1.4;
}
.prose-w { max-width: var(--lp-measure); }

/* ---------- 2 · buttons ---------- */
.btn {
  --b-bg: var(--lp-ink); --b-fg: var(--lp-on-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--b-bg); color: var(--b-fg); border: 0; border-radius: var(--lp-r-1);
  font: 600 16px/1 var(--lp-f-body); letter-spacing: .005em; text-decoration: none;
  padding: 15px 20px; cursor: pointer; white-space: nowrap; transition: background-color .15s ease;
}
.btn:hover { background: var(--lp-ink-hover); color: var(--b-fg); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { font-size: 14.5px; padding: 10px 14px; }
.btn-block { width: 100%; padding-block: 16px; font-size: 16.5px; }
.btn-ghost { --b-bg: transparent; --b-fg: var(--lp-ink); box-shadow: inset 0 0 0 1.5px var(--lp-rule-2); }
.btn-ghost:hover { background: var(--lp-sheet); color: var(--lp-ink); box-shadow: inset 0 0 0 1.5px var(--lp-ink); }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: progress; }
.link-btn { background: none; border: 0; padding: 4px 0; font: 500 15px var(--lp-f-body); color: var(--lp-ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--lp-ink); text-decoration-thickness: 2px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--lp-r-1); background: transparent; color: var(--lp-ink-2); border: 0; cursor: pointer; }
.icon-btn:hover { color: var(--lp-ink); background: var(--lp-sheet); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; }
:root[data-theme="dark"] .theme-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-sun { display: block; }
  :root:not([data-theme="light"]) .theme-moon { display: none; }
}

/* ---------- 3 · header / footer ---------- */
.site-head {
  position: sticky; top: 0; z-index: 30; height: var(--lp-head-h);
  background: color-mix(in srgb, var(--lp-paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--lp-rule);
}
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--lp-ink);
  font-family: var(--lp-f-display); font-stretch: var(--lp-display-stretch); font-weight: 800; font-size: 25px; letter-spacing: -.01em; line-height: 1; }
.brand:hover { color: var(--lp-ink); }
.brand-proof { position: relative; }
.brand-proof svg { position: absolute; left: -2px; bottom: -7px; width: calc(100% + 6px); height: 9px; overflow: visible; }
.brand-proof path { fill: none; stroke: var(--lp-pen); stroke-width: 2.4; stroke-linecap: round; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--lp-ink-2); font-size: 15px; }
.nav a:hover { color: var(--lp-ink); }
.head-actions { display: flex; gap: 8px; align-items: center; margin-left: 12px; }
.head-actions--end { margin-left: auto; }
@media (max-width: 980px) { .nav { display: none; } .head-actions { margin-left: auto; } }

.site-foot { border-top: 1px solid var(--lp-rule); padding-block: 40px 44px; color: var(--lp-ink-2); font-size: 14.5px; }
.site-foot p { max-width: 62ch; }
/* three columns: the brand and one line | the site's pages | legal and contact; stacked on a phone */
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; }
.foot-brand { display: grid; gap: 12px; align-content: start; max-width: 42ch; }
.foot-home { display: inline-flex; align-items: center; gap: 10px; justify-self: start; text-decoration: none; color: var(--lp-ink); }
.foot-home:hover { color: var(--lp-ink); }
.foot-home .brand { font-size: var(--lp-t-d5); }
.foot-drop { width: 30px; height: 30px; flex: none; overflow: visible; }
.foot-drop-d { fill: var(--lp-ink); }
.foot-drop-r { fill: none; stroke: var(--lp-pen); stroke-width: 2.4; stroke-linecap: round; }
.foot-brand p { line-height: 1.5; }
.foot-col { display: grid; gap: 12px; align-content: start; min-width: 0; }
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.foot-col a { color: var(--lp-ink-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.foot-col a:hover, .foot-col a[aria-current="page"] { color: var(--lp-ink); }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; align-items: baseline; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--lp-rule); }
@media (max-width: 760px) { .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- 4 · honest labelling of example content ---------- */
.tag-example {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-family: var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  color: var(--lp-ink-2); border: 1px dashed var(--lp-rule-2); padding: 5px 9px; border-radius: var(--lp-r-1); line-height: 1.2;
}
.tag-example::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px dashed var(--lp-pencil); }
.example-bar { border-bottom: 1px dashed var(--lp-rule-2); font-size: 14px; color: var(--lp-ink-2); background: var(--lp-paper); }
.example-bar p { padding-block: 8px; max-width: none; }
.example-bar b { color: var(--lp-ink); }
.example-bar .short { display: none; }
@media (max-width: 760px) { .example-bar .long { display: none; } .example-bar .short { display: inline; } .example-bar { font-size: 13.5px; } }
.notice { border: 1px solid var(--lp-rule-2); background: var(--lp-sheet); border-radius: var(--lp-r-2); padding: 12px 16px; font-size: 15px; color: var(--lp-ink-2); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-top: 16px; }
.notice b { color: var(--lp-ink); }

/* ---------- 5 · step tag (URL form, email gate) ---------- */
.step-tag { font-family: var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); font-size: 12px; letter-spacing: .04em; color: var(--lp-ink-2); white-space: nowrap; }
.step-tag b { color: var(--lp-ink); font-weight: 600; }

/* ---------- 6 · the pen ---------- */
.pen-layer { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 4; }
.pen-stroke { fill: none; stroke: var(--lp-pen); stroke-width: var(--pen-w, 2.5); stroke-linecap: round; stroke-linejoin: round; }
.pen-halo { fill: none; stroke: var(--lp-pen-halo); stroke-width: calc(var(--pen-w, 2.5) * 1px + 3.5px); stroke-linecap: round; stroke-linejoin: round; }
.pen-dot { fill: var(--lp-pen); stroke: none; }
.pen-hl { fill: none; stroke: var(--lp-hl); stroke-opacity: var(--lp-hl-opacity); stroke-linecap: butt; mix-blend-mode: multiply; }
:root[data-theme="dark"] .pen-hl { mix-blend-mode: normal; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pen-hl { mix-blend-mode: normal; } }
.pen-g.is-pencil .pen-stroke { stroke: var(--lp-pencil); stroke-dasharray: 5 4; }
.pen-g.is-pencil .pen-dot { fill: var(--lp-pencil); }
.pen-g.is-pencil .pen-badge path { stroke: var(--lp-pencil); }
.pen-g.is-pencil .pen-badge text { fill: var(--lp-pencil); }
.pen-g.is-ok .pen-stroke { stroke: var(--lp-ok); }
/* a money opportunity: calm blue, upside, never the red of an error (figure.js toneOf 'warn') */
.pen-g.is-opp .pen-stroke { stroke: var(--lp-opp); }
.pen-g.is-opp .pen-halo { stroke: color-mix(in srgb, var(--lp-opp) 16%, transparent); }
.pen-g.is-opp .pen-dot { fill: var(--lp-opp); }
.pen-g.is-opp .pen-badge path { stroke: var(--lp-opp); }
.pen-g.is-opp .pen-badge text { fill: var(--lp-opp); }
.pen-g.is-leader .pen-stroke { stroke-width: 1.5; opacity: .85; }
.pen-g.is-ink .pen-stroke { stroke: var(--lp-ink); }
.pen-badge path { fill: var(--lp-sheet); stroke: var(--lp-pen); stroke-width: 2; }
.pen-badge.is-filled path { fill: var(--lp-pen); }
.pen-badge text { font-family: var(--lp-f-pen); font-size: 17px; fill: var(--lp-pen); text-anchor: middle; dominant-baseline: central; }
.pen-badge.is-filled text { fill: #fff; }
.pen-note { font-family: var(--lp-f-pen); color: var(--lp-pen); font-size: var(--lp-t-pen); line-height: 1.1; font-weight: 400; letter-spacing: .01em; }
.js .pen-note:not(.is-written) { clip-path: inset(-30% 100% -30% 0); }
.pen-note.is-pencil { color: var(--lp-pencil); }
/* decorative handwriting (not a finding): ink, never the red pen (tokens.css --lp-pen-note) */
.pen-note.is-note { color: var(--lp-pen-note); }
.pen-note.is-opp, .note.is-opp .note-text, .static-notes li.is-opp b { color: var(--lp-opp); }
/* the marker number badge, as HTML (notes, log rows, top list) */
.n-badge {
  display: inline-grid; place-items: center; flex: none; width: 1.5em; height: 1.5em; font-family: var(--lp-f-pen); font-size: 16px; line-height: 1;
  color: var(--lp-pen); border: 1.6px solid currentColor; border-radius: 52% 48% 55% 45% / 50% 55% 45% 50%; background: var(--lp-sheet);
}
.n-badge.is-filled { background: var(--lp-pen); color: var(--lp-sheet); border-color: var(--lp-pen); }
:root[data-theme="dark"] .n-badge.is-filled { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .n-badge.is-filled { color: #fff; } }
.n-badge.is-pencil { color: var(--lp-pencil); border-style: dashed; }
.n-badge.is-opp { color: var(--lp-opp); }
button.n-badge { cursor: pointer; padding: 0; }
.mark { position: relative; }

/* ---------- 7 · figures (screenshots of the visitor's page) ---------- */
.fig { margin: 0; min-width: 0; }
.shot { background: var(--lp-sheet); border-radius: var(--lp-r-2); box-shadow: var(--lp-shadow); outline: 1px solid var(--lp-rule); position: relative; }
.chrome { height: 28px; display: flex; align-items: center; gap: 10px; padding: 0 10px; background: var(--lp-chrome-bg); border-bottom: 1px solid var(--lp-chrome-line); color: var(--lp-chrome-ink); border-radius: var(--lp-r-2) var(--lp-r-2) 0 0; }
.chrome .dots { display: flex; gap: 5px; }
.chrome .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--lp-chrome-line); }
.chrome .addr { flex: 1; min-width: 0; height: 18px; border-radius: 9px; background: var(--lp-chrome-field); display: flex; align-items: center; gap: 5px; padding: 0 9px;
  font: 500 11px/1 var(--lp-f-body); color: var(--lp-chrome-ink); white-space: nowrap; overflow: hidden; position: relative; }
.chrome .addr svg { width: 9px; height: 9px; flex: none; }
.chrome .addr b { color: var(--lp-ink); font-weight: 600; }
.chrome .addr-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--lp-accent); }
.shot-view { position: relative; overflow: hidden; aspect-ratio: var(--crop-ar, 1.6); background: var(--lp-sheet); border-radius: 0 0 var(--lp-r-2) var(--lp-r-2); }
.shot[data-expanded] .shot-view { aspect-ratio: auto; }
.shot-page { position: relative; width: 100%; aspect-ratio: var(--img-ar, 1.6); }
.shot[data-state="empty"] .shot-page, .shot[data-state="loading"] .shot-page { visibility: hidden; }
.shot-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: var(--lp-shot-filter); }
.fold { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed color-mix(in srgb, var(--lp-ink) 55%, transparent); z-index: 2; pointer-events: none; }
.shot--phone .fold span { font-size: 9.5px; padding: 2px 4px; }
.fold span { position: absolute; right: 6px; top: 3px; font: 500 10.5px/1 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .04em; text-transform: uppercase;
  background: var(--lp-ink); color: var(--lp-on-ink); padding: 3px 5px; border-radius: 2px; }
.mk-box { position: absolute; pointer-events: none; }
.shot-empty { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 16px; text-align: center;
  color: var(--lp-ink-2); font-size: 14px; background-color: var(--lp-sheet); background-image: linear-gradient(var(--lp-margin) 1px, transparent 1px); background-size: 100% 24px; z-index: 1; }
.shot[data-state="ready"] .shot-empty { display: none; }
.shot-empty .label { color: var(--lp-ink-2); }
.scanbar { position: absolute; left: -1%; right: -1%; height: 2px; top: 0; background: var(--lp-accent); z-index: 3; pointer-events: none;
  box-shadow: 0 0 14px 3px color-mix(in srgb, var(--lp-accent) 40%, transparent); }
.shot--phone { background: var(--lp-device); outline: 0; border-radius: 22px; padding: 7px; box-shadow: var(--lp-shadow), inset 0 0 0 1px var(--lp-device-rim); }
.shot--phone .shot-view { border-radius: 15px; }
.shot--phone .shot-empty { border-radius: 15px; }
.fig-cap { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 12px; font-size: 14px; color: var(--lp-ink-2); line-height: 1.45; }
.fig-cap .label { color: var(--lp-ink); flex: none; }
.fig-cap .link-btn { font-size: 14px; }

/* Fig. 0 · load timeline (empty state while the page loads) */
.loadtl { width: min(100%, 480px); text-align: left; display: grid; gap: 8px; background: var(--lp-sheet); padding: 16px 18px; border: 1px solid var(--lp-rule); border-radius: var(--lp-r-2); position: relative; }
.loadtl-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.loadtl-head .label:first-child { color: var(--lp-ink); }
.loadtl-axis { position: relative; height: 18px; margin-left: 74px; border-bottom: 1.5px solid var(--lp-ink); font: 500 11px/1 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); color: var(--lp-ink-2);
  background: repeating-linear-gradient(90deg, var(--lp-ink-3) 0 1px, transparent 1px calc(100% / 6)) 0 100% / 100% 5px no-repeat; }
.loadtl-axis span { position: absolute; top: 0; transform: translateX(-50%); }
.loadtl-axis span:first-child { transform: none; }
.loadtl-row { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; font-size: 13.5px; color: var(--lp-ink-2); }
.loadtl-track { position: relative; height: 14px;
  background-image: linear-gradient(90deg, transparent calc(41.667% - .75px), var(--lp-margin-2) calc(41.667% - .75px) calc(41.667% + .75px), transparent calc(41.667% + .75px), transparent calc(66.667% - .75px), var(--lp-margin-2) calc(66.667% - .75px) calc(66.667% + .75px), transparent calc(66.667% + .75px)); }
.loadtl-bar { position: absolute; left: 0; top: 3px; height: 8px; width: 0; background: var(--lp-ink); border-radius: 1px; }
.loadtl-row--marks { margin-top: -6px; }
.loadtl-marks { position: relative; height: 16px; font: 500 11px/1 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); color: var(--lp-ink-2); }
.loadtl-marks span { position: absolute; top: 3px; transform: translateX(-50%); white-space: nowrap; }
/* server copy: on a phone the two centred labels ran into each other ("2.5 s ide4 s slow");
   hang them outward from their lines instead */
@media (max-width: 640px) {
  .loadtl-marks span:first-child { transform: translateX(-100%); padding-right: 4px; }
  .loadtl-marks span:last-child { transform: none; padding-left: 4px; }
}
.loadtl-result { margin-top: 4px; font-size: 14.5px; color: var(--lp-ink-2); min-height: 1.5em; }
.loadtl-result b { color: var(--lp-ink); font-variant-numeric: tabular-nums; font-weight: 600; }
/* timings strip under Fig. 1 */
.timings { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 14px 0 0; border-top: 1.5px solid var(--lp-ink); position: relative; }
.timings div { padding: 9px 12px 2px 0; min-width: 0; }
.timings div + div { padding-left: 12px; border-left: 1px solid var(--lp-rule); }
.timings dt { font: 500 12px/1.3 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .04em; text-transform: uppercase; color: var(--lp-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.timings dd { margin: 5px 0 0; font: 500 17px/1.2 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); font-variant-numeric: tabular-nums; color: var(--lp-ink); white-space: nowrap; }
.timings dd small { display: block; margin-top: 1px; font-size: 12px; color: var(--lp-ink-2); }
.timings dd.is-empty { color: var(--lp-ink-3); }
.timings [data-state="leak"] dd { color: var(--lp-leak); }
.timings [data-state="warn"] dd { color: var(--lp-opp); }   /* a money opportunity: calm, never an error */
/* server copy: 3 columns up to 1360 px (was 1100): at 1280 px five labels were cut to "FIRST B…" */
@media (max-width: 1360px) { .timings { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; } .timings div:nth-child(4) { border-left: 0; padding-left: 0; } }

/* Fig. 3 · email records */
.dns { background: var(--lp-sheet); border: 1px solid var(--lp-rule); border-radius: var(--lp-r-2); box-shadow: var(--lp-shadow-sm); padding: 6px 16px; position: relative; }
.dns-row { display: grid; grid-template-columns: 62px minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(92px, max-content); gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--lp-rule); font-size: 14px; }
/* a record we couldn't confirm, DMARC in monitor mode: calm tags, never an error (scan.js dnsTag) */
.dns-st.st-opp, .dns-st.st-info { font-size: 11.5px; letter-spacing: .02em; padding: 0 7px; }
.dns-row:last-child { border-bottom: 0; }
.dns-type { font: 600 12.5px/1.2 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .04em; }
.dns-host, .dns-val { font: 400 12.5px/1.4 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); overflow-wrap: anywhere; color: var(--lp-ink-2); }
.dns-line { display: contents; }
.dns-row[data-state="leak"] .dns-val, .dns-row[data-state="leak"] .dns-host { color: var(--lp-ink); }
.dns-st { justify-self: end; }
@media (max-width: 640px) {
  .dns-row { grid-template-columns: 52px minmax(0, 1fr) auto; row-gap: 2px; }
  .dns-val { grid-column: 2 / 4; }
  .dns-st { grid-row: 1; grid-column: 3; }
}

/* ---------- 8 · pen notes around a figure ---------- */
.notes { list-style: none; position: relative; min-width: 0; --lp-notes: gutter; }
.notes > li { display: flex; gap: 8px; align-items: flex-start; }
.notes .note-text { font-family: var(--lp-f-pen); color: var(--lp-pen); font-size: var(--lp-t-pen); line-height: 1.08; }
.notes .note-text.is-type { font-family: var(--lp-f-body); font-size: 14.5px; line-height: 1.35; color: var(--lp-ink); }
.notes li.is-pencil .note-text { color: var(--lp-pencil); }
.notes .n-badge { margin-top: 1px; }
.notes li.is-hot .note-text { background: var(--lp-pen-soft); box-shadow: 0 0 0 4px var(--lp-pen-soft); border-radius: 2px; }
.notes li.is-pencil.is-hot .note-text { background: color-mix(in srgb, var(--lp-pencil) 14%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-pencil) 14%, transparent); }
.notes li.is-opp.is-hot .note-text { background: var(--lp-opp-bg); box-shadow: 0 0 0 4px var(--lp-opp-bg); }
/* gutter mode: JS places each note at its marker's height */
.notes[data-mode="gutter"] > li.note { position: absolute; left: 0; right: 0; }
.notes[data-mode="gutter"] > li.note.to-right { flex-direction: row-reverse; text-align: right; }
.notes .notes-more { position: absolute; left: 0; right: 0; display: block; border-top: 1px solid var(--lp-rule); padding-top: 10px; font-size: 14px; color: var(--lp-ink-2); }
.notes[data-mode="flow"] .notes-more { position: static; margin-top: 6px; }
.notes .notes-more ul { list-style: none; display: grid; gap: 6px; margin: 6px 0 8px; }
.notes .notes-more li { display: flex; gap: 8px; align-items: center; }
.notes .notes-more .n-badge { font-size: 14px; }
.notes[data-mode="flow"] { display: grid; gap: 10px; align-content: start; }
/* row mode (landing hero): notes above/below the figure, JS places them along x */
.notes-row { position: relative; list-style: none; min-height: 34px; --lp-notes: row; }
.notes-row > li { position: absolute; top: 0; display: flex; gap: 7px; align-items: center; white-space: nowrap; }
.notes-row .note-text { font-family: var(--lp-f-pen); color: var(--lp-pen); font-size: var(--lp-t-pen); line-height: 1; }

/* ---------- 9 · page rhythm: the lede and the § section rail (landing, report, legal pages) ---------- */
.lede { font-size: var(--lp-t-lede); line-height: 1.55; color: var(--lp-ink-2); max-width: 40ch; margin: 26px 0 30px; }
@media (max-width: 1060px) { .lede { max-width: 48ch; } }

.sec { padding-block: clamp(72px, 8.5vw, 120px); border-top: 1px solid var(--lp-rule); }
.sec-grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.sec-margin { padding-top: 6px; display: grid; gap: 6px; align-content: start; font-family: var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); font-size: 13px; color: var(--lp-ink); }
.sec-no { font-weight: 600; }
.sec-name { color: var(--lp-ink-2); font-size: 12.5px; letter-spacing: .02em; max-width: 14ch; line-height: 1.4; }
.sec-body { border-left: 1px solid var(--lp-margin); padding-left: clamp(28px, 4.2vw, 72px); min-width: 0; }
.sec h2 { font-size: var(--lp-t-h2); max-width: 17ch; }
.sec-intro { font-size: var(--lp-t-lede); color: var(--lp-ink-2); max-width: 50ch; margin-top: 22px; }
.sec-head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 1100px) { .sec-head-split { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .sec-grid { grid-template-columns: 1fr; }
  .sec-margin { margin-bottom: 16px; grid-auto-flow: column; justify-content: start; gap: 12px; }
  .sec-name { max-width: none; }
  .sec-body { border-left: 0; padding-left: 0; }
}

/* the price list (landing, the shared report, the paid report) */
.estimate { margin-top: clamp(40px, 5vw, 60px); border-top: 1.5px solid var(--lp-ink); position: relative; }
.est-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(170px, auto); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--lp-rule); align-items: start; }
.est-row--head { padding: 12px 0; }
.est-r { text-align: right; }
.est-no { font: 500 13px/1 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); color: var(--lp-ink-2); padding-top: 8px; }
.est-main h3 { font-size: var(--lp-t-h3); }
.est-list { list-style: none; margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 28px; color: var(--lp-ink-2); font-size: 16px; max-width: 720px; }
.est-list li { display: flex; gap: 10px; align-items: baseline; }
.est-list li::before { content: ""; flex: none; width: 10px; height: 1.5px; background: var(--lp-ink-3); transform: translateY(-4px); }
.est-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.est-price b { font-family: var(--lp-f-display); font-stretch: 80%; font-weight: 800; font-size: clamp(32px, 3.2vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.est-price b small { font-family: var(--lp-f-body); font-stretch: normal; font-weight: 500; font-size: 14px; color: var(--lp-ink-2); margin-right: 4px; vertical-align: .5em; }
.est-sub { font: 500 12.5px/1.3 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); color: var(--lp-ink-2); }
.free-note { transform: rotate(-3deg); margin-top: 8px; }
@media (max-width: 900px) { .est-list { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .est-row { grid-template-columns: 30px minmax(0, 1fr); gap: 10px 14px; }
  .est-row--head { display: none; }
  .est-price { grid-column: 2; text-align: left; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
  .free-note { margin-top: 0; }
}

/* ---------- 10 · audit head (scan, result, report, order page): the document title ---------- */
.audit-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 48px; align-items: end; padding-top: clamp(20px, 2.4vw, 30px); }
.audit-meta { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--lp-ink-2); }
.audit-meta > span + span::before { content: "·"; margin: 0 .7em; color: var(--lp-ink-3); }
.audit-meta .is-example { color: var(--lp-ink); }
.audit-title { font-size: var(--lp-t-title); font-stretch: 75%; font-weight: 800; letter-spacing: -.02em; line-height: .95; margin-top: 10px; overflow-wrap: anywhere; text-wrap: balance; }
.audit-sub { margin-top: 12px; font-size: 15px; color: var(--lp-ink-2); display: flex; flex-wrap: wrap; gap: 2px 0; }
.audit-sub > span + span::before { content: "·"; margin: 0 .6em; color: var(--lp-ink-3); }
.audit-sub .mono { font-size: 14px; }
@media (max-width: 900px) { .audit-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- 10b · the counts (no 0-100 score, owner decision 2026-10-05) ----------
   "We ran N checks", leaks (red: the pen found something), money opportunities (calm blue: upside,
   never an error), fine, a thin bar with one cell per check, and the things only a real lead can
   check (greyed). Built live by scan.js; server-rendered on the results page and the shared report. */
/* The status colours (--lp-leak, --lp-opp, --lp-fine, --lp-unknown) live in tokens.css, light and dark. */
.counts { display: grid; gap: 8px; min-width: 0; width: 400px; max-width: 100%; justify-self: end; }
.counts-k { color: var(--lp-ink-2); }
.counts-ran { font-family: var(--lp-f-display); font-stretch: 80%; font-weight: 700; font-size: 21px; line-height: 1.15; }
.counts-ran b { font-variant-numeric: tabular-nums; }
/* "(4 didn’t apply to this page)": why fewer checks ran than the log lists */
.counts-na { font-family: var(--lp-f-body); font-stretch: normal; font-weight: 400; font-size: 14px; color: var(--lp-ink-2); }
.counts-list { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 4px 26px; margin-top: 2px; }
.counts-list li { display: grid; gap: 2px; min-width: 0; position: relative; }
.counts-num { font-family: var(--lp-f-figure); font-stretch: var(--lp-figure-stretch); font-weight: var(--lp-figure-weight); font-size: clamp(40px, 3.6vw, 54px); line-height: .95; font-variant-numeric: tabular-nums; letter-spacing: -.01em; justify-self: start; padding: 0 2px; }
.counts-list span { font-size: 14px; line-height: 1.25; color: var(--lp-ink-2); }
.counts-list .c-leak.is-some .counts-num { color: var(--lp-leak); }
.counts-list .c-opp.is-some .counts-num { color: var(--lp-opp); }
.counts-list .c-fine .counts-num { color: var(--lp-fine); }
.counts[data-state="empty"] .counts-num, .counts[data-state="counting"] .counts-num { color: var(--lp-pencil); }
.counts-bar { display: flex; gap: 2px; height: 8px; margin-top: 4px; }
.counts-bar i { flex: 1 1 0; min-width: 2px; border-radius: 1px; background: var(--lp-rule); transition: background-color .3s ease; }
.counts-bar .cb-leak { background: var(--lp-leak); }
.counts-bar .cb-opp { background: var(--lp-opp); }
.counts-bar .cb-fine { background: var(--lp-fine); }   /* muted green, never light blue */
.counts-bar .cb-live { background: repeating-linear-gradient(135deg, var(--lp-rule-2) 0 2px, transparent 2px 4px); }
.counts-live { font-size: 14px; color: var(--lp-ink-3); }
.counts-live b { color: var(--lp-ink-2); font-variant-numeric: tabular-nums; }
.counts-live a { color: inherit; text-underline-offset: 2px; }
.counts-live a:hover { color: var(--lp-ink); }
.counts-note { font-size: 14.5px; line-height: 1.45; color: var(--lp-ink-2); max-width: 44ch; }
.counts[data-state="empty"] .counts-note, .counts[data-state="counting"] .counts-note { opacity: .7; }
.counts[data-state="none"] .counts-list, .counts[data-state="none"] .counts-bar, .counts[data-state="none"] .counts-live { display: none; }
.counts-sumline { margin-top: 14px; font-size: 15px; color: var(--lp-ink-2); }
@media (max-width: 900px) { .counts { justify-self: stretch; width: auto; max-width: 440px; } }
@media (max-width: 560px) {
  .counts-list { gap: 4px 18px; }
  .counts-num { font-size: 38px; }
  .counts-list span { font-size: 13px; }
}

/* ---------- 11 · status line (live scan, order page) ---------- */
.status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 14px; min-height: 30px; }
.status-phase { font: 600 12.5px/1 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .05em; text-transform: uppercase; color: var(--lp-ink); }
.status-text { font-family: var(--lp-f-display); font-stretch: 80%; font-weight: 700; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.15; }
.tally { margin-left: auto; font-size: 14.5px; color: var(--lp-ink-2); display: flex; gap: 14px; flex-wrap: wrap; }
.tally b { font-variant-numeric: tabular-nums; }
.tally .t-leak b { color: var(--lp-leak); }
.tally .t-opp b { color: var(--lp-opp); }
.tally .t-ok b { color: var(--lp-ok); }
@media (max-width: 760px) {
  .status { margin-top: 10px; }
  .status .tally { display: none; }
  .fig-cap { font-size: 13px; }
  .timings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timings dd { font-size: 15px; }
  /* server copy: labels wrap on phones instead of "MAIN CONTE…" */
  .timings dt { white-space: normal; overflow: visible; text-overflow: clip; letter-spacing: .02em; }
}

/* ---------- 12 · audit log ---------- */
.log { position: sticky; top: calc(var(--lp-head-h) + 16px); min-width: 0; }
.log-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1.5px solid var(--lp-ink); }
.log-head h2 { font: 600 13px/1.3 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .05em; text-transform: uppercase; }
.log-count { font: 500 12.5px/1.3 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); color: var(--lp-ink-2); font-variant-numeric: tabular-nums; }
.log-list { list-style: none; position: relative; }
.scan-page .log-list { max-height: calc(100vh - var(--lp-head-h) - 120px); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; padding-right: 4px;
  -webkit-mask-image: linear-gradient(transparent, #000 22px, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(transparent, #000 22px, #000 calc(100% - 22px), transparent); }
.log-group { padding: 18px 0 6px; font: 600 12px/1.3 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .05em; text-transform: uppercase; color: var(--lp-ink); display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--lp-rule-2); }
.log-group span { font-weight: 400; color: var(--lp-ink-2); text-transform: none; letter-spacing: 0; font-size: 12px; }
.chk { display: grid; grid-template-columns: 22px minmax(0, 1fr) minmax(66px, auto); gap: 10px; padding: 10px 0 11px; border-bottom: 1px solid var(--lp-rule); align-items: start; }
.chk-no { font: 500 12px/1 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); color: var(--lp-ink-2); padding-top: 5px; font-variant-numeric: tabular-nums; }
.chk-name { font-size: 15px; font-weight: 600; line-height: 1.3; display: flex; gap: 6px; align-items: baseline; }
.chk-name .n-badge { font-size: 13px; width: 1.45em; height: 1.45em; transform: translateY(1px); }
.chk-stage { display: block; font: 500 12px/1.4 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); color: var(--lp-ink-2); letter-spacing: .02em; margin-top: 2px; }
.log.is-grouped .chk-stage { display: none; }
.chk-detail { font-size: 14px; color: var(--lp-ink-2); line-height: 1.45; margin-top: 3px; }
.chk[data-state="skipped"] .chk-name, .chk[data-state="info"] .chk-name { font-weight: 500; }
.chk[data-state="skipped"] .chk-detail { color: var(--lp-ink-2); }
/* server copy: step 2 unlocks a fix line under each of the top 3 leaks; the others point to the Deep Dive */
.chk-fix { font-size: 14px; color: var(--lp-ink); line-height: 1.45; margin-top: 5px; overflow-wrap: anywhere; }
.chk-fix b { font: 600 12px/1 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .04em; text-transform: uppercase; color: var(--lp-ok); margin-right: 6px; }
.chk-lock { font-size: 13.5px; line-height: 1.45; margin-top: 4px; }
.chk-lock a { color: var(--lp-ink-2); text-underline-offset: 2px; }
.chk-lock a:hover { color: var(--lp-ink); }
.chk.is-new { animation: chk-in .45s cubic-bezier(.2,.7,.3,1); }
@keyframes chk-in { from { opacity: 0; transform: translateY(6px); } }
.log.is-problems .chk:not([data-state="leak"]):not([data-state="warn"]) { display: none; }
.log.is-problems .log-group.is-clean { display: none; }
.log-more { margin-top: 14px; }
.log-manual { margin-top: 22px; }
/* server copy: the manual list is a .log-list too, but must not get the scrolling log's fade mask
   (it faded the first line of "Not visible from outside") */
.scan-page .log-manual .log-list { max-height: none; overflow: visible; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
.log-manual .log-group { padding-top: 0; }
/* its tags name the tier ("Live test", "Deep Dive"): wider than the 66px status column */
.log-manual .chk { grid-template-columns: 22px minmax(0, 1fr) auto; }
.log-manual p { font-size: 14px; color: var(--lp-ink-2); margin: 10px 0 0; }

/* state tags */
.st { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 22px; padding: 0 6px; justify-self: end; margin-top: 1px; white-space: nowrap;
  font: 600 12px/1 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .05em; text-transform: uppercase; border-radius: 2px; color: var(--lp-ink-2); }
.st-run { color: var(--lp-ink); }
.st-run::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.st-ok { color: var(--lp-ok); background: var(--lp-ok-bg); }
.st-warn { color: var(--lp-warn); z-index: 0; }
.st-warn::before { content: ""; position: absolute; inset: 3px 1px 2px; background: var(--lp-warn-bg); transform: skewX(-12deg) rotate(-1.5deg); border-radius: 1px; z-index: -1; }
.st-leak { color: var(--lp-leak); }
.st-leak svg { position: absolute; left: -5px; top: -6px; width: calc(100% + 10px); height: 34px; overflow: visible; }
.st-leak path { fill: none; stroke: var(--lp-pen); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ring .5s .05s cubic-bezier(.4,.1,.3,1) forwards; }
.is-instant .st-leak path { animation: none; stroke-dashoffset: 0; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.st-info { color: var(--lp-info); box-shadow: inset 0 0 0 1px var(--lp-rule-2); }
/* a money opportunity: calm blue, upside, never an error */
.st-opp { color: var(--lp-opp); background: var(--lp-opp-bg); min-width: 0; padding: 0 7px; }
.log .chk .st-opp { font-size: 11px; letter-spacing: .03em; padding: 0 4px; }
.chk[data-state="warn"] .chk-lock a { color: var(--lp-opp); }
.st-skipped { color: var(--lp-skip); box-shadow: inset 0 0 0 1px var(--lp-rule); }
.st-manual { color: var(--lp-info); box-shadow: inset 0 0 0 1px var(--lp-rule-2); background-image: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--lp-rule) 80%, transparent) 4px 5px); }

/* ---------- 13 · form fields (email gate, Deep Dive order form) ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; font: 400 17px/1.3 var(--lp-f-body); color: var(--lp-ink); background: var(--lp-paper); border: 1.5px solid var(--lp-rule-2); border-radius: var(--lp-r-1); padding: 12px; }
.field input:hover { border-color: var(--lp-ink-3); }
.field input:focus { outline: none; border-color: var(--lp-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lp-accent) 18%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--lp-leak); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--lp-ink-2); line-height: 1.45; margin: 4px 0 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--lp-ink); cursor: pointer; }

/* ---------- 15 · static figures and marks (shared report, order page, mockup zoom crops) ---------- */
.static-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 700px) { .static-notes { grid-template-columns: 1fr; } }
.static-fig { overflow: hidden; border-radius: 0 0 var(--lp-r-2) var(--lp-r-2); }
.shot--phone .static-fig { border-radius: 15px; }
.rfig { display: block; width: 100%; height: auto; }
.rfig image { filter: var(--lp-shot-filter); }
.rfig .r-fold { stroke: #141836; stroke-opacity: .55; stroke-width: 1.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.rfig .m-ring { fill: none; stroke: var(--lp-pen); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.rfig .m-halo { fill: none; stroke: var(--lp-pen-halo); stroke-width: 6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.rfig .m-ring.is-pencil { stroke: var(--lp-pencil); stroke-dasharray: 5 4; }
.rfig .r-badge path { fill: var(--lp-sheet); stroke: var(--lp-pen); stroke-width: 2; vector-effect: non-scaling-stroke; }
.rfig .r-badge.is-filled path { fill: var(--lp-pen); }
.rfig .r-badge.is-pencil path { stroke: var(--lp-pencil); stroke-dasharray: 3 2; }
.rfig .r-badge text { font-family: var(--lp-f-pen); fill: var(--lp-pen); text-anchor: middle; dominant-baseline: central; }
.rfig .r-badge.is-filled text { fill: #fff; }
.rfig .r-badge.is-pencil text { fill: var(--lp-pencil); }
/* a money opportunity's static mark (src/checks/penmarks.js): calm blue, never the red of an error */
.rfig .m-ring.is-opp { stroke: var(--lp-opp); }
.rfig .m-halo.is-opp { stroke: color-mix(in srgb, var(--lp-opp) 16%, transparent); }
.rfig .r-badge.is-opp path { stroke: var(--lp-opp); }
.rfig .r-badge.is-opp text { fill: var(--lp-opp); }
/* the badge's pen leader (badges sit outside their rings) and the ghost mark for a missing thing:
   src/checks/penmarks.js, on every static figure and zoom crop */
:is(.rfig, .mk-crop) .m-lead { fill: none; stroke: var(--lp-pen); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
:is(.rfig, .mk-crop) .m-lead.is-opp { stroke: var(--lp-opp); }
:is(.rfig, .mk-crop) .m-lead.is-pencil { stroke: var(--lp-pencil); }
:is(.rfig, .mk-crop) .m-ghost :is(rect, path) { stroke: var(--lp-pen); }
:is(.rfig, .mk-crop) .m-ghost text { fill: var(--lp-pen); }
:is(.rfig, .mk-crop) .m-ghost.is-opp :is(rect, path) { stroke: var(--lp-opp); }
:is(.rfig, .mk-crop) .m-ghost.is-opp text { fill: var(--lp-opp); }
.static-notes { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.static-notes li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 15px; color: var(--lp-ink-2); }
.static-notes li b { display: block; font-family: var(--lp-f-pen); font-weight: 400; color: var(--lp-pen); font-size: 22px; line-height: 1.05; }
.static-notes li.is-pencil b { color: var(--lp-pencil); }
@media print {
  :root { --lp-paper: #fff; }
  .site-head, .site-foot, .no-print, .skip { display: none !important; }
  body { font-size: 11pt; }
  .shot, .dns { box-shadow: none; }
  a { text-decoration: none; }
}

/* ---------- 16 · long text (privacy, terms) ---------- */
.doc { padding-block: clamp(36px, 5vw, 64px) clamp(72px, 8vw, 110px); }
.doc-head { padding-bottom: 26px; border-bottom: 1.5px solid var(--lp-ink); margin-bottom: 10px; }
.doc-head h1 { font-size: clamp(44px, 5.4vw, 76px); font-stretch: var(--lp-display-stretch); font-weight: 800; margin-top: 10px; }
.doc-head p { margin-top: 14px; color: var(--lp-ink-2); max-width: var(--lp-measure); }
.template-note { margin-top: 18px; display: flex; gap: 12px; align-items: baseline; border: 1px dashed var(--lp-rule-2); border-radius: var(--lp-r-2); padding: 12px 14px; font-size: 14.5px; color: var(--lp-ink-2); max-width: 70ch; }
.prose { max-width: var(--lp-measure); }
.prose-sec { display: grid; grid-template-columns: 170px minmax(0, 1fr); padding-top: 34px; }
.prose-sec .sec-margin { padding-top: 10px; }
.prose-sec .prose { border-left: 1px solid var(--lp-margin); padding-left: clamp(24px, 3.4vw, 56px); }
.prose h2 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 12px; }
.prose p, .prose li { color: var(--lp-ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.prose li::marker { color: var(--lp-ink-3); }
.prose b, .prose strong { color: var(--lp-ink); font-weight: 600; }
.prose .ph { background: color-mix(in srgb, var(--lp-hl) 45%, transparent); color: var(--lp-ink); padding: 0 3px; border-radius: 2px; font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--lp-rule); vertical-align: top; }
.prose th { font: 600 12px/1.3 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .04em; text-transform: uppercase; color: var(--lp-ink); border-bottom: 1.5px solid var(--lp-ink); }
.prose td { color: var(--lp-ink-2); }
@media (max-width: 900px) {
  .prose-sec { grid-template-columns: 1fr; }
  .prose-sec .sec-margin { grid-auto-flow: column; justify-content: start; gap: 12px; margin-bottom: 10px; }
  .prose-sec .prose { border-left: 0; padding-left: 0; }
}

/* ---------- 17 · motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .st-run::after { content: "..."; }
}

/* ---------- 18 · server integration (src/server/routes/_public-views.js) ----------
   Additions to the kit for the live server: the honeypot field, flash notices, the shared
   report's plain screenshots, and the report shot crop. Nothing above was changed. */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notice--error { border-color: var(--lp-leak); }
.notice--error b, .notice--error span { color: var(--lp-ink); }
.notice--success { border-color: var(--lp-ok); }
.doc-head .btn { margin-top: 10px; }

/* ---- review 2026-10-01: seller details, owner-only notes, Turnstile, the build link ---- */
.foot-pay { flex-basis: 100%; max-width: none; font-size: 13.5px; color: var(--lp-ink-2); }
.owner-flag { display: inline-block; font: 600 11.5px/1.4 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); color: var(--lp-leak); border: 1px dashed currentColor; border-radius: 4px; padding: 0 5px; vertical-align: baseline; }
.owner-note { border-color: var(--lp-leak); }
.check--optional { margin-top: -6px; }
.check-opt { font: 500 11.5px/1 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); text-transform: uppercase; letter-spacing: .04em; color: var(--lp-ink-2); margin-left: 4px; }
.ts-box { margin: 4px 0 12px; min-height: 65px; max-width: 100%; overflow: hidden; }
.book-link { color: var(--lp-ink); font-weight: 600; }
.notice .notice-line { margin: 0; }
.notice .notice-line + .notice-line, .notice span + .notice-line { margin-top: 6px; }

/* ---- the offer (docs/OFFER.md): its card, at a readable width, and the ladder.
   Shared by the landing page (_landing-views.js), /deep-dive (_deep-dive-views.js) and the reports. ---- */
.tier-cards { display: grid; grid-template-columns: minmax(0, 600px); gap: 22px; margin-top: 20px; align-items: stretch; }
.tier-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(18px, 2vw, 26px); background: var(--lp-sheet); border: 1px solid var(--lp-rule-2); border-radius: var(--lp-r-2); box-shadow: var(--lp-shadow-sm); }
.tier-card--full { border: 1.5px solid var(--lp-ink); box-shadow: var(--lp-shadow); }
.tier-card p { margin: 0; }
.tier-k { font: 500 12px/1.3 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .05em; text-transform: uppercase; color: var(--lp-ink-2) !important; }
.tier-name { font-family: var(--lp-f-display); font-stretch: 80%; font-weight: 780; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.05; letter-spacing: -.01em; margin: 8px 0 0; color: var(--lp-ink); }
.tier-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px !important; }
.tier-price b { font-family: var(--lp-f-display); font-stretch: 80%; font-weight: 800; font-size: clamp(40px, 4vw, 54px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--lp-ink); }
.tier-tag { font: 600 11.5px/1.3 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .05em; text-transform: uppercase; color: var(--lp-ink); border: 1px solid var(--lp-ink); border-radius: 3px; padding: 2px 6px; }
.tier-sub { margin-top: 8px !important; font-size: 15px; line-height: 1.45; color: var(--lp-ink-2); }
.tier-left { margin-top: 8px !important; font-size: 15px; color: var(--lp-ink-2); }
.tier-left b { color: var(--lp-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.tier-list-h { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid var(--lp-rule); font: 600 12px/1.3 var(--lp-f-mono); font-stretch: var(--lp-mono-stretch); letter-spacing: .05em; text-transform: uppercase; color: var(--lp-ink) !important; }
.tier-list { list-style: none; margin: 8px 0 0 !important; padding: 0 !important; display: grid; gap: 7px; font-size: 15px; line-height: 1.45; }
.tier-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; color: var(--lp-ink); }
.tier-list li::marker { content: none; }
/* a tick that just means "included" is ink, never the green of "fine" (the meaning system, tokens.css) */
.tier-list svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--lp-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tier-list--no li { color: var(--lp-ink-2); }
.tier-list--no svg { stroke: var(--lp-ink-3); stroke-width: 2; }
.tier-closed { margin-top: 16px !important; font-size: 14.5px; font-weight: 600; color: var(--lp-ink) !important; }
.tier-card > .btn { margin-top: auto; white-space: normal; text-align: center; line-height: 1.25; }
.tier-card > .tier-list--no { margin-bottom: 22px !important; }
/* the Live Test's credit toward a build: one ink line between dashed rules, above the button */
.tier-card .tier-credit { margin: -8px 0 22px; padding: var(--lp-s-2) 0; border-block: 1px dashed var(--lp-rule-2); font-size: var(--lp-t-small); font-weight: 600; line-height: 1.4; color: var(--lp-ink); }

/* the ladder: Deep Dive + Live Test -> a build */
.ladder { margin-top: 30px; padding: clamp(18px, 2.4vw, 28px); border: 1px dashed var(--lp-rule-2); border-radius: var(--lp-r-2); }
.ladder-h { font-size: clamp(22px, 2vw, 28px); color: var(--lp-ink); margin: 0 0 16px; }
.ladder-steps { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; counter-reset: none; }
.ladder-step { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 10px; align-content: start; min-width: 0; }
.ladder-step::marker { content: none; }
.ladder-step + .ladder-step::before { content: ""; position: absolute; left: -32px; top: 7px; width: 24px; height: 12px; background: var(--lp-ink-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M1 6h20M16 1.5 21.5 6 16 10.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M1 6h20M16 1.5 21.5 6 16 10.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ladder-n { grid-row: 1 / span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--lp-surface-inverse); color: var(--lp-on-inverse); box-shadow: 0 0 0 1px var(--lp-inverse-rim); font: 600 12px/1 var(--lp-f-mono); }
.ladder-name { font-weight: 650; color: var(--lp-ink); line-height: 1.3; }
.ladder-price { font-size: 15px; line-height: 1.4; color: var(--lp-ink-2); }
.ladder-line { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid var(--lp-rule); font-size: 16px; color: var(--lp-ink-2); }
.ladder-line b { color: var(--lp-ink); font-weight: 650; }
.ladder-more { margin-top: 12px; font-size: 15.5px; }
.ladder-more a { color: var(--lp-ink); font-weight: 600; }
@media (max-width: 760px) {
  .ladder-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ladder-step + .ladder-step::before { left: 1px; top: -19px; width: 24px; height: 16px; transform: rotate(90deg); }
}
