/* Prosp site styles. Everything is served from this site: the typeface is self-hosted (static/prosp-*.woff2,
   pinned in site.yaml `font:`), no font, script or style is fetched from another host.

   The design system, in one place:
   - White ground, near-black ink (reversed in the dark theme). ONE marker colour (--mark) that means one thing only:
     "kept / fits the request": the kept squares of a search and the count of kept companies. The brand mark is the one
     other place it appears. Text on the marker is always --mark-ink. A candidate that was only looked at is --sq, a
     neutral grey (its squares, its count). Links, buttons, data marks and rules are ink; nothing else is coloured.
   - One family in two cuts: Prosp Sans (text, 400 and 700) and Prosp Display (the heavy narrow cut: headings, buttons,
     the brand, big figures; registered at weight 700 so every bold on the site is 700).
   - Five type sizes (--xl / --l / --ml / --m / --s), desktop 60/30/20/17/15, phone 38/25/18/16/14. Text inside a drawn
     figure (chart, map, diagram) is sized in the drawing's own units.
   - No capitals-only labels. A label is small muted text.
   - Rules belong to tables and lists of rows; sections are separated by space or a tinted band (--tint), not hairlines
     (home, use-case and market pages; the documentation pages still rule their sections).
   - One filled button per view (.button); a second action is .button.secondary, an outline.
   - A figure sits beside the sentence it supports: .fig-row puts text left and the figure in a right rail at
     >= 1000 px, and stacks them below.
   Dark theme: the same tokens redefined under prefers-color-scheme: dark; nothing else changes per theme. */

@font-face { font-family: "Prosp Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/prosp-sans-regular.df98a5c0a552.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303, U+0308, U+0327, U+1E00-1EFF, U+2000-206F, U+20AC, U+20B4, U+20BD, U+2116, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "Prosp Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/prosp-sans-bold.4381e6d3e100.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303, U+0308, U+0327, U+1E00-1EFF, U+2000-206F, U+20AC, U+20B4, U+20BD, U+2116, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "Prosp Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/prosp-display.0e5db750b1e0.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303, U+0308, U+0327, U+1E00-1EFF, U+2000-206F, U+20AC, U+20B4, U+20BD, U+2116, U+2122, U+2190-2193, U+2212, U+2215; }
/* Metric-matched fallbacks: until the woff2 arrives (font-display: swap) text is set in local Arial scaled to the same
   average glyph width (size-adjust from the fonts' hmtx tables, English letter frequencies: scripts/website/gen_site_font.py
   --metrics), with the same ascent and descent, so the swap does not re-wrap lines or move blocks. */
@font-face { font-family: "Prosp Sans Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"); size-adjust: 97.6%; ascent-override: 90.0%; descent-override: 21.5%; line-gap-override: 0%; }
@font-face { font-family: "Prosp Sans Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 98.1%; ascent-override: 89.5%; descent-override: 21.4%; line-gap-override: 0%; }
@font-face { font-family: "Prosp Display Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 92.4%; ascent-override: 95.0%; descent-override: 22.7%; line-gap-override: 0%; }

:root {
  color-scheme: light dark;
  /* palette */
  --bg: #ffffff;
  --ink: #111210;         /* text, links, rules that start a block, data marks */
  --muted: #55574f;       /* secondary text, labels */
  --rule: #d9d9d2;        /* hairlines inside tables and row lists */
  --tint: #f1f1ec;        /* bands, code, quiet fills */
  --mark: #ffd83a;        /* THE marker: kept / fits. Never a link, never decoration */
  --mark-ink: #111210;    /* text and outlines on the marker and on --sq, in both themes */
  --sq: #81827a;          /* a candidate looked at and not kept: its square, its count, a button's offset edge (3.4:1 on --tint) */
  --accent: var(--ink);   /* links, focus, data marks: ink, so the marker stays the only colour */
  --accent-hover: var(--ink);
  --on-accent: var(--bg);
  --data-2: #8b8c83;      /* a second data series: neutral */
  --land: #e7e7e0;        /* map land */
  --land-line: #a9aaa0;
  --warn-bg: #f6ead0;
  --warn-ink: #5e4500;
  /* type */
  --sans: "Prosp Sans", "Prosp Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Prosp Display", "Prosp Display Fallback", "Arial Narrow", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --xl: 60px; --l: 30px; --ml: 20px; --m: 17px; --s: 15px;
  /* space and measure */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --measure: 38em;        /* ~70 characters of body text */
  --rail: 360px;          /* the figure rail beside the reading column */
  --gutter: 56px;
  --max: 1168px;
}
@media (max-width: 760px) { :root { --xl: 38px; --l: 25px; --ml: 18px; --m: 16px; --s: 14px; } }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111210;
    --ink: #f3f2ec;
    --muted: #a9aaa0;
    --rule: #34352f;
    --tint: #1d1e1b;
    --data-2: #7d7e75;
    --sq: #7d7e75;
    --land: #2f302b;
    --land-line: #7d7e75;   /* a country's edge: 4.1:1 on the dark ground, where the land fill alone is 1.4:1 */
    --warn-bg: #3a2f12;
    --warn-ink: #f2dca0;
  }
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--m)/1.55 var(--sans); font-kerning: normal; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--xl); line-height: 1; letter-spacing: -0.025em; margin: 0 0 var(--s5); }
h2 { font-size: var(--l); line-height: 1.1; margin: var(--s8) 0 var(--s4); }
h3 { font-size: var(--ml); line-height: 1.2; margin: var(--s6) 0 var(--s2); }
strong, b { font-weight: 700; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
code, pre, kbd { font-family: var(--mono); }
code { font-size: 0.9em; background: var(--tint); padding: 0.05em 0.3em; border-radius: 3px; }
pre { font-size: var(--s); line-height: 1.55; background: var(--tint); padding: var(--s4) 18px; border-radius: 6px; overflow-x: auto; margin: var(--s4) 0 var(--s5); }
pre code { background: none; border: 0; padding: 0; font-size: inherit; }
blockquote { margin: var(--s5) 0; padding: 0 0 0 20px; border-left: 3px solid var(--ink); }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s7) 0; }
.muted, .meta { color: var(--muted); font: var(--s)/1.5 var(--sans); }
.note { color: var(--muted); font: var(--s)/1.55 var(--sans); max-width: var(--measure); }
.note a, .meta a { color: var(--ink); }
.empty { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.beacon { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--bg); color: var(--ink); border: 1px solid var(--ink); padding: 0.4rem 0.8rem; font: var(--s) var(--sans); z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 32px; }
main.wrap { padding-top: var(--s7); padding-bottom: var(--s8); }

/* labels: small muted text, never capitals. The kicker above a page title is ink. */
.kicker { font-size: var(--s); font-weight: 700; color: var(--ink); margin: 0 0 var(--s3); }
.kicker a { color: inherit; }

/* ---------- header ---------- */
.site-header { background: var(--bg); }
.nav { display: flex; align-items: center; gap: var(--s5) 28px; min-height: 72px; flex-wrap: nowrap; }
.nav ul { display: flex; flex: 1; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul li { margin: 0; }
.nav ul a { font: var(--s)/1 var(--sans); color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; display: inline-block; }
.nav ul a:hover { border-bottom-color: var(--ink); color: var(--ink); }
.nav ul a[aria-current="page"] { border-bottom-color: var(--ink); }
/* language switcher (EN | DE), at the far end of the links: the current language is ink, the other muted */
.nav .lang-switch { margin-left: auto; color: var(--muted); font: var(--s)/1 var(--sans); white-space: nowrap; }
.nav .lang-switch a { padding: 12px 4px; color: var(--muted); }
.nav .lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 700; border-bottom-color: transparent; }
/* the brand: the name set in the heading cut on the marker */
.brand { display: inline-flex; color: var(--mark-ink); text-decoration: none; font: 700 var(--l)/1 var(--display); letter-spacing: -0.02em; }
.brand:hover { color: var(--mark-ink); }
.brand .mark { background: var(--mark); padding: 0.06em 0.16em 0.1em; }
.nav .nav-cta { flex: none; }

/* ---------- buttons: one filled action per view, ink with a neutral offset edge ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; background: var(--ink); border: 2px solid var(--ink); color: var(--bg); font: 700 var(--ml)/1.1 var(--display); text-decoration: none; border-radius: 6px; cursor: pointer; box-shadow: 5px 5px 0 var(--sq); transition: transform 120ms ease, box-shadow 120ms ease; }
.button:hover { color: var(--bg); text-decoration: none; transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--sq); }
.button.small { min-height: 40px; padding: 0 14px; font-size: var(--s); border-radius: 5px; }
/* a second action: an ink outline, quieter than the filled one */
.button.secondary { background: transparent; color: var(--ink); box-shadow: none; }
.button.secondary:hover { background: var(--tint); color: var(--ink); transform: none; box-shadow: none; }
.button.light, .button.light:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.text-link { font: 700 var(--s)/1.4 var(--sans); color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) 26px; margin: var(--s5) 0; }
.cta-lead { margin: var(--s5) 0 0; }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

