/* Enfoa corporate site. Same tokens and type as the app (paper and ink, one red). No framework.
   The tokens below are the app's (web/src/styles.css :root): change them there first, then here.
   Breakpoints, the only widths a media query may name:
     560px   phone: one column everywhere, tighter tables
     760px   large phone: tables become lists, pickers replace wide comparisons, code wraps
     960px   tablet: the menu button, stacked heroes and splits, one-column grids
     1150px  small laptop: the home hero stacks, plan cards go two by two
   (min-width queries use the same numbers plus one.) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2?v=3100e775e8") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/inter-tight-latin-wght-normal.woff2?v=77fefe8ca1") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("fonts/jetbrains-mono-latin-wght-normal.woff2?v=18be452724") format("woff2"); }

:root {
  --paper: #f6f4ef; --paper-2: #efece5; --card: #fff; --card-2: #fbfaf7; --line: #e4e0d7; --line-strong: #cfc9bd;
  --ink: #17160f; --ink-2: #3f3d35; --ink-3: #6b685e;
  /* --red is the app's --signal. Here it has two uses and one exception: the button that signs
     up (.btn.accent) and the brand mark, and the last words of the home headline. Whatever
     means a failure (a failed case, a service that is down, a field that is wrong) is --fail,
     a dark red that reads as text on --red-soft and on a card. */
  --red: #d40000; --red-hover: #b80000; --red-soft: #fbe5e5; --fail: #9a0c0c;
  --ok: #1f7a4d; --ok-ink: #145a38; --ok-soft: #e3f3ea; --warn: #8a5c00; --warn-soft: #fbf0d4;
  /* severity marks, the app's values. Critical is a dark red of its own: the bright --red is the
     button that starts with the product, never a severity and never a failure. */
  --sev-critical-bg: #8f0d0d; --sev-critical-ink: #fff; --sev-high-bg: #f8c4c0; --sev-high-ink: #9a0c0c;
  --sev-medium-bg: #fcd9a8; --sev-medium-ink: #7a4100; --sev-low-bg: #f3ecb4; --sev-low-ink: #5f5200;
  /* the matrix of a scan: the app's five steps of --fail on a card (12, 26, 42, 60 and 82 per cent), written out */
  --mx-1: #f3e2e2; --mx-2: #e5c0c0; --mx-3: #d59999; --mx-4: #c26d6d; --mx-5: #ac3838;
  --focus: #17160f;
  --halo: #f6f4ef; /* the paper band a focus ring is drawn in, so the ink ring shows on any ground */
  --btn-line: #8a867a; /* the edge of a button on paper or a card: 3:1, which a hairline is not */
  --field-line: #8a867b; /* the edge of an input: 3:1 against the card, which a hairline is not */
  --ui: "Inter", system-ui, sans-serif; --display: "Inter Tight", var(--ui); --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 8px; --radius-lg: 12px;
  --shadow: 0 1px 0 rgba(23,22,15,.04), 0 1px 2px rgba(23,22,15,.06); --shadow-lg: 0 8px 24px rgba(23,22,15,.08);
  --wrap: 1160px; --gutter: 24px;
  /* The type scale. One display headline a page (h1.display), section heads, a step for the
     titles of sub-sections and cards, then body. Tracking and leading tighten as the size grows. */
  --t-display: clamp(2.25rem, 1.1rem + 4.4vw, 5rem);
  --t-h1: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  --t-h2: clamp(1.75rem, 1rem + 2.2vw, 3rem);
  --t-h3: clamp(1.375rem, 1.1rem + .75vw, 1.75rem);
  --t-card: clamp(1.1875rem, 1rem + .55vw, 1.5rem);
  /* The distance between two sections, and the room inside a band. Sections are not all the same
     distance apart: .near follows what it belongs to, .far opens a new part of the page. */
  --sec: clamp(72px, 40px + 6vw, 128px);
  --band: clamp(64px, 36px + 5vw, 112px);
}
/* The ink surfaces (the dark band, the closing call to action, code samples) share one palette,
   defined here and nowhere else. */
.dark, .cta.bold, .code, .prose pre, .copy-btn {
  --d-bg: #17160f; --d-card: #1f1e18; --d-fill: #2a2922; --d-line: #2e2d26; --d-line-strong: #3a3930; --d-edge: #75746c;
  --d-ink: #f1efe9; --d-ink-2: #c9c6bd; --d-ink-3: #8f8c82;
  --d-ok: #4cc38a; --d-bad: #ff6a6a; --d-warn: #e2b03a;
  scrollbar-color: var(--d-edge) var(--d-bg);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; scrollbar-color: var(--line-strong) var(--paper); accent-color: var(--ink); caret-color: var(--ink); }
/* A link to a place on the page being read scrolls there smoothly: page.js sets the class at the
   click and takes it away again. A page opened at an anchor from elsewhere is there at once. */
@media (prefers-reduced-motion: no-preference) { html.smooth { scroll-behavior: smooth; } }
body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--ui); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
a { color: inherit; text-decoration: none; }
p a, li a, .prose a { text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 3px; }
p a:hover, li a:hover, .prose a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-h1); letter-spacing: -0.028em; line-height: 1.04; }
h1.display { font-size: var(--t-display); letter-spacing: -0.038em; line-height: .98; }
/* a headline of more than 70 letters: one size down. Up to that, two sentences take three
   lines at the full size, so sibling pages open alike. build.py sets the class from the length
   of the words (headline_size); no page writes it by hand */
h1.display.long { font-size: clamp(2.125rem, 1.1rem + 3.3vw, 4rem); letter-spacing: -0.034em; line-height: 1; }
h2 { font-size: var(--t-h2); letter-spacing: -0.03em; line-height: 1.04; }
h3 { font-size: var(--t-h3); letter-spacing: -0.022em; line-height: 1.14; }
h4 { font-size: .9375rem; letter-spacing: 0; }
p { margin: 0; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: .7812rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 56ch; line-height: 1.5; text-wrap: pretty; }
.mono { font-family: var(--mono); font-size: .8125rem; }
/* code, a key and sample output in running text, on every page: the mono face a step under the
   text beside it (JetBrains Mono is wide, and at .875em its letters are as tall as Inter's) */
code, kbd, samp { font-family: var(--mono); font-size: .875em; }
pre code { font-size: inherit; }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 8px; }
/* The keyboard focus: a 2px ink ring inside a band of paper. On paper or a card the ring is
   what shows; on the ink band, on a picture or on a red button the paper band carries it. One
   ring for every ground, so nothing that takes the focus needs a colour of its own. */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 6px var(--halo); border-radius: 6px; }
/* The ring and its band reach 8px beyond what has the focus: a stop that Tab scrolls into view
   keeps that much, and a little more, clear of the window's edges (the header's height is the
   page's scroll-padding-top; the rules for sticky bars further down set their own top margin). */
:where(a, button, summary, input, select, textarea, [tabindex]) { scroll-margin-block: 16px; }

/* buttons */
/* The app's buttons are 36px tall; here they stay 44px: a marketing page is read on a phone
   first, and 44px is the touch target. The radius is the app's. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 4px 18px; border-radius: var(--radius); border: 1px solid var(--btn-line); background: var(--card); color: var(--ink); font: 500 .9375rem var(--ui); box-shadow: var(--shadow); white-space: nowrap; transition: background .12s, transform .12s; }
.btn:hover { background: var(--paper-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.primary:hover { background: var(--ink-2); }
/* Which button leads a page: red (.accent) starts with the product (sign up, test your agent,
   start a trial); ink (.primary) leads to reading (a report, the documentation, another page).
   A page has one of them at most in its hero, and never a red button that only opens a page. */
.btn.accent { background: var(--red); color: #fff; border-color: var(--red); }
.btn.accent:hover { background: var(--red-hover); border-color: var(--red-hover); }
.btn.sm { min-height: 36px; padding: 3px 14px; font-size: .875rem; }
.btn.lg { min-height: 50px; padding: 4px 22px; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* nav */
/* opaque paper: a see-through bar turns grey over the ink bands it passes */
.nav { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
/* the logo link is a box as large as the mark at every width: an inline link around a block
   picture has no box for the focus ring to go round */
.nav a.logo, .footer a.logo { display: flex; align-items: center; width: fit-content; }
.nav .logo .wordmark { height: 34px; width: 150px; display: block; }
.nav .links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav .links > a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: .9062rem; }
.nav .links > a:hover { background: var(--paper-2); color: var(--ink); }
.nav .links > a[aria-current="page"] { color: var(--ink); background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--ink-3); }
.nav .navcta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav .navcta .signin { padding: 8px 12px; font-weight: 500; color: var(--ink-2); font-size: .9062rem; }
.nav .navcta .signin:hover { color: var(--ink); }
.menu-btn { display: none; flex: none; width: 44px; min-width: 44px; height: 44px; padding: 0; margin-left: auto; border-radius: var(--radius); border: 1px solid var(--btn-line); background: var(--card); place-items: center; align-content: center; cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 2px 0; }
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 16px 16px; gap: 2px; box-shadow: var(--shadow-lg); }
  .menu-btn[aria-expanded="true"] ~ .links { display: flex; }
  .nav .links > a { padding: 12px; font-size: 1rem; }
  .nav .navcta { margin: 10px 0 0; flex-direction: column; align-items: stretch; }
  .nav .navcta .signin { display: flex; align-items: center; justify-content: center; min-height: 44px; }
  /* the header's own "Start free" is beside the menu button here: the menu does not repeat it */
  .nav .navcta .btn { display: none; }
}

/* sections */
/* vertical rhythm: a section carries its gap below it and none above. Bands (the ink band, a
   tinted band, the strip) have their own room inside, and the section after one starts with a gap. */
