/* aiagencynet: the annotated source document.
   Record (AI answer text) in Source Serif 4; reporter (notes, UI) in Libre Franklin.
   Pen blue = annotations and actions. Highlighter yellow = the brand's own mentions, nothing else. */

@font-face { font-family: "Franklin"; src: url("/static/fonts/franklin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Record"; src: url("/static/fonts/serif.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  color-scheme: light;
  --desk: #e6eaef;
  --desk-line: #cfd6df;
  --sheet: #ffffff;
  --ink: #121418;
  --ink-2: #333a44;
  --muted: #545d69;
  --rule: #d5dbe3;
  --rule-strong: #9ba6b4;
  --pen: #1f45b5;
  --pen-hover: #16358f;
  --pen-weak: #e5ebfa;
  --mark: #ffe24d;
  --ghost: #8792a1;
  --numeral: #6b7480;
  --stamp: #a3241b;
  --err: #b42318;
  --ok: #17663a;
  --sans: "Franklin", "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --serif: "Record", "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
  --gutter: 16px;
  --lift: 0 1px 1px rgba(18, 20, 24, .04), 0 8px 24px -12px rgba(18, 20, 24, .18);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --head-h: 57px; /* sticky masthead height: anchors, focus and the sticky TOC clear it */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
/* scroll-padding above: in-page targets (#pricing, #contact, #a-…) and keyboard focus stop below the sticky masthead */
body { margin: 0; background: var(--desk); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-variant-numeric: tabular-nums; caret-color: var(--pen); }
::selection { background: var(--pen-weak); color: var(--ink); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--pen); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--pen-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--pen); outline-offset: 2px; border-radius: 1px; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 1.15rem + 3vw, 3.35rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.05rem); font-weight: 750; line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
b, strong { font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--sheet); padding: 8px 12px; z-index: 60; }
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* scrollbars */
* { scrollbar-color: var(--rule-strong) transparent; scrollbar-width: thin; }

/* ---------------------------------------------------------------- masthead (sticky, always visible) */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--desk); border-bottom: 1px solid var(--desk-line); }
.masthead-row { display: flex; align-items: center; gap: 8px 24px; min-height: calc(var(--head-h) - 1px); }
.topnav { margin-left: auto; }
.masthead-act { display: flex; align-items: center; gap: 10px; }
.btn.btn-head { min-height: 36px; padding: 7px 14px; font-size: .92rem; background: var(--pen); color: #fff; }
.btn.btn-head:hover { background: var(--pen-hover); color: #fff; text-decoration: none; }
.nav-toggle { display: none; align-items: center; gap: 8px; font: inherit; font-size: .92rem; font-weight: 650; color: var(--ink); background: var(--sheet); border: 1px solid var(--ghost); border-radius: 2px; min-height: 36px; padding: 6px 12px; cursor: pointer; }
.nav-toggle:hover { background: var(--pen-weak); }
.nav-toggle .nt-b, .masthead.is-open .nav-toggle .nt-a { display: none; }
.masthead.is-open .nav-toggle .nt-b { display: inline; }
html:not(.js) .masthead-row { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.wordmark { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; }
.wordmark span, .wordmark-sm { box-shadow: inset 0 -.12em 0 var(--pen); }
.wordmark:hover { color: var(--ink); }
.wordmark-sm { font-weight: 800; letter-spacing: -0.02em; }
.topnav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.topnav a:focus-visible { outline-offset: 3px; }
.topnav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 550; padding: 6px 0; border-bottom: 2px solid transparent; }
.topnav a:hover { color: var(--pen); }
.topnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--pen); }