/* ---------- reading column ---------- */
.prose { max-width: var(--measure); }
.prose > p, .prose > ul, .prose > ol, .prose > dl, .prose > blockquote { max-width: var(--measure); }
.lead { font-size: var(--ml); line-height: 1.4; max-width: 34em; color: var(--ink); }
.banner { padding: var(--s3) var(--s4); margin: 0 0 var(--s5); font: var(--s)/1.5 var(--sans); }
.badge { display: inline-block; font: 700 var(--s)/1.4 var(--sans); padding: 1px 8px; margin-left: 6px; vertical-align: middle; }
.warn { background: var(--warn-bg); color: var(--warn-ink); }

/* a figure beside the sentence it supports: text left, figure in the right rail (>= 1000 px), stacked below that */
.fig-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: start; }
.fig-row-text > :first-child { margin-top: 0; }
.fig-row-aside > :first-child { margin-top: 0; }
.fig-row-aside > * + * { margin-top: var(--s6); }
@media (min-width: 1000px) {
  .fig-row { grid-template-columns: minmax(0, var(--measure)) var(--rail); gap: var(--gutter); justify-content: space-between; }
}

/* ---------- figures (map, chart, flow, sequence, swimlane, coverage): neutral ground, accent marks, ruled caption ---------- */
figure { margin: var(--s6) 0; }
figure figcaption { font: var(--s)/1.5 var(--sans); color: var(--muted); }
figure.map figcaption, figure.step-flow figcaption, figure.seq figcaption, figure.swim figcaption {
  margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--ink); }
figure.map figcaption b, figure.chart figcaption b { color: var(--ink); }

