/* bermee.com — one stylesheet. Two surfaces: ink (header, hero, footer, disclosure) and paper (everything else).
   The block between the critical markers is minified and inlined into every page by build.mjs (F27, ≤ 3 KB);
   the whole file then loads asynchronously. Keep the critical block to :root, fonts, base, header, hero and strip. */
/*! critical:start */
:root {
  --ink: #0B0B0F; --paper: #FAFAF7; --coral: #FF6A3D; --violet: #7B5CFF; --muted: #5E5E63; --rule: #D9D9D4; --stripe: #F1F1EC;
  --violet-link: #6646E8;
  --edge: clamp(16px, 5vw, 96px); --max: 1200px; --header-h: 88px;
  --font: Geist, "Geist Fallback", system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
}
@font-face { font-family: Geist; src: url(/assets/fonts/Geist-Variable.subset.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/GeistMono-Variable.subset.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"); font-weight: 100 499; size-adjust: 101.6%; ascent-override: 100.5%; descent-override: 29.5%; line-gap-override: 0%; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"); font-weight: 500 900; size-adjust: 97.8%; ascent-override: 100.5%; descent-override: 29.5%; line-gap-override: 0%; }
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--font); font-feature-settings: "ss01", "tnum"; font-variant-numeric: tabular-nums; }
main { flex: 1 0 auto; }
a { color: var(--violet-link); }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--edge); }
.skip { position: absolute; left: -999px; }
.site-header { background: var(--ink); height: var(--header-h); display: flex; align-items: center; gap: 48px; padding-inline: var(--edge); position: relative; z-index: 5; }
.site-header--overlay { position: absolute; inset: 0 0 auto; background: none; }
.wordmark { line-height: 0; flex: none; }
.wordmark img { width: 170px; height: auto; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--paper); font: 500 15px/20px var(--font); text-decoration: none; padding: 12px 0; }
.account { margin-left: auto; display: flex; align-items: center; }
.btn-login { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid var(--paper); border-radius: 2px; background: var(--ink); color: var(--paper); font: 500 15px/1 var(--font); text-decoration: none; }
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; --edge-top: max(44%, 680px); --edge-bottom: max(30%, 520px); --photo-left: var(--edge-bottom); }
.hero--inner { height: min(clamp(520px, calc(min(100vw - 520px, 70vw) * .5625), 860px), calc(100svh - var(--header-h))); }
.hero--home { --photo-left: 0; height: min(100svh, calc(100vw * .5625), 920px); min-height: 640px; }
.hero__photo { position: absolute; inset: 0 0 0 var(--photo-left); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__panel { position: absolute; inset: 0; background: var(--ink) linear-gradient(45deg, #ffffff07 7%, #0000 7% 50%, #ffffff07 50% 57%, #0000 57%) 0 0 / 10px 10px; clip-path: polygon(0 0, var(--edge-top) 0, var(--edge-bottom) 100%, 0 100%); }
.hero--band .hero__panel { clip-path: none; }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 24px) var(--edge) 56px; max-width: calc(var(--edge) + 620px); }
.hero--inner .hero__content { padding-top: 48px; }
.hero--band .hero__content { max-width: calc(var(--edge) * 2 + 760px); padding: 72px var(--edge); }
.eyebrow { font: 500 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; display: flex; gap: 12px; }
.eyebrow::before { content: ""; width: 4px; height: 16px; background: var(--violet); flex: none; }
.hero .eyebrow { color: #fafaf7d9; margin-bottom: 28px; }
.hero__title { font-size: clamp(40px, 3.9vw, 60px); line-height: 1.06; letter-spacing: -.03em; font-weight: 560; margin: 0 0 22px; max-width: 9.6em; text-wrap: balance; }
.hero--category .hero__title { font-size: clamp(36px, 3.3vw, 52px); }
.hero__body { font-size: 19px; line-height: 1.5; color: #fafaf7e0; max-width: min(42ch, calc(max(30vw, 520px) - var(--edge) - 32px)); margin: 0 0 36px; }
/* home, desktop: three sentences (owner 2026-10-27) in 4 lines of up to 42ch (~56 characters). The bottom of the panel's diagonal
   sits 80px further right than on other heroes (owner: covering a little more of the photo is fine); the top stays, so the face
   in the photo is not covered. Every line stays ~40px or more clear of the diagonal from 1200px up */
@media (min-width: 1200px) { .hero--home { --edge-top: max(44%, 680px); --edge-bottom: max(30%, 600px); } .hero--home .hero__body { max-width: 42ch; text-wrap: balance; } }
.btn { display: inline-flex; align-items: center; height: 60px; padding: 0 48px; background: var(--paper); color: var(--ink); font: 500 17px/1 var(--font); text-decoration: none; border: 1px solid var(--paper); border-radius: 2px; }
.label { display: inline-block; font: 500 13px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--ink); padding: 7px 9px; border-radius: 2px; color: var(--ink); text-decoration: none; }
.hero .label { border-color: var(--paper); color: var(--paper); }
.strip { border-block: 1px solid var(--rule); background: var(--stripe); padding: 20px 0; }
.strip__text { font-weight: 500; margin: 0; }
@media (max-width: 1199px) {
  .hero, .hero--home, .hero--inner { height: auto; min-height: 0; display: grid; }
  .hero > * { grid-column: 1; }
  /* v5 A5: stacked heroes put the message and the action first, the photo after (desktop ≥ 1200 unchanged) */
  .hero__panel { position: relative; z-index: 1; grid-row: 1; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 41px), 0 100%); }
  .hero__content, .hero--inner .hero__content { position: relative; z-index: 2; grid-row: 1; max-width: none; justify-content: flex-start; padding: 40px var(--edge) calc(41px + 40px); }
  .hero__photo { position: relative; z-index: 0; grid-row: 2; margin-top: -41px; aspect-ratio: 16 / 9; }
  .hero__photo img { object-position: 50% 50% !important; }
  .hero--method .hero__photo img { object-position: 50% 30% !important; }
  .hero--band .hero__panel { clip-path: none; }
  .hero--band .hero__content { padding-top: 56px; padding-bottom: 56px; }
  .hero__accent { display: none; }
  .hero__title { font-size: clamp(36px, 5.2vw, 52px); max-width: 14em; }
  .hero__body { max-width: 42ch; }
  .site-header--overlay { position: static; background: var(--ink); }
}
@media (max-width: 767px) {
  :root { --header-h: auto; }
  body { font-size: 16px; }
  .site-header { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "wm acct" "nav nav"; align-items: center; gap: 0; padding: 0 16px; }
  .wordmark { grid-area: wm; } .account { grid-area: acct; } .nav { grid-area: nav; }
  .wordmark { height: 56px; display: flex; align-items: center; }
  .wordmark img { width: 120px; }
  .nav { gap: 20px; height: 44px; align-items: center; }
  .hero__photo { aspect-ratio: 16 / 10; }
  .hero__content, .hero--inner .hero__content { padding-inline: 16px; }
  .hero__title { font-size: 36px; }
  .hero__body { font-size: 17px; margin-bottom: 24px; }
  .btn { height: 48px; padding: 0 28px; }
}
/* the PREVIEW banner sits above the header, so it is styled before first paint (no layout shift) */
.preview-banner { background: #ffd5c6; color: var(--ink); font: 500 14px/1.4 var(--font); padding: 8px 16px; text-align: center; border-bottom: 1px solid var(--ink); }
.preview-banner strong { letter-spacing: .08em; margin-right: 4px; }
/*! critical:end */

/* ---------- base (rest) ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: 44px; } h2 { font-size: 32px; margin-bottom: 24px; } h3 { font-size: 20px; letter-spacing: -.01em; } h4 { font-size: 17px; font-weight: 500; letter-spacing: 0; }
@media (max-width: 767px) { h1 { font-size: 30px; } h2 { font-size: 24px; } h3 { font-size: 18px; } h1, h2 { text-wrap: balance; } }
h2[id], h3[id] { scroll-margin-top: 24px; }
p { margin: 0 0 1em; }
a { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
/* Geist Mono only for tables, formulas, prices and the rank card (C5); prose uses Geist with tabular figures */
td.num, th.num, .mono, code, pre, kbd, .formula, .rate, .headline-row .v { font-family: var(--mono); font-variant-numeric: tabular-nums; }
code, pre { font-size: .92em; }
small { font-size: 13px; }
.muted { color: var(--muted); }
.skip { top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section.band { padding: 48px 0; border-top: 1px solid var(--rule); }
@media (min-width: 768px) { section.band { padding: 64px 0; } }
section.band:first-of-type { border-top: 0; }
.cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.cols > * { grid-column: span 6; }
.wrap.cols--text { grid-template-columns: 4fr 8fr; }
.wrap.cols--text > * { grid-column: auto; }
@media (max-width: 767px) { .cols, .wrap.cols--text { grid-template-columns: 1fr; gap: 16px; } .cols > * { grid-column: 1 / -1; } }
.lede { font-size: 20px; line-height: 1.45; max-width: 60ch; }
.measure { max-width: 68ch; }
.req { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
.field__hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.hint { font-weight: 400; color: var(--muted); }

/* ---------- header and nav (rest) ---------- */
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: .35em; }
.wordmark--small img { width: 120px; }

/* ---------- hero (rest) ---------- */
.hero__stamp { margin: 0 0 28px; }
.hero__accent { position: absolute; width: 4px; height: 130px; background: var(--violet); top: calc(50% - 65px); left: calc((var(--edge-top) + var(--edge-bottom)) / 2 + 28px); z-index: 1; transform-origin: top; }
.hero__note { font-size: 15px; color: #fafaf7cc; margin: 28px 0 0; }
.hero__note a, .hero a.link-arrow { color: var(--paper); }
.cta-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.btn { justify-content: center; min-height: 44px; cursor: pointer; }
.btn:hover { background: #fff; }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); height: 44px; padding: 0 24px; font-size: 15px; }
.btn--ink:hover { background: #222; }
.link-arrow { color: inherit; font: 500 17px/1 var(--font); text-decoration: none; }
.link-arrow--ink { color: var(--ink); font-size: 15px; }
.link-arrow:hover { text-decoration: underline; }
/* targets ≥ 24 × 24 for standalone links (F15) */
.link-arrow, .lb caption a, .metric__code a, .site-footer nav a { display: inline-block; padding: 6px 0; margin: -6px 0; }
/* the one motion device (F26): the accent draws in once; the panel hairline drifts at 2 px/s (2 repaints a second). CSS only. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__accent { animation: accent-in 400ms cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero__panel { animation: hatch-drift 5s steps(10) infinite; }
}
@keyframes accent-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hatch-drift { from { background-position: 0 0; } to { background-position: 10px 0; } }

/* ---------- issue stamp ---------- */
.issue-stamp { white-space: normal; line-height: 1.3; }
a.issue-stamp:hover { text-decoration: underline; }

/* ---------- strips and tables ---------- */
.strip__grid { display: grid; grid-template-columns: 1fr minmax(280px, 400px); gap: 32px; align-items: start; }
.strip__text a { font-weight: 500; }
@media (max-width: 899px) { .strip__grid { grid-template-columns: 1fr; gap: 20px; } }
.table-scroll { overflow-x: auto; }
.table-scroll--sticky { overflow: visible; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; caption-side: bottom; color: var(--muted); font-size: 13px; padding: 12px 0 0; }
th, td { text-align: left; padding: 12px 16px 12px 0; border-top: 1px solid var(--rule); vertical-align: top; }
thead th { font: 500 13px/1.3 var(--font); color: var(--muted); border-top: 0; border-bottom: 1px solid var(--ink); padding-top: 0; }
tbody tr:nth-child(even) { background: var(--stripe); }
tbody th { font-weight: 500; }
td.num, th.num { text-align: right; white-space: nowrap; }
td.num { padding-right: 0; }
td.num:not(:last-child) { padding-right: 24px; }
.cat-table td.num { white-space: nowrap; }
@media (max-width: 639px) { .cat-table .col-country, .sm-table .col-cov { display: none; } .sm-table td.mono { overflow-wrap: anywhere; } }
table .sort { all: unset; cursor: pointer; font: inherit; color: inherit; min-height: 24px; min-width: 24px; display: inline-flex; align-items: center; }
table .sort:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
th[aria-sort="ascending"] .sort::after { content: " ↑"; } th[aria-sort="descending"] .sort::after { content: " ↓"; }
.lb td, .lb th { padding-left: 8px; }
.lb thead th:first-child, .lb td:first-child { padding-left: 0; }
.lb--live thead th { position: sticky; top: 0; background: var(--paper); z-index: 1; }
.lb__empty td { color: var(--muted); padding: 24px 0; font: 500 16px/1.5 var(--font); text-align: left; }
.lb__rate { min-width: 220px; }
.lb td.lb__rank { text-align: left; width: 4.5em; padding-right: 16px; }
.share-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.ci { display: block; position: relative; height: 2px; background: #0b0b0f1f; margin-top: 8px; width: 100%; }
.ci__range { position: absolute; top: 0; height: 2px; background: #0b0b0f66; }
.ci__dot { position: absolute; top: -2px; width: 6px; height: 6px; margin-left: -3px; background: var(--ink); }
.ci-text { color: var(--muted); }
.lb__own, .lb__own:nth-child(even) { background: #fff1ec; box-shadow: inset 3px 0 0 var(--coral); }
.mv { color: var(--muted); } .mv--sig { color: var(--ink); font-weight: 500; }
.keyline { color: var(--muted); font-size: 15px; }
.noteline { color: var(--muted); font-size: 13px; margin: 0 0 4px; }
.downloads { margin-top: 20px; font-size: 15px; }
.also { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); }
.lb-tools { margin-bottom: 16px; max-width: 340px; }
@media (max-width: 639px) {
  .lb--empty thead { position: absolute; left: -9999px; }
  .lb--live thead { position: absolute; left: -9999px; }
  .lb--live, .lb--live tbody, .lb--live tr, .lb--live td, .lb--live th, .lb--live caption { display: block; }
  .lb--live tr { padding: 12px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 2.5em 1fr auto; gap: 4px 12px; align-items: baseline; }
  .lb--live td, .lb--live th { border: 0; padding: 0; text-align: left; }
  .lb--live td:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; font-size: 20px; }
  .lb--live th:nth-child(2) { grid-column: 2; }
  .lb--live td:nth-child(3) { grid-column: 2; grid-row: 2; }
  .lb--live td:nth-child(4) { grid-column: 3; grid-row: 1; }
  .lb--live td:nth-child(5) { grid-column: 3; grid-row: 2; }
  .lb__rate { min-width: 0; }
}

/* ---------- forms ---------- */
.form { margin: 0; display: grid; gap: 14px; max-width: 520px; }
.field { display: flex; flex-direction: column; }
.field__label { font: 500 15px/1.3 var(--font); color: var(--ink); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=search], select, textarea { font: 400 16px/1.3 var(--font); color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 2px; min-height: 44px; padding: 10px 12px; width: 100%; }
input[type=checkbox], input[type=radio] { width: 24px; height: 24px; margin: 0; accent-color: var(--ink); flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check span { padding-top: 2px; }
.form__actions { margin: 4px 0 0; }
.form__status { margin: 0; font-weight: 500; }
.form__status:empty { display: none; }
.form--strip { max-width: 400px; gap: 12px; }
.form--strip .check { font-size: 13px; }
@media (max-width: 639px) { .form input:not([type=checkbox]):not([type=radio]), .form select { width: 100%; } .form .btn { width: 100%; } }
.cf-turnstile:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font: 500 15px/1.3 var(--font); padding: 0; margin-bottom: 10px; }
.radio-col { display: grid; gap: 10px; }
.radio-col label { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.radio-row label { display: flex; gap: 8px; align-items: center; font-size: 15px; min-height: 24px; }
[data-detail][hidden], [data-agency][hidden] { display: none; }
.counts-empty { color: var(--muted); }

/* ---------- pricing ---------- */
.plans-note { font-size: 15px; max-width: 68ch; margin-bottom: 24px; }
.tiers { border-top: 1px solid var(--ink); }
.tier { display: grid; grid-template-columns: 220px 180px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.tier h3 { margin: 0; }
.tier__price { font-family: var(--font); font-variant-numeric: tabular-nums; font-weight: 500; font-size: 20px; line-height: 1.2; margin: 0; }
.tier__talk { font: 500 17px/1.3 var(--font); margin: 0; }
.tier__unit { display: block; color: var(--muted); margin-top: 4px; }
.tier__body p { margin-bottom: .6em; }
.tier__body p:last-child { margin-bottom: 0; }
.tier__state { font-weight: 500; }
@media (max-width: 899px) { .tier { grid-template-columns: 1fr 1fr; } .tier__body { grid-column: 1 / -1; } }
@media (max-width: 639px) { .tier { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- method ---------- */
.method { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 24px; font-size: 15px; max-height: calc(100vh - 48px); overflow: auto; }
.toc ol, .toc-collapse ol { list-style: none; margin: 0; padding: 0; }
.toc li, .toc-collapse li { border-top: 1px solid var(--rule); }
.toc a, .toc-collapse a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; }
.toc a:hover, .toc-collapse a:hover { color: var(--violet-link); }
.toc a[aria-current] { color: var(--violet-link); font-weight: 500; box-shadow: inset 2px 0 0 var(--violet); padding-left: 10px; }
.toc li li a, .toc-collapse li li a { padding-left: 16px; color: var(--muted); font-size: 13px; }
.toc-collapse { display: none; border: 1px solid var(--rule); margin-bottom: 32px; }
.toc-collapse summary { cursor: pointer; padding: 12px 16px; font-weight: 500; min-height: 44px; }
.toc-collapse nav { padding: 0 16px 8px; }
@media (max-width: 1023px) { .method { grid-template-columns: 1fr; } .toc--side { display: none; } .toc-collapse { display: block; } }
.method__body p, .method__body li { max-width: 68ch; }
.method__body h2 { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink); }
.method__body h2:first-of-type { margin-top: 32px; }
.method__body h3 { margin-top: 32px; }
.method__body h2 a, .method__body h3 a { color: inherit; text-decoration: none; }
.method__body h2 a:hover::after, .method__body h3 a:hover::after { content: " #"; color: var(--muted); font-weight: 400; }
.metric { border-top: 1px solid var(--rule); padding: 20px 0; display: grid; grid-template-columns: 64px 1fr; gap: 16px; }
.metric__code { font: 500 15px/1.5 var(--mono); }
.metric h4 { margin: 0 0 4px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.metric p { margin: 0 0 6px; }
.metric .formula { display: block; background: var(--stripe); padding: 8px 12px; margin: 8px 0; font-size: 14px; max-width: 68ch; }
.metric__status { color: var(--muted); font-size: 13px; }

/* ---------- diagram ---------- */
.mdiag-wrap { margin: 32px 0; }
.mdiag { width: 100%; height: auto; display: block; font-family: var(--font); }
.mdiag .d-k { font: 500 26px var(--mono); fill: var(--ink); }
.mdiag .d-k2 { font: 500 15px var(--mono); }
.mdiag .d-t { font: 500 15px var(--font); fill: var(--ink); }
.mdiag .d-f { font: 500 15px var(--mono); fill: var(--ink); }
.mdiag .d-s { font: 400 13px var(--font); fill: var(--muted); }
.mdiag .d-named { fill: var(--ink); font-weight: 600; }
.mdiag--v { display: none; max-width: 340px; }
@media (max-width: 639px) { .mdiag--h { display: none; } .mdiag--v { display: block; } }

/* ---------- misc blocks ---------- */
.disclosure { background: var(--ink); color: var(--paper); padding: 24px 0; font-size: 13px; line-height: 20px; }
.disclosure p { margin: 0 0 8px; }
@media (min-width: 768px) { .disclosure__grid { display: grid; grid-template-columns: 1fr 1.4fr 2fr; gap: 32px; } .disclosure p { margin: 0; } }
main:has(> .disclosure:last-child) + .site-footer { border-top: 1px solid #2a2a30; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.kv dt { color: var(--muted); font-size: 15px; } .kv dd { margin: 0; }
.kv--inline { margin: 24px 0; }
.prompts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.prompts li { display: grid; grid-template-columns: 1fr 220px; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 14px; }
.prompts li small { font-family: var(--font); color: var(--muted); text-align: right; white-space: nowrap; }
@media (max-width: 639px) { .prompts li { grid-template-columns: 1fr; } .prompts li small { text-align: left; } }
.headline-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 24px 0; }
.headline-row .k { color: var(--muted); font-size: 13px; display: block; margin-bottom: 4px; }
.headline-row .v { font-weight: 500; font-size: 28px; line-height: 1.1; }
.headline-row .v small { font-size: 15px; color: var(--muted); }
.headline-row .v--text { font-family: var(--font); font-size: 20px; }
.cards { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; margin-bottom: 32px; }
.cards figure { margin: 0; }
.cards img { width: 100%; height: auto; border: 1px solid var(--rule); }
.cards figcaption { margin-top: 8px; font-size: 15px; }
@media (max-width: 767px) { .cards { grid-template-columns: 1fr; } }
.preview-head { margin: 0 0 8px; }
.preview-note { font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.lb--preview caption { caption-side: top; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ci--placeholder .ci__range { left: 30%; width: 24%; }
/* the citation as a styled quote (brand pages) */
.cite { position: relative; margin: 0 0 16px; max-width: 640px; padding: 24px 24px 20px 64px; background: var(--paper); border: 1px solid var(--ink); border-radius: 2px; }
.cite__mark { position: absolute; left: 22px; top: 24px; width: 28px; height: 28px; }
.cite blockquote { margin: 0; }
.cite__text { font: 400 17px/1.5 var(--font); margin: 0 0 12px; text-wrap: pretty; overflow-wrap: anywhere; }
.cite__source { font: 400 13px/1.4 var(--mono); color: var(--muted); }
.cite__copy { position: absolute; right: 12px; top: 12px; min-width: 24px; min-height: 24px; padding: 4px 10px; font: 500 13px/1 var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 2px; cursor: pointer; }
.cite__copy:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.js .cite { padding-top: 48px; }
@media (max-width: 639px) { .cite { padding: 48px 16px 16px; } .cite__mark { left: 16px; top: 14px; } }
.badges { display: flex; gap: 24px; flex-wrap: wrap; margin: 8px 0 16px; }
.badge { margin: 0; }
.badge img { display: block; }
.badge--on-ink { background: var(--ink); padding: 16px; }
.badge--on-ink figcaption { color: var(--paper); }
.badge--on-ink a { color: #CFC5FF; }
.badge--on-paper { padding: 16px; border: 1px solid var(--rule); }
.badge figcaption { font-size: 13px; margin-top: 10px; }
.embed { max-width: 640px; white-space: pre-wrap; word-break: break-all; font-size: 13px; line-height: 1.5; border: 1px solid var(--rule); }
.kit-list li { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.citation { margin: 0 0 16px; padding: 16px 20px; background: var(--stripe); border-left: 2px solid var(--ink); max-width: 68ch; }
.licence-line { font-size: 13px; color: var(--muted); margin-top: 12px; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer { background: var(--ink); color: var(--paper); padding: 40px 0; font-size: 13px; }
main:not(:has(> .disclosure:last-child)) { padding-bottom: 64px; }
.site-footer .wrap { display: grid; gap: 10px; }
.site-footer p { margin: 0; color: #fafaf7cc; }
.site-footer .site-footer__own { color: var(--paper); font-size: 15px; max-width: 72ch; }
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid #2a2a30; margin-top: 8px; }
.site-footer a { color: var(--paper); }
.notfound h1 { text-wrap: balance; }
.notfound { padding: 96px 0; }
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .cf-turnstile, .form { display: none; } .hero { height: auto; } }
.copy-wrap { position: relative; max-width: 640px; }
.copy-wrap .embed { padding: 44px 16px 14px; }

/* ---------- account area (header) ---------- */
.btn-login:hover { background: #1b1b21; }
.account__in { display: flex; align-items: center; gap: 16px; }
.account__in a { color: var(--paper); font: 500 15px/20px var(--font); text-decoration: none; padding: 10px 0; }
.account__in a:hover { text-decoration: underline; }
.account__initial { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--paper); color: var(--paper); font: 500 14px/1 var(--font); }
[data-account] [hidden] { display: none !important; }

/* ---------- home: scroll cue, #why, published vs private ---------- */
.scroll-cue { color: #fafaf7d9; font: 500 15px/1 var(--font); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; padding: 6px 0; }
.scroll-cue:hover { text-decoration: underline; }
.scroll-cue__arrow { display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .scroll-cue__arrow { animation: cue-drop 600ms cubic-bezier(.2, .7, .2, 1) 500ms 1 both; } }
@keyframes cue-drop { 0% { transform: translateY(0); } 50% { transform: translateY(4px); } 100% { transform: translateY(0); } }
.why h2 { margin-top: 16px; }
.text-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; }
.pp { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); margin-top: 8px; }
.pp__col { padding: 24px 32px 8px 0; }
.pp__col--private { padding: 24px 0 8px 32px; border-left: 1px solid var(--ink); }
.pp__col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pp__tag { font: 500 12px/1 var(--mono); border: 1px solid var(--ink); border-radius: 2px; padding: 4px 6px; }
.pp__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pp__cards li { border: 1px solid var(--rule); border-radius: 2px; padding: 12px 14px; background: #fff; display: flex; gap: 10px; align-items: center; }
.pp__col--private .pp__cards li { background: var(--stripe); }
.pp__lock { flex: none; color: var(--ink); }
.pp__why { margin-top: 24px; font-size: 17px; }
@media (max-width: 767px) { .pp { grid-template-columns: 1fr; } .pp__col { padding: 20px 0 4px; } .pp__col--private { padding: 20px 0 4px; border-left: 0; border-top: 1px solid var(--rule); } }

/* ---------- pricing matrix ---------- */
.matrix-wrap { overflow: visible; }
.matrix { border-collapse: separate; border-spacing: 0; }
.matrix caption { caption-side: top; color: var(--muted); padding: 0 0 12px; font-size: 15px; }
.matrix thead th { position: sticky; top: 0; z-index: 1; background: var(--paper); font: 600 15px/1.3 var(--font); color: var(--ink); vertical-align: bottom; padding: 12px 16px; border-bottom: 1px solid var(--ink); }
.matrix th[scope=row] { font-weight: 400; padding: 12px 16px 12px 0; }
.matrix td { text-align: center; padding: 12px 16px; vertical-align: middle; }
.matrix tbody tr, .matrix tbody tr:nth-child(even) { background: none; }
.matrix tbody td, .matrix tbody th { border-top: 1px solid var(--rule); }
.matrix .matrix__what { text-align: left; padding-left: 0; width: 44%; }
.matrix__col { text-align: center; width: 18.6%; }
.matrix .matrix__col--launch, .matrix thead .matrix__col--launch { background: var(--stripe); }
.matrix thead .matrix__col--launch { box-shadow: inset 0 3px 0 var(--violet); }
.matrix__tag { display: block; font: 500 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.matrix tfoot td { border-top: 1px solid var(--ink); vertical-align: top; text-align: left; padding: 16px; font-size: 14px; }
.matrix__rung { margin: 0 0 8px; }
.tick { display: inline-flex; color: var(--ink); }
.no { color: var(--muted); }
.note { color: var(--muted); display: block; font-size: 12px; }
.matrix-cards { display: none; }
.launch-terms { margin-top: 24px; }
.referee { margin-top: 24px; }
@media (max-width: 639px) {
  .matrix-wrap { display: none; }
  .matrix-cards { display: grid; gap: 16px; }
  .mcard { border: 1px solid var(--ink); border-radius: 2px; padding: 16px; }
  .mcard--launch { background: var(--stripe); box-shadow: inset 0 3px 0 var(--violet); }
  .mcard h3 { margin-bottom: 10px; }
  .mcard ul { margin: 0 0 12px; padding-left: 18px; }
  .mcard li { margin-bottom: 4px; }
}

/* ---------- account and data pages ---------- */
.notice { border: 1px solid var(--ink); border-radius: 2px; padding: 14px 16px; background: var(--stripe); font-weight: 500; }
fieldset[disabled] { opacity: .55; }
.data-tools { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; margin: 16px 0 20px; }
.seg { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); border-radius: 2px; }
.seg__btn { all: unset; cursor: pointer; padding: 10px 14px; font: 500 14px/1 var(--font); min-height: 24px; border-right: 1px solid var(--rule); }
.seg__btn:last-child { border-right: 0; }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg__btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.linkish { all: unset; cursor: pointer; color: var(--violet-link); text-decoration: underline; text-underline-offset: .15em; }
.linkish:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.data-table td.num, .data-table th.num { font-size: 14px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--paper); border-left: 1px solid var(--ink); z-index: 30; overflow: auto; }
.drawer__inner { padding: 24px; }
.drawer__close { all: unset; cursor: pointer; float: right; border: 1px solid var(--ink); border-radius: 2px; padding: 6px 10px; font: 500 13px/1 var(--font); }
.drawer__close:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.drawer__rates, .drawer__sources { list-style: none; padding: 0; margin: 0 0 20px; }
.drawer__rates li { padding: 10px 0; border-top: 1px solid var(--rule); }
.drawer__rates li > span:first-child { display: block; font-weight: 500; }
.drawer__sources li { padding: 6px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.disclosure-line { border-left: 2px solid var(--ink); padding-left: 12px; }

/* ---------- method: the number, plainly (B1) ---------- */
.example { border: 1px solid var(--rule); border-radius: 2px; padding: 16px 20px; background: #fff; max-width: 68ch; margin: 8px 0 16px; }
.example__label { font: 500 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ci-demo { margin: 20px 0 4px; }
.ci-demo__track { position: relative; height: 2px; background: #0b0b0f1f; margin: 26px 0 30px; }
.ci-demo__range { position: absolute; top: 0; height: 2px; background: #0b0b0f99; }
.ci-demo__dot { position: absolute; top: -3px; width: 8px; height: 8px; margin-left: -4px; background: var(--ink); }
.ci-demo__lab { position: absolute; transform: translateX(-50%); font: 500 12px/1 var(--font); color: var(--ink); white-space: nowrap; }
.ci-demo__lab--rate { top: -22px; }
.ci-demo__lab--range { top: 12px; color: var(--muted); }
.ci-demo__axis { display: flex; justify-content: space-between; font: 400 12px/1 var(--mono); color: var(--muted); }

/* ---------- method: how the number is made (B2) ---------- */
.explainer { position: relative; margin: 8px 0 24px; }
.explainer__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 132px; padding: 14px; background: #fff; border: 1px solid var(--ink); border-radius: 2px; }
.step__n { font: 500 12px/1 var(--mono); color: var(--muted); }
.step__k { font: 500 24px/1.1 var(--mono); }
.step__t { font: 500 15px/1.3 var(--font); }
.step:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.step:hover, .step:focus-visible, .step.is-active { border-color: var(--violet); }
.explainer__steps:has(.step:hover) .step:not(:hover), .explainer.is-open .step:not(.is-active) { opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .step { transition: transform 160ms cubic-bezier(.2, .7, .2, 1), border-color 160ms, opacity 160ms; }
  .step:hover, .step:focus-visible, .step.is-active { transform: translateY(-3px) scale(1.04); }
  .explainer__panel:not([hidden]) { animation: panel-in 220ms cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes panel-in { from { transform: translateX(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.explainer__panel { position: absolute; left: 0; top: 0; width: 360px; max-width: 100%; min-height: 100%; z-index: 4; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 2px; padding: 20px 20px 16px; box-sizing: border-box; }
.explainer__close { all: unset; cursor: pointer; position: absolute; right: 12px; top: 12px; border: 1px solid var(--ink); border-radius: 2px; padding: 6px 10px; font: 500 13px/1 var(--font); }
.explainer__close:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.explainer__panel h4 { font-size: 18px; margin: 0 0 8px; padding-right: 72px; }
.explainer__param { font: 400 13px/1.5 var(--mono); color: var(--muted); }
.explainer__list { margin: 24px 0 0; padding-left: 20px; }
.explainer__list li { margin-bottom: 14px; }
.explainer__list h4 { margin: 0 0 4px; }
.explainer.is-enhanced .explainer__list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 767px) {
  .explainer__steps { grid-template-columns: 1fr 1fr; }
  .step { min-height: 96px; }
  .explainer__panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; min-height: 0; max-height: 70vh; overflow: auto; border-width: 1px 0 0; border-radius: 0; padding-bottom: 28px; z-index: 40; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) { .explainer__panel:not([hidden]) { animation: sheet-in 220ms cubic-bezier(.2, .7, .2, 1) both; } }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.story-photo { margin: 0 0 16px; } .story-photo img { width: 100%; height: auto; }

/* ---------- full-data grid: scrolls inside its own box; header row and the rank + brand columns stay pinned ---------- */
.data-grid { overflow: auto; max-height: min(78vh, 960px); border-bottom: 1px solid var(--rule); }
.data-grid:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.data-table { min-width: 1180px; }
.data-table caption { caption-side: bottom; text-align: left; padding-top: 12px; }
.data-table thead th { position: sticky; top: 0; z-index: 2; background: var(--paper); font: 500 13px/1.3 var(--font); letter-spacing: 0; white-space: normal; vertical-align: bottom; min-width: 7.5em; padding-top: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.data-table tbody tr { background: var(--paper); }
.data-table tbody tr:nth-child(even) { background: var(--stripe); }
.data-table .pin { position: sticky; z-index: 1; background: inherit; }
.data-table thead .pin { z-index: 3; background: var(--paper); }
.data-table .pin--rank { left: 0; width: 64px; min-width: 64px; max-width: 64px; box-sizing: border-box; white-space: nowrap; }
.data-table .pin--brand { left: 64px; min-width: 176px; white-space: nowrap; box-shadow: inset -1px 0 0 var(--rule); padding-right: 16px; text-align: left; }
.data-table .data-table__rate, .data-table td.lb__rate { min-width: 168px; }
.data-table td.num { white-space: nowrap; }
@media (max-width: 767px) { .data-grid { max-height: 70vh; } .data-table .pin--brand { min-width: 132px; } }

/* ---------- /login/ tabs, password field ---------- */
.auth-tabs { display: flex; border-bottom: 1px solid var(--rule); margin: 8px 0 20px; }
.auth-tabs [role=tab] { all: unset; cursor: pointer; padding: 12px 2px; margin-right: 28px; font: 500 16px/1 var(--font); color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tabs [role=tab][aria-selected=true] { color: var(--ink); border-bottom-color: var(--ink); }
.auth-tabs [role=tab]:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.auth-panel h2 { font-size: 20px; margin: 8px 0 12px; }
.auth-panel .form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pw { position: relative; display: block; }
.pw input { padding-right: 76px; }
.pw__toggle { all: unset; cursor: pointer; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 8px 10px; font: 500 14px/1 var(--font); color: var(--ink); }
.pw__toggle:focus-visible { outline: 2px solid var(--violet); outline-offset: 0; }
.form fieldset:has(> .field) { display: grid; gap: 14px; }

/* ---------- the live board (home #live on ink, category page on paper) and the metric explainers ---------- */
.board { --b-fg: var(--ink); --b-muted: var(--muted); --b-rule: var(--rule); --b-stripe: var(--stripe); --b-track: #0b0b0f1f; --b-range: #0b0b0f66; --b-dot: var(--ink); --b-accent: var(--violet-link); }
.board__table { color: var(--b-fg); }
.board__table thead th { color: var(--b-muted); border-bottom-color: var(--b-fg); vertical-align: bottom; }
.board__table td, .board__table tbody th { border-top-color: var(--b-rule); vertical-align: middle; }
.board__table tbody tr:nth-child(even) { background: var(--b-stripe); }
.board__table caption { color: var(--b-muted); }
.board__table td, .board__table th { padding-left: 8px; }
.board__table .board__rank { width: 3.5em; padding-left: 0; text-align: left; }
.board__table .board__p1 { min-width: 230px; }
.board__table .board__brand a { color: var(--b-fg); font-weight: 500; }
.board .ci { background: var(--b-track); margin-top: 6px; }
.board .ci__range { background: var(--b-range); }
.board .ci__dot { background: var(--b-dot); }
.tie { margin-left: 1px; color: var(--b-muted); }
.xh { all: unset; cursor: pointer; font: 500 13px/1.3 var(--font); color: inherit; border-bottom: 1px dotted currentColor; min-height: 24px; display: inline-flex; align-items: center; }
.xh:hover { color: var(--b-fg, var(--ink)); }
.xh--card { display: none; }
.xh__note { display: block; font-size: 12px; color: var(--b-muted, var(--muted)); }
.xv { all: unset; cursor: pointer; display: inline-flex; flex-direction: column; align-items: inherit; min-height: 24px; border-radius: 2px; }
td.num .xv { align-items: flex-end; }
.xv .rate { font-size: 16px; border-bottom: 1px dotted transparent; }
.xv:hover .rate { border-bottom-color: currentColor; }
.xv__sub { font: 400 12px/1.3 var(--mono); color: var(--b-muted, var(--muted)); }
.xh:focus-visible, .xv:focus-visible, .wm:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.wm { all: unset; cursor: pointer; margin-left: 8px; font: 500 11px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--b-accent, var(--violet-link)); border: 1px solid currentColor; border-radius: 2px; padding: 3px 5px; white-space: nowrap; }
.tag--preview { display: inline-block; font: 500 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: #ffd5c6; border-radius: 2px; padding: 4px 6px; }
@media (max-width: 639px) { /* the board as cards */
  .board__table thead { position: absolute; left: -9999px; }
  .board__table, .board__table tbody, .board__table tr, .board__table td, .board__table th, .board__table caption { display: block; }
  .board__table tbody tr { display: grid; grid-template-columns: 2.4em 1fr 1fr 1fr; gap: 6px 10px; padding: 14px 0; border-top: 1px solid var(--b-rule); }
  .board__table tbody tr:nth-child(even) { background: none; }
  .board__table td, .board__table tbody th { border: 0; padding: 0; text-align: left; }
  .board__table .board__rank { grid-column: 1; grid-row: 1 / span 3; font-size: 20px; width: auto; }
  .board__table .board__brand { grid-column: 2 / -1; }
  .board__table .board__p1 { grid-column: 2 / -1; min-width: 0; }
  .board__table .xh--card { display: flex; width: max-content; font: 500 11px/1.3 var(--font); color: var(--b-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
  .board__table td.num .xv { align-items: flex-start; }
  .board__table caption { padding-top: 14px; }
}

/* home #live: ink surface, fine grain, violet accents (no gradient wash) */
.live { position: relative; background-color: var(--ink); color: var(--paper); padding: 72px 0 64px; isolation: isolate; }
.live::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.live h2 { color: var(--paper); margin: 0; }
.live__eyebrow { color: #fafaf7b3; }
.live__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; margin-bottom: 24px; }
.live__picker { display: grid; gap: 6px; min-width: min(100%, 320px); }
.live__picker-label { font: 500 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #fafaf7b3; }
.live__picker select { background: #16161c; color: var(--paper); border: 1px solid #fafaf766; min-height: 44px; }
.live__picker select:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.live__meta { color: #fafaf7cc; font-size: 15px; margin: 0 0 16px; }
.live .board { --b-fg: var(--paper); --b-muted: #fafaf7a6; --b-rule: #fafaf726; --b-stripe: #ffffff08; --b-track: #fafaf72e; --b-range: #fafaf78c; --b-dot: var(--paper); --b-accent: #b6a5ff; }
.live .board__table thead th { border-bottom-color: #fafaf766; }
.live .board__table tbody tr:first-child .ci__dot { background: var(--violet); }
.live__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 28px 0 0; }
.btn--violet { background: var(--violet); color: #fff; border-color: var(--violet); height: 48px; padding: 0 24px; font-size: 16px; }
.btn--violet:hover { background: #6a4bf0; }
.btn--line { background: transparent; color: var(--paper); border: 1px solid #fafaf799; height: 48px; padding: 0 20px; font-size: 15px; }
.btn--line:hover { background: #ffffff14; }
.live__empty { border: 1px solid #fafaf733; border-radius: 2px; padding: 24px; }
.live__empty .muted { color: #fafaf7a6; }
.live__links { margin-top: 24px; }
.live__links a { color: var(--paper); }
.live .link-arrow:focus-visible, .live a:focus-visible, .live .btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* the explainer panel: side panel ≥ 768 px, bottom sheet below */
.xpanel { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 100vw); z-index: 60; background: var(--paper); color: var(--ink); border-left: 1px solid var(--ink); padding: 24px 24px 32px; overflow: auto; box-sizing: border-box; box-shadow: -12px 0 32px #0b0b0f1f; }
.xpanel__close { all: unset; cursor: pointer; float: right; border: 1px solid var(--ink); border-radius: 2px; padding: 8px 12px; font: 500 13px/1 var(--font); }
.xpanel__close:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.xpanel__title { font-size: 20px; margin: 4px 0 16px; padding-right: 84px; }
.xpanel__sentence { font: 500 18px/1.45 var(--font); }
.xpanel__dl { margin: 0 0 16px; }
.xpanel__dl dt { font: 500 12px/1.3 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.xpanel__dl dd { margin: 4px 0 0; }
@media (prefers-reduced-motion: no-preference) { .xpanel:not([hidden]) { animation: xpanel-in 200ms cubic-bezier(.2, .7, .2, 1) both; } }
@keyframes xpanel-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 767px) {
  .xpanel { top: auto; left: 0; width: auto; max-height: 72vh; border-left: 0; border-top: 1px solid var(--ink); box-shadow: 0 -12px 32px #0b0b0f26; padding-bottom: 40px; }
  @media (prefers-reduced-motion: no-preference) { .xpanel:not([hidden]) { animation-name: xsheet-in; } }
}
@keyframes xsheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.board__table tr[hidden] { display: none !important; }

/* ---------- full-data page (signed in) ---------- */
.data-meta { margin: 0 0 12px; }
.data-nav { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 12px 0; margin: 0 0 8px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.data-nav a { font: 500 14px/1.6 var(--font); color: var(--ink); }
.data-withheld { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.data-sec { padding: 40px 0 8px; border-top: 1px solid var(--rule); margin-top: 32px; scroll-margin-top: 64px; }
.data-sec:first-of-type { border-top: 0; }
.data-sec h3 { margin: 32px 0 12px; font-size: 18px; }
.data-table td.data-p1 { min-width: 150px; }
.data-table td.data-p1 .xv { align-items: flex-end; }
.data-table .ci { margin-top: 6px; }
.nm { font-size: 13px; color: var(--muted); font-style: italic; white-space: normal; }
/* top sources by assistant: the domain on its own line, then its bar, share and 95% range; 4 / 2 / 1 cards a row */
.eng-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .eng-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .eng-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.eng-card { border: 1px solid var(--rule); border-radius: 2px; padding: 14px 16px 16px; background: #fff; }
.eng-card__head { padding-bottom: 10px; margin-bottom: 2px; border-bottom: 1px solid var(--rule); }
.eng-card__head h4 { margin: 0; font-size: 15px; }
.eng-card__n { display: block; margin-top: 2px; font: 400 12px/1.3 var(--mono); color: var(--muted); }
.src-list { list-style: none; margin: 0; padding: 0; }
.src-row { display: grid; grid-template-columns: 1.3em minmax(0, 1fr) auto 4.6ch; column-gap: 8px; row-gap: 5px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.src-row:last-child { border-bottom: 0; padding-bottom: 0; }
.src-row__rank { grid-row: 1; font: 400 12px/1 var(--mono); color: var(--muted); }
.src-row__domain { grid-row: 1; grid-column: 2 / -1; font-size: 13px; line-height: 1.35; }
.src-row__bar { grid-row: 2; grid-column: 2; height: 4px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.src-row__bar > span { display: block; height: 100%; background: var(--violet); }
.src-row__share { grid-row: 2; grid-column: 3; justify-self: end; }
.src-row__share .xv .rate { font-size: 15px; font-weight: 500; }
.src-row__ci { grid-row: 2; grid-column: 4; justify-self: end; font: 400 12px/1.3 var(--mono); color: var(--muted); }
.eng-cards__note { margin-top: 12px; font-size: 13px; }
.check--agree .req { margin-left: 6px; padding-top: 0; }
.check--agree .field__hint { display: block; margin-top: 4px; padding-top: 0; }
.comp-pick { margin: 0 0 16px; }
.comp-pick__list { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.comp-pick input:disabled + span { color: var(--muted); }
.comp-focus { box-shadow: inset 3px 0 0 var(--violet); }
.tag { display: inline-block; font: 500 11px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--rule); border-radius: 2px; padding: 3px 5px; color: var(--muted); margin-left: 6px; vertical-align: middle; }
.c3-table .ci { max-width: 320px; }
.next-list { list-style: none; padding: 0; margin: 0; max-width: 560px; }
.next-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.btn--line-ink { background: transparent; color: var(--ink); border: 1px solid var(--ink); height: 44px; padding: 0 20px; font-size: 15px; }
@media (max-width: 639px) { .data-nav { position: static; } .data-tools { gap: 12px; } }
.data-table.c3-table { min-width: 0; max-width: 760px; } .c3-table .ci { max-width: 240px; }
.data-table .pin--lead { left: 0; }
.data-nav { position: static; }

/* ---------- v5 A1: the publication-state component ---------- */
.issue-state__label { font-weight: 600; }
.issue-state[data-issue-state="preview"] .issue-state__label { background: #ffd5c6; color: var(--ink); border-radius: 2px; padding: 1px 5px; }
.live .issue-state[data-issue-state="preview"] .issue-state__label { background: #ffd5c6; }
.cite__text .issue-state__label, .citation .issue-state__label { font-weight: inherit; background: none !important; padding: 0; color: inherit; }
.issue-stamp .issue-state__label { padding: 0 4px; }
.correction { border-left: 3px solid var(--ink); padding: 8px 0 8px 16px; margin-top: 24px; }
.systems.issue-details { margin-top: 0; }
.issue-details__text { margin: 8px 0 0; font-size: 15px; line-height: 1.5; }
.issue-details__sample { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.live .issue-details__text { color: var(--paper); }
.live .issue-details__sample { color: #fafaf7b3; }
/* v5 A4: Systems measured — a native <details>, readable without JS */
.systems { margin: 16px 0 0; }
.systems summary { cursor: pointer; font: 500 15px/1.4 var(--font); padding: 8px 0; min-height: 24px; }
.systems summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.systems__table { font-size: 14px; margin-top: 8px; }
.systems__table td.mono { overflow-wrap: anywhere; font-size: 13px; }
.live .systems summary { color: var(--paper); }
.live .systems__table { color: var(--paper); }
.live .systems__table thead th { color: #fafaf7a6; border-bottom-color: #fafaf766; }
.live .systems__table td, .live .systems__table th { border-top-color: #fafaf726; }
.live .systems__table tbody tr:nth-child(even) { background: #ffffff08; }
/* v5 A8: the within-margin line under the board */
.board__note { font-size: 14px; color: var(--b-muted, var(--muted)); margin: 10px 0 0; }
.kv dd { min-width: 0; }
.systems, .systems .table-scroll { max-width: 100%; min-width: 0; }

/* ---------- pricing: commission / sponsor / agency as offer cards ---------- */
.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 8px 0 24px; align-items: stretch; }
.offer { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 2px; padding: 24px 24px 20px; }
.offer__title { margin: 0 0 16px; font-size: 20px; }
.offer__price { margin: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.offer__amount { font: 600 36px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.offer__unit { color: var(--muted); font-size: 15px; }
.offer__note { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.offer__ladder { list-style: none; display: flex; margin: 16px 0 0; padding: 0; border: 1px solid var(--rule); border-radius: 2px; }
.offer__ladder li { flex: 1; padding: 8px 10px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 2px; }
.offer__ladder li:first-child { border-left: 0; }
.offer__ladder li.is-now { background: var(--stripe); box-shadow: inset 0 2px 0 var(--violet); }
.offer__step { font: 500 15px/1.2 var(--font); font-variant-numeric: tabular-nums; }
.offer__step-l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.offer__list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.offer__list li { padding-left: 18px; position: relative; }
.offer__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 1px; background: var(--ink); }
.offer__cta { margin: auto 0 0; padding-top: 20px; }
.offer__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 500 15px/1.2 var(--font); color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }
.offer__link::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link's target */
.offer:hover { border-color: var(--ink); }
.offer:hover .offer__link { color: var(--violet-link); }
.offer:focus-within { outline: 2px solid var(--violet); outline-offset: 2px; }
.offer__link:focus-visible { outline: none; }
.offer.is-selected { border-color: var(--violet); box-shadow: inset 0 3px 0 var(--violet); }
@media (prefers-reduced-motion: no-preference) { .offer { transition: border-color 160ms, transform 160ms cubic-bezier(.2, .7, .2, 1); } .offer:hover { transform: translateY(-2px); } }
@media (max-width: 1023px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .offers { grid-template-columns: 1fr; } .offer__amount { font-size: 32px; } }
.offer { padding: 22px 20px 18px; }
.offer__list a, .offer__foot a { position: relative; z-index: 1; color: var(--violet-link); }
.offer__datanote { color: var(--muted); }
.offer__foot { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.matrix__text { font: 500 14px/1.3 var(--font); }
.report-fields { display: grid; gap: 14px; }
.faq dt { font-weight: 600; margin-top: 18px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 6px 0 0; }


/* /contact/ */
.contact-form textarea { font: 400 16px/1.5 var(--font); }
.contact-sent { border-top: 1px solid var(--ink); padding-top: 24px; margin-top: 8px; }
.contact-sent:focus { outline: none; }

/* /data/<category>/ before the private file is uploaded (PART O5) */
.data-empty { border-top: 1px solid var(--ink); padding: 24px 0 8px; max-width: 64ch; }
.data-empty h2 { margin: 0 0 12px; }

/* four tiles: title · price · note · price steps · terms · CTA · footnote share rows across a line of tiles (subgrid),
   so every CTA sits on the same line; browsers without subgrid keep the flex column */
@supports (grid-template-rows: subgrid) {
  .offer { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; align-content: start; }
  .offer__cta { margin: 0; padding-top: 20px; align-self: end; }
  .offer__slot { display: block; }
}
.offer__list { align-content: start; }
.offer__link { display: inline-block; padding: 12px 0; min-height: 0; }
