/* Prosp site styles. System fonts only: nothing is fetched from another host. */
:root {
  --bg: #fbfcf9;
  --fg: #202d2b;
  --muted: #586663;
  --line: #dfe5df;
  --panel: #f0f3ed;
  --panel-2: #f0f2ec;
  --line-2: #d9e0d5;
  --brand: #245c43;
  --brand-mark: #245c43;
  --brand-ink: #245c43;
  --brand-hover: #17452f;
  --on-brand: #ffffff;
  --accent: #d2ed8b;
  --accent-hover: #e2f2ba;
  --on-accent: #203e2c;
  --link-line: #b8c2b9;
  --dot: #548146;
  --chart-2: #b85c00;
  --warn-bg: #fff4d6;
  --warn-fg: #6b4a00;
  --code-bg: #eef1ea;
  --th-ink: #5a695a;
  --th-bg: #f5f7f1;
  --td-ink: #5a665a;
  --table-bg: #fafcf8;
  --table-line: #d8e2d5;
  --card: #ffffff;
  --card-line: #d4dfd4;
  --card-shadow: #365a44;
  --card-top: #f4f7f1;
  --line-strong: #bdc9bc;
  --chip: #f2f5ee;
  --chip-line: #e3e8df;
  --chip-ink: #50634e;
  --icon-1: #e3eddb;
  --icon-2: #e8e6f4;
  --icon-3: #f3e9d9;
  --status: #548146;
  --fg-soft: #4c5b51;
  --step-bg: #eeefe7;
  --step-green: #e5eddd;
  --pill: #e8efdf;
  --pill-ink: #375d39;
  --radius: 8px;
  --radius-lg: 16px;
  --max: 72rem;
  --band: #244c3b;
  --band-glow: #47704b;
  --on-band: #f6faef;
  --band-eyebrow: #ddeace;
  --band-muted: #dfe8df;
  --band-pre: #1a3a2c;
  --band-line: #3d6150;
  --prose: 46rem;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;  --art1-bg: #e4eacb;
  --art1-ink: #45613e;
  --art2-bg: #dce8ec;
  --art2-ink: #3b6070;
  --art3-bg: #e9ddd3;
  --art3-ink: #715348;
}
@media (prefers-color-scheme: dark) {
  :root {
    --band: #244c3b;
    --band-glow: #47704b;
    --on-band: #f6faef;
    --band-eyebrow: #ddeace;
    --band-muted: #dfe8df;
    --band-pre: #1a3a2c;
    --band-line: #3d6150;
    --bg: #111714;
    --fg: #e4ebe6;
    --muted: #a3b0aa;
    --line: #26302b;
    --panel: #18201c;
    --panel-2: #1a231e;
    --line-2: #2a3530;
    --brand: #8fd1a8;
    --brand-mark: #245c43;
    --brand-ink: #a8dcbb;
    --brand-hover: #a8dcbb;
    --on-brand: #0f2a1c;
    --accent: #d2ed8b;
    --accent-hover: #e2f2ba;
    --on-accent: #203e2c;
    --link-line: #4b5a52;
    --dot: #8fd1a8;
    --chart-2: #f0a24a;
    --warn-bg: #3a2f10;
    --warn-fg: #ffe29a;
    --code-bg: #1b241f;
    --th-ink: #aebbb4;
    --th-bg: #1b2521;
    --td-ink: #b8c4bd;
    --table-bg: #141c18;
    --table-line: #26302b;
    --card: #18201c;
    --card-line: #2c3a33;
    --card-shadow: #000000;
    --card-top: #1d2822;
    --line-strong: #3d4c44;
    --chip: #223029;
    --chip-line: #33423a;
    --chip-ink: #b9c9bc;
    --icon-1: #2c3d30;
    --icon-2: #33324a;
    --icon-3: #3d3327;
    --status: #8fd1a8;
    --fg-soft: #c4d0c7;
    --step-bg: #1c2520;
    --step-green: #1f2c25;
    --pill: #2a3d31;
    --pill-ink: #cfeedb;
    --art1-bg: #e4eacb;
    --art1-ink: #45613e;
    --art2-bg: #dce8ec;
    --art2-ink: #3b6070;
    --art3-bg: #e9ddd3;
    --art3-ink: #715348;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font); }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
code, pre { font-family: var(--mono); font-size: 0.88em; }
code { background: var(--code-bg); padding: 0.1em 0.35em; border-radius: 4px; }
pre { background: var(--code-bg); border: 1px solid var(--line); padding: 1rem; border-radius: var(--radius); overflow-x: auto; line-height: 1.45; }
pre code { background: none; padding: 0; }
h1, h2, h3 { letter-spacing: -0.045em; font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(36px, 3.6vw, 52px); margin: 0.4em 0; }
h2 { font-size: clamp(32px, 3.1vw, 47px); font-weight: 550; margin-top: 2.2em; }
h3 { font-size: 23px; }
p { color: var(--muted); }
.prose p { color: var(--fg); }
.muted, .meta { color: var(--muted); font-size: 0.92rem; }

.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; padding: 0; }
@media (min-width: 1600px) { .wrap { width: min(1360px, calc(100% - 96px)); } }
@media (max-width: 1100px) { .wrap { width: calc(100% - 48px); } }
@media (max-width: 760px)  { .wrap { width: calc(100% - 36px); } }
.skip { position: absolute; left: -999px; top: 0; background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4rem 0.8rem; font-size: 0.9rem; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: nowrap; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--fg); }
.nav ul a { font-size: 14px; }
.nav a:hover { color: var(--brand-hover); }
.nav a[aria-current="page"] { color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* .nav a sets colour and hover colour with higher specificity; the brand keeps its own colour on hover. */
.nav .brand, .footer-top .brand { display: inline-flex; align-items: center; gap: 9px; font-size: 30px; font-weight: 750; letter-spacing: -1.5px; color: var(--fg); text-decoration: none; line-height: 1; }
.nav .brand:hover, .footer-top .brand:hover { color: var(--fg); }
.nav .brand .mark, .footer-top .brand .mark { display: inline-flex; width: 32px; height: 34px; align-items: center; justify-content: center; background: var(--brand-mark); color: #ffffff; border-radius: 9px; font-size: 29px; line-height: 1; letter-spacing: 0; }
.nav .brand .brand-dot, .footer-top .brand .brand-dot { margin-left: -9px; }
@media (max-width: 760px) { .nav .brand, .footer-top .brand { font-size: 26px; } }
.nav .nav-cta.button { min-height: 44px; padding: 10px 18px; border-color: var(--brand); color: var(--brand-ink); }

@media (max-width: 1100px) { .nav ul { gap: 16px; } }
@media (max-width: 760px) {
  .nav { min-height: 82px; flex-wrap: wrap; gap: 14px; padding-block: 18px; }
  .nav ul { order: 3; width: 100%; justify-content: space-between; gap: 8px; }
  .nav ul a { font-size: 12px; display: inline-flex; align-items: center; min-height: 32px; } /* tap target */
  .nav .nav-cta.button { font-size: 11px; min-height: 40px; padding: 8px 12px; }
}

main.wrap { padding-top: 1.5rem; padding-bottom: 3rem; }
.site-footer { margin-top: 0; border-top: 0; padding: 55px 0 30px; color: var(--muted); }
.footer-top { display: flex; align-items: center; gap: 25px; padding-bottom: 35px; }
.footer-top .brand { font-size: 24px; text-decoration: none; }
.footer-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; font-size: 12px; }
.footer-nav a { color: var(--fg); text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus-visible { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; border-top: 1px solid var(--line); padding-top: 22px; }
.footer-bottom p { font-size: 11px; margin: 0; }
.footer-bottom p.muted { max-width: 560px; }
.footer-bottom p:not(.muted) { order: 2; text-align: right; }
.footer-bottom a { color: var(--fg); text-decoration: none; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { text-decoration: underline; }
@media (max-width: 1100px) { .footer-top { flex-wrap: wrap; } }
@media (max-width: 760px) { .footer-top { gap: 15px; } .footer-nav { margin-left: 0; width: 100%; gap: 12px 20px; } .footer-bottom { flex-direction: column; gap: 15px; } .footer-bottom p:not(.muted) { text-align: left; } }

.hero { padding: 3.5rem 0 1.5rem; max-width: var(--prose); }
.hero h1 { font-size: clamp(44px, 4.8vw, 72px); line-height: 1.1; letter-spacing: -0.045em; max-width: 22ch; }
@media (max-width: 1100px) { .hero h1 { font-size: 52px; } }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--muted); max-width: var(--prose); }
.audience { color: var(--muted); max-width: var(--prose); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin-top: 1.75rem; }
.cta-lead { margin: 0 0 0.6rem; }

/* Primary action: solid brand green. Hover darkens the fill and lifts 2px; reduced motion disables the lift. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; padding: 14px 23px; background: var(--brand); border: 1px solid var(--brand); color: var(--on-brand); border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s; }
.button:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--on-brand); transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
/* Secondary action: outlined, transparent until hovered. Same size as the primary button. */
.button.secondary { background: transparent; color: var(--brand-ink); border: 1px solid var(--line); }
.button.secondary:hover { border-color: var(--brand-ink); background: var(--panel); color: var(--brand-ink); }
/* Compact size for dense rows. */
.button.small { min-height: 44px; padding: 10px 18px; }
/* Accent action: lime fill with dark ink. */
.button.light, .button.light:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.button.light:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:hover { transform: none; } }