figure.map { max-width: 100%; }
.map-svg { display: block; width: 100%; height: auto; max-width: 100%; background: none; }
.map-land, .map-c { fill: var(--land); stroke: var(--land-line); stroke-width: .6; stroke-linejoin: round; }
.map-c.map-hl { fill: var(--accent); stroke: var(--bg); }
.map-hl.map-b1 { fill-opacity: .22; } .map-hl.map-b2 { fill-opacity: .4; } .map-hl.map-b3 { fill-opacity: .58; }
.map-hl.map-b4 { fill-opacity: .78; } .map-hl.map-b5 { fill-opacity: 1; }
.map-dot { fill: var(--accent); fill-opacity: .9; stroke: var(--bg); stroke-width: 1.5; }
.map-label { fill: var(--ink); font: 13px var(--sans); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.map-inset-frame { fill: none; stroke: var(--rule); }
.map-legend { margin: var(--s2) 0 0; }
.map-data { margin-top: var(--s3); font: var(--s)/1.4 var(--sans); width: auto; }
.map-data th, .map-data td { padding: 4px var(--s4) 4px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.map-data thead th { font: 700 var(--s)/1.3 var(--sans); color: var(--muted); }

figure.chart { max-width: 30rem; }
figure.chart figcaption { margin: 0 0 var(--s3); padding: 0 0 var(--s2); border-bottom: 1px solid var(--ink); }
.chart-title { display: block; font: 700 var(--s)/1.4 var(--sans); color: var(--ink); }
.chart-caption { display: block; color: var(--muted); font: var(--s)/1.5 var(--sans); }
.chart-svg { display: block; width: 100%; height: auto; background: none; padding: 0; }
.chart-svg text { font-family: var(--sans); font-size: 13px; fill: var(--ink); }
.chart-svg .chart-value { font-weight: 700; font-variant-numeric: tabular-nums; }
.chart-svg .chart-legend { fill: var(--muted); }
.chart-track { fill: var(--tint); }
.chart-bar.chart-s1, .chart-key.chart-s1 { fill: var(--accent); }
.chart-bar.chart-s2, .chart-key.chart-s2 { fill: var(--data-2); }
.chart-bar.chart-dim { fill-opacity: .45; }
.chart-data { font-size: var(--s); }

/* step-flow: numbered steps on a rail, one accent square per step */
figure.step-flow ol { list-style: none; counter-reset: step-flow; margin: 0; padding: 0; font-family: var(--sans); }
figure.step-flow li { counter-increment: step-flow; position: relative; padding: 0 0 var(--s4) 40px; margin: 0; border: 0; background: none; }
figure.step-flow li::before { content: counter(step-flow); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; font: 700 var(--s)/1 var(--sans); background: var(--accent); color: var(--on-accent); border-radius: 0; }
figure.step-flow li:not(:last-child)::after { content: ""; position: absolute; left: 11.5px; top: 28px; bottom: 4px; border-left: 1px solid var(--ink); }
.step-flow-label { display: block; font: 700 var(--s)/1.4 var(--sans); }
.step-flow-note { display: block; color: var(--muted); font: var(--s)/1.45 var(--sans); margin-top: 2px; }

/* sequence and swimlane diagrams: a wide diagram scrolls inside its own box */
.seq-scroll, .swim-scroll { overflow-x: auto; max-width: 100%; }
.seq-svg, .swim-svg { display: block; width: 100%; height: auto; }
.seq-svg.seq-p3 { min-width: 36rem; } .seq-svg.seq-p4 { min-width: 48rem; }
/* never wider than the drawing itself, so its labels stay near body size */
.seq-svg.seq-p2 { max-width: 24rem; } .seq-svg.seq-p3 { max-width: 36rem; } .seq-svg.seq-p4 { max-width: 48rem; }
.seq-svg text, .swim-svg text { font-family: var(--sans); }
.seq-box { fill: var(--bg); stroke: var(--ink); stroke-width: 1; }
.seq-name { fill: var(--ink); font-size: 14px; font-weight: 700; }
.seq-life { stroke: var(--land-line); stroke-width: 1; stroke-dasharray: 4 4; }
.seq-msg { stroke: var(--accent); stroke-width: 1.5; }
.seq-reply { stroke-dasharray: 6 4; }
.seq-head { fill: var(--accent); }
.seq-text { fill: var(--ink); font-size: 13.5px; }
.swim-svg.swim-l3 { min-width: 30rem; } .swim-svg.swim-l4 { min-width: 40rem; }
.swim-svg.swim-l2 { max-width: 24rem; } .swim-svg.swim-l3 { max-width: 34rem; } .swim-svg.swim-l4 { max-width: 45rem; }
.swim-band { fill: var(--tint); stroke: var(--rule); stroke-width: 1; }
.swim-head { fill: var(--ink); }
.swim-name { fill: var(--bg); font-size: 13px; font-weight: 700; }
.swim-step { fill: var(--bg); stroke: var(--accent); stroke-width: 1.2; }
.swim-text { fill: var(--ink); font-size: 13px; }
.swim-arrow { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.swim-tip { fill: var(--accent); }

/* visuals of a use-case article (website/articlevisuals.py): the sentence left, the picture it describes in the rail */
.visual { margin: 0; padding: var(--s5) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); align-items: start; }
.visual-text { margin: 0; font-size: var(--m); line-height: 1.6; max-width: var(--measure); }
/* one figure pattern in an article: bold title and muted caption above, a rule, the picture, the source line below */
.fig-title { display: block; font: 700 var(--s)/1.4 var(--sans); color: var(--ink); }
.fig-caption { display: block; color: var(--muted); font: var(--s)/1.5 var(--sans); }
.visual figure > figcaption:first-child { margin: 0 0 var(--s3); padding: 0; border: 0; }
.fig-source, .visual .map-credit { margin: var(--s2) 0 0; color: var(--muted); font: var(--s)/1.5 var(--sans); }
.use-case .companies-head { margin-top: var(--s6); }
.visual figure { margin: 0; max-width: 100%; }
/* a map or chart is drawn for the rail: stacked under its sentence (below 1000px) it keeps the rail width instead of growing to a
   near-empty 720px slab with oversized labels */
.visual figure.map, .visual figure.chart { max-width: min(100%, var(--rail)); }
@media (min-width: 1000px) { .visual { grid-template-columns: minmax(0, var(--measure)) var(--rail); gap: var(--gutter); justify-content: space-between; } }
.map-dot-label { font: 700 14px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; }
/* a market page's town map (website/markettowns.py): its title above with a rule, the market's country in land colour, the
   neighbours a shade lighter, cropped to the region round its dots, a locator marking that region, and a thin leader line where
   a label had to move away from its dot to stay clear of the others */
figure.map-towns figcaption { margin: 0 0 var(--s3); padding: 0 0 var(--s2); border-top: 0; border-bottom: 1px solid var(--ink); }
/* neighbours in paper colour with a hairline, the home country the one filled shape with a firmer edge: --tint against --land
   measured 1.06:1 (light) and 1.08:1 (dark), so the home country did not stand out; --bg against --land is the widest pair the
   palette has, and the --land-line edge (2:1 on --bg) carries the rest in both schemes */
.map-towns .map-ctx { fill: var(--bg); stroke: var(--rule); stroke-width: .6; stroke-linejoin: round; }
.map-towns .map-c.map-home { fill: var(--land); stroke: var(--land-line); stroke-width: 1.2; }
.map-towns .map-dot-label { font: 700 13px var(--sans); stroke-width: 3.5px; }
.map-dot-sub { font: 12px var(--sans); fill: var(--muted); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; }
.map-locator .map-loc-frame { fill: var(--bg); stroke: var(--land-line); stroke-width: .8; }
.map-locator .map-loc { fill: var(--land); stroke: var(--land-line); stroke-width: .3; }
.map-locator .map-loc-hl { fill: var(--accent); stroke: none; }
.map-locator .map-loc-crop { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.map-locator .map-loc-edge { fill: none; stroke: var(--land-line); stroke-width: .8; }
.map-leader { stroke: var(--muted); stroke-width: .9; }
figure.field-grid { margin: 0; }
.field-grid table { font-size: var(--s); }
.field-grid th, .field-grid td { text-align: center; white-space: nowrap; padding: 6px 4px; }
.field-grid thead th { font-size: var(--s); white-space: normal; }
.field-grid th[scope="row"] { text-align: left; font-weight: 400; white-space: normal; }
.field-grid td.fg-yes::after, .field-grid td.fg-no::after { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; box-sizing: border-box; }
.field-grid td.fg-yes::after { background: var(--accent); }
.field-grid td.fg-no::after { border: 1.5px solid var(--muted); }
.field-grid .fg-total th, .field-grid .fg-total td { border-top: 1px solid var(--ink); font-weight: 700; }
.field-grid figcaption { margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--ink); }

/* coverage grid (which fields came back, company by company) */
.cov { width: 100%; border-collapse: collapse; font: var(--s)/1.3 var(--sans); }
.cov th { font-weight: 700; font-size: var(--s); color: var(--muted); text-align: center; padding: 0 2px 6px; vertical-align: bottom; border-bottom: 1px solid var(--ink); text-transform: none; letter-spacing: 0; background: none; }
.cov th:first-child, .cov td:first-child { text-align: left; }
.cov td { padding: 6px 2px; border-bottom: 1px solid var(--rule); text-align: center; }
.cov .y, .cov .n { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.cov .y { background: var(--accent); }
.cov .n { border: 1.5px solid var(--muted); }

/* a real recorded call on an agent page: its title above the code; the block scrolls inside itself */
figure.example { margin: var(--s5) 0 var(--s6); }
figure.example figcaption { font: 700 var(--s)/1.4 var(--sans); color: var(--muted); margin-bottom: var(--s2); }
figure.example pre { margin: 0; max-height: 28rem; }
/* the real Odoo lead on a guide: one company's fields, a row per field */
figure.lead-example { margin: var(--s5) 0 var(--s6); max-width: var(--measure); }
figure.lead-example table { margin: 0; width: 100%; display: table; }
figure.lead-example caption { padding: 0 0 var(--s2); }
figure.lead-example th { width: 36%; font: 400 var(--s)/1.4 var(--sans); color: var(--muted); }

/* ---------- tables: ruled, quiet, fit their column ---------- */
table { border-collapse: collapse; width: 100%; font: var(--s)/1.4 var(--sans); font-variant-numeric: tabular-nums; }
caption { caption-side: bottom; text-align: left; padding: var(--s3) 0 0; font-size: var(--s); line-height: 1.55; color: var(--muted); }
th, td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th:last-child, td:last-child { padding-right: 0; }
thead th { font-size: var(--s); font-weight: 400; color: var(--muted); border-bottom: 3px solid var(--ink); vertical-align: bottom; line-height: 1.3; }
thead th::first-letter { text-transform: uppercase; }
tbody th { font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }
td code { word-break: break-word; }
/* the first column of a docs or guide table holds identifiers to copy (field, column, command and tool names): never broken inside the
   name; a table that then does not fit a phone scrolls inside its own box (the rule below), the page does not */
.docs-page td:first-child code { word-break: normal; overflow-wrap: normal; white-space: nowrap; }
/* A scroll box is the containing block of what it scrolls (position: relative): an absolutely positioned child of a
   non-positioned scroller (the field grid's visually hidden "yes" / "no") is laid out against the PAGE, escapes the box's
   clipping and widens the document (MEASURED: a 10-column field grid made a 390 px page 752 px wide). */
.table-scroll { position: relative; overflow-x: auto; max-width: 100%; margin: var(--s5) 0; }
.table-scroll > table { margin: 0; }
.table-scroll:focus-visible { outline-offset: 6px; }
/* a table wider than its column (docs command tables on a phone) shows that it scrolls: a shadow at the clipped edge */
.table-scroll, .prose > table {
  background: linear-gradient(to right, var(--bg) 30%, transparent) left / 24px 100% no-repeat local,
              linear-gradient(to left, var(--bg) 30%, transparent) right / 24px 100% no-repeat local,
              linear-gradient(to right, rgba(0,0,0,.12), transparent) left / 10px 100% no-repeat scroll,
              linear-gradient(to left, rgba(0,0,0,.12), transparent) right / 10px 100% no-repeat scroll;
}
.prose > table, .prose :not(.table-scroll):not(.lead-example):not(.visually-hidden) > table:not(.histogram):not(.cov):not(.map-data) { display: block; overflow-x: auto; position: relative; max-width: 100%; margin: var(--s5) 0; }
.prose > table > *, .prose :not(.table-scroll):not(.lead-example):not(.visually-hidden) > table:not(.histogram):not(.cov):not(.map-data) > * { min-width: 100%; }
/* (a visually hidden data table is not a scroll container: Chrome puts a scroll container in the Tab order, an invisible stop) */
.num, td.num, th.num { text-align: right; }
.histogram meter { width: 100%; min-width: 3rem; height: 0.6rem; appearance: none; -webkit-appearance: none; -moz-appearance: none; background: var(--tint); border: 0; border-radius: 2px; overflow: hidden; }
/* the browser's own meter is green: drawn here in ink on the tint, like every other bar on the site */
.histogram meter::-webkit-meter-bar { background: var(--tint); border: 0; border-radius: 2px; height: 0.6rem; }
.histogram meter::-webkit-meter-optimum-value, .histogram meter::-webkit-meter-suboptimum-value, .histogram meter::-webkit-meter-even-less-good-value { background: var(--ink); border-radius: 2px; }
.histogram meter::-moz-meter-bar { background: var(--ink); border-radius: 2px; }
.histogram td:nth-child(2) { text-align: right; width: 5rem; }
.histogram th code { word-break: break-all; }
.checks td:first-child, .checks td:nth-child(3) { white-space: nowrap; }
.result { display: inline-block; font: 700 var(--s)/1.4 var(--sans); padding: 2px 8px; border: 1px solid var(--rule); white-space: nowrap; }
.result.mismatch, .result.does_not_match { background: var(--warn-bg); color: var(--warn-ink); border-color: transparent; }
.result.verified, .result.confirmed { border-color: var(--accent); color: var(--accent); }

.proof .narrow-only { display: none; }
/* a company table on a phone: each row becomes a short labelled block (labels come from data-label) */
@media (max-width: 640px) {
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack thead { display: none; }
  table.stack caption { display: block; padding: 0 0 var(--s3); border-bottom: 1px solid var(--ink); }
  table.stack tr { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
  table.stack tbody tr:last-child { border-bottom: 0; }
  table.stack td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: var(--s4); text-align: right; }
  table.stack td::before { content: attr(data-label); font: 700 var(--s)/1.7 var(--sans); color: var(--muted); text-align: left; flex: none; max-width: 45%; }
  table.stack td:first-child { display: block; text-align: left; font-weight: 700; font-size: var(--m); padding-bottom: 4px; }
  table.stack td:first-child::before { display: none; }
  table.stack td:empty { display: none; }
  .proof table.stack td.nil { display: none; }
  .proof table.stack tbody tr:nth-child(n+4) { display: none; }
  .proof .wide-only { display: none; }
  .proof .narrow-only { display: inline; }
  table.stack.checks td { white-space: normal; }
  table.stack td[data-label="what we compared"] { display: block; text-align: left; }
  table.stack td[data-label="what we compared"]::before { display: block; max-width: none; }
  .table-scroll:has(> table.stack) { overflow: visible; background: none; }
}
/* An article's tables up to tablet width: eight columns do not fit 720px (59px of sideways scroll at 768), so each row is a
   card: its name, then two short fields to a line with the label inline, a long one (website, industry, description) on its
   own line, a field with no value left out of the card (the wide table keeps its dash), each register link a 44px tap target. */
@media (max-width: 899px) {
  .use-case table.stack, .use-case table.stack tbody { display: block; width: 100%; }
  .use-case table.stack thead { display: none; }
  .use-case table.stack caption { display: block; padding: 0 0 var(--s3); border-bottom: 1px solid var(--ink); }
  .use-case table.stack tr { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 2px var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
  .use-case table.stack tbody tr:last-child { border-bottom: 0; }
  .use-case table.stack td { display: block; width: auto; border: 0; padding: 0; text-align: left; white-space: normal; overflow-wrap: break-word; font-size: var(--s); line-height: 1.45; }
  .use-case table.stack td::before { content: attr(data-label); display: inline-block; margin-right: 6px; font: 700 var(--s)/1.6 var(--sans); color: var(--muted); }
  .use-case table.stack td[data-col="employee_count_source"] { grid-column: span 2; }
  .use-case table.stack td:first-child, .use-case table.stack td[data-col="domain"],
  .use-case table.stack td[data-col="description"], .use-case table.stack td[data-label="what we compared"],
  .use-case table.checks td[data-label="register"] { grid-column: 1 / -1; }
  .use-case table.stack td[data-col="description"]::before, .use-case table.stack td[data-label="what we compared"]::before { display: block; }
  .use-case table.stack td:first-child { font-weight: 700; font-size: var(--m); }
  .use-case table.stack td:first-child::before { display: none; }
  .use-case table.stack td.nil, .use-case table.stack td:empty { display: none; }
  .use-case table.checks td a { display: inline-flex; align-items: center; min-height: 44px; }
  .use-case .table-scroll:has(> table.stack) { overflow: visible; background: none; }
}
@media (max-width: 640px) {
  .use-case table.stack td[data-col="industry"], .use-case table.stack td[data-col="employee_count_source"] { grid-column: 1 / -1; }
}
/* A German page (templates/de/): its words are longer, so a card label takes the width it needs and the register cards lay
   out by their German labels exactly as the English ones do by theirs. A heading is never hyphenated where its words fit: auto
   hyphenation on every width split English words inside German headings ("EU-Regu-latory-Berater" at 1440px). Only on a phone,
   where one long compound may be wider than the line, does a heading hyphenate (hyphens needs the page's lang="de"), and then
   only a word of 14+ letters with 6+ on each side; anything still too wide wraps (overflow-wrap). Matches nothing on an English page. */
html[lang="de"] h1, html[lang="de"] h2, html[lang="de"] h3 { hyphens: manual; overflow-wrap: break-word; }
@media (max-width: 599px) {
  html[lang="de"] h1, html[lang="de"] h2, html[lang="de"] h3 { hyphens: auto; hyphenate-limit-chars: 14 6 6; }
}
@media (max-width: 899px) {
  html[lang="de"] .use-case table.stack td::before { max-width: none; hyphens: auto; }
  html[lang="de"] .use-case table.stack td[data-label="Was wir verglichen haben"],
  html[lang="de"] .use-case table.checks td[data-label="Register"] { grid-column: 1 / -1; }
  html[lang="de"] .use-case table.stack td[data-label="Was wir verglichen haben"]::before { display: block; }
}

/* ---------- disclosure ---------- */
details:not(.consent-details) > summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--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(--ink); font: 700 1em var(--sans); }
details:not(.consent-details)[open] > summary::before { content: "\2212"; }
details:not(.dev):not(.consent-details) { padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
details:not(.dev):not(.consent-details) > summary { font: 700 var(--m)/1.4 var(--sans); }
details:not(.dev):not(.consent-details)[open] > summary { margin-bottom: var(--s3); }
details:not(.dev):not(.consent-details) > p { margin: 0 0 0.6em; }
details.dev { margin-top: var(--s6); padding: var(--s3) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
details.dev > summary { font: 700 var(--s)/1.4 var(--sans); color: var(--ink); }
details.dev[open] > summary { margin-bottom: var(--s3); }

/* ---------- lists of pages (use cases, guides, insights, markets) ---------- */
.article-list { list-style: none; padding: 0; margin: var(--s6) 0; border-top: 1px solid var(--ink); }
.article-list > li { border-bottom: 1px solid var(--rule); padding: var(--s4) 0 18px; margin: 0; }
.article-list > li > a { font: 700 var(--ml)/1.3 var(--display); color: var(--ink); text-decoration: none; }
.article-list > li > a:hover { text-decoration: underline; color: var(--ink); }
.article-list p { margin: 6px 0 0; max-width: var(--measure); font-size: var(--m); line-height: 1.5; }
.article-list p.meta { font: var(--s)/1.5 var(--sans); color: var(--muted); }

/* related links: a ruled list of two columns, each with an arrow */
.related ul, .related-markets ul, .market > h2#related + ul, .market > h2#insights + ul, .market > h2#real-runs + ul {
  list-style: none; padding: 0; margin: 0 0 var(--s5); border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gutter); }
.related li, .related-markets li, .market > h2#related + ul > li, .market > h2#insights + ul > li, .market > h2#real-runs + ul > li { margin: 0; border-bottom: 1px solid var(--rule); }
.related li a, .related-markets li a, .market > h2#related + ul a, .market > h2#insights + ul a, .market > h2#real-runs + ul a {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3); min-height: 48px; padding: var(--s3) 0; font-size: var(--m); line-height: 1.4; color: var(--ink); text-decoration: none; }
.related li a::after, .related-markets li a::after, .market > h2#related + ul a::after, .market > h2#insights + ul a::after, .market > h2#real-runs + ul a::after { content: "\2192"; color: var(--accent); font-family: var(--sans); flex: none; }
.related li a:hover, .related-markets li a:hover, .market > h2#related + ul a:hover, .market > h2#insights + ul a:hover, .market > h2#real-runs + ul a:hover { color: var(--accent); }
@media (min-width: 760px) {
  .related ul, .related-markets ul, .market > h2#related + ul, .market > h2#insights + ul, .market > h2#real-runs + ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* question and answer pairs (market and use-case "who"): question left, answer right */
dl.who { margin: var(--s5) 0; border-top: 1px solid var(--ink); }
dl.who dt { font: 700 var(--m)/1.35 var(--sans); padding: var(--s4) 0 0; }
dl.who dd { margin: 0; padding: var(--s2) 0 var(--s4); border-bottom: 1px solid var(--rule); font-size: var(--m); line-height: 1.55; }
@media (min-width: 760px) {
  dl.who { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 40px; }
  dl.who dt, dl.who dd { padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
}
/* the buyer / target pair in an article rail: label over text, set apart by space */
.fig-row-aside dl.who { display: block; border: 0; margin-top: 0; }
.fig-row-aside dl.who dt { font: 700 var(--s)/1.3 var(--sans); color: var(--accent); padding: 0; border: 0; }
.fig-row-aside dl.who dd { font: var(--s)/1.5 var(--sans); padding: 4px 0 var(--s4); border: 0; }
.fig-row-aside dl.who dd:last-child { padding-bottom: 0; }

dl.definitions dt { font-weight: 700; margin-top: var(--s4); }
dl.definitions dd { margin: 2px 0 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0 var(--s6); margin: var(--s4) 0; border-top: 1px solid var(--ink); }
.facts div { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); font-size: var(--s); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-size: var(--m); }

/* numbered steps (market "What to do with it"): three ruled columns with serif numerals */
ol.steps { list-style: none; counter-reset: steps; padding: 0; margin: var(--s4) 0 var(--s5); border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr); }
ol.steps > li { counter-increment: steps; margin: 0; padding: var(--s4) 0 var(--s5); border-bottom: 1px solid var(--rule); font-size: var(--m); line-height: 1.5; }
ol.steps > li::before { content: counter(steps); display: block; font: 700 var(--l)/1 var(--display); color: var(--ink); margin-bottom: var(--s3); }
@media (min-width: 760px) {
  ol.steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; border-bottom: 0; }
  ol.steps > li { padding: var(--s5) 28px var(--s3) 0; border-bottom: 0; }
  ol.steps > li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
}

/* ---------- call to action: a ruled block, no coloured band ---------- */
.cta-box { margin: var(--s8) 0 var(--s4); padding: var(--s6) var(--s6); background: var(--tint); border-radius: 10px; max-width: none; }
.cta-box h2 { margin: 0 0 var(--s3); }
.cta-box > p:not(.cta) { max-width: var(--measure); }
.cta-box .cta { margin: var(--s4) 0 var(--s3); }
.cta-box .note { margin: 0; }
.cta-box details.dev { margin-top: var(--s4); border-bottom: 0; }
/* the request to start with: a quoted prompt, not a code box */
.cta-box pre { background: var(--bg); border: 0; border-radius: 16px 16px 16px 4px; padding: var(--s4) 18px; margin: var(--s4) 0; white-space: pre-wrap; overflow-wrap: anywhere; font: var(--m)/1.45 var(--sans); color: var(--ink); max-width: var(--measure); }
.cta-box pre code { font: inherit; }
@media (min-width: 1000px) {
  /* text left, the action and its note in the right rail */
  .cta-box:has(> .note) { display: grid; grid-template-columns: minmax(0, var(--measure)) var(--rail); column-gap: var(--gutter); justify-content: space-between; align-items: start; }
  .cta-box:has(> .note) > * { grid-column: 1; }
  .cta-box:has(> .note) > .cta { grid-column: 2; grid-row: 1 / span 2; margin-top: 4px; }
  .cta-box:has(> .note) > .note { grid-column: 2; grid-row: 3 / span 3; }
}

/* ---------- home ----------
   Sections are separated by space and by two tinted bands (the search, the closing action), never by rules. A band runs the
   full width of the window although it sits in the page column: its ground is painted by a spread shadow, clipped to its own
   height, which adds nothing to the page's width. */
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s5); margin-bottom: var(--s5); }
.section-heading h2 { margin: 0; }
.section-heading .text-link { white-space: nowrap; }
body.home main.wrap { padding-top: 0; padding-bottom: 0; }
body.home main.wrap > section { padding-block: var(--s8) 0; }
body.home main.wrap > section > h2:first-child { margin-top: 0; }