/* ---------------------------------------------------------------- lead + check form */
.lead { padding: clamp(28px, 4vw, 48px) 0 20px; }
.lead h1 { max-width: 30ch; }
.standfirst { font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); line-height: 1.5; color: var(--ink-2); max-width: 74ch; margin: 14px 0 22px; }
.standfirst .sf-note { display: block; margin-top: 6px; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.checkbar { background: var(--sheet); border: 1px solid var(--desk-line); padding: 18px 18px 14px; box-shadow: var(--lift); max-width: 1040px; }
.checkbar-row { display: grid; grid-template-columns: 1fr 1fr 1.5fr auto; gap: 12px; align-items: start; }
.checkbar-row > .btn { margin-top: 25px; }
.checkbar-row-2 { grid-template-columns: 1fr 2fr; margin-top: 12px; }
.checkbar .field { margin: 0; }
.checkbar-more { margin-top: 12px; }
.checkbar-more summary { cursor: pointer; color: var(--pen); font-size: .925rem; font-weight: 600; width: fit-content; list-style: none; }
.checkbar-more summary::-webkit-details-marker { display: none; }
.checkbar-more .chev { display: inline-block; vertical-align: 1px; margin-right: 7px; transition: transform .15s var(--ease-out); }
.checkbar-more[open] .chev { transform: rotate(90deg); }
.checkbar-more summary span { color: var(--muted); font-weight: 400; }
.checkbar-note { margin: 12px 0 0; font-size: .875rem; color: var(--muted); }
.cf-turnstile { margin-top: 12px; }
.cf-turnstile:empty { margin: 0; }

label { display: block; font-weight: 650; font-size: .85rem; margin-bottom: 5px; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--sheet); border: 1px solid var(--ghost); border-radius: 2px; padding: 10px 12px; min-height: 46px; }
input::placeholder, textarea::placeholder { color: #6b7380; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--pen); outline-offset: -1px; border-color: var(--pen); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); box-shadow: inset 3px 0 0 var(--err); }
textarea { min-height: 120px; resize: vertical; }
.err { color: var(--err); font-size: .85rem; margin: 4px 0 0; }
.err:empty { display: none; }
.form-msg { margin: 10px 0 0; font-size: .95rem; }
.form-msg:empty { display: none; }
.form-msg.bad { color: var(--err); }
.form-msg.good { color: var(--ok); }
.field { margin-bottom: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; border-radius: 2px; padding: 12px 20px; min-height: 46px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.btn-primary { background: var(--pen); color: #fff; }
.btn-primary:hover { background: var(--pen-hover); color: #fff; }
.btn-quiet { background: transparent; color: var(--pen); border-color: var(--pen); }
.btn-quiet:hover { background: var(--pen-weak); color: var(--pen-hover); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn[aria-busy="true"]::after { content: ""; width: .9em; height: .9em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.agree { display: flex; gap: 10px; font-weight: 400; font-size: .875rem; color: var(--ink-2); margin: 0 0 12px; align-items: flex-start; }
.agree input { width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--pen); }

/* ---------------------------------------------------------------- the exhibit */
.exhibit-band { padding: 22px 0 64px; }
.exhibit-head { margin-bottom: 14px; max-width: 900px; }
.exhibit-head h2 { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); font-weight: 700; }
.stamp { display: inline-block; margin: 0; color: var(--stamp); border: 1.5px solid var(--stamp); padding: 3px 9px 2px; font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.exhibit { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.exhibit-records { background: var(--sheet); border: 1px solid var(--desk-line); box-shadow: var(--lift); }
.exhibit-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.stepper { align-items: center; gap: 10px; }
.step-pos { margin: 0; font-size: .875rem; color: var(--muted); font-weight: 600; min-width: 7.5em; text-align: center; }
.step-btn { font: inherit; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ghost); background: var(--sheet); color: var(--pen); border-radius: 2px; cursor: pointer; }
.step-btn:hover { background: var(--pen-weak); }
.stepper { display: none; }
.js .stepper { display: flex; }
.js .exhibit-stack .record:not(.is-current) { display: none; }
.exhibit-stack .record + .record { border-top: 1px solid var(--rule); }

/* record = one AI answer, verbatim */
.record { padding: 20px 22px 18px; background: var(--sheet); }
.record-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0 0 8px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.record-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ghost); margin-right: 14px; vertical-align: middle; }
.record-sim { color: var(--stamp); }
.record-q { font-family: var(--sans); font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-weight: 750; line-height: 1.25; letter-spacing: -0.012em; margin: 0 0 16px; color: var(--ink); }
.lines { list-style: none; margin: 0; padding: 0; counter-reset: ln; border-top: 1px solid var(--rule); }
.ln { counter-increment: ln; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr) minmax(140px, 29%); gap: 0 14px; padding: 7px 0; border-bottom: 1px solid #edf0f4; }
.ln::before { content: counter(ln); font: 600 .74rem/2.2 var(--sans); color: var(--numeral); text-align: right; border-right: 1px solid var(--rule); padding-right: 8px; }
.ln-text { font-family: var(--serif); font-size: 1.03rem; line-height: 1.55; color: var(--ink); }
.ln-notes { display: flex; flex-direction: column; gap: 4px; }
.note { font-size: .8rem; line-height: 1.35; color: var(--pen); font-weight: 500; position: relative; padding-left: 14px; }
.note::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; border-top: 1.5px solid currentColor; }
.note b { font-weight: 700; }
.note-brand { color: var(--ink); }
.note-brand::before { border-top: 6px solid var(--mark); top: .35em; }
.note-absent { color: var(--ink-2); margin: 10px 0 0; }
.note-absent::before { width: 8px; height: 8px; border: 1.5px solid var(--ghost); top: .3em; }

mark.hl { background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 100% / 100% 82%; color: var(--ink); padding: 0 .12em; margin: 0 -.06em; font-weight: 600; border-radius: 1px; }
.cm { text-decoration: underline dotted var(--ink-2); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
/* hovering a mark or a margin note lights up every mark of that brand in the same answer */
mark.hl.is-lit { box-shadow: 0 0 0 1.5px var(--pen); }
.cm.is-lit { text-decoration-style: solid; text-decoration-color: var(--pen); color: var(--pen); }
.note.is-lit { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.record [data-e] { cursor: default; }
.record-foot { padding-top: 12px; }
.record-sources { margin: 8px 0 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.record-sources .label { font-weight: 700; color: var(--ink-2); margin-right: 4px; }
.src em { font-style: normal; font-weight: 650; }
.src-own { color: var(--ink); }
.src-own em { background: linear-gradient(transparent 60%, var(--mark) 60%); }

/* the highlighter stroke: one authored moment, on each step */
@media (prefers-reduced-motion: no-preference) {
  .js .exhibit-stack .record.is-drawn mark.hl { animation: stroke .7s var(--ease-out) both; }
  .js .exhibit-stack .record.is-drawn .note { animation: ink .5s .35s var(--ease-out) both; }
}
@keyframes stroke { from { background-size: 0% 82%; } to { background-size: 100% 82%; } }
@keyframes ink { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }

/* tally: unit chart, one cell per answer, absence drawn as a ghost cell */
.exhibit-tally { background: var(--sheet); border: 1px solid var(--desk-line); padding: 18px 18px 16px; box-shadow: var(--lift); }
.exhibit-tally h3 { font-size: 1rem; margin-bottom: 6px; }
.tally-lede { font-size: .9rem; color: var(--ink-2); margin-bottom: 14px; }
.tally-row { margin-bottom: 12px; }
.tally-label { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 4px; font-size: .85rem; }
.tally-name { font-weight: 600; color: var(--ink-2); }
.tally-brand .tally-name { color: var(--ink); font-weight: 750; }
.tally-count { font-weight: 700; }
.tally-count .of { color: var(--muted); font-weight: 500; }
.cells { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; }
.cell { display: block; aspect-ratio: 1 / 1.25; min-height: 6px; border: 1px solid var(--ghost); background: transparent; }
.cell.on { background: var(--ink-2); border-color: var(--ink-2); }
.tally-brand .cell.on { background: var(--mark); border-color: #c9a900; }
.cell.now { outline: 2px solid var(--pen); outline-offset: 1px; position: relative; z-index: 1; }
a.cell:hover { outline: 2px solid var(--pen); outline-offset: 1px; }
.tally-key { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.tally-key .k { display: inline-flex; align-items: center; gap: 6px; }
.tally-key .cell { width: 9px; height: 11px; min-height: 0; display: inline-block; }
.tally-key .k-note { flex-basis: 100%; }
.exhibit-more { font-size: .9rem; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.exhibit-more a { font-weight: 700; }

/* ---------------------------------------------------------------- sections on paper */
.sheet-section { background: var(--sheet); border-top: 1px solid var(--desk-line); padding: clamp(44px, 6vw, 80px) 0; }
.sheet-section + .sheet-section { border-top-color: var(--rule); }
.section-lede { color: var(--ink-2); max-width: 64ch; margin: 12px 0 24px; font-size: 1.05rem; }
.two-up { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.aside-link { font-size: .95rem; margin-top: 16px; }
.aside-link a { font-weight: 700; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* a table wider than its sheet: right-edge shade until the end is reached, first column pinned, a plain-words hint */
.table-scroll.is-overflow, .scroll.is-overflow { background: linear-gradient(to left, rgba(18, 20, 24, .12), rgba(18, 20, 24, 0)) right / 16px 100% no-repeat; }
.table-scroll.is-overflow.at-end, .scroll.is-overflow.at-end { background: none; }
.table-scroll.is-overflow .wide-ok tbody th, .table-scroll.is-overflow .wide-ok thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--sheet); box-shadow: 1px 0 0 var(--rule); }
/* long tables: column titles stay just under the sticky masthead while reading down. Only when the table fits its
   sheet (site.js adds .fits); a sideways-scrolling box would make position:sticky stick to the box, not the page.
   --thead-top is the measured masthead height (site.js), falling back to --head-h. */
.js .table-scroll.fits { overflow: visible; }
.table-scroll.fits .wide-ok thead th { position: sticky; top: var(--thead-top, var(--head-h)); z-index: 2; background: var(--sheet); box-shadow: inset 0 -1.5px 0 var(--ink); }
.scroll-hint { margin: 0 0 6px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.scroll-hint::after { content: " \2192"; }
.ledger { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); }
.ledger thead th { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1.5px solid var(--ink); }
.ledger tbody th { font-weight: 700; white-space: nowrap; }
.ledger td { color: var(--ink-2); }
.ledger .num { text-align: right; white-space: nowrap; font-weight: 650; color: var(--ink); padding-right: 0; }
.ledger tr.total th, .ledger tr.total td { border-top: 1.5px solid var(--ink); border-bottom: 0; }
.ledger tr.total .num { font-size: 1.1rem; font-weight: 800; }

.limits { border-top: 3px solid var(--ink); padding-top: 18px; }
.limits h2 { font-size: 1.3rem; }
.limit-list { list-style: none; margin: 16px 0 0; padding: 0; }
.limit-list li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--rule); color: var(--ink-2); position: relative; font-size: .97rem; }
.limit-list li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 11px; border-top: 1.5px solid var(--pen); }
.limit-list b { color: var(--ink); }

/* pricing comparison */
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.compare thead th { font-size: 1.05rem; font-weight: 750; vertical-align: bottom; border-bottom: 1.5px solid var(--ink); padding-bottom: 14px; }
.compare tbody th { font-weight: 650; color: var(--muted); font-size: .88rem; width: 17%; }
.compare td { color: var(--ink-2); width: 36%; }
.compare .m-only { display: none; }
.compare .col-paid { padding-left: 18px; border-left: 1.5px solid var(--ink); }
.compare thead .col-paid { border-left: 1.5px solid var(--ink); }
.price { display: block; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 4px; }
.price small { font-size: .9rem; font-weight: 550; color: var(--muted); letter-spacing: 0; }
.compare tfoot td, .compare tfoot th { border-bottom: 0; padding-top: 18px; }
.opens-soon { margin: 0; font-size: .95rem; color: var(--ink-2); max-width: 44ch; }
.opens-soon b { color: var(--ink); }
.fine-print { font-size: .875rem; color: var(--muted); margin: 22px 0 0; max-width: 90ch; }

/* faq: answers visible, answer-first */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 24px 0 0; }
.faq-item { padding: 16px 0 6px; border-top: 1px solid var(--rule); break-inside: avoid; }
.faq dt { font-weight: 750; font-size: 1.03rem; margin-bottom: 6px; color: var(--ink); }
.faq dd { margin: 0 0 10px; color: var(--ink-2); font-size: .97rem; }

.contact { background: var(--desk); border-top-color: var(--desk-line); }
.contact .form { background: var(--sheet); border: 1px solid var(--desk-line); padding: 22px; box-shadow: var(--lift); }

/* ---------------------------------------------------------------- colophon */
.colophon { border-top: 1px solid var(--desk-line); padding: 36px 0 44px; font-size: .9rem; color: var(--ink-2); }
.colophon-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.colophon-name { font-weight: 600; color: var(--ink); }
.colophon .fine { color: var(--muted); font-size: .82rem; }
.colophon-links { display: flex; flex-direction: column; gap: 2px; }
.colophon-head { font-weight: 750; color: var(--ink); margin: 0 0 4px; }
.colophon-links a { color: var(--ink-2); width: fit-content; padding: 3px 0; }
.colophon-links a:hover { color: var(--pen); }

/* ---------------------------------------------------------------- live report (app.js) */
.result { padding: 0 0 32px; }
.standalone-wrap { padding-top: 32px; }
/* reserve a screen for the running check, so the report replacing the progress box never shoves the page below it */
.result #result-body { min-height: calc(100vh - var(--head-h) - 48px); }
.report-status { margin: 6px 0 0; }
.report-head h2:focus { outline: none; }
.report-head h2:focus-visible { outline: 2px solid var(--pen); outline-offset: 4px; }
.report { background: var(--sheet); border: 1px solid var(--desk-line); box-shadow: var(--lift); padding: clamp(18px, 3vw, 30px); }
.report-head { border-bottom: 1.5px solid var(--ink); padding-bottom: 14px; margin-bottom: 20px; }
.report-head h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.report-head .dom { font-weight: 500; color: var(--muted); }
.report-meta { font-size: .875rem; color: var(--muted); margin: 6px 0 0; }
.sample-banner { color: var(--stamp); border: 1.5px solid var(--stamp); padding: 6px 10px; font-weight: 700; font-size: .875rem; margin-bottom: 16px; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 26px; }
.figure { padding: 14px 14px 12px 0; }
.figure + .figure { padding-left: 14px; border-left: 1px solid var(--rule); }
.figure .v { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.figure .v small { font-size: .9rem; color: var(--muted); font-weight: 550; }
.figure .l { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.rsec { margin-bottom: 28px; }
.rsec h3 { margin-bottom: 10px; font-size: 1.1rem; }
.bars { display: grid; gap: 8px; max-width: 680px; }
.bar { display: grid; grid-template-columns: minmax(90px, 180px) minmax(0, 1fr) 64px; gap: 10px; align-items: center; font-size: .93rem; }
.bar .track { display: block; height: 12px; border: 1px solid var(--ghost); }
.bar .fill { display: block; height: 100%; background: var(--ink-2); }
.bar.you .fill { background: var(--mark); box-shadow: inset 0 0 0 1px #c9a900; }
.bar.you .name { font-weight: 750; }
.bar .num { text-align: right; color: var(--ink-2); font-weight: 650; }
.bar .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtx { border-collapse: collapse; width: 100%; font-size: .92rem; min-width: 520px; }
.mtx th, .mtx td { border-bottom: 1px solid var(--rule); padding: 9px 10px 9px 0; text-align: left; vertical-align: top; }
.mtx thead th { color: var(--muted); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1.5px solid var(--ink); }
.mtx .c { text-align: center; white-space: nowrap; }
.dot { display: inline-block; width: 10px; height: 12px; vertical-align: -1px; margin-right: 5px; border: 1.5px solid var(--ghost); }
.dot.y { background: var(--mark); border-color: #c9a900; }
.quotes { display: grid; gap: 12px; }
.quote { margin: 0; font-family: var(--serif); font-size: 1.02rem; color: var(--ink); padding: 2px 0 2px 16px; border-left: 1px solid var(--rule-strong); }
.quote .src { display: block; font-family: var(--sans); color: var(--muted); font-size: .8rem; margin-top: 4px; }
.doms { columns: 2; padding-left: 1.2em; margin: 0; }
.doms li { break-inside: avoid; margin-bottom: 4px; }
.tag { font-size: .78rem; color: var(--muted); }
.recs { padding-left: 1.2em; }
.recs li { margin-bottom: .9em; }
.recs .ev { display: block; color: var(--muted); font-size: .86rem; }
.cta { border-top: 1.5px solid var(--ink); padding-top: 20px; margin-top: 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, auto); gap: 20px; align-items: start; }
.cta p { margin: 0; color: var(--ink-2); }
.progress h2 { font-size: 1.3rem; }
.pbar { height: 10px; border: 1px solid var(--ghost); margin: 14px 0 8px; max-width: 520px; }
.pbar span { display: block; height: 100%; width: 4%; background: var(--pen); transition: width .6s var(--ease-out); }
.pbar.is-waiting span { width: 30% !important; animation: wait 1.4s var(--ease-out) infinite alternate; }
@keyframes wait { from { margin-left: 0; } to { margin-left: 70%; } }
.progress-link { font-size: .9rem; margin: 14px 0 0; }
.links { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 20px; font-size: .93rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------- reading pages (guide, method, sample, legal) */
.doc-head { padding: clamp(32px, 5vw, 60px) 0 24px; }
.doc-head h1 { max-width: 22ch; font-size: clamp(1.95rem, 1.2rem + 3vw, 3.2rem); }
.doc-head .standfirst { margin-bottom: 14px; }
.byline { font-size: .85rem; color: var(--muted); margin: 0; }
.doc-body { background: var(--sheet); border-top: 1px solid var(--desk-line); padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 6vw, 80px); }
.doc-grid { display: grid; grid-template-columns: minmax(0, 68ch) minmax(200px, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--head-h) + 20px); font-size: .9rem; border-top: 3px solid var(--ink); padding-top: 12px; }
.toc p { font-weight: 750; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; color: var(--muted); }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--pen); text-decoration: underline; }
.prose { font-family: var(--serif); font-size: 1.12rem; line-height: 1.68; color: var(--ink); }
.prose > * + h2 { margin-top: 2.1em; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin-bottom: .55em; }
.prose h3 { margin: 1.6em 0 .4em; font-size: 1.12rem; }
.prose p, .prose li { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: #f1f3f6; padding: .08em .3em; border-radius: 2px; }
.prose table { font-family: var(--sans); }
.answer-box { font-family: var(--sans); font-size: 1.08rem; line-height: 1.55; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 16px 0 14px; margin: 0 0 2em; }
.answer-box p:last-child { margin-bottom: 0; }
.answer-box .label { display: block; font-size: .8rem; font-weight: 750; color: var(--muted); margin-bottom: 4px; }
.fact, .assume { font-family: var(--sans); font-size: .72em; font-weight: 700; padding: 0 .35em; border: 1px solid currentColor; border-radius: 2px; vertical-align: .12em; white-space: nowrap; text-decoration: none; }
.fact { color: var(--ok); }
.assume { color: var(--muted); }
a.fact:hover { color: var(--ok); background: #eaf5ee; }
.sources { font-family: var(--sans); font-size: .92rem; padding-left: 1.4em; }
.sources li { margin-bottom: .6em; color: var(--ink-2); max-width: none; }
.sources a { word-break: break-word; }
.callout { font-family: var(--sans); font-size: .98rem; background: var(--desk); padding: 14px 16px; margin: 1.4em 0; }
.callout p:last-child { margin-bottom: 0; }
.prose .record, .prose .ledger { font-size: 1rem; }
.prose .record { border: 1px solid var(--desk-line); box-shadow: var(--lift); margin: 1.4em 0; }

/* sample report page */
.sample-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--desk-line); border-bottom: 1px solid var(--desk-line); margin: 22px 0 0; font-size: .9rem; }
.sample-meta div { padding: 12px 14px 12px 0; }
.sample-meta div + div { padding-left: 14px; border-left: 1px solid var(--desk-line); }
.sample-meta dt { font-size: .76rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sample-meta dd { margin: 2px 0 0; font-weight: 600; }
.sample-section { margin-bottom: clamp(40px, 5vw, 64px); }
.sample-section > h2 { margin-bottom: 8px; }
@media (min-width: 900px) { .tally-wide .cells { gap: 3px; } .tally-wide .cell { aspect-ratio: 1 / 1.6; } }
.question-block { border-top: 1.5px solid var(--ink); padding-top: 14px; margin-top: 32px; }
.question-block h3 { font-size: 1.15rem; margin-bottom: 4px; }
.question-block .intent { font-size: .82rem; color: var(--muted); margin: 0 0 12px; }
.question-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.question-pair .record { border: 1px solid var(--rule); padding: 16px 16px 14px; }
.question-pair .record-q { display: none; }
.question-pair .ln { grid-template-columns: 1.7rem minmax(0, 1fr); }
.question-pair .ln-notes { grid-column: 2; }
.record:target { outline: 2px solid var(--pen); outline-offset: 2px; }

/* legal pages */
.legal .prose { font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
.legal .prose h2 { font-size: 1.2rem; }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 8px 0 16px; }
.tbl th, .tbl td { border-bottom: 1px solid var(--rule); text-align: left; padding: 8px 10px 8px 0; vertical-align: top; }
.tbl th { font-weight: 700; color: var(--muted); font-size: .82rem; }
.plain { padding: clamp(40px, 6vw, 80px) 0; }
.plain .steps { padding-left: 1.2em; }
.plain .steps li { margin-bottom: .6em; }

/* category reports (/reports): measured snapshots. Yellow stays on the one product a quote is about. */
.byline a { font-weight: 650; }
.report-answer { max-width: 78ch; }
.report-answer p + p { margin-top: .55em; }
.snapshot-note { font-size: .92rem; color: var(--ink-2); max-width: 92ch; border-top: 1px solid var(--rule); padding-top: 10px; margin: 0; }
.snapshot-note b { color: var(--ink); }
.pc { font-weight: 500; color: var(--muted); font-size: .86em; margin-left: 2px; }
.pairs { margin: 0 0 26px; max-width: 780px; }
.pair-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: .8rem; color: var(--muted); margin: 0 0 8px; }
.pair-key .k { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ink-2); }
.pair-key .k-note { margin-left: auto; }
.sw { display: inline-block; width: 16px; height: 10px; border: 1px solid var(--ink-2); }
.sw-openai, .pb-openai > span { background: var(--ink-2); }
.sw-anthropic, .pb-anthropic > span { background: repeating-linear-gradient(135deg, var(--ink-2) 0 1.5px, transparent 1.5px 4px); }
.pair { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid #edf0f4; font-size: .92rem; }
.pair-name { font-weight: 650; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pair-bars { display: grid; grid-template-columns: minmax(0, 1fr) 2.2rem; gap: 3px 8px; align-items: center; }
.pb { display: block; height: 9px; border: 1px solid var(--ghost); }
.pb > span { display: block; height: 100%; }
.pv { font-size: .8rem; font-weight: 650; color: var(--ink-2); text-align: right; line-height: 1; }
.product-table { min-width: 860px; }
.report-list { min-width: 600px; }
.source-table { min-width: 560px; }
.also-named { font-size: .92rem; color: var(--ink-2); margin: 14px 0 0; max-width: 92ch; }
.report-list tbody th a { font-weight: 700; }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote-record { border: 1px solid var(--rule); padding: 16px 16px 12px; }
.quote-record .quote-q { font-size: 1.05rem; margin-bottom: 12px; }
.quote-record .ln { grid-template-columns: 1.7rem minmax(0, 1fr); }
.quote-record .ln-notes { grid-column: 2; padding-top: 4px; }
.quote-record .record-sources a { font-weight: 650; }
.aliases { margin: 18px 0 0; font-size: .9rem; }
.aliases summary { cursor: pointer; color: var(--pen); font-weight: 650; width: fit-content; list-style: none; }
.aliases summary::-webkit-details-marker { display: none; }
.aliases .chev { display: inline-block; vertical-align: 0; margin-right: 7px; transition: transform .15s var(--ease-out); }
.aliases[open] .chev { transform: rotate(90deg); }
.alias-list { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 12px 0 0; }
.alias-list li { break-inside: avoid; padding: 4px 0; color: var(--ink-2); }
.alias-list code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; color: var(--muted); word-break: break-word; }
.downloads { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 22px 0 0; font-size: .95rem; }
.downloads a:not(.btn) { font-weight: 650; }
.report-cta { border-top: 1.5px solid var(--ink); padding-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; }
.report-cta h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin-bottom: 6px; }
.report-cta p { margin: 0; color: var(--ink-2); max-width: 66ch; }
.log-block { margin-top: 28px; }
.log-block .log-q { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.005em; margin-bottom: 4px; }
.log-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.log-entry { border: 1px solid var(--rule); padding: 12px 14px 10px; font-size: .92rem; }
.log-entry:target { outline: 2px solid var(--pen); outline-offset: 2px; }
.log-entry .record-meta { margin-bottom: 6px; }
.log-opener { font-family: var(--serif); font-size: 1rem; line-height: 1.5; color: var(--ink); margin: 0 0 8px; }
.log-named { margin: 0; color: var(--ink-2); line-height: 1.55; }
.log-named .label, .log-entry .label { font-weight: 700; color: var(--ink-2); margin-right: 4px; }
.nm { white-space: nowrap; color: var(--ink); }
.pos { color: var(--pen); font-weight: 650; font-size: .82rem; }
.home-reports { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.home-reports li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.home-reports a { font-weight: 700; }
.home-reports span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) {
  .quote-grid, .log-grid { grid-template-columns: 1fr; }
  .home-reports li { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pair { grid-template-columns: 1fr; gap: 4px; }
  .pair-key .k-note { margin-left: 0; flex-basis: 100%; }
  .report-cta { grid-template-columns: 1fr; }
  .alias-list { columns: 1; }
  .log-entry, .quote-record { padding: 12px 12px 10px; }
}

/* ---------------------------------------------------------------- responsive */
/* compact masthead: wordmark, Free check, Menu. The nav opens as a panel under the bar (site.js). */
@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .masthead-act { margin-left: auto; }
  .js .topnav { display: none; }
  .js .masthead.is-open .topnav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 4px var(--gutter) 10px; background: var(--sheet); border-bottom: 1px solid var(--desk-line); box-shadow: var(--lift); }
  .js .masthead.is-open .topnav a { padding: 12px 0; min-height: 48px; border-bottom: 1px solid var(--rule); font-size: 1.02rem; }
  .js .masthead.is-open .topnav a:last-child { border-bottom: 0; }
  .js .masthead.is-open .topnav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--pen); padding-left: 12px; border-bottom-color: var(--rule); }
  html:not(.js) .masthead-act { display: none; }
}
@media (max-width: 640px) { :root { --head-h: 53px; } .wordmark { font-size: 1.08rem; } }
@media (max-width: 1060px) {
  .exhibit { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
}
@media (max-width: 900px) {
  .checkbar-row { grid-template-columns: 1fr 1fr; }
  .checkbar-row .field-wide { grid-column: 1 / -1; }
  .checkbar-row .btn { grid-column: 1 / -1; margin-top: 2px; }
  .checkbar-row-2 { grid-template-columns: 1fr; }
  .two-up { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .colophon-grid { grid-template-columns: 1fr 1fr; }
  .colophon-about { grid-column: 1 / -1; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .cta { grid-template-columns: 1fr; }
  .sample-meta { grid-template-columns: 1fr 1fr; }
  .sample-meta div:nth-child(3) { padding-left: 0; border-left: 0; }
  .question-pair { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .checkbar { padding: 12px 12px 10px; }
  .lead { padding-top: 16px; }
  .lead .standfirst { margin-bottom: 16px; }
  .checkbar-row { gap: 8px 10px; }
  .checkbar input { padding-top: 9px; padding-bottom: 9px; }
  .checkbar-note { font-size: .8rem; margin-top: 8px; }
  .exhibit-sub, .sf-long, .record-meta .via, .checkbar-more summary span { display: none; }
  .lead { padding-bottom: 6px; }
  html:not(.js) .masthead-row { row-gap: 0; }
  html:not(.js) .topnav a { padding: 3px 0; }
  .lead .standfirst { margin-top: 8px; }
  .checkbar label { margin-bottom: 4px; }
  .exhibit-band { padding-top: 18px; }
  .exhibit-head { margin-bottom: 10px; }
  .exhibit-head h2 { font-size: 1.15rem; }
  .lead h1 { margin-bottom: 10px; }
  .record-meta { flex-direction: row; gap: 2px 10px; }
  .record-meta span + span::before { display: inline-block; margin-right: 10px; }
  .exhibit-records { display: flex; flex-direction: column; }
  .exhibit-bar { display: contents; }
  .exhibit-records .stamp { order: 0; align-self: flex-start; margin: 12px 14px 0; }
  .exhibit-stack { order: 1; }
  .stepper { order: 2; justify-content: center; padding: 10px 14px; border-top: 1px solid var(--rule); }
  .compare, .compare tbody, .compare tfoot, .compare tr, .compare th, .compare td { display: block; width: auto; min-width: 0; }
  .compare thead { display: none; }
  .compare tr.m-only { display: block; }
  .compare tr.m-only td { font-size: 1.15rem; font-weight: 750; color: var(--ink); }
  .compare tbody tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .compare tbody th, .compare td { border: 0; padding: 2px 0; }
  .compare tbody th { width: auto; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
  .compare tbody td { display: grid; grid-template-columns: 6.4em minmax(0, 1fr); gap: 10px; }
  .compare td::before { content: attr(data-col); font-weight: 650; color: var(--ink); }
  .compare tbody td.col-paid, .compare tfoot td.col-paid { border-left: 0; padding-left: 0; }
  .compare tfoot th { display: none; }
  .compare tfoot td { padding-top: 14px; }
  .compare tfoot td::before { display: none; }

  .ledger thead { display: none; }
  .ledger tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; border-bottom: 1px solid var(--rule); padding: 10px 0; }
  .ledger th, .ledger td { border: 0; padding: 0; }
  .ledger td:not(.num) { grid-column: 1 / -1; grid-row: 2; font-size: .9rem; padding-top: 4px; }
  .ledger tr.total { border-top: 1.5px solid var(--ink); border-bottom: 0; }
  .ledger tr.total th, .ledger tr.total td { border: 0; }
  .ledger.wide-ok thead { display: table-header-group; }
  .ledger.wide-ok tr { display: table-row; padding: 0; }
  .ledger.wide-ok th, .ledger.wide-ok td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); }
  .checkbar-row { grid-template-columns: 1fr 1fr; }
  .checkbar-row .field-wide, .checkbar-row > .btn { grid-column: 1 / -1; }
  .checkbar-row > .btn { margin-top: 2px; }
  .row2 { grid-template-columns: 1fr; }
  .ln { grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0 10px; }
  .ln-notes { grid-column: 2; padding-top: 4px; }
  .record { padding: 16px 14px 14px; }
  .topnav { gap: 2px 16px; }
  .topnav a { font-size: .9rem; }
  .doms { columns: 1; }
  .bar { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .bar .name { grid-column: 1 / -1; white-space: normal; }
  .mtx { min-width: 0; }
  .prose { font-size: 1.06rem; }
  .colophon-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .masthead, .colophon, .cta, .links, .stepper { display: none; }
  body { background: #fff; }
  .report, .exhibit-records { box-shadow: none; }
}
.links-404 { display: flex; flex-wrap: wrap; gap: 12px; }
.answer-box + .snapshot-note { border-top: 0; padding-top: 0; }