/* Inline text action: underlined, with a muted underline colour. */
.text-link { font-size: 14px; font-weight: 600; color: var(--fg); text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 6px; }

/* Monospace eyebrow label above a section heading. */
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 1.7px; font-weight: 600; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 24px; display: flex; align-items: center; gap: 9px; }
@media (max-width: 760px) { .eyebrow { font-size: 9px; letter-spacing: 1.2px; } }

/* Small live-status indicator dot. */
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--dot); border-radius: 50%; flex: none; }

.steps { padding-left: 1.2rem; max-width: var(--prose); }
.steps li { margin-bottom: 0.8rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.2rem; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.4rem; background: var(--bg); }
@media (hover: hover) { .card:hover { border-color: var(--brand-ink); } }
@media (prefers-reduced-motion: no-preference) { .card, .preview li { transition: transform .2s; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .card:hover, .preview li:hover { transform: translateY(-5px); } }
.card h3 { margin-top: 0.2rem; }
.card code { word-break: break-all; }

.article-list { list-style: none; padding: 0; }
.article-list li { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.article-list li > a { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; color: var(--fg); }
@media (hover: hover) { .article-list li > a:hover { color: var(--brand-hover); text-decoration: underline; } }
.article-list p { margin: 0.3rem 0; }
.empty { color: var(--muted); }
.badge { display: inline-block; font-size: 0.75rem; padding: 0.15em 0.6em; border-radius: 999px; margin-left: 0.4rem; vertical-align: middle; }
.warn { background: var(--warn-bg); color: var(--warn-fg); }
.banner { padding: 0.8rem 1rem; border-radius: var(--radius); margin: 0.5rem 0 1rem; }

.prose { max-width: var(--prose); }
/* Data tables: one look for every table. .table-scroll is the bordered box; a wide table scrolls inside it. */
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { text-align: left; padding: 17px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; color: var(--th-ink); background: var(--th-bg); white-space: nowrap; }
tbody th { font-weight: 550; }
tbody td { color: var(--td-ink); }
caption { text-align: left; padding: 16px 20px; font-size: 11px; color: var(--muted); caption-side: top; border-bottom: 1px solid var(--line); }
.table-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--table-line); border-radius: 10px; background: var(--table-bg); margin: 1rem 0; }
.table-scroll > table { margin: 0; }
.table-scroll tbody tr:last-child > * { border-bottom: 0; }
.use-case { max-width: var(--max); }
.use-case > p, .use-case > ul, .use-case > dl.who, .use-case > h2 { max-width: var(--prose); }
.kicker { color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem; margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.6rem; margin: 1rem 0; }
.facts div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 1rem; }
.facts dt { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 600; font-size: 1.05rem; }
.who dt { font-weight: 600; }
.who dd { margin: 0 0 0.6rem 0; }
/* a table nested in a section scrolls too (the Telegram command tables were clipped at 390px) */
.prose > table, .prose :not(.table-scroll) > table:not(.histogram) { display: block; overflow-x: auto; max-width: 100%; border: 1px solid var(--table-line); border-radius: 10px; background: var(--table-bg); margin: 1rem 0; }
@media (max-width: 760px) {
  .table-scroll th, .table-scroll td, .prose > table:not(.histogram) th, .prose > table:not(.histogram) td { white-space: nowrap; }
}
.prose td code { word-break: break-word; }
.histogram th code { word-break: break-all; }
.histogram meter { width: 100%; min-width: 3rem; height: 0.9rem; }
.histogram td:nth-child(2) { text-align: right; width: 5rem; }
.transcript { list-style: none; padding: 0; }
.transcript li { margin: 0.4rem 0; }
.transcript .who { font-size: 0.8rem; color: var(--muted); }
.transcript pre { margin: 0.2rem 0; white-space: pre-wrap; }
.transcript .bot pre { background: var(--panel); border: 1px solid var(--line); }
.byline { color: var(--muted); font-size: 0.92rem; margin-top: 0; }
.note { color: var(--muted); font-size: 0.88rem; max-width: var(--prose); }
.tldr { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 0.4rem 1.3rem 0.8rem; max-width: var(--prose); }
.tldr h2 { font-size: 1.1rem; margin-top: 0.8rem; }
.checks td:first-child, .checks td:nth-child(3) { white-space: nowrap; }
.result { display: inline-block; font-size: 0.82rem; font-weight: 600; padding: 0.05em 0.5em; border-radius: 999px; border: 1px solid var(--line); }
.result.mismatch { background: var(--warn-bg); color: var(--warn-fg); border-color: transparent; }