body.home main.wrap > section.hero { padding-block: var(--s6) 44px; }
/* The home page keeps its header in reach: it sticks, and its compact button appears once the large one in the page has
   scrolled under it (a scroll-driven animation on the large button's own view timeline: no script). A browser without
   scroll-driven animations, or a reader who asked for less motion, shows the compact button from the start. */
body.home .site-header { position: sticky; top: 0; z-index: 5; }
html:has(body.home) { scroll-padding-top: 88px; }
@keyframes nav-cta-in { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
@keyframes nav-edge-in { to { box-shadow: 0 1px 0 var(--rule); } }
@supports (animation-timeline: view()) and (timeline-scope: --x) {
  @media (prefers-reduced-motion: no-preference) {
    body.home { timeline-scope: --hero-act; }
    body.home .hero .button { view-timeline: --hero-act block; view-timeline-inset: 56px 0px; }
    body.home .nav .nav-cta { animation: nav-cta-in linear both; animation-timeline: --hero-act; animation-range: exit 20% exit 100%; }
    body.home .site-header { animation: nav-edge-in linear both; animation-timeline: scroll(root); animation-range: 0 80px; }
  }
}
.hero h1 { max-width: 13.5em; margin-bottom: 22px; }
.hero .lead { margin: 0 0 28px; }
.act { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s5) 28px; }
.hero .button { min-height: 66px; padding: 0 34px; box-shadow: 6px 6px 0 var(--sq); }
.hero .button:hover { box-shadow: 4px 4px 0 var(--sq); }
.price { margin: 0; font-size: var(--s); line-height: 1.45; max-width: 30em; }
.price strong { display: block; font: 700 var(--ml)/1.2 var(--display); }
.price a { font-weight: 700; }