section { padding: 0 0 var(--sec); }
section.near { padding-bottom: calc(var(--sec) * .6); }
section.far { padding-bottom: calc(var(--sec) * 1.25); }
:is(.dark, .band, .strip) + section:not(.dark, .band) { padding-top: var(--sec); }
.dark, .band { padding: var(--band) 0; }
.band.tint { background: var(--paper-2); border-block: 1px solid var(--line); }
/* two bands in a row share one edge */
.band.tint + .band.tint { border-top: 0; }
.sec-head { max-width: 46rem; margin-bottom: 48px; }
.sec-head p { margin-top: 18px; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; max-width: 56ch; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
/* a card's title: an h3 is the card step of the scale (24px on a wide screen), an h4 is a label
   inside a denser block and stays 17px */
.card h3 { margin: 14px 0 10px; font-size: var(--t-card); letter-spacing: -0.02em; line-height: 1.16; }
.card h4 { margin: 14px 0 8px; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.3; }
.card > :is(h3, h4):first-child { margin-top: 0; }
.card > p { color: var(--ink-2); font-size: .9062rem; text-wrap: pretty; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .875rem; display: grid; gap: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 500; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); line-height: 1.5; white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; } .chip.bad { background: var(--red-soft); color: var(--fail); border-color: transparent; } .chip.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* page hero (sub-pages) */
.page-hero { padding: clamp(40px, 16px + 5vw, 88px) 0 clamp(56px, 32px + 4vw, 88px); }
.page-hero .lede { margin-top: 24px; }
.page-hero h1.display + .lede { margin-top: 28px; font-size: 1.25rem; }
.page-hero .ctas { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

/* home hero */
/* the headline across the page, the pitch and the buttons side by side under it, then the
   product in a browser frame as wide as the page */
.hero { padding: clamp(36px, 12px + 5vw, 80px) 0 var(--sec); position: relative; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-top: 32px; }
.hero-row .lede { font-size: 1.25rem; }
.hero-row .ctas { margin-top: 0; }
/* the one place the sign-up red is used for words: the headline's own call, "Let it be us." */
.hero h1 em { font-style: normal; color: var(--red); }
.hero .ctas { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; align-items: center; }
.hero-row .note { margin-top: 16px; font-size: .875rem; color: var(--ink-3); max-width: 54ch; text-wrap: pretty; }
.hero-row .note b { color: var(--ink-2); font-weight: 500; }

/* product frame */
/* a screenshot of the app is paper-coloured like the page: the frame is a white surface with an
   ink hairline and one soft shadow, and the picture sits in it with a white edge all round */
.frame { background: var(--card); border: 1px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: .8125rem; padding: 0 6px 6px; }
.frame .bar { display: flex; align-items: center; gap: 8px; margin: 0 -6px 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--card); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.frame .bar span { margin-left: 8px; color: var(--ink-3); font-family: var(--mono); font-size: .75rem; }
/* the columns keep their widths while the running row changes: the target's name has room for
   one line, the last column that of its widest mark, and the percentage that of "100%" */
.sv { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: .75rem; font-weight: 600; line-height: 1.55; font-style: normal; white-space: nowrap; background: var(--paper-2); color: var(--ink-3); }
.sv.c { background: var(--sev-critical-bg); color: var(--sev-critical-ink); } .sv.h { background: var(--sev-high-bg); color: var(--sev-high-ink); } .sv.m { background: var(--sev-medium-bg); color: var(--sev-medium-ink); }
.prio { display: inline-block; min-width: 26px; text-align: center; padding: 0 5px; border-radius: 6px; font: 600 .75rem/1.55 var(--mono); border: 1px solid var(--line-strong); color: var(--ink-2); background: var(--card); }
.prio.p1 { background: var(--ink); color: #fff; border-color: var(--ink); }

/* surfaces strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); padding: 28px 0; }
/* eight cells, the first of them the list's name: four by two, two by four on a phone, never a short row */
.surfaces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.surfaces .surface-h { align-self: center; font: 600 1.25rem/1.15 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.surface { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.surface svg { grid-row: 1 / 3; width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.surface b { font-size: .8438rem; font-weight: 600; }
.surface span { font-size: .75rem; color: var(--ink-3); }
.standards { text-align: center; max-width: 80ch; margin: 18px auto 0; color: var(--ink-3); font-size: .8438rem; text-wrap: balance; }
/* figures: the product in four numbers */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 24px; }
.figure { padding: 0 20px; border-left: 1px solid var(--line); }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure b { display: block; font-family: var(--display); font-size: clamp(3rem, 1.9rem + 3.4vw, 5rem); font-weight: 600; letter-spacing: -0.04em; line-height: .95; }
.figure span { display: block; margin-top: 10px; max-width: 26ch; font-size: .875rem; color: var(--ink-2); text-wrap: pretty; }
/* three figures at the head of a section, on any ground */
.figures.tall { grid-template-columns: repeat(3, 1fr); margin: 0 0 48px; border-top-color: var(--ink); }
/* a concrete example line: under a card's text, under a topic's opening passage, or under the
   name of a group of rows, so a section can be read without opening anything */
.eg { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-family: var(--mono); font-size: .75rem; line-height: 1.5; color: var(--ink-3); overflow-wrap: anywhere; }
.eg b { color: var(--fail); font-weight: 500; }
.topic-head > .eg { max-width: 34rem; }
.ch-intro > .eg { margin-top: 18px; }
.fold-group > .eg { margin-top: 8px; padding-top: 0; border-top: 0; }
/* side by side, the two groups' first rules stand on one line: each example has room for two lines */
@media (min-width: 761px) { .fold-group > .eg { min-height: 3em; } }
.fold-group > .eg > span { color: var(--ink-2); }
/* inline call to action under a section */
.nudge { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
.nudge p { margin: 0; font-size: 1rem; } .nudge p b { font-weight: 600; } .nudge p span { color: var(--ink-3); }
/* product shots: small, exact pictures of what the app shows */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.shot { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.shot .pic { background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px; min-height: 236px; display: flex; flex-direction: column; justify-content: center; }
.shot .txt { padding: 20px 22px 24px; }
.shot .txt h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.shot .txt p { color: var(--ink-2); font-size: .9062rem; text-wrap: pretty; }
.mock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-size: .7812rem; overflow: hidden; }
.mock .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mock .row:last-child { border-bottom: 0; }
.mock .row b { display: block; font-weight: 600; font-size: .7812rem; }
.mock .row small { display: block; color: var(--ink-3); font-size: .75rem; margin-top: 1px; }
.mock .row .tags { display: flex; gap: 4px; margin-bottom: 5px; }
.mock .hd { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mock .hd .who { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.mock .hd .who svg { width: 12px; height: 12px; }
.mock .hd small { margin-left: auto; color: var(--ink-3); font-weight: 400; font-size: .75rem; }
.mock .bd { padding: 12px; display: grid; gap: 8px; }
.mock .bd p { margin: 0; color: var(--ink-2); }
.mock .bd ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.mock .bd li { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-family: var(--mono); font-size: .75rem; }
.mock .bd .k { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.mock .seal { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--ok-soft); color: var(--ok); font-weight: 600; border-bottom: 1px solid var(--line); }
.mock .seal small { margin-left: auto; font-family: var(--mono); font-weight: 400; font-size: .75rem; }
/* who it is for */
.for { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.for .card h3 { margin: 0 0 6px; }
.for .card .asks { font-size: 1rem; color: var(--ink-2); }
.for .card .points { margin-top: 16px; } .for .card .points li { font-size: .875rem; }
.plan { position: relative; }
.plan .tag { position: absolute; top: -12px; left: 22px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 2px 8px; border-radius: 6px; margin-bottom: 2px; }


/* split + checks + code */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .lede { font-size: 1.0625rem; }
.split h2 + .lede, .split h2 + p { margin-top: 18px; }
/* a heading that shares its row with another column is one size under a section head */
.split > div > h2 { font-size: clamp(1.625rem, 1rem + 1.6vw, 2.25rem); letter-spacing: -0.026em; line-height: 1.08; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: .9375rem; }
.code { margin: 0; color-scheme: dark; white-space: pre; background: var(--d-bg); color: var(--d-ink); border-radius: var(--radius-lg); padding: 18px 20px; font-family: var(--mono); font-size: .8125rem; line-height: 1.6; overflow: auto; box-shadow: var(--shadow-lg); }
.code .c { color: var(--d-ink-3); } .code .g { color: var(--d-ok); }
.dark { background: var(--d-bg); color: var(--d-ink); }
.dark .card { background: var(--d-card); border-color: var(--d-line); box-shadow: none; }
.dark .card > p, .dark .card ul { color: var(--d-ink-2); }
.dark .sec-head p, .dark .lede { color: var(--d-ink-2); }
.dark h2, .dark h3 { color: var(--d-ink); }

/* pricing */
/* plan cards: equal heights side by side */
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pricing .plan > .muted { min-height: 6.2em; }
@media (max-width: 1150px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pricing .plan > .muted { min-height: 4.7em; } }
@media (max-width: 760px) { .pricing { grid-template-columns: minmax(0, 1fr); } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.plan.featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow-lg); }
.plan .price { font-family: var(--display); font-size: 2.125rem; font-weight: 600; letter-spacing: -0.02em; }
.plan .price small { font-family: var(--ui); font-size: .875rem; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.plan .per { font-size: .8125rem; color: var(--ink-3); margin-top: -6px; }
/* a price by the month and by the year share one place: the one not shown keeps its room, so
   the card is as tall as the taller of the two and the page does not move when the period changes */
.plan .swap { display: grid; }
.plan .swap > * { grid-area: 1 / 1; }
.plan .swap > [hidden] { display: block; visibility: hidden; }
.plan .swap:has(> .per) { margin-top: -6px; }
.plan .swap > .per { margin-top: 0; }
.plan .btn { margin: 8px 0 6px; }
.plan ul { margin: 8px 0 0; padding: 14px 0 0 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; display: grid; gap: 7px; }
.plans-more { margin-top: 18px; font-size: .9375rem; }
.plans-more > a { display: inline-flex; align-items: center; min-height: 24px; }
@media (pointer: coarse) { .plans-more > a { min-height: 44px; padding-block: 10px; } }
.compare { width: 100%; border-collapse: collapse; background: var(--card); font-size: .875rem; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); background: var(--card-2); }
.compare tr:last-child td { border-bottom: 0; }
.compare td.y { color: var(--ok); font-weight: 600; } .compare td.n { color: var(--ink-3); }

/* faq */
/* two fixed columns (.faq-col), each a list of its own: an opened answer lengthens its own
   column, and no question changes column or moves in the other one */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; align-items: start; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
/* open and closed: a plus and a minus sign (U+2212), one width and one weight */
.faq summary::after { content: "+"; content: "+" / ""; color: var(--ink-3); font-weight: 400; font-size: 1.125rem; width: 1ch; text-align: center; flex: none; }
.faq details[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.faq p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; text-wrap: pretty; }

/* cta */
.cta { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 56px; text-align: center; box-shadow: var(--shadow); }
.cta h2 { max-width: 22ch; margin: 0 auto 12px; }
.cta .ctas { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.cta.bold { background: var(--d-bg); border-color: var(--d-bg); color: var(--d-ink); box-shadow: var(--shadow-lg); }
.cta.bold h2 { color: var(--d-ink); } .cta.bold .muted { color: var(--d-ink-2); }
/* a closing paragraph is read like any other: about seventy letters to a line */
.cta p.muted { max-width: 34rem; text-wrap: pretty; } .cta.bold p.muted { margin-inline: auto; }
:is(.cta.bold, .closing) .btn:not(.accent) { background: transparent; color: var(--d-ink); border-color: var(--d-edge); box-shadow: none; } :is(.cta.bold, .closing) .btn:not(.accent):hover { background: var(--d-fill); }
.cta.bold .assure { list-style: none; padding: 0; margin: 22px 0 0; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: .875rem; color: var(--d-ink-2); }
/* what a visitor is assured of: statements, each after a short rule (a tick is for a checklist) */
.assure li::before { content: ""; display: inline-block; width: 10px; height: 1.5px; margin-right: 8px; vertical-align: middle; background: var(--ink-3); }
:is(.cta.bold, .closing) .assure li::before { background: var(--d-ink-3); }

/* prose pages (docs, legal, company) */
/* the measure belongs to running text; tables and code samples may use the whole column */
.prose { font-size: 1rem; min-width: 0; }
.prose pre { max-width: 92ch; }
.prose > :where(p, ul, ol, dl, h2, h3, h4, .note) { max-width: 68ch; }
/* the documentation is read line after line: about seventy letters to a line (68ch above is nearer ninety) */
[data-docs] > :where(p, ul, ol, dl:not(.glossary), h2, h3, h4, .note) { max-width: 35rem; }
.prose h2 { font-size: 1.625rem; margin: 48px 0 12px; }
.prose h3 { font-size: 1.1875rem; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; color: var(--ink-2); }
.prose li { margin: 4px 0; }
.prose code { font-family: var(--mono); font-size: .8125rem; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
.prose pre { color-scheme: dark; background: var(--d-bg); color: var(--d-ink); border-radius: var(--radius); padding: 14px 16px; overflow: auto; font-family: var(--mono); font-size: .8125rem; line-height: 1.55; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .875rem; margin: 0 0 18px; }
.prose th, .prose td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.prose .note { border: 1px solid var(--line-strong); background: var(--paper-2); padding: 10px 14px; border-radius: var(--radius); font-size: .9062rem; margin: 0 0 14px; }
.toc { position: sticky; top: 88px; font-size: .875rem; max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; }
.toc a { display: block; padding: 5px 0; color: var(--ink-3); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc { scrollbar-width: thin; }
/* a list that scrolls in its own box cuts whatever reaches outside it: the box is 8px larger on
   every side (and set back by as much), which is the room a focus ring and its band take */
@media (min-width: 961px) { .toc { padding: 8px; margin: -8px; top: 80px; max-height: calc(100vh - 88px); } }
.with-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.with-toc > * { min-width: 0; }
.kv { width: 100%; border-collapse: collapse; }
.kv th { text-align: left; width: 176px; color: var(--ink-3); font-weight: 500; padding: 8px 16px 8px 0; vertical-align: top; }
.kv td { padding: 8px 0; overflow-wrap: anywhere; }
/* the file to download is a link on a line of its own words: tall enough to press */
.kv td a[download] { display: inline-flex; align-items: center; min-height: 24px; }
.kv .nb { white-space: nowrap; }
@media (pointer: coarse) { .kv td a[download] { min-height: 44px; } }
@media (max-width: 560px) { .kv th { width: 96px; padding-right: 12px; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 28px; color: var(--ink-3); font-size: .875rem; }
.footer .cols { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 24px; margin-bottom: 36px; }
/* a column's label: a paragraph that names its list, not a heading in the page's outline */
.footer .foot-h { font: 600 .8125rem var(--ui); color: var(--ink); margin: 0 0 10px; letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer li a { text-decoration: none; }
.footer li a:hover { color: var(--ink); }
.footer .base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; }
.footer address { font-style: normal; line-height: 1.55; }
.footer a.logo { margin-bottom: 10px; }
.footer .logo .wordmark { height: 30px; width: 132px; display: block; }

@media (max-width: 960px) {
  .lede, .hero-row .lede, .page-hero h1.display + .lede, .sec-head p { font-size: 1.0625rem; }
  .split > *, .with-toc > * { min-width: 0; }
  .hero-row, .split, .with-toc { grid-template-columns: minmax(0, 1fr); }
  .hero-row { margin-top: 22px; }
  .surfaces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { position: static; margin-bottom: 20px; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .grid2, .grid3, .shots, .for { grid-template-columns: minmax(0, 1fr); }
  .figures { grid-template-columns: 1fr 1fr; row-gap: 22px; } .figure:nth-child(3) { border-left: 0; padding-left: 0; }
  .shot .pic { min-height: 0; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .cta { padding: 36px 20px; }
}
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }

/* ---------- scenario player ---------- */
/* The scene is a container: its own width, not the window's, decides whether its panels stand
   side by side. It is a column, so the stage takes whatever height the scene is given.
   scenes.js builds a scene once, with every line of its finished story in place: nothing here
   is measured, and the scene has one height while it plays because nothing in it comes or goes. */
.scene { container: scene / inline-size; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: clip; }
.sc-stage { flex: 1 0 auto; display: grid; grid-template-columns: 1fr 1.2fr 1.1fr; }
.sc-stage.two { grid-template-columns: 1fr 1.1fr; }
.sc-stage > div { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.sc-stage > div:last-child { border-right: 0; }
.sc-source { background: var(--card-2); }
.sc-out { background: var(--card-2); }
.sc-head { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.sc-out .sc-head::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.sc-doc { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: .8125rem; color: var(--ink-2); font-family: var(--mono); }
.sc-doc p { margin: 0 0 6px; }
.sc-hidden { overflow-wrap: anywhere; color: var(--card); transition: color .22s ease-out, background-color .22s ease-out; border-radius: 4px; padding: 2px 4px; margin-left: -4px; }
.sc-hidden.on { color: var(--fail); background: var(--red-soft); }
.sc-note { font-size: .8438rem; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; line-height: 1.5; word-break: break-word; }
.sc-tools { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sc-tools li { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: .7812rem; color: var(--ink-2); display: grid; gap: 2px; transition: border-color .22s ease-out, background-color .22s ease-out; word-break: break-word; }
.sc-tools li.on { border-color: var(--ink); }
.sc-tools li.bad { border-color: var(--fail); background: var(--red-soft); }
.sc-tools li b { font-size: .75rem; color: var(--ink); }
/* a flag keeps its room in the tool's card until it is raised */
.sc-flag { display: inline-block; font-style: normal; font-size: .75rem; font-weight: 600; color: var(--fail); margin-top: 4px; }
.sc-tools li:not(.bad) .sc-flag { visibility: hidden; }
.sc-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 6px; }
.sc-steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; font-size: .8438rem; color: var(--ink-3); padding: 6px 8px; border-radius: 8px; transition: background-color .22s ease-out, color .22s ease-out; }
.sc-steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; font-size: .75rem; font-weight: 600; background: var(--card); flex: none; }
.sc-steps li.on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.sc-steps li.on::before { border-color: var(--ink); }
.sc-steps li.done { color: var(--ink-2); }
.sc-steps li.done::before { content: "✓"; content: "✓" / ""; background: var(--ink); border-color: var(--ink); color: #fff; }
.sc-log { display: grid; gap: 8px; align-content: start; }
.sc-log > * { transition: color .22s ease-out, background-color .22s ease-out, border-color .22s ease-out; }
/* "recording": the dot breathes; no halo */
@media (prefers-reduced-motion: no-preference) { .sc-out .sc-head::after, .sc-canary i { animation: status-pulse 1.6s ease-in-out infinite; } }
.sc-msg { font-size: .8125rem; color: var(--ink-2); border-left: 2px solid var(--line-strong); padding: 4px 10px; }
.sc-msg.user { border-color: var(--ink); } .sc-msg.agent { border-color: var(--ok); } .sc-msg.system { border-color: var(--line-strong); }
.sc-role { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sc-tool { font-size: .75rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; color: var(--ink-2); word-break: break-all; }
.sc-tool.bad { border-color: var(--fail); background: var(--red-soft); color: var(--fail); }
.sc-tool b { color: inherit; }
.sc-canary { display: flex; gap: 8px; align-items: center; font-size: .75rem; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.sc-canary i { width: 8px; height: 8px; border-radius: 50%; background: var(--fail); flex: none; }
.sc-line { font-size: .75rem; color: var(--ink-2); padding: 2px 0; }
.sc-line.bad { color: var(--fail); }
.sc-notel { font-size: .7812rem; color: var(--ink-3); padding: 6px 10px; border-left: 2px solid var(--line-strong); }
.sc-verdict { border-radius: 8px; padding: 10px 12px; display: grid; gap: 2px; font-size: .7812rem; }
.sc-verdict b { font-size: .8125rem; }
.sc-verdict.bad { background: var(--red-soft); color: var(--fail); }
.sc-verdict.ok { background: var(--ok-soft); color: var(--ok); } .sc-verdict.ok span { color: var(--ok-ink); }
/* A line that has not been said yet: a faint dashed outline, as long as the line will be and
   exactly its height, so the panel reads as "to come" (not as something that failed to load)
   and the scene never changes height. It is put back at once when the story starts again, and
   its words come in over a short moment when its step arrives. An outline, not a border: it
   takes no room, so the line is the same size before and after. */
.sc-log > .pend, .sc-log > .pend :is(b, span, i) { color: transparent; border-color: transparent; transition: none; user-select: none; }
.sc-log > .pend { justify-self: start; max-width: 100%; background: none; border-radius: 6px; outline: 1px dashed var(--line-strong); outline-offset: -1px; }
.sc-log > .pend i { background: none; animation: none; }
/* the verdict still to come says so in words, inside its outline */
.sc-verdict { position: relative; }
.sc-verdict.pend { justify-self: stretch; }
.sc-verdict.pend::before { content: attr(data-wait); content: attr(data-wait) / ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: .75rem; color: var(--ink-3); }
/* stopped (the Pause control or a step's dot): what has been played stands there at once */
.scene.is-paused .sc-log > *, .scene.is-paused .sc-hidden { transition: none; }
@media (prefers-reduced-motion: reduce) { .sc-log > *, .sc-hidden, .sc-tools li, .sc-steps li { transition: none; } }
.sc-caption { border-top: 1px solid var(--line); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--card); }
/* every step's caption in one place, the one being told shown: the room is the longest one's */
.sc-caps { display: grid; flex: 1 1 auto; min-width: 0; }
.sc-caps > p { grid-area: 1 / 1; font-size: .9375rem; color: var(--ink); max-width: 64ch; visibility: hidden; }
.sc-caps > p.on { visibility: visible; }
.sc-ctl { display: flex; align-items: center; gap: 10px; flex: none; }
.sc-dots { display: flex; gap: 0; flex: none; margin-inline: -8px 0; }
/* the verdict's own line: only where one panel is shown at a time */
.sc-result { display: none; }
/* a small dot drawn inside a 24px button, so the area to press is the button itself (44px by
   44px on a touch screen: the dots stand further apart there, the dot drawn is the same) */
.sc-dots button { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; }
.sc-dots button::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--field-line); transition: background-color .22s ease-out, transform .22s ease-out; }
.sc-dots button.on::after { background: var(--ink); transform: scale(1.25); }
@media (pointer: coarse) { .sc-dots { margin-inline: -14px 0; } .sc-dots button { width: 44px; height: 44px; border-radius: 12px; } .sc-ctl { flex-wrap: wrap; } }
/* a story of five steps in the narrowest scene (a 320px phone): its dots stand a little closer, still
   44px tall, so Pause stays beside them as it does in every other scene */
@media (pointer: coarse) { @container scene (max-width: 309px) { .sc-dots button { width: 36px; } } }
/* reduced motion, side by side: the whole story stands there, its captions one under the
   other, and there is nothing to press */
.scene.is-still .sc-caps { gap: 6px; }
.scene.is-still .sc-caps > p { grid-area: auto; visibility: visible; }
.scene.is-still .sc-dots { display: none; }
.scene-tabs .sc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.scene-tabs .sc-tabs button { min-height: 36px; padding: 3px 14px; border-radius: 999px; border: 1px solid var(--btn-line); background: var(--card); font: 500 .875rem var(--ui); color: var(--ink-2); cursor: pointer; }
.scene-tabs .sc-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (forced-colors: active) { .scene-tabs .sc-tabs button[aria-pressed="true"] { border: 2px solid Highlight; } }
/* several scenarios stand in one place, the chosen one shown: the place is as tall as the
   tallest, and the chosen one fades in over the one that goes */
.sc-holder { display: grid; }
.sc-holder > .scene { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .16s ease-out, visibility 0s linear .16s; }
.sc-holder > .scene.is-current { opacity: 1; visibility: visible; transition: opacity .16s ease-out; }
@media (prefers-reduced-motion: reduce) { .sc-holder > .scene, .sc-holder > .scene.is-current { transition: none; } }
.scene-wrap { margin-top: 28px; min-width: 0; }
.dark .scene { border-color: var(--d-line); }
/* Without room for the columns side by side (a phone, or a scene set beside text), one panel is
   shown at a time: the one the step being told belongs to. The panels lie one over the other,
   so the stage is as tall as the tallest of them whichever is shown. The caption is above and
   the verdict on a line of its own below, there from the first step: the words, the cause and
   what was decided stay on one screen. */
@container scene (max-width: 719px) {
  .sc-stage, .sc-stage.two { grid-template-columns: minmax(0, 1fr); }
  .sc-stage > div { grid-area: 1 / 1; border-right: 0; visibility: hidden; }
  .sc-stage[data-show="source"] > .sc-source, .sc-stage[data-show="agent"] > .sc-agent, .sc-stage[data-show="out"] > .sc-out { visibility: visible; }
  .sc-caption { order: -1; border-top: 0; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 8px; }
  .sc-ctl { justify-content: space-between; }
  .sc-out .sc-verdict { display: none; }
  /* as tall as its longer wording: "not yet" and the verdict lie in one place (below), so the
     line has the verdict's height from the first step and no word of it is ever cut */
  .sc-result { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; min-height: 54px; padding: 9px 16px; border-top: 1px solid var(--line); background: var(--card-2); font-size: .75rem; line-height: 1.5; color: var(--ink-2); }
  .sc-result-k { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  /* "not yet" and the verdict share one place, so the line is as tall before as after */
  .sc-result-v { display: grid; }
  .sc-result-v > span { grid-area: 1 / 1; }
  .sc-result:not(.bad, .ok) .sc-r-said, .sc-result:is(.bad, .ok) .sc-r-wait { visibility: hidden; }
  .sc-r-said b { font-weight: 600; }
  .sc-result.bad { background: var(--red-soft); color: var(--fail); } .sc-result.bad .sc-result-k { color: var(--fail); }
  .sc-result.ok { background: var(--ok-soft); color: var(--ok-ink); } .sc-result.ok .sc-result-k { color: var(--ok-ink); }
  /* the planted line has the panel to itself here: it is seen blank for a moment, then appears */
  .sc-hidden.on { transition-delay: .45s; }
  .scene.is-paused .sc-hidden.on { transition-delay: 0s; }
  /* reduced motion: the story stands at its end and its dots lead back through it */
  .scene.is-still .sc-caps { gap: 0; }
  .scene.is-still .sc-caps > p { grid-area: 1 / 1; visibility: hidden; }
  .scene.is-still .sc-caps > p.on { visibility: visible; }
  .scene.is-still .sc-dots { display: flex; }
}
/* The annotated transcript (a scene marked data-static): the finished story, read from top to
   bottom, every line carrying the number of the step that added it, and the steps told beside it. */
.sc-annot { display: grid; grid-template-columns: minmax(0, 1fr); }
.sc-annot .sc-stage, .sc-annot .sc-stage.two { grid-template-columns: minmax(0, 1fr); }
.sc-annot .sc-stage > div { grid-area: auto; visibility: visible; border-right: 0; border-bottom: 1px solid var(--line); }
.sc-annot .sc-out .sc-verdict { display: grid; }
.sc-annot .sc-out .sc-head::after { animation: none; display: none; }
.sc-annot .sc-canary i { animation: none; }
.sc-annot .sc-log > * { position: relative; padding-right: 34px; }
.sc-n, .sc-notes li::before { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .75rem/1 var(--mono); letter-spacing: 0; text-transform: none; }
.sc-log .sc-n { position: absolute; right: 6px; top: 5px; }
.sc-hidden .sc-n, .sc-flag .sc-n { margin-left: 8px; vertical-align: -4px; }
.sc-notes { list-style: none; margin: 0; padding: 18px 20px 20px; counter-reset: n; display: grid; gap: 14px; align-content: start; }
.sc-notes li { counter-increment: n; display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; font-size: .9375rem; color: var(--ink); text-wrap: pretty; }
.sc-notes li::before { content: counter(n); margin-top: 2px; }
@container scene (min-width: 720px) {
  .sc-annot { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .sc-annot .sc-stage { border-right: 1px solid var(--line); }
  .sc-annot .sc-stage > div:last-child { border-bottom: 0; }
}
@container scene (min-width: 1000px) {
  /* room for what the agent is given and what it does side by side; the record runs under both */
  .sc-annot .sc-stage:not(.two) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .sc-annot .sc-stage:not(.two) > .sc-source { border-right: 1px solid var(--line); }
  .sc-annot .sc-stage:not(.two) > .sc-out { grid-column: 1 / -1; }
}
/* a scene placed inside a two-column split spans both columns */
.split > .scene-wrap { grid-column: 1 / -1; }

/* wide tables scroll inside their container on narrow screens */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap > table { min-width: 640px; }
.prose p, .prose li { overflow-wrap: anywhere; }
/* a cell breaks a long identifier only when it must and never squeezes below its longest word:
   the wrapper scrolls instead, so no header or name is cut mid-word */
.prose td { overflow-wrap: break-word; }
.prose th { white-space: nowrap; }
/* on a phone the scan table keeps what the animation changes: the status and the failures */

/* Trust centre, sub-processors and status pages. */
a.card.link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card.link h3 { margin-top: 0; }
a.card.link:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
a.card.link .more { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .875rem; color: var(--ink); }
a.card.link .more::after { content: " \2192"; content: " \2192" / ""; }
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.qa .q { padding: 22px 0; border-bottom: 1px solid var(--line); }
.qa .q h3 { font-size: 1.0625rem; margin: 0 0 6px; }
.qa .q p { margin: 0; color: var(--ink-2); font-size: .9375rem; text-wrap: pretty; }
.split.top { align-items: start; }
/* a list of statements that is not a checklist: a short rule before each, no green mark */
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: .9375rem; }
.points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1.5px; background: var(--ink-3); }
.dark .points li { color: var(--d-ink-2); } .dark .points li::before { background: var(--d-ink-3); }
.checks.plain { margin-top: 0; }
.checks.plain li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.checks.plain li:first-child { border-top: 1px solid var(--line); }
.band.tint .checks.plain li { border-color: var(--line-strong); }
.dark .checks li { color: var(--d-ink-2); }
.dark .checks.plain li { border-color: var(--d-line-strong); }
.dark .checks li b { color: var(--d-ink); }
.prose .table-wrap { overflow-x: auto; margin: 0 0 8px; }
.status-board { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.status-head { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.status-head > div { flex: 1; min-width: 0; }
.status-head h2 { font-size: 1.375rem; margin: 0; }
.status-head p { margin: 2px 0 0; font-size: .875rem; }
/* the heading and the line under it change when the answer arrives: each has the room of its
   longest wording from the start (written beside it, never shown), so nothing below moves */
.status-room { display: grid; }
.status-room > * { grid-area: 1 / 1; min-width: 0; }
.status-room > span { visibility: hidden; margin-top: 2px; font-size: .875rem; }
.status-room.t > span { margin: 0; font: 600 1.375rem/1.04 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.status-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--line-strong); flex: none; }
.status-head[data-state="checking"] .status-dot { animation: status-pulse 1.1s ease-in-out infinite; }
.status-head[data-state="operational"] .status-dot { background: var(--ok); }
.status-head[data-state="down"] .status-dot { background: var(--fail); }
@keyframes status-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .status-head[data-state="checking"] .status-dot { animation: none; } a.card.link { transition: none; } a.card.link:hover { transform: none; } }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.status-list li:last-child { border-bottom: 0; }
.status-list b { display: block; font-weight: 600; }
.status-list span { display: block; color: var(--ink-3); font-size: .875rem; }
/* as wide as its widest word ("Operational") from the start, so the text beside it never re-wraps */
.status-list em { flex: none; min-width: 7.6em; text-align: center; font-style: normal; font-weight: 600; font-size: .8125rem; padding: 4px 10px; border-radius: 99px; white-space: nowrap; background: var(--paper-2); color: var(--ink-3); }
.status-list em[data-state="operational"] { background: var(--ok-soft); color: var(--ok); }
.status-list em[data-state="down"] { background: var(--red-soft); color: var(--fail); }
.status-list em[data-state="unknown"] { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 960px) {
  .qa { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .status-head { flex-wrap: wrap; }
  .status-head .btn { width: 100%; }
}

/* probe catalogue cards on the product page */

/* ---- added with the accessibility pass of 2026-11-13 ---- */
.sprite { position: absolute; }
.fine { margin-top: 18px; font-size: .875rem; }
.gap { margin-top: 12px; }
/* where the ring has no room outside (a row that fills its box, a code block, a dot), it is
   drawn inside: the ink ring at the edge, the paper band within it */
:is(.code, .prose pre, details.cgroup > summary, .sc-dots button):focus-visible { outline-offset: -2px; box-shadow: inset 0 0 0 5px var(--halo); }
/* a card whose heading comes before it in the source keeps its place on the left */
@media (min-width: 961px) { .split.flip > .card { order: -1; } }
.plan :is(h2, h3) { font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; }
.plan .btn { white-space: normal; text-align: center; }
/* the comparison table's row headers look like the cells they replaced */
.compare tbody th { font-size: .875rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: none; font-weight: 500; text-align: left; }
.compare tbody tr:last-child th { border-bottom: 0; }
/* A row's name is three to seven words. The rest of what it means is a second line: under the
   name from 961px up, and behind the name on a narrower screen, where the name is a control
   that opens it (compare.js; in the page as written every second line is open). */
.compare details.rowd > summary { list-style: none; }
.compare details.rowd > summary::-webkit-details-marker { display: none; }
.compare details.rowd > p { margin-top: 3px; font-size: .8125rem; font-weight: 400; line-height: 1.45; color: var(--ink-3); text-wrap: pretty; }
@media (max-width: 960px) {
  /* the control is as tall as the cell: its padding reaches into the cell's own */
  .compare details.rowd > summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-block: -12px; padding-block: 12px; cursor: pointer; }
  .compare details.rowd > summary::after { content: "+"; content: "+" / ""; flex: none; width: 1ch; text-align: center; font-weight: 400; color: var(--ink-3); }
  .compare details.rowd[open] > summary::after { content: "\2212"; content: "\2212" / ""; }
  .compare details.rowd[open] > summary { margin-bottom: 0; padding-bottom: 0; }
}
.toc ul { list-style: none; margin: 0; padding: 0; }
@media (pointer: coarse) {
  .btn.sm, .scene-tabs .sc-tabs button { min-height: 44px; }
  .toc a { padding: 11px 0; }
}

/* ---------- pricing comparison ---------- */
.compare-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.compare tbody:last-child tr:last-child :is(th, td) { border-bottom: 0; }
/* One fold per group of rows. Every row is in the page whether its group is open or not. The
   plan names are a table of their own above the groups, so they can stay under the navigation;
   each group's table repeats them for a screen reader only. Columns line up because every table
   has the same fixed layout. */
.compare { table-layout: fixed; }
.compare col { width: 17%; } .compare col.c0 { width: 32%; }
details.cgroup { border-top: 1px solid var(--line); }
details.cgroup > summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; cursor: pointer; list-style: none; background: var(--paper-2); }
details.cgroup > summary::-webkit-details-marker { display: none; }
details.cgroup > summary:hover { background: color-mix(in srgb, var(--ink) 6%, var(--paper-2)); }
details.cgroup > summary h3 { font-size: 1rem; }
details.cgroup > summary .count { margin-left: auto; font: 500 .8125rem var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
details.cgroup > summary::after { content: "+"; content: "+" / ""; color: var(--ink-3); font-size: 1.125rem; width: 1ch; text-align: center; }
details.cgroup[open] > summary::after { content: "\2212"; content: "\2212" / ""; }
details.cgroup[open] > summary { border-bottom: 1px solid var(--line); }
.compare-wrap.diff-only tr[data-same], .compare-wrap.diff-only details[data-same] { display: none; }
@media (min-width: 761px) {
  /* clip, not hidden: the wrapper keeps its rounded corners without becoming a scroll box, so the
     plan names can stay under the navigation while the rows scroll past */
  .compare-wrap { overflow: clip; }
  .compare-cols { position: sticky; top: 65px; z-index: 2; box-shadow: 0 1px 0 var(--line); }
  .compare-pick { display: none; }
}
@media (max-width: 760px) {
  .compare-pick { position: sticky; top: 65px; z-index: 2; display: flex; gap: 6px; padding: 8px 0; margin-bottom: 4px; background: var(--paper); }
  .compare-pick[hidden] { display: none; }
  .compare-pick button { flex: 1; min-height: 44px; padding: 4px 6px; border-radius: 999px; border: 1px solid var(--btn-line); background: var(--card); font: 500 .8125rem var(--ui); color: var(--ink-2); cursor: pointer; }
  .compare-pick button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
  /* without the script the whole comparison scrolls sideways as one piece */
  .compare-wrap:not([data-plan]) > * { min-width: 640px; }
  /* one plan at a time: the chosen column beside the row names, nothing to scroll sideways */
  .compare-wrap[data-plan] .compare-cols { display: none; }
  .compare-wrap[data-plan] .compare { table-layout: auto; }
  .compare-wrap[data-plan] .compare col { display: none; }
  .compare-wrap[data-plan] .compare td { display: none; width: 44%; }
  .compare-wrap[data-plan] .compare tbody th { width: 56%; }
  .compare-wrap[data-plan="free"] .compare td:nth-child(2),
  .compare-wrap[data-plan="team"] .compare td:nth-child(3),
  .compare-wrap[data-plan="business"] .compare td:nth-child(4),
  .compare-wrap[data-plan="enterprise"] .compare td:nth-child(5) { display: table-cell; }
  .compare-wrap[data-plan] .compare :is(th, td) { padding: 10px 12px; overflow-wrap: break-word; }
}
@media (forced-colors: active) { .compare-pick button[aria-pressed="true"] { border: 2px solid Highlight; } }

/* ---------- long pages: section links, and detail on request ---------- */
.subnav { position: sticky; top: 65px; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-block: 6px; scroll-padding-inline: 48px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 7px 11px; border-radius: 8px; font-size: .8438rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.subnav a:hover { background: var(--paper-2); color: var(--ink); }
/* The page already keeps 80px clear for the header (scroll-padding-top); a section under a
   sub-navigation needs only the sub-navigation's own height on top of that, not both again. */
.subnav ~ section[id], .subnav ~ section [id], .subnav ~ section :is(a, button, summary, [tabindex]) { scroll-margin-top: 48px; }
details.more { margin-top: 10px; font-size: .9375rem; }
details.more > summary { display: block; width: fit-content; max-width: 100%; padding-block: 3px; cursor: pointer; list-style: none; font-weight: 500; color: var(--ink); }
details.more > summary::-webkit-details-marker { display: none; }
/* The sign trails the last word of the link, however many lines the link takes: the span keeps
   room for it after its text, and the sign is set there without a place in the line of its own. */
details.more > summary > span { padding-right: 1.1em; text-decoration: underline; text-decoration-color: var(--btn-line); text-underline-offset: 3px; }
details.more > summary > span::after { content: "+"; content: "+" / ""; position: absolute; margin-left: 6px; color: var(--ink-3); font-weight: 400; }
details.more[open] > summary > span::after { content: "\2212"; content: "\2212" / ""; }
/* one line under a fold link that says what the fold holds */
details.more > p { margin-top: 8px; color: var(--ink-2); max-width: 68ch; }
/* columns, not a grid: an opened family lengthens its own column and leaves no hole beside it */
.catalogue { columns: 3; column-gap: 28px; }
@media (max-width: 960px) { .catalogue { columns: 2; } }
@media (max-width: 560px) { .catalogue { columns: 1; } }
details.fam { break-inside: avoid; }
details.fam { border-bottom: 1px solid var(--line); }
details.fam > summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 44px; padding: 11px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: .9375rem; }
details.fam > summary::-webkit-details-marker { display: none; }
details.fam .count { font: 500 .8125rem var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; margin-left: auto; }
details.fam > summary::after { content: "+"; content: "+" / ""; color: var(--ink-3); font-weight: 400; width: 1ch; text-align: center; }
details.fam[open] > summary::after { content: "\2212"; content: "\2212" / ""; }
details.fam[open] > summary { color: var(--ink); }
details.fam > ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
details.fam > ul li { font: 400 .75rem var(--mono); color: var(--ink-2); background: var(--paper-2); border-radius: 4px; padding: 2px 6px; }

/* ---------- bright red is the sign-up button; a failure is the dark --fail; everything else is ink ---------- */
/* ruled lists: on paper a set of statements is separated by rules, not put in boxes */
.ruled { gap: 0 40px; }
.ruled > .card { background: none; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; box-shadow: none; padding: 22px 0 28px; }
.dark .ruled > .card { border-top-color: var(--d-line-strong); }
.faq summary { min-height: 44px; }
.footer li a { display: inline-block; padding: 4px 0; min-width: 44px; }
.nav .quick { display: none; }
@media (max-width: 960px) {
  /* the sign-up button stays in reach on a phone, beside the menu button */
  .nav .quick { display: inline-flex; margin-left: auto; min-height: 44px; }
  .nav .quick + .menu-btn { margin-left: 8px; }
}
/* the pause control is a quiet text button: its words start at the scene's left edge (the
   padding and the 1px border are taken back by the margin) */
.btn.sc-pause { background: none; border-color: transparent; box-shadow: none; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; padding-inline: 4px; margin-left: -5px; min-height: 32px; }
.btn.sc-pause:hover { color: var(--ink); background: none; }
@media (pointer: coarse) { .btn.sc-pause { min-height: 44px; } }
::selection { background: var(--ink); color: var(--paper); }
.dark ::selection, .cta.bold ::selection, pre ::selection { background: var(--d-ink); color: var(--d-bg); }

/* ---------- second critique pass ---------- */
.subnav + section { padding-top: clamp(40px, 20px + 3vw, 72px); }
/* more links than fit: the row fades at an edge while there is more of it beyond that edge
   (page.js sets the two classes as the row scrolls; a focused link is kept clear of the fade
   by the row's scroll-padding) */
:is(.subnav .wrap, nav.jump).more-after { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
:is(.subnav .wrap, nav.jump).more-before { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
:is(.subnav .wrap, nav.jump).more-before.more-after { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
@media (pointer: coarse) { .subnav a { min-height: 44px; display: inline-flex; align-items: center; } }
/* a fold link is 44px tall where a finger presses it: on a touch screen and at phone width */
@media (pointer: coarse), (max-width: 760px) { details.more > summary { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding-block: 10px; } }
ul.ids { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
ul.ids li { font: 400 .75rem var(--mono); color: var(--ink-2); background: var(--paper-2); border-radius: 4px; padding: 2px 6px; }
.plan .how { font-size: .8125rem; color: var(--ink-3); margin-top: -2px; }
.fine { max-width: 62ch; }

/* ---------- documentation: pages by task ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.page-hero.slim { padding-bottom: 28px; }
.page-hero.slim h1 { font-size: clamp(1.75rem, 1rem + 2.4vw, 2.5rem); letter-spacing: -0.024em; line-height: 1.08; }
.page-hero.slim .lede { margin-top: 14px; font-size: 1.0625rem; }
.docs-nav .toc-group { margin: 18px 0 4px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.docs-nav .toc-group:first-of-type { margin-top: 14px; }
/* the page being read: the rule the page's outline uses for the section being read (nav.onpage) */
.docs-pages-wide > ul { border-left: 1px solid var(--line-strong); }
.docs-pages-wide > ul > li > a { margin-left: -1px; padding-left: 12px; border-left: 1px solid transparent; }
.docs-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.docs-pages-wide .toc-sub { margin-left: 12px; }
.docs-nav .toc-sub { margin: 2px 0 6px; padding-left: 12px; border-left: 1px solid var(--line); }
.docs-nav .toc-sub a { padding: 3px 0; font-size: .8438rem; }
.docs-nav .toc-sub a[aria-current="location"] { color: var(--ink); font-weight: 500; margin-left: -13px; padding-left: 11px; border-left: 2px solid var(--ink); }
/* docs.js puts the search at the head of the text: what it finds is listed at the text's width */
.docs-search { position: relative; max-width: 44rem; margin: 0 0 28px; }
[data-docs] > h2:first-of-type { margin-top: 0; }
.docs-search input { width: 100%; min-height: 40px; padding: 6px 12px; border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--card); font: inherit; color: var(--ink); }
.docs-search input:focus-visible { border-color: var(--ink); }
.prose .docs-results { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.prose .docs-results li { margin: 0; }
.docs-results:empty { display: none; }
.docs-results a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; background: var(--card); border: 1px solid var(--line); }
.docs-results a:hover { border-color: var(--ink-3); }
.docs-results .where { font-size: .75rem; color: var(--ink-3); }
.docs-results .snip { font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.docs-results .none { padding: 8px 2px; font-size: .8438rem; color: var(--ink-2); }
/* as wide as the code block it holds, so the Copy button sits on the block, never beside it */
.code-wrap { position: relative; width: fit-content; max-width: 100%; min-width: min(100%, 26rem); }
.code-wrap > pre { margin: 0 0 14px; max-width: 100%; }
.copy-btn { position: absolute; top: 8px; right: 8px; min-height: 32px; padding: 2px 10px; border-radius: 6px; border: 1px solid var(--d-edge); background: var(--d-card); color: var(--d-ink); font: 500 .75rem var(--ui); cursor: pointer; }
.copy-btn:hover { background: var(--d-fill); }
.prose :is(h2, h3) .anchor-link { display: inline-block; min-width: 24px; margin-left: 4px; text-align: center; color: var(--ink-3); text-decoration: none; font-weight: 400; opacity: 0; }
.prose :is(h2, h3):hover .anchor-link, .prose :is(h2, h3) .anchor-link:focus-visible { opacity: 1; }
.docs-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); max-width: none; }
.docs-pager a { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--card); }
.docs-pager a:hover { border-color: var(--ink-3); }
.docs-pager a span { font-size: .75rem; font-weight: 500; color: var(--ink-3); }
.docs-pager a.next { text-align: right; margin-left: auto; }
.prose > h2:first-child { margin-top: 0; }
@media (max-width: 960px) {
  /* on a phone the menu is the page list and the search; a page's own sections follow its text */
  .docs-nav ul:not(.toc-sub) { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .docs-nav .toc-sub { display: none; }
  .docs-nav .toc-group { display: none; }
  @media (hover: none) { .prose :is(h2, h3) .anchor-link { opacity: 1; } }
}
@media (max-width: 760px) {
  /* on a phone the section link is not drawn beside the heading: it stays in the page for a
     keyboard and a screen reader, and shows small when it has the focus */
  .prose :is(h2, h3) .anchor-link { font-size: .75rem; color: var(--ink-3); }
  .prose :is(h2, h3) .anchor-link:not(:focus-visible) { position: absolute; width: 1px; height: 1px; min-width: 0; min-height: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
}

/* ---------- third critique pass ---------- */
.faq { margin: 0; }
/* a code sample on the dark band has an edge of its own */
.dark .code { border: 1px solid var(--d-line-strong); }
/* a two-column table needs no minimum width: it fits a phone as it is */
.table-wrap > table:not(:has(th:nth-child(3))) { min-width: 0; }
@media (pointer: coarse) { .copy-btn { min-height: 44px; padding-inline: 14px; } }
.docs-results .none a { display: inline; padding: 0; border: 0; background: none; text-decoration: underline; }

/* ---------- proof first, detail on request ---------- */
.compare-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 12px; }
.compare-tools[hidden] { display: none; }
.compare-tools .btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
/* the toolbar is as tall pressed as not: a button holds both of its wordings in one place and
   shows one (compare.js), and the line beside them keeps the room of its longer wording */
.compare-tools .btn { display: inline-grid; text-align: center; white-space: normal; }
.compare-tools .btn > span { grid-area: 1 / 1; }
.compare-tools .btn > span[hidden] { display: block; visibility: hidden; }
.compare-said { display: grid; font-size: .875rem; color: var(--ink-2); }
.compare-said > span, .compare-said::after { grid-area: 1 / 1; }
.compare-said::after { content: attr(data-room); content: attr(data-room) / ""; visibility: hidden; }
@media (forced-colors: active) { .compare-tools .btn[aria-pressed="true"] { border: 2px solid Highlight; } }

/* ---------- the real product ---------- */
figure.appshot { margin: 0 0 28px; }
/* A screenshot of the app is never scaled. Every file is the app drawn at the size it is shown
   at (build.py, shot_pictures): the picture has its file's own width and height from its
   attributes, and nothing here sets a width, a height or a fit on it. The frame is as wide as
   the picture, at the left of its column like the caption under it. */
figure.appshot img { display: block; max-width: none; border: 0; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); background: var(--paper); }
figure.appshot figcaption { margin-top: 12px; font-size: .875rem; color: var(--ink-3); max-width: 62ch; }
/* a screenshot in the browser frame the home page's hero uses: the bar, then the picture */
figure.appshot.framed .frame { font-size: .8125rem; width: fit-content; max-width: 100%; position: relative; }
figure.appshot.framed .zoom { border-radius: 6px; }
figure.appshot picture { display: block; }
.dark figure.appshot figcaption { color: var(--d-ink-2); }
/* The sample report: its top, at a fixed height, fading out towards a button that opens all of
   it on a page of its own. The frame is a look at the report and cannot be scrolled or pressed. */
.report-peek { position: relative; border: 1px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; background: var(--card); }
.report-peek iframe { display: block; width: 100%; height: 600px; border: 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 92%); mask-image: linear-gradient(to bottom, #000 50%, transparent 92%); }
.report-go { position: absolute; left: 16px; right: 16px; bottom: 32px; display: flex; justify-content: center; }
.report-go .btn { white-space: normal; text-align: center; box-shadow: var(--shadow-lg); }
@media (max-width: 760px) { .report-peek iframe { height: 460px; } .report-go { bottom: 24px; } }

/* ---------- fourth critique pass ---------- */
figure.appshot .tap { display: none; }
@media (max-width: 960px) {
  .toc { max-height: none; overflow: visible; }
}
/* command flags and identifiers in running text stay whole where there is room for them; in a
   list item, a definition or a table cell an address is as long as it is, so it wraps there.
   A row's name in the first column is the exception: it is never broken, and the column is as
   wide as its longest name */
@media (min-width: 761px) { .prose :not(pre) > code { white-space: nowrap; } .prose :is(li, dd, td, th) code { white-space: normal; overflow-wrap: anywhere; } .prose td:first-child:not([colspan]) code { white-space: nowrap; } }

/* ---- Fifth pass ---- */
/* The sub-navigation marks the section being read. */
.subnav a[aria-current="true"] { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
/* Pricing by the month or by the year: two buttons, the pressed one filled. */
.billing { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.billing button { font: 500 .875rem var(--ui); color: var(--ink-2); background: transparent; border: 0; border-radius: var(--radius); padding: 8px 14px; min-height: 40px; cursor: pointer; }
.billing button span { color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.billing button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.billing button[aria-pressed="true"] span { color: inherit; opacity: .75; }
/* A glossary: the term on the left, its meaning on the right; stacked on a phone. */
dl.glossary { margin: 0; display: grid; gap: 0; }
dl.glossary > div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
dl.glossary dt { font-weight: 600; color: var(--ink); }
dl.glossary dd { margin: 0; color: var(--ink-2); max-width: 35rem; }
@media (max-width: 760px) { dl.glossary > div { grid-template-columns: 1fr; gap: 4px; } }
/* A question opened from its own link is marked for a moment. */
details[id^="faq-"]:target > summary { text-decoration: underline; text-underline-offset: 4px; }
.prose kbd { font: 500 .8125rem var(--mono); border: 1px solid var(--ink-3); border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; background: var(--card); color: var(--ink); }
dl.glossary > div { scroll-margin-top: 96px; }
dl.glossary > div:target dt { text-decoration: underline; text-underline-offset: 4px; }
/* Text in the product mock-ups never goes under 12px: every size above is .75rem or more. */
/* Touch: everything pressable is at least 44px in one direction, with room around it. */
@media (pointer: coarse) {
  .footer li a { padding: 12px 0; }
  .footer a.logo, header a.logo { min-height: 44px; }
  .footer a.logo { margin-bottom: 3px; }
  .nav .links > a { min-height: 44px; display: flex; align-items: center; }
  #docs-q { min-height: 44px; }
  .billing button { min-height: 44px; }
  .prose a.anchor-link { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
  /* an address to write to, in a ruled list: the row's own padding becomes the link's height */
  .checks.plain li:has(a) { padding-block: 4px; }
  .checks.plain li a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* the toggle and the line that says what it does share a row where there is room */
.billing-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 20px; }
.billing-note { margin: 0; font-size: .875rem; flex: 1 1 18rem; max-width: 62ch; }
/* the toggle is in the page from the start, so the plan cards under it do not move when page.js
   switches it on; where no script runs it could do nothing, and is not shown */
@media (scripting: none) { .billing-row { display: none; } }
/* The documentation's page list is in the page twice (build.py): a plain list on a wide screen,
   a fold where the menu stacks above the text. One of them is shown, so nothing opens or
   closes when a script runs. The fold is the same box as "On this page" under it. */
details.docs-pages { display: none; }
@media (max-width: 960px) {
  .docs-pages-wide { display: none; }
  details.docs-pages { display: block; max-width: 35rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card); }
  details.docs-pages > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; cursor: pointer; list-style: none; font-size: .9375rem; font-weight: 600; color: var(--ink); }
  details.docs-pages > summary::-webkit-details-marker { display: none; }
  details.docs-pages > summary::after { content: "+"; content: "+" / ""; color: var(--ink-3); font-weight: 400; font-size: 1.125rem; }
  details.docs-pages[open] > summary::after { content: "\2212"; content: "\2212" / ""; }
  details.docs-pages > ul { padding: 0 14px 10px; }
  details.docs-pages a[aria-current="page"] { padding-left: 10px; border-left: 2px solid var(--ink); }
  .toc.docs-nav { margin-bottom: 0; }
  .with-toc:has(> .docs-nav) { row-gap: 16px; }
}
/* the search needs the script: where none runs it is not shown */
@media (scripting: none) { .docs-search { display: none; } }

/* ---------- screenshots enlarge on the page; the sample report is read in its frame ---------- */
figure.appshot .zoom { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--radius-lg); cursor: zoom-in; font: inherit; color: inherit; }
figure.appshot .zoom:disabled { cursor: default; }
figure.appshot.can-zoom .tap { display: inline; }
/* the enlarged view is as wide as the picture it shows, a file drawn at its own size like every
   other (page.js picks the widest that fits the window and puts the box on whole pixels); it
   scrolls down through a tall screen and never scales one */
dialog.lightbox { position: fixed; inset: 16px auto auto 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--paper); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-lg); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
/* (written out: a custom property does not reach ::backdrop in every browser, and without it
   the shade falls back to almost nothing; dark enough that the page does not read through) */
dialog.lightbox::backdrop { background: rgba(23, 22, 15, .86); overflow: hidden; overscroll-behavior: contain; }
dialog.lightbox form { position: sticky; top: 0; left: 0; z-index: 1; display: flex; justify-content: flex-end; box-sizing: border-box; height: 48px; padding: 0 8px; background: var(--paper); border-bottom: 1px solid var(--line); }
dialog.lightbox img { display: block; max-width: none; }

/* ---------- after the by-eye check ---------- */
/* a wide table on a phone: a list of rows, each value under its column's name (page.js marks
   the tables; without the script they scroll sideways as before) */
@media (max-width: 760px) {
  table.cards:not(.versus), .table-wrap > table.cards:not(.versus), .prose table.cards:not(.versus) { display: block; min-width: 0; }
  table.cards:not(.versus) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.cards:not(.versus) tbody, table.cards:not(.versus) tr, table.cards:not(.versus) tr > * { display: block; width: auto; }
  table.cards:not(.versus) tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  table.cards:not(.versus) tr:first-child { border-top: 1px solid var(--line); }
  table.cards:not(.versus) tr > * { border: 0; padding: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  table.cards:not(.versus) tr > * + * { margin-top: 8px; }
  table.cards:not(.versus) tr > :first-child { font-weight: 600; color: var(--ink); }
  table.cards:not(.versus) tr > [colspan] { font-weight: 400; }
  table.cards:not(.versus) tr > [data-label]::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1px; }
  .table-wrap:has(> table.cards:not(.versus)) { overflow-x: visible; }
}
/* the enlarged screenshot says so when there is more of it to the side */
dialog.lightbox form { justify-content: space-between; align-items: center; gap: 12px; }
dialog.lightbox .hint { font-size: .8125rem; color: var(--ink-2); }
dialog.lightbox .hint[hidden] { display: block; visibility: hidden; }

/* the criteria page: three short paragraphs per category, the last one the honest gap */
.qa.criteria .q p + p { margin-top: 8px; }
.qa.criteria .q p:last-child { color: var(--ink-2); }
.qa.criteria #scope { grid-column: 1 / -1; }
.fineprint { font-size: .8125rem; max-width: 62ch; margin-top: 28px; }
/* a plain data table on a marketing page, in a card */
table.data { width: 100%; border-collapse: collapse; font-size: .9062rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
table.data th, table.data td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data th { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
table.data td:first-child { font-weight: 600; }
@media (max-width: 760px) { table.data.cards:not(.versus) { background: none; border: 0; border-radius: 0; } }

.compare-notes { margin-top: 28px; }
/* seven columns: the comparison with other products keeps its first column readable */
@media (min-width: 1151px) { .table-wrap > table.data:has(th:nth-child(7)) { min-width: 1040px; font-size: .8438rem; } }

/* ---------- second sweep ---------- */
/* a table of four or more columns is a list from 1150px down: on a tablet
   each row is a heading and a three-column grid of named cells */
@media (min-width: 761px) and (max-width: 1150px) {
  table.cards.many, .table-wrap > table.cards.many, .prose table.cards.many { display: block; min-width: 0; }
  table.cards.many thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.cards.many tbody, table.cards.many tr, table.cards.many tr > * { display: block; width: auto; }
  table.cards.many tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  table.cards.many tr > :first-child { grid-column: 1 / -1; }
  table.cards.many tr > * + * { margin-top: 0; }
  table.cards.many tr:first-child { border-top: 1px solid var(--line); }
  table.cards.many tr > * { border: 0; padding: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  table.cards.many tr > * + * { margin-top: 8px; }
  table.cards.many tr > :first-child { font-weight: 600; color: var(--ink); }
  table.cards.many tr > [colspan] { font-weight: 400; }
  table.cards.many tr > [data-label]::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1px; }
  .table-wrap:has(> table.cards.many) { overflow-x: visible; }
}
@media (min-width: 761px) and (max-width: 1150px) { table.data.cards.many { background: none; border: 0; border-radius: 0; min-width: 0; } table.data.cards.many td, table.data.cards.many th { border-bottom: 0; } }
/* identifiers in a narrow table cell break where they must */
@media (max-width: 760px) { .prose td code { white-space: normal; overflow-wrap: break-word; } .table-wrap > table { max-width: 100%; } .table-wrap > table:not(:has(th:nth-child(3))) { table-layout: fixed; width: 100%; } }

/* ---------- second by-eye check ---------- */
/* a cell with nothing in it is not shown as a label over nothing */
table.cards td:empty { display: none; }
@media (max-width: 760px) { table.data.cards:not(.versus) :is(td, th) { border-bottom: 0; } }
/* the Copy button has a strip of its own above the code, so it never covers the first line */
.code-wrap > pre { padding-top: 44px; }
@media (pointer: coarse) { .code-wrap > pre { padding-top: 56px; } }
/* a long address in a lede wraps on a phone */
.lede a, .prose p a, .prose li a { overflow-wrap: anywhere; }
/* plan cards stacked: no space reserved for a longer neighbour */
@media (max-width: 760px) { .pricing .plan > .muted { min-height: 0; } }
/* identifiers inside a stacked or narrow table cell wrap with the cell and are set a little smaller */
@media (min-width: 761px) and (max-width: 1150px) { table.cards.many code { white-space: normal; overflow-wrap: break-word; } }
@media (max-width: 760px) { .prose td code { font-size: .75rem; padding-inline: 3px; } }

/* ---------- the items the second check left ---------- */
/* on a phone a code sample wraps inside its box, so nothing is hidden to the side; Copy still gives it as written */
@media (max-width: 760px) { .prose pre, pre.code { white-space: pre-wrap; overflow-wrap: anywhere; } }
@media (max-width: 760px) { pre { white-space: pre-wrap; overflow-wrap: anywhere; } }

/* ---------- third by-eye check ---------- */
/* a code sample wraps inside its box at every width; Copy gives it as written */
.prose pre, .code-wrap > pre, pre.code { white-space: pre-wrap; overflow-wrap: anywhere; }
/* demo panels: code breaks at the soft points scenes.js marks, not inside a word */
.sc-tool .mono, .sc-line, .sc-log .mono { overflow-wrap: break-word; word-break: normal; }
/* the footer marks the page you are on with an underline, not with the weight of a heading */
.footer a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- customers ---------- */
/* One ink for every mark, so eight brands read as one calm line and none shouts. Each logo
   has a height of its own: a wide wordmark is drawn lower than a stacked emblem, so they
   carry the same weight. --s scales the whole row down on smaller screens. */
.customers { padding: 30px 0 34px; }
.customers .eyebrow { margin: 0 0 18px; text-align: center; font-size: .75rem; }
.logos { --s: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; justify-items: center; gap: 30px 24px; }
.logos li { display: flex; align-items: center; justify-content: center; min-height: calc(58px * var(--s)); }
.logos img { display: block; height: calc(var(--h, 36px) * var(--s)); width: auto; max-width: 100%; filter: brightness(0); opacity: .58; }
.logos .c-nestle { --h: 58px; }
.logos .c-hilton { --h: 36px; }
.logos .c-philip-morris-international { --h: 58px; }
.logos .c-gap { --h: 44px; }
.logos .c-saint-gobain { --h: 44px; }
.logos .c-godiva { --h: 32px; }
.logos .c-hdi { --h: 23px; }
.logos .c-heinemann { --h: 26px; }
.logos .c-kassbohrer { --h: 24px; }
.logos .c-united-biscuits { --h: 50px; }
.logos .c-welthungerhilfe { --h: 48px; }
.logos .c-infrareal { --h: 27px; }
/* twelve marks: two rows of six, three rows of four on a tablet, four rows of three on a phone */
@media (max-width: 1150px) { .logos { --s: .88; gap: 26px 18px; } }
@media (max-width: 960px) { .logos { --s: .9; grid-template-columns: repeat(4, 1fr); gap: 24px 18px; } }
@media (max-width: 560px) { .logos { --s: .74; grid-template-columns: repeat(3, 1fr); gap: 20px 14px; } .customers { padding: 24px 0 26px; } }

/* ---------- fourth by-eye check ---------- */
/* between two sections (the pricing page, under the plan cards) the strip is a section like
   any other: the gap above it is the section's, and it carries the same gap below */
section:not(.hero) + .customers { padding: 0 0 var(--sec); }
/* an opened question: the answer keeps the same distance whether the question takes one line or two */
.faq details[open] > summary { margin-bottom: 10px; }
.faq details > summary { align-items: flex-start; }
.faq details > :not(summary):first-of-type { margin-top: 0; }

/* ---------- sign-up is red everywhere on the site ---------- */
/* The top bar's "Start free" is the most-seen call to action, so it carries the brand's red
   like the hero and closing buttons. */

/* the contact form on the company page: one column of labelled fields in a card */
/* the form is in the page from the start, so the block below it does not move when contact.js
   runs; where no script runs it could not send, and is not shown */
@media (scripting: none) { .contact-form { display: none; } }
.contact-form { margin-top: 28px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; gap: 18px; }
.contact-form[hidden] { display: none; }
.contact-form h3 { font-size: 1.0625rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.cf-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.cf-field > label, .cf-topics legend { font-size: .875rem; font-weight: 600; color: var(--ink); }
.cf-opt { font-weight: 400; color: var(--ink-3); }
.cf-hint, .cf-note { font-size: .8125rem; color: var(--ink-3); }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea { width: 100%; min-height: 48px; padding: 11px 12px; font: inherit; font-size: max(1rem, 1em); color: var(--ink); background: var(--card); border: 1px solid var(--field-line); border-radius: var(--radius); }
.contact-form textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.contact-form :is(input, textarea):focus-visible { border-color: var(--ink); }
.contact-form :is(input, textarea):user-invalid, .contact-form [aria-invalid=true] { border-color: var(--fail); box-shadow: inset 0 0 0 1px var(--fail); }
.cf-topics { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.cf-topics legend { padding: 0; margin-bottom: 4px; }
.cf-topics label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .9375rem; cursor: pointer; }
.cf-topics input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.cf-trap { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* the human check takes no room until its frame has loaded (contact.js marks it then) */
.contact-form { position: relative; }
.cf-check:not(.ready) { position: absolute; left: 22px; right: 22px; bottom: 0; opacity: 0; pointer-events: none; }
.cf-check:empty { display: none; }
.cf-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cf-actions .btn[disabled] { opacity: .6; cursor: default; }
.cf-status { font-size: .9375rem; color: var(--ink-2); min-width: 0; flex: 1 1 220px; }
.cf-status:empty { display: none; }
.cf-status[data-kind=ok] { color: var(--ok); font-weight: 600; }
.cf-status[data-kind=bad], .cf-status[data-kind=wait] { color: var(--fail); font-weight: 500; }
@media (max-width: 560px) { .contact-form { padding: 16px; } .cf-row, .cf-topics { grid-template-columns: 1fr; } }

/* ---------- design pass of 2026-11-25 ---------- */
/* Several subjects under one section heading: each is a topic with a rule above it, so a long
   page reads as a few sections and not as a run of equal ones. */
.topic { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line-strong); }
.topic-h { font-size: var(--t-h3); letter-spacing: -0.022em; line-height: 1.14; }
.topic-head { max-width: 44rem; margin-bottom: 28px; }
.topic-head p, .topic-h + p { margin-top: 12px; font-size: 1.0625rem; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 960px) { .topic { margin-top: 44px; padding-top: 32px; } }
/* procedures in the documentation: what you do, then what happens */
.prose dl:not(.glossary) { margin: 0 0 14px; }
.prose dl:not(.glossary) dt { font-weight: 600; color: var(--ink); margin-top: 12px; }
.prose dl:not(.glossary) dd { margin: 2px 0 0; color: var(--ink-2); overflow-wrap: anywhere; }
/* figures in a column line up */
.figure b, table.data, .prose table, .kv, .plan .price { font-variant-numeric: tabular-nums; }
/* the comparison with other products on a phone: Enfoa beside one product, chosen by name
   (compare.js adds the list; without the script the table scrolls sideways) */
.versus-pick { display: none; }
@media (max-width: 760px) and (scripting: enabled) {
  .versus-pick { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; position: sticky; top: 65px; z-index: 2; padding: 8px 0; margin-bottom: 4px; background: var(--paper); }
  .versus-pick label { font-size: .9375rem; font-weight: 600; }
  .versus-pick select { flex: 1 1 9rem; min-width: 0; min-height: 44px; padding: 6px 12px; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--field-line); border-radius: var(--radius); }
  .table-wrap > table.versus[data-vs] { min-width: 0; width: 100%; table-layout: fixed; }
  table.versus[data-vs] :is(th, td):nth-child(n+3) { display: none; }
  table.versus[data-vs="3"] :is(th, td):nth-child(3), table.versus[data-vs="4"] :is(th, td):nth-child(4),
  table.versus[data-vs="5"] :is(th, td):nth-child(5), table.versus[data-vs="6"] :is(th, td):nth-child(6),
  table.versus[data-vs="7"] :is(th, td):nth-child(7) { display: table-cell; }
  table.versus[data-vs] :is(th, td) { padding: 10px 8px; overflow-wrap: break-word; }
  table.versus[data-vs] :is(th, td):first-child { width: 37%; padding-left: 10px; font-size: .8125rem; hyphens: manual; }
  .table-wrap:has(> table.versus[data-vs]) { overflow-x: visible; }
}

/* ---------- second design pass of 2026-11-25 ---------- */
/* the pricing page: the plan cards follow the hero directly, so a price is on the first screen */
.page-hero.close { padding-bottom: 24px; }
/* plan cards side by side: every list starts on the same line. Where a card is narrow enough for
   the yearly wording of the paid plans to take two lines (four in a row, and two in a row on a
   tablet), the line under the price keeps two lines on every card, whichever period is shown;
   and the note about the trial comes after the list, not between the button and the list. */
@media (min-width: 1151px), (min-width: 761px) and (max-width: 960px) { .pricing .per { min-height: 3.1em; } }
.plan ul + .how { margin-top: 6px; }
/* the comparison with other products: our own column is set apart by its ground, no rule or stripe */
table.versus :is(th, td):nth-child(2) { background: var(--card-2); }
table.versus thead th:nth-child(2) { color: var(--ink); font-weight: 600; }
/* a lede on a phone fills its lines: "pretty" trades full lines for an even last one, which in a
   column this narrow leaves several short lines in a row */
@media (max-width: 560px) { .lede { text-wrap: wrap; } }

/* ---------- design build of 2026-11-26: section shapes, folds, frames, outlines ---------- */
/* a display headline of two sentences breaks between them where there is room */
h1 .nb, h1 em { display: inline-block; }
/* sub-pages: the pitch and the buttons side by side under the headline, as on the home page */
.page-hero .hero-row .lede { margin-top: 0; }
figure.appshot.hero-shot { margin: 56px 0 0; }
/* the scan screen in a hero is its summary card alone, taken in a window as wide as makes the
   card fill the frame, so its words are read without enlarging (the whole screen opens enlarged).
   A phone gets the top of the phone's own screen. */
/* a caption that describes what only one of the two pictures shows has both wordings */
.cap-phone { display: none; }
@media (max-width: 767px) { .cap-wide { display: none; } .cap-phone { display: inline; } }
/* a figure whose narrow picture is shown up to a wider window says so */
@media (max-width: 1023px) { figure.appshot.narrow-1024 .cap-wide { display: none; } figure.appshot.narrow-1024 .cap-phone { display: inline; } }
/* a screenshot under the text it belongs to, the width of the page */
figure.appshot.under { margin: 40px 0 0; }
/* text beside a figure: the figure has the wider column; text beside a list of statements leans the other way */
.split.fig { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split.lean { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
.split.lean .sec-head { margin-bottom: 0; }
/* a page that sets some of its section heads alone and some beside a column keeps them one
   size, the section head's: the heads beside a column say so (.alike) */
.split > .sec-head.alike > h2 { font-size: var(--t-h2); letter-spacing: -0.03em; line-height: 1.04; }
/* and its column has the room a head of that size needs for a sentence to a line */
@media (min-width: 961px) { .split.lean:has(> .sec-head.alike) { grid-template-columns: minmax(0, 8fr) minmax(0, 9fr); } }
.scene-col { min-width: 0; }
@media (min-width: 961px) { .split.top > .scene-col { position: sticky; top: 132px; } }
.stack { display: grid; }
.stack.ruled > .card > p { max-width: 35rem; }
.split .points { margin-top: 20px; }
.points.flush { margin-top: 0; }
/* four statements under a section's opening: two columns of two where there is room */
.points.two { margin-top: 40px; display: block; columns: 2; column-gap: 72px; }
.points.two li { break-inside: avoid; margin-bottom: 14px; max-width: 34rem; }
@media (max-width: 960px) { .points.two { columns: 1; margin-top: 28px; } }
ol.points.num { counter-reset: n; }
ol.points.num li { counter-increment: n; padding-left: 28px; }
ol.points.num li::before { content: counter(n); top: .1em; width: auto; height: auto; background: none; font: 600 .8125rem/1.6 var(--mono); color: var(--ink-3); }

/* A fold: one row with a rule above it that opens to its detail. The row says what is inside
   (a title, sometimes a line under it); the sign at its end says whether it is open. */
.folds { margin-top: 28px; border-bottom: 1px solid var(--line-strong); }
.fold { border-top: 1px solid var(--line-strong); }
details.fold > summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; column-gap: 16px; align-items: start; min-height: 56px; padding: 16px 0; cursor: pointer; list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary > b { grid-column: 1; font: 600 1.0625rem/1.35 var(--display); letter-spacing: -0.01em; color: var(--ink); }
details.fold > summary > small { grid-column: 1; margin-top: 2px; max-width: 72ch; font-size: .9062rem; color: var(--ink-2); text-wrap: pretty; }
details.fold > summary::after { content: "+"; content: "+" / ""; grid-column: 2; grid-row: 1; justify-self: end; font: 400 1.25rem/1.25 var(--ui); color: var(--ink-3); }
details.fold[open] > summary::after { content: "\2212"; content: "\2212" / ""; }
details.fold > summary:hover > b { text-decoration: underline; text-decoration-color: var(--btn-line); text-underline-offset: 3px; }
.fold-body { max-width: 46rem; padding: 0 40px 24px 0; font-size: .9375rem; color: var(--ink-2); }
.fold-body.wide { max-width: none; padding-right: 0; }
.fold-body > p { text-wrap: pretty; }
.fold-body > p + p { margin-top: 10px; }
.fold-body .points { margin-top: 0; }
.fold-body .ruled > .card:last-child, .fold-body .grid2.ruled > .card:nth-last-child(2):nth-child(odd), .fold-body .grid3.ruled > .card:nth-last-child(-n+3) { padding-bottom: 12px; }
.folds-h { margin-top: 56px; max-width: 32ch; font-size: var(--t-card); letter-spacing: -0.02em; line-height: 1.16; scroll-margin-top: 132px; }
/* A control: its name, what it does in one line, and the rest behind the row. A control that is
   said in one line is the same row without a sign. */
.fold.ctl > summary { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr) 24px; column-gap: 32px; align-items: baseline; min-height: 56px; padding: 18px 0; }
.fold.ctl > summary > span { grid-column: 2; max-width: 62ch; font-size: .9375rem; color: var(--ink-2); text-wrap: pretty; }
details.fold.ctl > summary::after { grid-column: 3; }
.fold.ctl > .fold-body { max-width: none; margin-left: calc(17rem + 32px); padding-right: 56px; }
.fold.ctl > .fold-body > p { max-width: 62ch; }
/* the page's summary: what is protected, and how, in the columns the controls below use */
dl.summary { margin: 44px 0 0; border-top: 1px solid var(--ink); }
dl.summary > div { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); column-gap: 32px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
dl.summary dt { font: 600 1.25rem/1.2 var(--display); letter-spacing: -0.015em; }
dl.summary dt a { text-decoration: underline; text-decoration-color: var(--btn-line); text-underline-offset: 4px; }
dl.summary dt a:hover { text-decoration-color: currentColor; }
dl.summary dd { margin: 0; font-size: 1.125rem; color: var(--ink-2); text-wrap: pretty; }
dl.summary + .fine { margin-top: 16px; }
@media (pointer: coarse) { dl.summary dt a { display: inline-flex; align-items: center; min-height: 44px; } }
@media (max-width: 760px) {
  .fold.ctl > summary { grid-template-columns: minmax(0, 1fr) 24px; row-gap: 4px; }
  .fold.ctl > summary > span { grid-column: 1; }
  details.fold.ctl > summary::after { grid-column: 2; }
  .fold.ctl > .fold-body { margin-left: 0; padding-right: 0; }
  .fold-body { padding-right: 0; }
  dl.summary > div { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  dl.summary dd { font-size: 1rem; }
}
@media (min-width: 761px) and (max-width: 960px) {
  .fold.ctl > summary { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) 24px; column-gap: 24px; }
  .fold.ctl > .fold-body { margin-left: calc(13rem + 24px); padding-right: 48px; }
  dl.summary > div { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); column-gap: 24px; }
}
/* the sign turns into its other state over a short moment; the row itself opens at once */
@media (prefers-reduced-motion: no-preference) { details.fold > summary::after, details.fam > summary::after { transition: transform .16s ease-out; } details.fold[open] > summary::after, details.fam[open] > summary::after { transform: rotate(180deg); } }

/* the closing call to action is not the same box on every page */
/* 1. plain: a rule, the words on the left, the buttons on the right (reference and trust pages) */
.cta.line { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; padding: 44px 0 0; background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; box-shadow: none; text-align: left; }
.cta.line h2, .cta.with-code h2, .cta.with-aside h2 { margin: 0 0 12px; max-width: 20ch; font-size: clamp(1.625rem, 1rem + 1.8vw, 2.5rem); letter-spacing: -0.028em; }
.cta.line .ctas, .cta.with-code .ctas, .cta.with-aside .ctas { justify-content: flex-start; }
.cta.line .ctas { margin-top: 0; }
.cta:not(.bold) .assure { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .875rem; color: var(--ink-2); }
/* 2. beside a piece of the product: a command (how it works) or lines of the report (sample report) */
.cta.with-code, .cta.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; padding: 48px; text-align: left; }
.cta.with-code .code { box-shadow: none; }
/* the pricing page ends on ink: the words and buttons on the left, the Free plan beside them */
.cta.bold.with-aside p.muted { margin-inline: 0; }
.cta.bold.with-aside .assure { justify-content: flex-start; gap: 6px 20px; }
.cta.bold .excerpt { background: var(--d-card); border-color: var(--d-line-strong); color: var(--d-ink); }
.cta.bold .excerpt dt { color: var(--d-ink-3); }
.cta.bold .excerpt dd { color: var(--d-ink-2); }
.excerpt { padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); font-size: .875rem; }
.excerpt-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 14px; }
.excerpt-t b { font: 600 1.125rem/1.25 var(--display); letter-spacing: -0.01em; }
.excerpt dl { margin: 0; display: grid; gap: 12px; }
.excerpt dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.excerpt dd { margin: 4px 0 0; padding: 2px 0 2px 12px; border-left: 2px solid var(--line-strong); color: var(--ink-2); overflow-wrap: anywhere; }
.excerpt-src { margin-top: 14px; font-size: .8125rem; }
/* 3. the home page ends on the ink band, the whole width of the window */
.closing { padding: calc(var(--band) * 1.2) 0; }
.closing h2 { max-width: 16ch; font-size: clamp(2.125rem, 1.1rem + 3.6vw, 4.25rem); letter-spacing: -0.036em; line-height: 1; }
.closing-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-top: 36px; }
.closing .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.closing .assure { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .875rem; color: var(--d-ink-2); }
@media (max-width: 960px) {
  .cta.line, .cta.with-code, .cta.with-aside, .closing-row, .split.fig, .split.lean { grid-template-columns: minmax(0, 1fr); }
  .split.lean { gap: 32px; }
  .cta.with-code, .cta.with-aside { padding: 28px 20px; }
  figure.appshot.hero-shot { margin-top: 36px; }
}

/* the menu on a narrow screen lies over a shaded page, so nothing of the page reads as part of it */
@media (max-width: 960px) {
  .nav:has(.menu-btn[aria-expanded="true"])::after { content: ""; position: fixed; inset: 64px 0 0; z-index: -1; background: color-mix(in srgb, var(--ink) 52%, transparent); }
}

/* pricing: chips that jump to a group of the comparison, and the plans at its head and foot */
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.jump a { display: inline-flex; align-items: center; min-height: 32px; padding: 2px 12px; border: 1px solid var(--btn-line); border-radius: 999px; background: var(--card); font: 500 .8438rem var(--ui); color: var(--ink-2); white-space: nowrap; }
.jump a:hover { border-color: var(--ink); color: var(--ink); }
.jump a[hidden] { display: none; }
@media (pointer: coarse) { .jump a { min-height: 44px; } }
/* (the page keeps 80px clear already: this is the rest of the head that stays in place) */
details.cgroup { scroll-margin-top: 112px; }
/* what takes the keyboard focus inside the comparison is scrolled clear of the plan names that stay in place */
.compare-wrap :is(summary, a, button) { scroll-margin-top: 124px; }
.compare-cols, .compare-foot { display: grid; grid-template-columns: 32% repeat(4, 17%); background: var(--card-2); }
.compare-cols .ch, .compare-foot .ch { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 14px 16px; }
.compare-cols .c0, .compare-foot .c0 { justify-content: flex-end; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.compare-foot .c0 { justify-content: center; }
.compare-cols b { font: 600 1.125rem/1.2 var(--display); letter-spacing: -0.01em; }
.compare-cols .p { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.compare-cols .p[hidden] { display: none; }
.compare-cols .btn { margin-top: 8px; }
.compare-foot { border-top: 1px solid var(--line); }
@media (max-width: 960px) { :is(.compare-cols, .compare-foot) .btn { padding-inline: 10px; white-space: normal; text-align: center; } }
@media (max-width: 760px) {
  .jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter); margin-block: -8px 6px; scroll-padding-inline: 48px; }
  .jump::-webkit-scrollbar { display: none; }
  details.cgroup { scroll-margin-top: 52px; }
  .compare-wrap, .compare-wrap :is(summary, a, button) { scroll-margin-top: 68px; }
  /* one plan at a time: its button alone, as wide as the table */
  .compare-wrap[data-plan] .compare-foot { grid-template-columns: minmax(0, 1fr); }
  .compare-wrap[data-plan] .compare-foot .ch { display: none; padding: 14px 12px; }
  .compare-wrap[data-plan="free"] .compare-foot [data-col="free"], .compare-wrap[data-plan="team"] .compare-foot [data-col="team"],
  .compare-wrap[data-plan="business"] .compare-foot [data-col="business"], .compare-wrap[data-plan="enterprise"] .compare-foot [data-col="enterprise"] { display: flex; align-items: stretch; }
}
/* questions under the topic they belong to: the topic on the left, its questions beside it */
.faq-topic { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); column-gap: 32px; padding: 26px 0 14px; border-top: 1px solid var(--ink); }
.faq-topic > h3 { font-size: var(--t-card); letter-spacing: -0.02em; line-height: 1.16; }
.faq-topic .faq { grid-template-columns: minmax(0, 1fr); }
.faq-topic .faq details:first-child { border-top: 0; padding-top: 0; }
.faq-topic .faq p { max-width: 68ch; }
@media (max-width: 960px) { .faq-topic { grid-template-columns: minmax(0, 1fr); row-gap: 14px; } }

/* documentation: where the page sits, and its own outline */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-bottom: 12px; font-size: .875rem; color: var(--ink-3); }
.crumb a { display: inline-flex; align-items: center; min-height: 24px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--field-line); text-underline-offset: 3px; }
.crumb a:hover { color: var(--ink); text-decoration-color: currentColor; }
@media (pointer: coarse) { .crumb a { min-height: 44px; } }
/* 8px larger on every side and set back by as much, like .toc: room for a focus ring */
nav.onpage { position: sticky; top: 80px; max-height: calc(100vh - 88px); padding: 8px; margin: -8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; font-size: .8438rem; }
.onpage-h { margin-bottom: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
nav.onpage ul, .onpage-fold ul { list-style: none; margin: 0; padding: 0; }
nav.onpage ul { border-left: 1px solid var(--line-strong); }
nav.onpage a { display: block; margin-left: -1px; padding: 4px 0 4px 12px; border-left: 1px solid transparent; color: var(--ink-3); line-height: 1.35; text-decoration: none; }
nav.onpage .l3 a { padding-left: 24px; }
nav.onpage a:hover { color: var(--ink); }
nav.onpage a[aria-current="location"] { border-left-color: var(--ink); color: var(--ink); font-weight: 500; }
details.onpage-fold { max-width: 35rem; margin: 0 0 28px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card); }
details.onpage-fold > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; cursor: pointer; list-style: none; font-size: .9375rem; font-weight: 600; }
details.onpage-fold > summary::-webkit-details-marker { display: none; }
details.onpage-fold > summary::after { content: "+"; content: "+" / ""; color: var(--ink-3); font-weight: 400; font-size: 1.125rem; }
details.onpage-fold[open] > summary::after { content: "\2212"; content: "\2212" / ""; }
details.onpage-fold ul { padding: 0 14px 10px; }
[data-docs] > .onpage-fold + h2 { margin-top: 0; }
details.onpage-fold li { margin: 0; }
details.onpage-fold li a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; }
details.onpage-fold .l3 a { padding-left: 14px; }
@media (pointer: coarse) { details.onpage-fold li a { padding-block: 12px; } nav.onpage a { padding-block: 12px; } }
@media (min-width: 1151px) {
  .with-toc:has(> nav.onpage) { grid-template-columns: 208px minmax(0, 1fr) 184px; gap: 44px; }
  details.onpage-fold { display: none; }
}
@media (max-width: 1150px) { nav.onpage { display: none; } }

/* ---------- depth and rhythm, 2026-11-26 ---------- */
/* A long page changes its ground from section to section: paper, the tinted band, and one ink
   band at most besides the closing block. A specimen (figure.spec) is a small piece of the
   product built by hand from what the page itself says: a table as the app draws it, a case
   with its evidence, a fragment of the matrix. It is a card on any ground, with its own ink. */
figure.spec { margin: 0; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: .8125rem; color: var(--ink); }
.spec-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.spec-h b { font: 600 .9375rem/1.3 var(--display); letter-spacing: -0.01em; }
.spec-h span { font-size: .75rem; color: var(--ink-3); }
figure.spec figcaption { padding: 12px 16px; border-top: 1px solid var(--line); background: var(--card-2); font-size: .8125rem; color: var(--ink-2); text-wrap: pretty; }
.folds + figure.spec, figure.spec + .folds { margin-top: 32px; }
.split.lean > figure.spec, .split.fig > figure.spec { align-self: start; }
/* a table as the app draws one: small capitals above, a rule under every row */
table.spec-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.spec-t th { padding: 8px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.spec-t td { padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); }
.spec-t tbody tr:last-child > * { border-bottom: 0; }
.spec-t td:first-child { color: var(--ink); }
.spec-t .sub { margin-top: 2px; font-size: .75rem; color: var(--ink-3); }
.spec-t .mono { font-size: .75rem; overflow-wrap: anywhere; }
.spec-t .r { text-align: right; white-space: nowrap; }
/* who may do what: a mark for yes, a short rule for no, each with its word for a screen reader */
.spec-t.marks { table-layout: fixed; }
.spec-t.marks thead th:first-child { white-space: normal; }
.spec-t.marks th:not(:first-child), .spec-t.marks td:not(:first-child) { width: 4.5rem; padding-inline: 6px; text-align: center; }
.spec-t.marks tbody th { padding: 10px 16px; font-size: .8125rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); white-space: normal; }
.spec-t.marks svg { width: 16px; height: 16px; vertical-align: middle; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.spec-t.marks .no { display: inline-block; width: 10px; height: 1.5px; vertical-align: middle; background: var(--line-strong); }
/* one case as it is stored: who said what, the call that was made, and the verdict */
.spec-b { display: grid; gap: 10px; padding: 14px 16px 16px; }
.spec-b .t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.spec-q { margin: 0; padding: 2px 0 2px 12px; border-left: 2px solid var(--line-strong); color: var(--ink-2); overflow-wrap: anywhere; }
.spec-q b { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.spec-q.u { border-color: var(--ink); } .spec-q.a { border-color: var(--fail); }
.spec-verdict { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius); background: var(--red-soft); color: var(--fail); }
.spec-verdict b { font-size: .8125rem; }
@media (max-width: 760px) {
  /* a specimen table with a sentence in its first column: each row is that sentence, then its values on a line */
  .spec-t.rows thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .spec-t.rows, .spec-t.rows tbody { display: block; }
  .spec-t.rows tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .spec-t.rows tbody tr:last-child { border-bottom: 0; }
  .spec-t.rows td { display: block; padding: 0; border: 0; }
  .spec-t.rows td:first-child { flex: 0 0 100%; }
  .spec-t.rows td[data-label]::before { content: attr(data-label) ": "; content: attr(data-label) ": " / ""; color: var(--ink-3); }
  .spec-t.rows .r { text-align: left; }
  .spec-t.marks th:not(:first-child), .spec-t.marks td:not(:first-child) { width: 3.25rem; padding-inline: 2px; }
  /* four role names over four narrow columns: in lower case they stand clear of each other */
  .spec-t.marks thead th { letter-spacing: 0; }
  .spec-t.marks thead th:not(:first-child) { text-transform: none; }
  .spec-t.marks tbody th, .spec-t.marks thead th:first-child { padding-inline: 12px 6px; }
}
.split:has(> figure.spec) + :is(.folds, .grid2, .grid3) { margin-top: 40px; }
.split:has(> figure.spec) + .folds { margin-top: 48px; }
figure.appshot + .fold-groups { margin-top: 48px; }
.for + figure.appshot { margin: 40px 0 0; }
/* groups of folds, two side by side: a short heading over each list. An opened fold lengthens its own group */
.fold-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; align-items: start; }
/* (the label of a list, as in the documentation's menu: small capitals, then the list under an ink rule) */
.fold-group > h3, .fold-group > h4 { font: 600 .75rem/1.4 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.fold-group > .folds { margin-top: 10px; }
.fold-group > .folds > .fold:first-child { border-top-color: var(--ink); }
.folds-h + .fold-groups { margin-top: 28px; }
@media (max-width: 760px) { .fold-groups { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
/* a headline of two long sentences on a phone: one more size down, and it breaks where it must */
@media (max-width: 560px) { h1.display.long { font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.04; } h1.display.long .nb { display: inline; } }
/* cards on the ink band keep their rule and lose their box */
.dark .card h3 { color: var(--d-ink); }
.dark a:not(.btn) { text-decoration-color: var(--d-edge); }
/* a code sample inside an opened row */
.fold-body > pre.code { margin-top: 14px; max-width: 36rem; box-shadow: none; }

/* ---------- chapters: a long page told in numbered parts (the product page), 2026-11-26 ---------- */
/* A chapter opens with its number and title on one line and four facts in a strip under ink
   rules: what is tested, how it arrives, how it is judged and which plan has it. Then one
   figure, then the titles of its detail rows, each of which opens. The chapters change ground
   (paper, the tinted band, one ink band), so no two in a row look alike. */
.chapter { --sec: clamp(56px, 32px + 3.5vw, 80px); --band: clamp(48px, 28px + 3vw, 72px); }
.ch-head { margin-bottom: 32px; }
.ch-title { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .34em; align-items: baseline; font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
.ch-no { font-weight: 300; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ch-facts { margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; }
.ch-facts > div { padding: 10px 0 0; border-top: 1px solid var(--ink); }
.ch-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ch-facts dd { margin: 4px 0 0; font-size: .875rem; color: var(--ink-2); text-wrap: pretty; }
.dark .ch-no, .dark .ch-facts dt { color: var(--d-ink-3); }
.dark .ch-facts > div { border-top-color: var(--d-edge); }
.dark .ch-facts dd { color: var(--d-ink-2); }
figure.ch-lead { margin: 0 0 40px; }
.ch-lead > figcaption:not(.spec > *), .ledger-fig > figcaption { margin-top: 12px; font-size: .875rem; color: var(--ink-3); max-width: 62ch; }
.ch-intro { max-width: 46rem; margin-bottom: 32px; }
p.ch-intro, .ch-intro > p { font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
/* the sub-navigation of a page in chapters carries their numbers */
.subnav .n { margin-right: 7px; font: 500 .75rem var(--mono); color: var(--ink-3); }
/* a ledger: each subject a row under a rule, its claim on the left and what backs it on the right */
.ledger-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 64px; align-items: start; padding: 36px 0; border-top: 1px solid var(--line-strong); }
.ledger-row:last-child { padding-bottom: 0; }
.ledger-h p { margin-top: 12px; font-size: 1.0625rem; color: var(--ink-2); text-wrap: pretty; }
.ledger-row .folds { margin-top: 22px; }
.ledger-row .points { margin-top: 0; }
.ledger-row figure.spec { margin-top: 24px; }
.ledger-fig { margin: 0; min-width: 0; }
/* a row of the ledger that spans both columns: the transcript behind "See the transcript" */
.ledger-row .folds.ledger-wide { grid-column: 1 / -1; margin-top: 0; }
.folds.joined { margin-top: 24px; }
.fold-body.wide > .scene { margin-bottom: 4px; }
.folds.flush { margin-top: 0; }
.topic-head.after-fig { margin-top: 8px; }
.chapter .topic { margin-top: 48px; padding-top: 40px; }
/* one sentence set large beside the passage it opens */
.pull { max-width: 12ch; font: 600 clamp(1.875rem, 1rem + 2.8vw, 3.25rem)/1.02 var(--display); letter-spacing: -0.032em; text-wrap: balance; }
.split.lean > .pull { order: -1; }
/* a tally: each group a row, its count set large before its name */
.tally.folds { margin-top: 12px; }
.tally.folds > .fold:first-child { border-top-color: var(--ink); }
details.fold.tally-row > summary { grid-template-columns: 5.5rem minmax(0, 1fr) 24px; align-items: center; padding: 14px 0; }
details.fold.tally-row > summary::after { grid-column: 3; }
.tally-n { grid-column: 1; font: 600 clamp(2rem, 1.5rem + 1.6vw, 2.75rem)/1 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.tally-row h3 { grid-column: 2; font-size: var(--t-card); letter-spacing: -0.02em; line-height: 1.16; }
/* a few of the group's ids under its name, so the row says what is in it before it is opened */
.tally-row .tally-n { grid-row: 1 / span 2; }
details.fold.tally-row > summary > small { grid-column: 2; margin-top: 6px; font-size: .75rem; line-height: 1.5; color: var(--ink-3); overflow-wrap: anywhere; }
.tally-row > .fold-body { max-width: none; margin-left: calc(5.5rem + 16px); }
.tally-row > .fold-body > p { max-width: 40rem; }
/* rows that open, on the ink band */
.dark .folds { border-bottom-color: var(--d-line-strong); }
.dark .fold { border-top-color: var(--d-line-strong); }
.dark details.fold > summary > b { color: var(--d-ink); }
.dark details.fold > summary > small { color: var(--d-ink-2); }
.dark details.fold > summary::after { color: var(--d-ink-3); }
.dark details.fold > summary:hover > b { text-decoration-color: var(--d-edge); }
.dark .fold-body { color: var(--d-ink-2); }
.folds.terms { margin-top: 8px; }
/* a chapter's figure with its rows beside it, where the page is wide enough for both */
.ch-pair > figure.appshot { margin-bottom: 28px; }
@media (min-width: 1151px) {
  /* the figure's column is exactly as wide as its picture and the frame: the matrix table
     (757px) and the evidence panel (512px), each a file drawn at its own size */
  .ch-pair { display: grid; grid-template-columns: 771px minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .ch-pair.panel { grid-template-columns: 526px minmax(0, 1fr); column-gap: 56px; }
  .ch-pair > figure.appshot { margin-bottom: 0; }
  .ch-pair > .folds { margin-top: 0; }
  .ch-pair details.fold.tally-row > summary { grid-template-columns: 3.75rem minmax(0, 1fr) 24px; }
  .ch-pair .tally-row > .fold-body { margin-left: 0; }
  .ch-pair .fold-body { padding-right: 0; }
}
.excerpt.plain dd { padding: 0; border-left: 0; }
@media (max-width: 960px) {
  .ch-head { margin-bottom: 28px; }
  .ledger-row { grid-template-columns: minmax(0, 1fr); }
  .ch-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; margin-top: 20px; }
  .ledger-row { padding: 28px 0; gap: 14px; }
  figure.ch-lead { margin-bottom: 32px; }
  .chapter .topic { margin-top: 36px; padding-top: 32px; }
  .split.lean > .pull { order: 0; max-width: 16ch; }
}
@media (max-width: 560px) {
  .ch-facts { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 16px; }
  .ch-facts > div { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 8px 0; }
  .ch-facts dd { margin-top: 0; font-size: .8125rem; }
  details.fold.tally-row > summary { grid-template-columns: 3.5rem minmax(0, 1fr) 24px; }
  /* on a phone a chapter's rows show their titles; a row's one-line summary opens with it */
  .chapter details.fold:not([open]) > summary > small { display: none; }
  .chapter .lede { font-size: 1.0625rem; }
  .tally-row > .fold-body { margin-left: 0; }
}

/* ---------- audit follow-up, 2026-11-26 ---------- */
/* one more moment of type on a long page: a section head set at the size of a chapter title */
.sec-head.big { max-width: 60rem; }
.sec-head.big h2 { max-width: 18ch; font-size: clamp(2.125rem, 1.1rem + 3.3vw, 4rem); letter-spacing: -0.034em; line-height: 1; }
/* the home page's plans: one row, each plan its name, its price, one line and where to start.
   The pricing page has the cards and the table. */
.plan-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.plan-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 16px; border-top: 1px solid var(--ink); }
.plan-cell h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; }
.plan-cell .tag { padding: 2px 8px; border-radius: 6px; background: var(--ink); color: #fff; font: 600 .75rem/1.5 var(--ui); letter-spacing: .04em; text-transform: uppercase; }
.plan-cell .price { font: 600 2.125rem/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-cell .price small { font: 500 .875rem var(--ui); letter-spacing: 0; color: var(--ink-3); }
.plan-cell .one { font-size: .9062rem; color: var(--ink-2); text-wrap: pretty; }
.plan-cell .go { display: inline-flex; align-items: center; min-height: 24px; margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .9375rem; text-decoration: underline; text-decoration-color: var(--btn-line); text-underline-offset: 3px; }
.plan-cell .go::after { content: "\2192"; content: "\2192" / ""; margin-left: 6px; }
.plan-cell .go:hover { text-decoration-color: currentColor; }
.plan-go { margin-top: 32px; }
@media (pointer: coarse) { .plan-cell .go { min-height: 44px; } }
@media (max-width: 960px) { .plan-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figures.tall { grid-template-columns: repeat(3, 1fr); } .figures.tall .figure:nth-child(3) { border-left: 1px solid var(--line); padding-left: 20px; } }
@media (max-width: 560px) { .plan-row { grid-template-columns: minmax(0, 1fr); gap: 24px; } .figures.tall { grid-template-columns: 1fr; row-gap: 18px; } .figures.tall .figure, .figures.tall .figure:nth-child(3) { border-left: 0; padding-left: 0; } }
/* the page behind the open menu stays where it is */
html.menu-open { overflow: hidden; }
/* a table of terms on the ink band */
.dark .kv th { color: var(--d-ink-3); }
.dark ol.points.num li::before { color: var(--d-ink-3); }
/* the terms a price is counted in, said once under the pitch */
.page-hero .fine.terms { margin-top: 14px; }

/* ---------- the focus ring wins over a control's own shadow ---------- */
/* The paper band of the ring is a box shadow (see :focus-visible at the top). A control that
   has a shadow of its own, or switches one off, would take the band away with it: these are
   those controls, named once, after every rule that gives them a shadow. Keep this block last. */
/* a link whose neighbour stands 2px away is drawn over it while it has the focus, ring and all */
.nav .links > a:focus-visible { position: relative; z-index: 1; }
.btn:focus-visible, :is(.cta.bold, .closing) .btn:focus-visible, .nav .links > a:focus-visible, .subnav a:focus-visible, a.card.link:focus-visible, .contact-form :is(input, textarea, button):focus-visible { box-shadow: 0 0 0 6px var(--halo); }
.cta.with-code .code:focus-visible, .fold-body > pre.code:focus-visible { box-shadow: inset 0 0 0 5px var(--halo); }

/* ---------- screenshots at their own size ---------- */
/* Below 768px the picture is the phone's own screen, 430, 390 or 360px wide: the widest that
   fits the window. The figure reaches both edges of the window, so a screen as wide as the
   window fits, and the frame has no sides of its own: an outline that takes no room. */
@media (max-width: 767px) {
  figure.appshot.framed { margin-inline: calc(var(--gutter) * -1); }
  figure.appshot.framed .frame { padding: 0; border: 0; border-radius: 0; box-shadow: 0 0 0 1px var(--ink); margin-inline: auto; }
  figure.appshot.framed .frame .bar { margin: 0; }
  figure.appshot.framed img, figure.appshot.framed .zoom { border-radius: 0; }
  figure.appshot.framed img { box-shadow: none; }
  figure.appshot.framed figcaption { padding-inline: var(--gutter); }
}
/* a window narrower than the narrowest screen taken: the picture keeps its size and the frame scrolls sideways */
@media (max-width: 359px) { figure.appshot.framed .frame { overflow-x: auto; } }