/* API reference: Scalar renders full-height below the site header. */
body.api-reference .site-footer { display: none; }
.beacon { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cta-box { margin-top: 2.5rem; padding: 1.6rem 1.8rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
.cta-box .cta { margin-top: 0.8rem; }

/* Consent banner (templates/_consent.html): a bar at the bottom, never an overlay. Accept and
   Decline share .consent-choice, so they are identical in size, colour and weight. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--panel); border-top: 1px solid var(--line); box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08); font-size: 0.92rem; max-height: 60vh; overflow-y: auto; }
.consent[hidden] { display: none; }
.consent-inner { padding-top: 0.8rem; padding-bottom: 0.8rem; }
.consent p { margin: 0.3rem 0; max-width: var(--prose); }
.consent-title { font-weight: 600; }
.consent-details summary { cursor: pointer; font-weight: 600; }
.consent-details[open] { max-height: 40vh; overflow-y: auto; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
.consent-choice { border: 0; font: inherit; font-weight: 600; cursor: pointer; min-width: 8rem; }

/* insight reliability, definitions and hub findings */
.insight-provenance { margin: .5rem 0 1rem; font-size: .95rem; }
.insight-provenance .subtitle { margin: 0 0 .25rem; color: var(--muted, #555); }
.insight-provenance .changes { margin: .5rem 0 0; padding-left: 1.2rem; }
dl.definitions dt { font-weight: 600; margin-top: .6rem; }
dl.definitions dd { margin: 0 0 0 0; }
.findings li { margin-bottom: .9rem; }

/* Disclosure blocks (native details, no JavaScript). The marker is CSS content, so it is not page text.
   Developer sections: folded by default so a buyer reads the plain page first. */
details.dev { margin-top: 1.5rem; padding: 0.9rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
details:not(.dev):not(.consent-details) { padding: 20px 0; border-bottom: 1px solid var(--line); }
details:not(.dev):not(.consent-details) > summary { font-size: 16px; font-weight: 550; min-height: 28px; }
details:not(.dev):not(.consent-details) > p { font-size: 14px; }
details:not(.dev):not(.consent-details)[open] > summary { margin-bottom: 15px; }
details:not(.consent-details) > summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--fg); }
details.dev > summary { color: var(--brand-ink); }
details:not(.consent-details) > summary::-webkit-details-marker { display: none; }
details:not(.consent-details) > summary::before { content: "+"; display: inline-block; width: 1.2em; color: var(--brand-ink); font-weight: 400; }
details:not(.consent-details)[open] > summary::before { content: "\2212"; }
details:not(.consent-details)[open] > summary { margin-bottom: 0.8rem; }

/* Market and use-case questions: one thin line between items. */
dl.who dt { padding-top: 0.9rem; border-top: 1px solid var(--line); }
dl.who dt:first-child { border-top: 0; padding-top: 0; }
dl.who dd { padding-bottom: 0.9rem; }

/* market pages: one line per example company */
.preview { list-style: none; padding: 0; margin: 1rem 0 0.4rem; display: grid; gap: 0.8rem; max-width: var(--prose); }
.preview li { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 1rem 1.2rem; }
@media (hover: hover) { .preview li:hover { border-color: var(--brand-ink); } }
.preview .co { font-weight: 700; margin: 0; }
.preview .where { color: var(--muted); font-size: 0.9rem; margin: 0.15rem 0 0.4rem; }
.preview .what { margin: 0; }
.preview .site { font-family: var(--mono); font-size: 0.86rem; }
.hero-cta { margin-top: 1.2rem; }
.steps li strong { font-weight: 600; }

@media (max-width: 760px) {
  .hero { padding: 2rem 0 1rem; }
  .hero h1 { font-size: clamp(39px, 9vw, 56px); }
  .lead { font-size: 1.05rem; }
  .cta-box { padding: 1.2rem; }
}

/* map block (website/maptool.py): a static SVG, coloured only from these classes */
figure.map { margin: 1.5rem 0; }
.map-svg { display: block; width: 100%; height: auto; max-width: 100%; background: var(--panel); border-radius: var(--radius); }
.map-land, .map-c { fill: var(--line); stroke: var(--bg); stroke-width: .6; stroke-linejoin: round; }
.map-c.map-hl { fill: var(--brand); stroke: var(--bg); }
.map-hl.map-b1 { fill-opacity: .28; }
.map-hl.map-b2 { fill-opacity: .46; }
.map-hl.map-b3 { fill-opacity: .64; }
.map-hl.map-b4 { fill-opacity: .82; }
.map-hl.map-b5 { fill-opacity: 1; }
figure.map figcaption { margin-top: .6rem; color: var(--muted); font-size: .95rem; }
.map-legend { margin: .25rem 0 0; }
.map-data { margin-top: .75rem; border-collapse: collapse; font-size: .95rem; }
.map-data th, .map-data td { text-align: left; padding: .25rem 1rem .25rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.map-data thead th { font-weight: 600; font-size: .95rem; letter-spacing: normal; text-transform: none; background: none; color: var(--fg); white-space: normal; }

/* chart block (website/charttool.py): a static SVG, coloured only from these classes */
figure.chart { margin: 1.5rem 0; max-width: 30rem; }
/* step-flow diagram (website/flowtool.py): numbered steps joined by a line, readable in both themes and at phone width */
figure.step-flow { margin: 1.5rem 0; }
figure.step-flow ol { list-style: none; counter-reset: step-flow; margin: 0; padding: 0; display: grid; gap: .75rem; }
figure.step-flow li { counter-increment: step-flow; position: relative; padding: .7rem .9rem .7rem 3rem; border: 1px solid var(--card-line); border-radius: 10px; background: var(--card); }
figure.step-flow li::before { content: counter(step-flow); position: absolute; left: .8rem; top: .7rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .85rem; background: var(--accent); color: var(--on-accent); }
figure.step-flow li + li::after { content: ""; position: absolute; left: 1.55rem; top: -.8rem; height: .8rem; border-left: 2px solid var(--line-strong); }
.step-flow-label { display: block; font-weight: 600; }
.step-flow-note { display: block; color: var(--muted); font-size: .95rem; margin-top: .15rem; }
figure.step-flow figcaption { margin-top: .6rem; color: var(--muted); font-size: .95rem; }
figure.chart figcaption { margin: 0 0 .6rem; }
.chart-title { display: block; font-weight: 600; }
.chart-caption { display: block; color: var(--muted); font-size: .95rem; }
.chart-svg { display: block; width: 100%; height: auto; background: var(--panel); border-radius: var(--radius); padding: .75rem .75rem .25rem; }
.chart-svg text { font-family: var(--font); font-size: 13px; fill: var(--fg); }
.chart-svg .chart-value { font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-svg .chart-legend { fill: var(--muted); }
.chart-track { fill: var(--line); }
.chart-bar.chart-s1, .chart-key.chart-s1 { fill: var(--brand); }
.chart-bar.chart-s2, .chart-key.chart-s2 { fill: var(--chart-2); }
.chart-bar.chart-dim { fill-opacity: .4; }

/* Page rhythm (look only). Top-level sections get even space above and below. Boxed sections
   (.hero, .cta-box, .tldr) keep their own padding. */
main.wrap > section:not(.hero):not(.cta-box),
.prose > section:not(.cta-box):not(.tldr) { padding-block: 2.5rem; }
main.wrap > section > h2:first-child,
.prose > section:not(.tldr) > h2:first-child { margin-top: 0; margin-bottom: 0.9rem; }
main.wrap > section > h3:first-child,
.prose > section:not(.tldr) > h3:first-child { margin-top: 0; }
.prose h2, .use-case h2, .market h2 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; }
.prose h3, .use-case h3, .market h3 { font-size: 20px; margin-top: 1.6rem; }
@media (max-width: 760px) {
  main.wrap > section:not(.hero):not(.cta-box),
  .prose > section:not(.cta-box):not(.tldr) { padding-block: 1.75rem; }
}

/* Homepage example band: a full-width tinted band with hairlines at both edges. It is painted by
   the section's border-image, outset sideways by 100vmax, so the band reaches both viewport edges
   without a 100vw box. Ink outside the box does not create scrollable overflow, so a classic
   scrollbar cannot push the page sideways. Text stays on the content column. The gradient has a
   1px line at top and bottom and the panel tint between them. */
main.wrap > section[aria-labelledby="example"] {
  padding-block: 3rem;
  border-image: linear-gradient(var(--line) 0 1px, var(--panel) 1px calc(100% - 1px), var(--line) calc(100% - 1px)) fill 0 / / 0 100vmax;
}

/* Insights list: topic headings are headings, not body links. */
.topic h2 a { color: var(--fg); text-decoration: none; }
@media (hover: hover) { .topic h2 a:hover { color: var(--brand-hover); text-decoration: underline; } }

/* home: hero */
.hero { display: grid; grid-template-columns: 1.13fr 1fr; gap: 64px; align-items: center; padding-block: 90px 85px; max-width: none; }
.hero .eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 1.7px; font-weight: 600; color: var(--brand-ink); margin: 0 0 24px; display: flex; align-items: center; gap: 9px; }
.hero .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--status); flex: none; }
.hero .lead { font-size: 18px; line-height: 1.7; max-width: 510px; margin-top: 25px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 30px; }
.hero .text-link { font-size: 14px; font-weight: 600; color: var(--brand-ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; }
.hero .note { font-size: 12px; margin-top: 16px; }
.discovery { margin: 0; background: var(--card); border: 1px solid var(--card-line); border-radius: 13px; box-shadow: 0 25px 60px -35px var(--card-shadow); transform: rotate(-1deg); overflow: hidden; }
.window-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--card-top); }
.window-top i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); margin-right: 4px; }
.demo-body { padding: 25px; }
.demo-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.prompt { font-size: 20px; line-height: 1.4; letter-spacing: -.5px; font-weight: 550; color: var(--fg); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0 0; padding: 0; list-style: none; }
.tags li { background: var(--chip); border: 1px solid var(--chip-line); border-radius: 5px; padding: 3px 8px; font-size: 12px; color: var(--chip-ink); }
.flow { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--muted); padding: 27px 0 23px; margin: 0; list-style: none; }
.flow li + li::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--line-strong); vertical-align: middle; margin-right: 10px; }
.result-top { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); margin: 0; }
.result-top .status-dot { margin-right: 5px; }
.mini-rows { list-style: none; margin: 0; padding: 0; }
.mini-rows li { display: flex; gap: 11px; align-items: center; padding-block: 13px; border-bottom: 1px solid var(--line); }
.mini-rows .who { min-width: 0; }
.company-icon { display: flex; width: 33px; height: 36px; border-radius: 7px; background: var(--icon-1); align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex: none; color: var(--fg); }
.company-icon.c2 { background: var(--icon-2); }
.company-icon.c3 { background: var(--icon-3); }
.mini-rows strong { font-size: 12px; display: block; line-height: 1.4; color: var(--fg); }
.mini-rows small { display: block; font-size: 12px; color: var(--muted); }
.match { font-size: 12px; margin-left: auto; color: var(--brand-ink); white-space: nowrap; }
.demo-foot { font-size: 12px; margin: 15px 0 0; color: var(--muted); }
.demo-funnel { font-size: 12px; margin: 12px 0 0; color: var(--muted); }
@media (min-width: 1600px) { .hero { padding-block: 105px; } }
/* short laptop screens (1280x720): keep the start button above the fold */
@media (min-width: 761px) and (max-height: 820px) { .hero { padding-block: 36px 70px; } }
@media (max-width: 1100px) { .hero { gap: 30px; } .hero .cta { gap: 16px; } .demo-body { padding: 18px; } }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding-block: 48px; gap: 38px; } .hero .lead { font-size: 16px; } .hero .cta { gap: 22px; } .discovery { transform: none; } }
/* end home: hero */