/* one real search: what was typed, the candidates looked at, the ones kept */
body.home main.wrap > section.trail { padding-block: 36px var(--s5); background: var(--tint); box-shadow: 0 0 0 100vmax var(--tint); clip-path: inset(0 -100vmax); }
/* every published search is in the page; they share one grid cell, so the band is as tall as the tallest and never jumps */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s linear 300ms; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 300ms ease; }
/* the squares are the picture of a search, so they get the widest column */
.trail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(0, 1.1fr); gap: 40px; align-items: start; align-content: start; }
.step-h { font: 700 var(--ml)/1.15 var(--display); margin: 0 0 14px; }
/* a count wears the colour of the squares it counts: the kept ones the marker, the candidates looked at the grey */
.trail-kept .step-h b, .proof h2 b, .result-line b { background: var(--mark); color: var(--mark-ink); padding: 0 0.15em; }
.trail-look .step-h b, .result-line b.all { background: var(--sq); color: var(--mark-ink); padding: 0 0.15em; }
.prompt { background: var(--bg); border-radius: 16px 16px 16px 4px; padding: var(--s4) 18px; margin: 0; font-size: var(--m); line-height: 1.4; }
.cap { font-size: var(--s); line-height: 1.45; color: var(--muted); margin: 10px 0 0; }
.squares { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 5px; margin: 0; }
.squares i { aspect-ratio: 1; border-radius: 2px; background: var(--sq); }
.squares i.k { background: var(--mark); box-shadow: inset 0 0 0 2px var(--mark-ink); }
.kept { list-style: none; margin: 0; padding: 0; background: var(--bg); border-radius: 10px; overflow: hidden; }
.kept li { margin: 0; padding: 10px var(--s4); border-top: 2px solid var(--tint); font-size: var(--m); line-height: 1.3; }
.kept li:first-child { border-top: 0; }
.kept strong { display: block; }
.kept small { display: block; font-size: var(--s); line-height: 1.4; color: var(--muted); }
.match { white-space: nowrap; }   /* "In the official register": plain words, no mark (the marker means kept, nothing else) */
.hero-dots { display: flex; align-items: center; gap: 0; margin: var(--s3) 0 0 -12px; }
.hero-dots[hidden] { display: none; }
.hero-dots button[data-hero-dot] { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
/* a waiting search is an outlined square, the one on show a filled one: --muted on --tint is 6.6:1 (light) and 6.9:1 (dark) */
.hero-dots button[data-hero-dot]::before { content: ""; width: 14px; height: 14px; border-radius: 2px; box-shadow: inset 0 0 0 2px var(--muted); }
.hero-dots button[data-hero-dot][aria-current="true"]::before { background: var(--ink); box-shadow: none; }
.hero-pause { margin-left: var(--s3); min-height: 44px; padding: 0 var(--s3); border: 0; background: none; color: var(--muted); font: var(--s)/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hero-pause:hover { color: var(--ink); }
.hero-pause[hidden] { display: none; }
.hero-dots button:focus-visible { outline: 3px solid var(--ink); outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide.is-active { transition: none; } }
@keyframes nav-rows-clip { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 44px 0); } }
@keyframes nav-links-out { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }

/* the result tables: the list as it arrived, one per search of the band, turning with it */
.proof h2 { margin: 0 0 var(--s4); }
.proof-ask { max-width: var(--measure); margin: 0 0 var(--s4); }
.proof-act { margin: var(--s5) 0 0; }
.proof .table-scroll { margin: 0; }
.proof table { font-size: var(--m); }
.proof th, .proof td { padding: 14px var(--s4) 14px 0; }
.proof thead th { padding-top: 0; padding-bottom: 10px; }
.proof td:first-child { font-weight: 700; min-width: 8em; }
.proof td.nil { color: var(--muted); }
.proof caption { font-size: var(--s); }
.proof .registry { white-space: nowrap; }
.proof-note { font-size: var(--s); margin: var(--s4) 0 0; }
.proof-note a { font-weight: 700; }

/* how a search works: three short lines, in order, then what else arrives */
ol.how-steps { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) 40px; }
ol.how-steps li { margin: 0; line-height: 1.45; }
ol.how-steps strong { display: block; font: 700 var(--ml)/1.2 var(--display); margin-bottom: 6px; }
.how-more { max-width: 46em; margin: 0; color: var(--muted); }
.how code { font: inherit; font-weight: 700; background: none; padding: 0; color: var(--ink); }

/* who it is for: one line of links */
ul.audience { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) 28px; margin: var(--s7) 0 0; padding: 0; }
ul.audience li { margin: 0; font-weight: 700; }

/* questions: closed until asked, each a tinted row */
section.faq details:not(.dev):not(.consent-details) { background: var(--tint); border: 0; border-radius: 8px; padding: 0; margin: 0 0 var(--s2); max-width: 46em; }
section.faq details > summary { padding: var(--s4) 18px; }
section.faq details:not(.dev):not(.consent-details)[open] > summary { margin-bottom: 0; }
section.faq details:not(.dev):not(.consent-details) > p { margin: 0; padding: 0 18px 18px calc(18px + 1.2em); }

/* more searches: a title and where it looked */
.case-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) 40px; list-style: none; margin: 0; padding: 0; }
.case { position: relative; margin: 0; }
.case h3 { margin: 0 0 var(--s1); font: 700 var(--m)/1.3 var(--sans); letter-spacing: 0; text-wrap: wrap; }
.case h3 a::after { content: ""; position: absolute; inset: 0; }
.case-place { margin: 0; font-size: var(--s); color: var(--muted); }
.case:focus-within { outline: 3px solid var(--ink); outline-offset: 6px; }
.case h3 a:focus-visible { outline: 0; }

/* the closing action: the second band */
body.home main.wrap > section.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5) var(--s7); margin: var(--s8) 0 0; padding-block: var(--s7); border: 0; background: var(--tint); box-shadow: 0 0 0 100vmax var(--tint); clip-path: inset(0 -100vmax); }
body.home section.cta-box h2 { margin: 0; }
body.home section.cta-box .cta { margin: 0; }
/* it is the view's one action, so it is filled even though the markup calls it secondary */
body.home section.cta-box .button.secondary, .proof-act .button.secondary { background: var(--ink); color: var(--bg); box-shadow: 5px 5px 0 var(--sq); }
body.home section.cta-box .button.secondary:hover, .proof-act .button.secondary:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--sq); }
body.home #interfaces { margin: 0; padding: var(--s5) 0; max-width: none; }
body.home .site-footer { margin-top: 0; }

@media (max-width: 899px) {
  /* stacked: the request, then the two counts as one sentence over the kept companies, then the squares (the kept rows
     come before the picture, so a phone's first screen reaches a company). The words stay in reading order in the page. */
  .trail-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .trail-ask { order: 1; margin-bottom: var(--s5); }
  .trail-look { display: contents; }
  .trail-look > .step-h { order: 2; margin-bottom: 6px; }
  .trail-kept { order: 3; }
  .trail-look > .squares { order: 4; margin-top: var(--s5); }
  .trail-look > .cap { order: 5; }
  .squares { gap: 4px; }
  ol.how-steps, .case-cards { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
}
@media (max-width: 760px) {
  body.home main.wrap > section { padding-block: var(--s7) 0; }
  body.home main.wrap > section.hero { padding-block: var(--s2) 22px; }
  .hero h1 { margin-bottom: 12px; }
  .hero .lead { margin-bottom: 18px; line-height: 1.35; }
  .hero .more { display: none; }   /* the second sentence and the two asides a phone's first screen has no room for; the price stays */
  .act { display: block; }
  .hero .button { display: flex; min-height: 58px; padding: 0 10px; margin-right: 4px; box-shadow: 4px 4px 0 var(--sq); }
  .price { margin-top: 16px; }
  body.home main.wrap > section.trail { padding-block: 20px var(--s4); }
  .trail .step-h { margin-bottom: 10px; }
  .trail-ask .cap { display: none; }   /* the country and sizes are in the request itself; the first screen needs the room */
  .prompt { padding: var(--s3) 14px; }
  /* a phone's header is two rows (brand and button, then the links). Once the page moves, the links row is clipped away
     (clip-path also ends its hit area) and taken out of the tab order, so 52px stay; without scroll-driven animations both
     rows stay. */
  body.home .nav { padding-top: 6px; row-gap: 2px; }
  body.home .nav .nav-cta { min-height: 44px; }
  body.home .nav ul { height: 44px; }
  @supports (animation-timeline: view()) and (timeline-scope: --x) {
    @media (prefers-reduced-motion: no-preference) {
      body.home .site-header { animation: nav-rows-clip linear both; animation-timeline: scroll(root); animation-range: 40px 120px; }
      body.home .nav ul { animation: nav-links-out linear both; animation-timeline: scroll(root); animation-range: 40px 120px; }
    }
  }
  body.home main.wrap > section.cta-box { margin-top: var(--s7); padding-block: var(--s6); }
  body.home section.cta-box .button { width: 100%; }
  ul.audience { display: block; margin-top: var(--s6); }
  ul.audience li { margin: 0 0 var(--s2); }
}
/* the example table on a phone: the company, then its other cells on one line (a cell with no value is left out) */
@media (max-width: 640px) {
  .proof table.stack td { display: inline; padding: 0; text-align: left; font-size: var(--s); color: var(--muted); }
  .proof table.stack td::before { content: none; }
  .proof table.stack td:first-child { display: block; font-size: var(--m); color: var(--ink); padding-bottom: 2px; }
  .proof table.stack td + td + td:not(.nil)::before { content: " · "; display: inline; font: inherit; color: inherit; }
  .proof table.stack tr { padding: var(--s3) 0; }
  .proof table.stack caption { border-bottom: 3px solid var(--ink); }
}

/* ---------- use-case article ---------- */
.use-case { max-width: none; }
.use-case > h1 { max-width: 22em; }
.use-case > h1 { margin-bottom: var(--s5); }
.use-case > h2, .use-case > p, .use-case > ul, .use-case > .note, .use-case > .tldr, .use-case > .banner { max-width: var(--measure); }
/* sections are set apart by space; rules stay inside the tables */
.use-case > h2, .use-case .fig-row-text > h2, .use-case > section > h2 { margin-top: var(--s8); max-width: none; }
.use-case > .fig-row { margin-top: var(--s8); }
.use-case > .fig-row .fig-row-text > h2 { margin-top: 0; }
.use-case > section.cta-box > h2 { margin-top: 0; }
/* the first screen: the result in one line, the squares it counts across the whole column (the page's picture), the request */
.run-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); margin: 0 0 var(--s6); }
.result-line { font: 700 var(--l)/1.2 var(--display); letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
@media (min-width: 760px) { .run-squares .squares { grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 6px; } }
.ask-h { font: 700 var(--s)/1.3 var(--sans); color: var(--muted); margin: 0 0 var(--s2); }
.run-ask { max-width: var(--measure); }
.run-ask .prompt { background: var(--tint); }
.run-ask .ask-h + .prompt + .cap, .run-ask > .cap:first-child { margin-top: var(--s2); }
.tldr { margin: 0 0 var(--s4); padding: 0; max-width: var(--measure); }
.tldr ul { list-style: none; padding: 0; margin: 0; }
.tldr li { font-size: var(--m); line-height: 1.5; margin: 0 0 var(--s2); }

/* the delivered-companies table fits the column: wrapping cells, mono domains, numbers right */
.use-case table, .proof table { font-size: var(--s); }
.use-case th, .use-case td, .proof th, .proof td { padding-right: 12px; }
.use-case thead th, .proof thead th { white-space: normal; font-size: var(--s); }
.use-case td:first-child, .proof td:first-child { font-weight: 700; min-width: 8em; }

/* a readable description column, only where the page column has room for it: at 22rem the nine-column table scrolled sideways by 33px on a desktop window */
@media (min-width: 1280px) { th[data-col="description"], td[data-col="description"] { min-width: 18rem; } }
td[data-col="employee_count"], td[data-col="registry_id"], th[data-col="employee_count"] { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- market pages ---------- */
.market { max-width: none; }
.market > h1 { max-width: 14em; }
.market > .preview + .note { font: var(--m)/1.5 var(--sans); color: var(--ink); margin-top: var(--s5); }
.market > .lead { max-width: var(--measure); }
.market > h2 { margin-top: var(--s8); }
.market > .fig-row { margin-top: var(--s8); }
.market > .fig-row h2 { margin-top: 0; }
.market > p, .market > .note { max-width: var(--measure); }
.market > .preview, .market > dl.who, .market > ol.steps, .market > ul, .market > .facts { max-width: none; }
/* the example companies: a ruled table of rows (name, where, what it does) */
.preview { list-style: none; padding: 0; margin: var(--s4) 0 var(--s3); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); max-width: none; font-family: var(--sans); }
.preview li { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px var(--s5); }
.preview li:last-child { border-bottom: 0; }
.preview .co { font-weight: 700; font-size: var(--m); margin: 0; }
.preview .where { color: var(--muted); font-size: var(--s); margin: 0; }
.preview .site { font-size: var(--s); color: var(--ink); }
.preview .what { margin: 0; font-size: var(--s); line-height: 1.5; }
.preview .what .note { font-size: var(--s); }
@media (min-width: 900px) {
  /* the example companies as a ruled table: name | city | legal form | website | what it does. The separators stay in
     the text (readers and the review panel read "City · GmbH · domain"); only their dots are not drawn here. */
  .preview li { grid-template-columns: minmax(0, 13rem) minmax(0, 8.5rem) minmax(0, 5.5rem) minmax(0, 12rem) minmax(0, 1fr); gap: 0 var(--s4); padding: 14px 0; align-items: start; }
  .preview .where { display: contents; }
  .preview .where .sep { display: none; }
  .preview .where .city, .preview .where [data-legal-form] { font-size: var(--s); color: var(--ink); }
  .preview .site { font-size: var(--s); overflow-wrap: anywhere; }
  .preview .co { font-size: var(--s); }
  .preview .what { font-size: var(--s); }
}
.hero-cta { margin-top: var(--s5); }

/* markets index: countries as a ruled grid of links */
body.markets-index h2 { margin-top: var(--s7); }
body.markets-index .article-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 40px; margin-top: var(--s3); }
body.markets-index .article-list > li > a { font-size: var(--m); }
@media (min-width: 760px) { body.markets-index .article-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- insights ---------- */
body.insights-index main.wrap > section.topic { padding: var(--s5) 0; border-top: 1px solid var(--ink); }
body.insights-index section.topic h2 { margin: 0 0 var(--s2); font-size: var(--ml); }
body.insights-index section.topic h2 a { color: var(--ink); text-decoration: none; }
body.insights-index section.topic h2 a:hover { text-decoration: underline; }
body.insights-index section.topic > p { font-size: var(--m); max-width: var(--measure); }
body.insights-index section.topic .article-list { margin: var(--s3) 0; border-top: 1px solid var(--rule); }
body.insights-index section.topic .article-list > li > a { font-size: var(--m); }
@media (min-width: 1000px) {
  body.insights-index main.wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  body.insights-index main.wrap > :not(section.topic) { grid-column: 1 / -1; }
}
.insight-topic, .insight { max-width: none; }
.insight-topic > p, .insight-topic > .lead, .insight > p, .insight > h2 { max-width: var(--measure); }
.insight-topic > h2, .insight > h2 { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--rule); }
.insight-topic .table-scroll, .insight .table-scroll { max-width: 760px; }
.insight section[data-insight-body] > p { max-width: var(--measure); }
.insight-table td { text-align: right; }
.insight-table th[scope="col"]:not(:first-child) { text-align: right; }
.insight-topic > .findings, .insight-topic > .article-list, .insight > .related ul { max-width: none; }
.insight-topic .findings { list-style: none; padding: 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gutter); }
.insight-topic .findings > li { padding: var(--s4) 0; border-bottom: 1px solid var(--rule); margin: 0; }
.insight-topic .findings strong { font: 700 var(--m)/1.35 var(--sans); }
.insight-topic .findings p { font-size: var(--m); }
@media (min-width: 1000px) { .insight-topic .findings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* a topic hub's chart sits beside its title and lead, in the rail (DOM order unchanged) */
@media (min-width: 1000px) {
  .insight-topic:has(> .lead + figure.chart) { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: var(--gutter); align-items: start; }
  .insight-topic:has(> .lead + figure.chart) > * { grid-column: 1 / -1; }
  .insight-topic:has(> .lead + figure.chart) > .kicker, .insight-topic:has(> .lead + figure.chart) > h1, .insight-topic:has(> .lead + figure.chart) > .lead { grid-column: 1; }
  .insight-topic:has(> .lead + figure.chart) > .lead + figure.chart { grid-column: 2; grid-row: 1 / span 4; margin: 0; max-width: none; }
}
.advice { border-left: 3px solid var(--ink); padding-left: var(--s4); max-width: var(--measure); }
.insight-provenance { font: var(--s)/1.5 var(--sans); color: var(--muted); }
.insight-provenance .subtitle { margin: 0 0 var(--s1); }
.insight-provenance .changes { margin: var(--s2) 0 0; padding-left: 1.2rem; }
.findings li { margin-bottom: var(--s3); }
/* an insight's chart or map sits beside its sentences and table (DOM order unchanged, so the text order is too) */
@media (min-width: 1000px) {
  .insight:has(> figure) { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail); column-gap: var(--gutter); align-items: start; }
  .insight:has(> figure) > * { grid-column: 1; }
  .insight:has(> figure) > section[data-insight-body] { grid-row: 2 / span 2; }
  .insight:has(> figure) > figure { grid-column: 2; grid-row: 2; margin-top: 0; max-width: none; }
  .insight:has(> figure) > figure ~ figure { grid-row: 3; }
}