/* home: audience */
.audience-strip { border-block: 1px solid var(--line); padding-block: 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.audience-label { font: 10px/1.5 var(--mono); letter-spacing: 1px; text-transform: uppercase; max-width: 160px; color: var(--muted); margin: 0; }
ul.audience { display: flex; justify-content: space-between; align-items: center; flex: 1; gap: 20px; list-style: none; margin: 0; padding: 0; max-width: none; }
.audience li { font-size: 15px; color: var(--fg-soft); font-weight: 550; list-style: none; margin: 0; }
@media (max-width: 1100px) { .audience-strip { flex-wrap: wrap; } }
@media (max-width: 760px) { .audience-strip { justify-content: flex-start; gap: 16px 25px; padding-block: 22px; flex-wrap: wrap; } .audience-label { max-width: none; width: 100%; font-size: 9px; } ul.audience { flex-wrap: wrap; justify-content: flex-start; gap: 16px 25px; flex: 1 1 100%; width: 100%; min-width: 0; } .audience li { font-size: 13px; } }
/* end home: audience */

/* home: how */
/* :not(.hero):not(.cta-box) keeps this above the generic section padding rule, which is more specific than
   a plain section.how and silently won (40px measured instead of 90px) */
main.wrap > section.how:not(.hero):not(.cta-box) { padding-block: 90px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 40px; }
.section-heading .eyebrow { font: 11px/1.5 var(--mono); letter-spacing: 1.7px; font-weight: 600; color: var(--brand-ink); margin: 0 0 17px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 420px; font-size: 16px; margin: 0; }
.how .steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); list-style: none; padding: 0; margin: 0; max-width: none; }
.how .steps > li { padding: 30px 30px 0 0; margin: 0; display: flex; flex-direction: column; }
.how .steps > li + li { padding-left: 30px; border-left: 1px solid var(--line); }
.step-number { font: 12px var(--mono); color: var(--muted); display: block; margin-bottom: 22px; }
.how .steps h3 { margin: 0; }
.how .steps p:not(.step-example) { font-size: 14px; margin-top: 16px; margin-bottom: 25px; }
.step-example { margin-top: auto; margin-bottom: 0; background: var(--step-bg); padding: 20px; font-size: 16px; line-height: 1.5; min-height: 100px; border-radius: 8px; color: var(--fg); position: relative; }
.step-example.green { background: var(--step-green); }
.step-example.green::after { content: "✓"; position: absolute; right: 16px; bottom: 13px; }
.step-lines { margin: auto 0 0; padding: 0; list-style: none; font: 11px var(--mono); min-height: 100px; color: var(--fg); }
.step-lines li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 7px 0; }
@media (max-width: 760px) { main.wrap > section.how:not(.hero):not(.cta-box) { padding-block: 55px; } .section-heading { display: block; margin-bottom: 28px; } .section-heading > p { margin-top: 22px; } .how .steps { grid-template-columns: 1fr; } .how .steps > li, .how .steps > li + li { border-left: 0; padding: 25px 0; border-bottom: 1px solid var(--line); } .step-example, .step-lines { margin-top: 20px; } }
/* end home: how */