/* ---------- guides and docs (editorial guides; documentation-like /docs/ pages) ---------- */
body.docs-page .prose { max-width: var(--measure); }
body.docs-page .prose > h2 { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--rule); }
body.docs-page .prose > h3 { margin-top: var(--s6); }
body.docs-page .prose > ol > li, body.docs-page .prose > ul > li { margin-bottom: 0.5em; }
body.docs-page .prose > figure.seq, body.docs-page .prose > figure.swim, body.docs-page .prose > figure.example { max-width: none; }
body.docs-page .prose blockquote, body.docs-page .banner { max-width: var(--measure); }
body.guides-index .article-list > li > a, body.use-cases-index .article-list > li > a { font-size: var(--ml); }
body.use-cases-index main.wrap > .article-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gutter); }
@media (min-width: 1000px) { body.use-cases-index main.wrap > .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.use-cases-index main.wrap > h1, body.guides-index main.wrap > h1, body.markets-index main.wrap > h1, body.insights-index main.wrap > h1 { max-width: 20em; }

/* /docs/ pages (pricing, Telegram, MCP): documentation layout. Sans text in a 72-character column, mono for data,
   an "on this page" rail at >= 1000 px; the same tokens, so it reads as one site. */
body.docs-ref main.wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
body.docs-ref .prose { max-width: 720px; font: var(--m)/1.65 var(--sans); }
body.docs-ref .prose > h1 { font-size: var(--xl); }
body.docs-ref .prose > h2 { font-size: var(--l); }
body.docs-ref .prose > h3 { font-size: var(--m); }
body.docs-ref :is(.prose, .prose > details.fold) > p, body.docs-ref :is(.prose, .prose > details.fold) > ul, body.docs-ref :is(.prose, .prose > details.fold) > ol { max-width: 72ch; }
body.docs-ref :is(.prose, .prose > details.fold) > ol { list-style: none; counter-reset: dstep; padding: 0; border-left: 1px solid var(--rule); margin-left: 15px; }
body.docs-ref :is(.prose, .prose > details.fold) > ol > li { counter-increment: dstep; position: relative; padding: 0 0 var(--s4) 32px; margin: 0; }
body.docs-ref :is(.prose, .prose > details.fold) > ol > li::before { content: counter(dstep, decimal-leading-zero); position: absolute; left: -16px; top: 1px; width: 31px; height: 26px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--rule); font: 700 var(--s)/1 var(--mono); color: var(--accent); }
body.docs-ref :is(.prose, .prose > details.fold) > ol > li > ul { list-style: none; padding: 0; margin: var(--s2) 0 0; }
body.docs-ref :is(.prose, .prose > details.fold) > ol > li > ul > li { border: 1px solid var(--rule); padding: 10px 14px; margin: 0 0 var(--s2); font-size: var(--s); }
body.docs-ref :is(.prose, .prose > details.fold) > ul { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
body.docs-ref :is(.prose, .prose > details.fold) > ul > li { position: relative; padding: 12px 0 12px 22px; margin: 0; border-bottom: 1px solid var(--rule); }
body.docs-ref :is(.prose, .prose > details.fold) > ul > li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 6px; height: 6px; background: var(--accent); }
body.docs-ref table { font-size: var(--s); }
body.docs-ref td { font-variant-numeric: tabular-nums; }
body.docs-ref td:first-child code { white-space: nowrap; }
/* a paragraph that opens with its own bold label (pricing "Introductory pack.") is a callout */
body.docs-ref :is(.prose, .prose > details.fold) > p.callout { border-left: 3px solid var(--accent); background: var(--tint); padding: var(--s4) 20px; }
body.docs-ref :is(.prose, .prose > details.fold) > p.callout > strong:first-child { display: block; font: 700 var(--s)/1.3 var(--sans); color: var(--accent); margin-bottom: 6px; }
.toc { font: var(--s)/1.4 var(--sans); }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 0 7px 12px; color: var(--muted); text-decoration: none; border-left: 1px solid var(--rule); }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
@media (max-width: 999px) { .toc { display: none; } }
@media (min-width: 1000px) {
  body.docs-ref main.wrap { grid-template-columns: minmax(0, 720px) 220px; justify-content: space-between; gap: var(--gutter); }
  .toc { position: sticky; top: var(--s5); align-self: start; padding-top: 10px; }
}

/* API reference: the reference renders below the quick-start; its own stylesheet styles it */
body.api-reference .site-footer { display: none; }
body.api-reference .quickstart { max-width: var(--max); padding-top: var(--s7); padding-bottom: var(--s6); font: var(--m)/1.65 var(--sans); }
body.api-reference .quickstart > h1 { max-width: 760px; }
body.api-reference .quickstart > p, body.api-reference .quickstart > pre { max-width: 760px; }
/* the bundle's info-title heading, re-tagged h1 -> h2 by api-reference-fixup.js: keep the h1 look */
body.api-reference h2.section-header-label { font-size: var(--xl); line-height: 1.1; margin: 0 0 var(--s5); }

/* ---------- transcript (bot conversation) ---------- */
.transcript { list-style: none; padding: 0; }
.transcript li { margin: 0.4rem 0; }
.transcript .who { font: var(--s) var(--sans); color: var(--muted); }
.transcript pre { margin: 0.2rem 0; white-space: pre-wrap; }
.transcript .bot pre { background: var(--bg); }

/* ---------- footer ---------- */
.site-footer { margin-top: var(--s7); padding: 30px 0 44px; background: var(--tint); font: var(--s)/1.6 var(--sans); color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); padding-bottom: var(--s5); }
.footer-top .brand { font-size: var(--ml); }
.footer-nav { margin: 0 0 0 auto; display: flex; flex-wrap: wrap; gap: var(--s2) 22px; list-style: none; padding: 0; }
.footer-nav li { margin: 0; }
.footer-nav a, .footer-bottom a { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s6); }
.footer-bottom p { margin: 0; font-size: var(--s); }
.footer-bottom p.muted { max-width: 560px; }
.footer-bottom p:not(.muted) { text-align: right; }

/* ---------- consent banner: a bar at the bottom, never an overlay; Accept and Decline identical ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--bg); border-top: 1px solid var(--ink); box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08); font: var(--s)/1.5 var(--sans); max-height: 60vh; overflow-y: auto; }
.consent[hidden] { display: none; }
.consent-inner { padding-top: var(--s3); padding-bottom: var(--s3); }
.consent p { margin: 0.3rem 0; max-width: 72ch; }
.consent-title { font-weight: 700; }
.consent-details summary { cursor: pointer; font-weight: 700; }
.consent-details[open] { max-height: 40vh; overflow-y: auto; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
/* Accept and Decline are the same quiet outline: neither is the page's action, and neither takes the marker */
.consent-choice, .consent-choice:hover { min-height: 44px; min-width: 8rem; padding: 0 18px; background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; box-shadow: none; transform: none; font: 700 var(--s)/1.2 var(--sans); }
.consent-choice:hover { background: var(--tint); }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; gap: 0 var(--s3); min-height: 0; padding-top: 10px; justify-content: space-between; }
  .nav ul { order: 3; flex: none; width: 100%; justify-content: space-between; gap: 0; }
  .nav ul a { padding: 13px 0; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
  .nav ul li:last-child > a { justify-content: flex-end; }
  .nav .lang-switch { margin-left: 0; }
  .nav .lang-switch a { justify-content: center; padding-inline: 0; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: var(--s3); }
  .footer-nav { margin-left: 0; width: 100%; }
  .footer-bottom { flex-direction: column; gap: var(--s3); }
  .footer-bottom p:not(.muted) { text-align: left; }
  .wrap { padding-inline: 16px; }
  .cta-box { padding: var(--s5) var(--s4); }
}
@media (max-width: 640px) {
  main.wrap { padding-top: var(--s5); }
  h2 { margin-top: var(--s7); }
  .cta .button { width: 100%; }
  .nav .nav-cta { width: auto; }
  .table-scroll { margin-inline: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-box, .toc { display: none; } body { background: #fff; color: #000; } }

/* ---------- guide figure rail (website/figrail.py wraps a rail-sized figure and the text before it in .fig-row) ----------
   At >= 1000 px the article widens to the content area only when it holds a row; every other block stays in the
   reading column (capped by the rail's px width too: --measure is in em, so on a heading it resolves wider), so a wide
   diagram stays full-width in the column. Below 1000 px nothing changes: one column, the figure after its text. */
body.docs-page .prose > .fig-row { margin: var(--s6) 0; }
body.docs-page .prose > .fig-row:has(> .fig-row-text > h2:first-child) { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--rule); }
body.docs-page .prose > .fig-row > .fig-row-text > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
body.docs-page .prose > .fig-row > .fig-row-text > h3 { margin-top: var(--s6); }
body.docs-page .prose > .fig-row > .fig-row-text > ol > li, body.docs-page .prose > .fig-row > .fig-row-text > ul > li { margin-bottom: 0.5em; }
body.docs-page .prose > .fig-row > .fig-row-aside > figure { margin-bottom: 0; }
@media (min-width: 1000px) {
  body.docs-page .prose:has(> .fig-row) { max-width: none; }
  body.docs-page .prose:has(> .fig-row) > :not(.fig-row) { max-width: min(var(--measure), calc(100% - var(--rail) - var(--gutter))); }
  /* figrail.py sets fig-row-overhang only where the text down to the next row is taller than the figure */
  body.docs-page .prose > .fig-row-overhang > .fig-row-aside { height: 0; }
}
/* ---------- the who-sells-what figure (website/offergraph.py): companies left, what each sells right, one line per pair. A filled
   accent dot and accent lines for an item more than one of the shown companies sells, a hollow muted dot and a thin muted line for
   the rest. Both layouts are in the page: the graph in the rail, the row variant (company, then its items) at phone widths. ---------- */
figure.offer-graph { margin: 0; max-width: var(--rail); }
figure.offer-graph figcaption { font: var(--s)/1.5 var(--sans); color: var(--muted); margin: 0 0 var(--s3); padding: 0 0 var(--s2); border-bottom: 1px solid var(--ink); }
figure.offer-graph figcaption b { color: var(--ink); font-weight: 700; }
figure.offer-graph .og-svg { display: block; width: 100%; height: auto; }
figure.offer-graph .og-src { font: var(--s)/1.45 var(--sans); color: var(--muted); margin: var(--s2) 0 0; }
.og-co { font: 700 14.5px var(--sans); fill: var(--ink); }
.og-it { font: 13px var(--sans); fill: var(--ink); }
.og-it.og-m { fill: var(--muted); }
.og-lk { fill: none; stroke: var(--muted); stroke-width: 1; stroke-opacity: .45; }
.og-lk.og-a { stroke: var(--accent); stroke-width: 1.5; stroke-opacity: .8; }
.og-nd { fill: var(--bg); stroke: var(--muted); stroke-width: 1.2; }
.og-nd.og-a { fill: var(--accent); stroke: var(--accent); }
.og-nd.og-c { fill: var(--ink); stroke: var(--ink); }
.og-hair { stroke: var(--rule); stroke-width: 1; }
figure.offer-graph[data-mode="graph"] .og-rows { display: none; }
@media (max-width: 520px) {
  figure.offer-graph[data-mode="graph"] .og-graph { display: none; }
  figure.offer-graph[data-mode="graph"] .og-rows { display: block; }
}

/* ---------- phone reading: folds, a header that stays, numbered steps ----------
   details.fold holds secondary text. Wider than a phone it is plain text (always open, no summary line). On a phone
   fold.js closes it behind its summary, so one screen carries one idea; the words stay in the page. */
@media (min-width: 641px) {
  details.fold:not(.dev):not(.consent-details) { padding: 0; border: 0; }
  .prose details.fold > p { max-width: var(--measure); }
  details.fold > summary { display: none; }
}
@media (max-width: 640px) {
  details.fold:not(.dev):not(.consent-details) { background: var(--tint); border: 0; border-radius: 8px; padding: 0; margin: var(--s4) 0; }
  details.fold:not(.dev):not(.consent-details) > summary { display: flex; align-items: center; min-height: 52px; padding: var(--s2) 18px; }
  details.fold:not(.dev):not(.consent-details)[open] > summary { margin-bottom: 0; }
  details.fold:not(.dev):not(.consent-details) > :not(summary) { margin: 0; padding: 0 18px var(--s4); max-width: none; }
  /* every page keeps its header, and with it the button, in reach (the home page already did): two rows at the top of
     the page, the links row clipped away once the page moves */
  .site-header { position: sticky; top: 0; z-index: 5; }
  html { scroll-padding-top: 88px; }
  .nav { padding-top: 6px; row-gap: 2px; }
  .nav .nav-cta { min-height: 44px; }
  .nav ul { height: 44px; }
  @supports (animation-timeline: view()) and (timeline-scope: --x) {
    @media (prefers-reduced-motion: no-preference) {
      .site-header { animation: nav-rows-clip linear both; animation-timeline: scroll(root); animation-range: 40px 120px; }
      .nav ul { animation: nav-links-out linear both; animation-timeline: scroll(root); animation-range: 40px 120px; }
    }
  }
  /* the three steps of a search: a numbered card each */
  ol.how-steps { counter-reset: how; gap: var(--s2); }
  ol.how-steps li { counter-increment: how; position: relative; background: var(--tint); border-radius: 8px; padding: var(--s4) 18px var(--s4) 54px; }
  ol.how-steps li::before { content: counter(how); position: absolute; left: 18px; top: 14px; font: 700 var(--l)/1 var(--display); }
}

/* ---------- the search band as a short exchange: the request (a sent message, right-aligned: nothing to type into here),
   what Prosp did with it line by line, then the kept companies. Every word is in the page and is the final state. A search
   that comes by itself is revealed in steps: opacity and a small rise only (no layout shift), finished 4.1 s after it
   starts; hero-rotate.js types the request meanwhile and marks the band data-still when the visitor picks a search (shown
   finished at once). Off for a reader who asked for less motion. ---------- */
.trail-ask .prompt { border-radius: 16px 16px 4px 16px; margin-left: var(--s6); background: var(--ink); color: var(--bg); }
.prompt .untyped { color: transparent; }
.log { list-style: none; margin: 0 0 var(--s4); padding: 0; font: var(--s)/1.4 var(--sans); color: var(--muted); }
.log li { margin: 0 0 4px; padding-left: 1.2em; position: relative; }
.log li::before { content: "\2212"; position: absolute; left: 0; }
.log .n { color: var(--ink); font-weight: 700; }
@keyframes said { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-slides:not([data-still]) .hero-slide.is-active :is(.trail-ask, .trail-look > *, .trail-kept) { animation: said 400ms ease both; }
  .hero-slides:not([data-still]) .hero-slide.is-active .trail-look > .step-h { animation-delay: 1500ms; }
  .hero-slides:not([data-still]) .hero-slide.is-active .trail-look > .log { animation-delay: 2200ms; }
  .hero-slides:not([data-still]) .hero-slide.is-active .trail-kept { animation-delay: 3000ms; }
  .hero-slides:not([data-still]) .hero-slide.is-active .trail-look > :is(.squares, .cap) { animation-delay: 3700ms; }
}
@media (max-width: 760px) {
  /* a phone shows no more words than before: the reason line takes the room of the third kept company (all of them are in the table below) */
  .trail-look > .log { order: 2; margin-bottom: var(--s4); }
  .trail-kept .kept li:nth-child(n+3), .trail-kept > .cap { display: none; }

/* the narrowest phones: the five header links keep a gap between them on their one row (at 360 they touched) */
@media (max-width: 380px) {
  .nav ul a { font-size: 13px; }
  .nav .lang-switch { font-size: 13px; }
  .nav .lang-switch a { min-width: 34px; }
}

/* ---------- pricing: the two prices first, the detail in question folds ----------
   .price-cards: what it costs to start and what one search costs, numbers large. A docs section whose heading is a
   question is a details.fold (build.py fold_questions): on a phone the summary is the question and the heading is not
   shown twice; wider, the heading shows and the summary does not. */
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin: var(--s5) 0 var(--s4); max-width: 72ch; }
.price-cards > p { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: var(--s4); background: var(--tint); border-radius: 10px; max-width: none; }
.price-cards .price-k { font: 700 var(--s)/1.2 var(--sans); color: var(--muted); }
.price-cards .price-n { font: 700 var(--l)/1.05 var(--display); }
.price-cards .price-d { font: var(--s)/1.4 var(--sans); }
.prose > p.price-cta { margin: var(--s4) 0 var(--s5); }
.prose > details.fold.fold-q:not(.dev):not(.consent-details) > h2 { font-size: var(--l); }
@media (min-width: 641px) {
  .prose > details.fold.fold-q:not(.dev):not(.consent-details) { margin: 0; }
}
@media (max-width: 640px) {
  .price-cards { grid-template-columns: minmax(0, 1fr); gap: var(--s4); margin-bottom: var(--s5); }
  .prose > p.price-cta { margin-bottom: var(--s7); }
  .price-cards > p { padding: 20px 18px; }
  .price-cards .price-n { font-size: 44px; }
  .prose > details.fold.fold-q:not(.dev):not(.consent-details):first-of-type { margin-top: var(--s7); }
  .prose > details.fold.fold-q:not(.dev):not(.consent-details):last-of-type { margin-bottom: var(--s5); }
  .prose > p.price-cta .button { width: 100%; }
  .prose > details.fold.fold-q:not(.dev):not(.consent-details) { margin: var(--s2) 0; }
  .prose > details.fold.fold-q:not(.dev):not(.consent-details) > h2 { display: none; }
  .prose > details.fold.fold-q:not(.dev):not(.consent-details) > :not(summary) { padding: 0 18px var(--s4); }
  .prose > details.fold.fold-q:not(.dev):not(.consent-details) > :is(p, table) + :is(p, ul, ol, table) { padding-top: 0; margin-top: 0; }
  .prose > details.fold.fold-q:not(.dev):not(.consent-details) > ul { margin: 0 18px var(--s4); padding: 0; }
  .prose > details.fold.fold-q:not(.dev):not(.consent-details) > ol { margin: 0 18px var(--s4) 33px; padding: 0; }
  /* (!important: the general table rule of .prose is more specific and would let the table run past the card) */
  .prose > details.fold.fold-q:not(.dev):not(.consent-details) > table { margin: 0 18px var(--s4) !important; padding: 0 !important; width: auto; max-width: calc(100% - 36px) !important; background: transparent; }
}