/* home: example */
main.wrap > section.proof { padding-block:70px; }
main.wrap > section.proof[aria-labelledby="example"] { padding-block:70px; }
.proof .section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:50px; margin-bottom:40px; }
.proof .section-heading h2 { margin:0; }
.proof .section-heading .eyebrow { margin-bottom:17px; }
.proof-meta { display:flex; align-items:center; gap:45px; margin-bottom:25px; }
.proof-meta > p { font-size:18px; max-width:520px; margin:0 auto 0 0; }
.proof-meta .stat strong { display:block; font-size:28px; letter-spacing:-1px; font-weight:550; color:var(--fg); }
.proof-meta .stat span { font-size:11px; color:var(--muted); }
.proof .registry { background:var(--pill); color:var(--pill-ink); padding:4px 8px; border-radius:4px; font-size:11px; }
.proof-note { font-size:12px; margin-top:18px; max-width:880px; }
@media (max-width:760px) {
  main.wrap > section.proof { padding-block:45px; }
  main.wrap > section.proof[aria-labelledby="example"] { padding-block:45px; }
  .proof .section-heading { display:block; margin-bottom:28px; }
  .proof .section-heading .text-link { display:inline-block; margin-top:22px; }
  .proof-meta { flex-wrap:wrap; gap:20px 35px; }
  .proof-meta > p { width:100%; max-width:none; }
  .proof-meta .stat strong { font-size:24px; }
}
/* end home: example */

/* home: cases */
main.wrap > section.cases[aria-labelledby="cases"] { padding-block: 90px; }
.cases-lead { font-size: 16px; max-width: 620px; margin: 0 0 40px; }
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0 0 24px; padding: 0; max-width: none; }
.case { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); transition: transform .2s; }
@media (hover: hover) { .case:hover { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .case, .case:hover { transition: none; transform: none; } }
.case h3 a::after { content: ""; position: absolute; inset: 0; }
.case h3 a { color: var(--fg); text-decoration: none; }
.case:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }
.case-art { height: 200px; padding: 20px; position: relative; overflow: hidden; }
.case-no { position: absolute; bottom: 20px; right: 20px; font: 10px var(--mono); letter-spacing: 2px; z-index: 1; }
.art-1 { background: var(--art1-bg); color: var(--art1-ink); }
.art-2 { background: var(--art2-bg); color: var(--art2-ink); }
.art-3 { background: var(--art3-bg); color: var(--art3-ink); }
/* art 1: stacked blocks, tilted */
.art-1 .shape { display: flex; align-items: end; justify-content: center; height: 145px; gap: 8px; transform: rotate(-12deg); }
.art-1 .shape i { display: block; width: 60px; height: 88px; border: 1px solid #8ca079; background: #c3d09a; box-shadow: 8px 8px 0 #a3b77a; }
.art-1 .shape i:nth-child(2) { height: 110px; background: #d3dfa9; }
.art-1 .shape i:nth-child(3) { height: 65px; }
/* art 2: zig-zag route, three slanted strokes */
.art-2 .shape { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 145px; }
.art-2 .shape i { display: block; width: 2px; height: 90px; background: #789ca9; margin: -6px 0; }
.art-2 .shape i:nth-child(1) { transform: rotate(35deg); }
.art-2 .shape i:nth-child(2) { transform: rotate(-35deg); }
.art-2 .shape i:nth-child(3) { transform: rotate(35deg); }
/* art 3: overlapping orbs */
.art-3 .shape { display: flex; justify-content: center; align-items: center; padding-top: 25px; }
.art-3 .shape i { width: 125px; height: 125px; border-radius: 50%; background: #c4a897; border: 1px solid #a78879; }
.art-3 .shape i + i { margin-left: -45px; background: linear-gradient(90deg, #d1b4a1, #ebd3bd); mix-blend-mode: multiply; }
.art-3 .shape i:nth-child(3) { display: none; }
.case-copy { padding: 26px; }
.case-kicker { font: 11px/1.5 var(--mono); letter-spacing: .8px; text-transform: uppercase; color: var(--muted); margin: 0; }
.case h3 { font-size: 25px; line-height: 1.2; margin: 14px 0 0; }
.case-copy p:not(.case-kicker) { font-size: 12px; margin: 16px 0 0; }
.case-copy .meta { font-size: 12px; }
@media (max-width: 760px) { main.wrap > section.cases[aria-labelledby="cases"] { padding-block: 55px; } .case-cards { grid-template-columns: 1fr; gap: 25px; } .case-art { height: 190px; } .cases-lead { margin-bottom: 28px; } }
/* end home: cases */

/* home: interfaces */
main.wrap > section.integrations:not(.hero) {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 55px; margin-block: 90px;
}
section.integrations details.dev { margin: 0; padding: 0; border: 0; background: none; }
section.integrations details.dev > summary {
  font-size: clamp(26px, 2.6vw, 40px); font-weight: 550; letter-spacing: -0.045em; line-height: 1.1;
  color: var(--fg); pointer-events: none; list-style: none;
}
/* always open, as in the mockup: heading and note on the left, the three ways in stacked on the right */
section.integrations details.dev > summary::before { content: none; }
.integration-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 1000px) {
  section.integrations details.dev > summary, section.integrations details.dev > p { float: left; clear: left; width: 44%; }
  section.integrations details.dev > .integration-list { float: right; width: 48%; margin: 0; }
  section.integrations details.dev::after { content: ""; display: block; clear: both; }
}
.integration-list li { display: flex; gap: 19px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line-2); position: relative; }
.integration-icon { display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; width: 47px; height: 47px; font-size: 24px; flex: none; color: var(--fg); }
.integration-icon.code { font: 18px var(--mono); }
.integration-list h3 { font-size: 20px; margin: 0; }
.integration-list h3 a { color: var(--fg); text-decoration: none; }
.integration-list h3 a::after { content: ""; position: absolute; inset: 0; }
.integration-list p { font-size: 12px; margin-top: 6px; }
.integration-list code { word-break: break-all; }
section.integrations details.dev > p { font-size: 14px; max-width: 640px; margin-top: 30px; }
@media (max-width: 1100px) { main.wrap > section.integrations:not(.hero) { padding: 35px; } }
@media (max-width: 760px) {
  main.wrap > section.integrations:not(.hero) { padding: 28px; margin-block: 55px; }
}
/* end home: interfaces */

/* home: faq */
main.wrap > section.faq:not(.cta-box) { display:grid; grid-template-columns:1fr 1.1fr; gap:80px; padding-block:90px; }
.faq h2 { margin:0; }
.faq details:not(.dev):not(.consent-details) { border-bottom:1px solid var(--line); padding:20px 0; }
.faq details > summary { font-size:16px; font-weight:550; min-height:28px; }
.faq details p { font-size:14px; padding-top:15px; margin:0; }
.faq details:not(.dev)[open] > summary { margin-bottom:0; }
@media (max-width:1100px) { main.wrap > section.faq { gap:40px; } }
@media (max-width:760px) { main.wrap > section.faq { grid-template-columns:1fr; gap:15px; padding-block:55px; } }
/* end home: faq */

/* home: cta */
.cta-box { text-align:center; background:var(--band); background-image:radial-gradient(ellipse at 100% 100%, var(--band-glow), transparent 65%); color:var(--on-band); border:0; border-radius:16px; padding:65px 24px; margin-block:40px 90px; }
.cta-box .eyebrow { justify-content:center; color:var(--band-eyebrow); }
.cta-box h2 { font-size:clamp(40px,4.5vw,64px); color:var(--on-band); margin:0; }
.cta-box p:not(.eyebrow):not(.cta) { color:var(--band-muted); }
.cta-box a:not(.button) { color:var(--on-band); }
.cta-box a:not(.button):hover { color:var(--on-band); }
.cta-box :focus-visible { outline-color:var(--accent); }
.cta-box .cta { justify-content:center; margin-top:30px; }
/* everything in the band is centred as one column: a capped-width paragraph or the developer box
   left at the start edge reads as a broken layout */
.cta-box > p, .cta-box > div > p { max-width:62ch; margin-inline:auto; }
.cta-box details.dev { max-width:720px; margin-inline:auto; text-align:left; }
.cta-box details.dev > summary { text-align:center; }
.cta-box > pre { max-width:720px; margin-inline:auto; text-align:left; }
.cta-box .button, .cta-box .button.secondary { background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.cta-box .button:hover { background:var(--accent-hover); border-color:var(--accent-hover); color:var(--on-accent); }
.cta-box pre { background:var(--band-pre); border-color:var(--band-line); color:var(--on-band); }
.cta-box details.dev { background:transparent; border-color:var(--band-line); }
.cta-box details > summary { color:var(--on-band); }
.cta-box details > summary::before { color:var(--band-eyebrow); }
@media (max-width:760px) { .cta-box { padding:50px 20px; } }
/* end home: cta */
@media (max-width: 760px) { main.wrap > section.faq:not(.cta-box):not(.hero) { padding-block: 55px; } }

/* Use-case article: the homepage visual system (look only, CSS only). The article fills the same
   1280px wrap as the homepage; its title takes the homepage h2 scale; the kicker is the homepage
   eyebrow; prose holds a ~72ch measure; sections get the homepage section rhythm; the TL;DR is a
   tinted panel like the homepage panels; registry pills use the homepage proof pill. */
.use-case { max-width: none; }
.use-case h1 { font-size: clamp(32px, 3.1vw, 47px); letter-spacing: -0.045em; line-height: 1.1; margin: 0.4em 0 0.6em; }
.use-case h2 { font-size: clamp(32px, 3.1vw, 47px); letter-spacing: -0.045em; font-weight: 550; }
.use-case > h2 { margin-top: 90px; margin-bottom: 0.9rem; }
.use-case > p, .use-case > ul, .use-case > dl.who, .use-case > h2, .use-case > .byline, .use-case > .note { max-width: 72ch; }
.use-case .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 1.7px; font-weight: 600; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 24px; }
.use-case .byline { margin-bottom: 0; }
.use-case .tldr { padding: 1.6rem 1.8rem; margin-top: 2.5rem; background: var(--panel-2); border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--radius-lg); max-width: 72ch; }
.use-case .tldr h2 { font-size: 1.1rem; letter-spacing: -0.01em; margin: 0 0 0.6rem; }
.use-case .table-scroll { border-radius: 12px; }
.use-case thead th { padding-block: 14px; }
.use-case td { padding-block: 15px; }
.use-case .result { background: var(--pill); color: var(--pill-ink); border: 0; border-radius: 4px; padding: 4px 8px; font-size: 11px; font-weight: 600; }
.use-case .result.mismatch, .use-case .result.does_not_match { background: var(--warn-bg); color: var(--warn-fg); }
@media (max-width: 760px) {
  .use-case > h2 { margin-top: 55px; }
  .use-case h1 { font-size: 32px; }
  .use-case .tldr { padding: 1.2rem 1.2rem; }
}

/* market pages */
.market h2 { font-size: clamp(32px, 3.1vw, 47px); letter-spacing: -0.045em; font-weight: 550; }
.market h3 { font-size: 20px; }
.market .preview li { background: var(--panel-2); border-radius: 16px; }
.market .preview .co { font-size: 1.05rem; }
body.markets-index h2 { font-size: clamp(32px, 3.1vw, 47px); letter-spacing: -0.045em; font-weight: 550; margin-top: 1.6em; }
/* a grid, not text columns: columns read top-to-bottom, so countries came out of order across the row */
body.markets-index .article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 40px; }
@media (max-width: 760px) {
  .market h2 { font-size: 32px; }
  body.markets-index h2 { font-size: 32px; margin-top: 1.2em; }
  body.markets-index .article-list { grid-template-columns: 1fr; }
}
@media (min-width: 1000px) {
  /* intro (h1, lead, the chart the build inserts, CTA) in rows 1-4 on the left; the examples beside it from
     row 1. Explicit rows: auto-placement put the examples BELOW the whole intro (an empty quarter each side).
     The examples span into a flexible row 5, so their height does not stretch the intro's rows. */
  .market { max-width: var(--max); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
            grid-template-rows: auto auto auto auto 1fr; column-gap: 80px; align-items: start; }
  .market > * { grid-column: 1 / -1; max-width: 72ch; }
  .market > h1 { font-size: clamp(32px, 3.1vw, 47px); margin-top: 0.4em; }
  .market > h1 { grid-column: 1; grid-row: 1; }
  .market > .lead { grid-column: 1; grid-row: 2; }
  .market > figure.chart { grid-column: 1; grid-row: 3; }
  .market > .cta { grid-column: 1; grid-row: 4; }
  .market > h2#examples { grid-column: 2; grid-row: 1; margin-top: 0.4em; }
  .market > .preview { grid-column: 2; grid-row: 2 / 6; max-width: none; margin-top: 0; }
  .market > .preview + .note { grid-column: 2; grid-row: 6; }
  .market > h2 + .facts, .market > .facts { max-width: none; }
}

/* insights pages: the same type scale as the homepage; topics and findings as cards, two to a row on desktop.
   Uniform cards, so the grid fills row by row with no empty half (a two-column text layout left the right
   column empty wherever a topic had no list). */
body.insights-index h1, .insight-topic h1, .insight h1 { font-size: clamp(32px, 3.1vw, 47px); letter-spacing: -0.045em; }
.insight-topic h2, .insight h2 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.04em; }
.insight-topic, .insight { max-width: var(--max); }
.insight-topic > p, .insight > p, .insight-topic > .lead { max-width: 72ch; }
.insight-topic .findings { list-style: none; padding: 0; display: grid; gap: 16px; }
.insight-topic .findings > li { background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 0; }
body.insights-index main.wrap > section.topic:not(.hero):not(.cta-box) {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; margin: 0 0 14px;
}
body.insights-index section.topic h2 { font-size: 24px; letter-spacing: -0.03em; margin-top: 0; }
@media (min-width: 1000px) {
  body.insights-index main.wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  body.insights-index main.wrap > :not(section.topic) { grid-column: 1 / -1; }
  body.insights-index main.wrap > section.topic:not(.hero):not(.cta-box) { margin: 0; }
  .insight-topic .findings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* docs pages: the homepage type scale and panels, one readable column (prose capped at ~72ch; tables keep
   their own width and scroll inside their box). Scoped to body.docs-page, which only the docs template sets. */
body.docs-page h1 { font-size: clamp(32px, 3.1vw, 47px); letter-spacing: -0.045em; line-height: 1.1; margin: 0.4em 0 0.6em; }
body.docs-page h2 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.04em; font-weight: 550; margin-top: 2.2em; margin-bottom: 0.7em; }
body.docs-page h3 { font-size: 20px; letter-spacing: -0.02em; margin-top: 1.8em; }
body.docs-page .prose { max-width: 72ch; }
body.docs-page .prose > p, body.docs-page .prose > ol, body.docs-page .prose > ul, body.docs-page .prose > dl { max-width: 72ch; }
body.docs-page .prose > ol > li, body.docs-page .prose > ul > li { margin-bottom: 0.6rem; }
body.docs-page .prose > ol { padding-left: 1.4rem; }
body.docs-page dl.definitions { margin: 0.6rem 0 1.2rem; }
body.docs-page dl.definitions dt { font-weight: 600; margin-top: 1rem; }
body.docs-page dl.definitions dd { margin: 0.2rem 0 0; color: var(--fg-soft); }
body.docs-page pre { border-radius: 12px; padding: 1rem 1.2rem; margin: 1rem 0; }
body.docs-page code { border-radius: 6px; }
body.docs-page blockquote, body.docs-page .banner, body.docs-page .tldr {
  margin: 1.4rem 0; padding: 1.1rem 1.4rem; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); max-width: 72ch; color: var(--fg);
}
body.docs-page blockquote > :first-child, body.docs-page .banner > :first-child { margin-top: 0; }
body.docs-page blockquote > :last-child, body.docs-page .banner > :last-child { margin-bottom: 0; }
body.docs-page .prose > table, body.docs-page .prose :not(.table-scroll) > table:not(.histogram) { border-radius: 12px; }
body.docs-page details:not(.dev):not(.consent-details) { padding-block: 16px; }
@media (max-width: 760px) {
  body.docs-page h1 { font-size: 32px; }
  body.docs-page h2 { font-size: 26px; margin-top: 1.8em; }
  body.docs-page blockquote, body.docs-page .banner, body.docs-page .tldr { padding: 0.9rem 1.05rem; }
}

/* use-cases index: the published runs as cards, two to a row on desktop, like the homepage cases */
body.use-cases-index main.wrap > .article-list { list-style: none; padding: 0; display: grid; gap: 16px; margin-top: 2rem; }
body.use-cases-index main.wrap > .article-list > li { background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; margin: 0; }
body.use-cases-index main.wrap > .article-list > li > a { font-size: 20px; font-weight: 550; letter-spacing: -0.02em; }
body.use-cases-index h1 { font-size: clamp(32px, 3.1vw, 47px); letter-spacing: -0.045em; }
@media (min-width: 1000px) { body.use-cases-index main.wrap > .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
