/* ── Self-hosted typefaces ──────────────────────────────────────────────
 *
 * NOT Google Fonts, and the reason is not performance folklore.
 *
 * A <link> to Google's font CDN makes every visitor's browser send
 * their IP address to Google before the page can paint. The Regional
 * Court of Munich I awarded damages over exactly that (20 Jan 2022,
 * 3 O 17493/20), and under the DPDP Act an IP address is personal data
 * whose transfer we would have to disclose. A page that sells "we say
 * exactly what happens to what you give us" should not open with an
 * undisclosed third-party request.
 *
 * THE PERFORMANCE ARGUMENT FOR THE CDN IS GONE ANYWAY. It rested on a
 * shared cache — a visitor who had loaded Inter anywhere had it cached
 * everywhere — and browsers partition the HTTP cache by top-level site
 * now (Chrome 86, Oct 2020). Nobody arrives with these cached, so the
 * CDN costs two extra DNS+TLS handshakes on the critical path and
 * returns nothing.
 *
 * Self-hosting also lets the CSP drop both of that CDN's origins from
 * `style-src` and `font-src` entirely, which is a real narrowing: a
 * stylesheet origin can inject styles.
 *
 * LATIN AND LATIN-EXT ONLY. The cyrillic, greek and vietnamese subsets
 * are dropped — glyphs this page never renders. Each face keeps its
 * `unicode-range`, so a browser still fetches only what a given page
 * actually needs.
 *
 * All three families are OFL-licensed, which is what makes serving them
 * ourselves permitted as well as sensible.
 *
 * Regenerate with `python landing/fetch_fonts.py`.
 * ─────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/newsreader-italic-300-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/newsreader-italic-300-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/newsreader-normal-300-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/newsreader-normal-300-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/public-sans-normal-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * CLAVIS landing — the product's own design system, on paper.
 *
 * Tokens are ui/src/app/globals.css's, by value, so the page and the app
 * read as one product: a warm ground, Newsreader for reading and figures,
 * Public Sans for chrome, JetBrains Mono for references. Amber is
 * severity, blue is evidence, gold is a MARKER (the reviewer's pencil) —
 * and no state is carried by colour alone.
 */

:root {
  color-scheme: light dark;
  --page: #e9e6e0;
  --surface: #f4f2ed;
  --card: #ffffff;
  --card-alt: #fbfaf7;
  --sunken: #f2f0eb;
  --surface-soft: #f7f5f0;
  --ink: #2c2a26;
  --ink-2: #3a3630;
  --ink-3: #4a4740;
  --ink-muted: #5d594f;
  --line: #e4e1da;
  --line-2: #d8d4cb;
  --line-3: #cfcbc2;
  --blue: #1f5fd0;
  --blue-strong: #1a4fae;
  --blue-deep: #12356f;
  --blue-wash: #eaf1fd;
  --blue-line: #b9d0f4;
  --amber: #8a5300;
  --amber-bright: #b06a00;
  --amber-wash: #fdf7ec;
  --amber-wash-2: #fdf1de;
  --amber-line: #e8c48a;
  --gold: #d9a44e;

  --ground: var(--surface);
  --band: #2c2a26;
  --band-ink: #f4f2ed;
  --band-muted: #c9c5bd;
  --band-accent: #e0b566;

  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --radius: 7px;
  --paper-shadow: 0 1px 0 rgba(44, 42, 38, .04), 0 18px 36px -18px rgba(44, 42, 38, .28), 0 2px 6px rgba(44, 42, 38, .06);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #101215; --surface: #202429; --card: #16181c; --card-alt: #1a1d21;
    --sunken: #23272c; --surface-soft: #1e2025;
    --ink: #e6e4e0; --ink-2: #c9c5bd; --ink-3: #a8a29a; --ink-muted: #a9a397;
    --line: #2a2e34; --line-2: #3a3f46; --line-3: #34383e;
    --blue: #5b8ee8; --blue-strong: #8fb4f0; --blue-deep: #cfe0fa; --blue-wash: #17243a; --blue-line: #33507f;
    --amber: #e8b662; --amber-bright: #d99a3c; --amber-wash: #2a2216; --amber-wash-2: #33291a; --amber-line: #6b5426;
    --gold: #b98a3e;
    --ground: var(--page); --band: #1d2024; --band-ink: #e6e4e0; --band-muted: #a9a397; --band-accent: #e0b566;
    --paper-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 22px 40px -20px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  --page: #101215; --surface: #202429; --card: #16181c; --card-alt: #1a1d21;
  --sunken: #23272c; --surface-soft: #1e2025;
  --ink: #e6e4e0; --ink-2: #c9c5bd; --ink-3: #a8a29a; --ink-muted: #a9a397;
  --line: #2a2e34; --line-2: #3a3f46; --line-3: #34383e;
  --blue: #5b8ee8; --blue-strong: #8fb4f0; --blue-deep: #cfe0fa; --blue-wash: #17243a; --blue-line: #33507f;
  --amber: #e8b662; --amber-bright: #d99a3c; --amber-wash: #2a2216; --amber-wash-2: #33291a; --amber-line: #6b5426;
  --gold: #b98a3e;
  --ground: var(--page); --band: #1d2024; --band-ink: #e6e4e0; --band-muted: #a9a397;
}

/* ── base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
/* Every nav link is an in-page anchor and the top bar is sticky, so each
   jump must stop short of it — or the heading it names lands underneath. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ground); color: var(--ink-2);
  font-family: var(--font-serif); font-optical-sizing: auto;
  font-size: clamp(16.5px, .96rem + .25vw, 18.5px); line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { color: var(--blue-strong); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 450; text-wrap: balance; }
p { margin: 0; }
code { font-family: var(--font-mono); font-size: .86em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 14px; background: var(--ink);
  color: var(--card); font: 600 14px var(--font-sans); border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--section); }

/* ── type ─────────────────────────────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted);
}
.eyebrow-rule { width: 28px; height: 1px; background: var(--ink-muted); }
.display {
  font-family: var(--font-serif); font-variation-settings: "opsz" 72; font-weight: 400;
  font-size: clamp(3rem, 1.6rem + 5vw, 5.8rem); line-height: 1; letter-spacing: -.024em;
}
.display em {
  font-style: italic; text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: .075em; text-underline-offset: .14em; text-decoration-skip-ink: none;
}
.display--sm { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); line-height: 1.08; }
.h2 {
  font-variation-settings: "opsz" 48; font-size: clamp(2rem, 1.25rem + 2.3vw, 3.15rem);
  line-height: 1.08; letter-spacing: -.015em; max-width: 24ch;
}
.lede { margin-top: 26px; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.55; max-width: 38ch; color: var(--ink-2); }
.lede-sub { margin-top: 14px; font-size: 1.02rem; line-height: 1.5; max-width: 42ch; color: var(--ink-muted); }
.section-lede { margin-top: 20px; max-width: 62ch; color: var(--ink-3); }

/* ── buttons and links ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border: 1px solid transparent; border-radius: 6px; cursor: pointer;
  font: 600 15px/1.2 var(--font-sans); text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn--lg { padding: 15px 22px; font-size: 16px; }
.btn--sm { padding: 9px 13px; font-size: 14px; }
.btn--primary { background: var(--ink); color: var(--card); }
.btn--primary:hover { background: var(--ink-3); color: var(--card); }
.btn--quiet, .btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-3); }
.btn--quiet:hover, .btn--ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink-muted); }
.btn:active { transform: translateY(1px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { font: 600 15px/1.3 var(--font-sans); text-decoration: none; color: var(--blue); }
.text-link:hover { text-decoration: underline; }

/* ── brand lockup: CLAVIS, with "by ProServIQ" as its suffix ─────── */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-lockup { display: grid; justify-items: start; line-height: 1; }
.brand-name { font: 650 17px/1 var(--font-sans); letter-spacing: .22em; margin-right: -.22em; }
/* The suffix HANGS: it starts under the end of the word and runs past it,
   so it reads as a signature on CLAVIS rather than a caption beneath it.
   Not the raised corner — that is where ™ and ® sit, and at this size a
   raised name reads as a legal mark or a footnote, not an endorsement. */
.brand-by { justify-self: end; margin: 4px -2.4em 0 0; font: 500 10.5px/1 var(--font-sans); letter-spacing: .03em;
  color: var(--ink-muted); white-space: nowrap; }

/* ── top bar ──────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line);
  /* Solid, not a backdrop blur: a blurred sticky bar repaints on every
     scroll frame, which costs exactly the low-end office machines a
     practice runs. */
  background: var(--ground);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.nav { display: flex; align-items: center; gap: 24px; font-family: var(--font-sans); font-size: 14.5px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; }
.nav-toggle { display: none; }
@media (max-width: 960px) {
  .js .nav-toggle {
    display: inline-flex; padding: 8px 12px; border: 1px solid var(--line-3); border-radius: 6px;
    background: transparent; color: var(--ink); font: 600 14px var(--font-sans); cursor: pointer;
  }
  .js .nav:not(.nav--static) { display: none; }
  .js .nav[data-open="true"] {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: absolute;
    top: 68px; left: 0; right: 0; padding: 14px var(--gutter) 22px; background: var(--ground);
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .35);
  }
  .js .nav[data-open="true"] a:not(.btn) { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .js .nav[data-open="true"] .btn { margin-top: 12px; }
  .nav { flex-wrap: wrap; gap: 14px; }
}

/* ── hero ─────────────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(48px, 7vw, 96px) var(--section);
  /* Ledger rules, faint: a working paper's lines, not stripes. */
  --ledger: rgba(44, 42, 38, .055);
  background: repeating-linear-gradient(to bottom, transparent 0 31px, var(--ledger) 31px 32px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero { --ledger: rgba(230, 228, 224, .03); }
}
:root[data-theme="dark"] .hero { --ledger: rgba(230, 228, 224, .03); }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); } }
.hero-note { margin-top: 16px; font: 500 13px/1.5 var(--font-mono); color: var(--ink-muted); letter-spacing: .01em; }

/* The working paper, and the second engine's sheet beneath it. */
.hero-sheet { position: relative; margin: 0; padding-top: 16px; }
.sheet-under {
  position: absolute; inset: 16px 0 44px 0; transform: translate(12px, -14px) rotate(1.3deg);
  background: var(--card-alt); border: 1px solid var(--line-2); border-radius: var(--radius);
}
.sheet-under span {
  position: absolute; right: 14px; top: 5px; font: 500 10.5px/1 var(--font-mono);
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted);
}
.sheet {
  position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--paper-shadow); padding: clamp(18px, 2.4vw, 28px); transform: rotate(-.35deg);
}
.sheet-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.sheet-kicker { font: 600 12px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.sheet-meta { font: 400 11.5px/1.3 var(--font-mono); color: var(--ink-muted); }
.sheet-synthetic { color: var(--amber); }
.sheet-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-variant-numeric: tabular-nums lining-nums; }
.sheet-table thead th {
  padding: 8px 0 6px; font: 500 10.5px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-muted); border-bottom: 1px solid var(--line-2);
}
.sheet-table .num { text-align: right; padding-left: 12px; }
.sheet-row th { text-align: left; padding: 8px 0; font-weight: 400; vertical-align: baseline; border-bottom: 1px solid var(--line); }
.sheet-row td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink); vertical-align: baseline; }
.sheet-ref { display: block; margin-bottom: 3px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .02em; color: var(--blue-deep); }
.sheet-label { font-size: 15px; color: var(--ink-2); }
.sheet-row--total td { font-weight: 600; border-bottom: 3px double var(--ink); }
.sheet-row--total .sheet-label { font-weight: 600; color: var(--ink); }
.mark { width: 34px; text-align: center; font: 600 12px/1 var(--font-mono); padding-left: 10px; }
.mark--known { color: var(--blue); }
.mark--recomputed > span[aria-hidden] {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--blue);
  border-radius: 50%; color: var(--blue); font-size: 10.5px;
}
.mark--unknown { color: var(--ink-muted); font-size: 15px; }
.sheet-row--unknown td { color: var(--ink-muted); }
.not-known { position: relative; display: inline-block; padding: 2px 10px; font-style: italic; }
.pencil { position: absolute; left: -10px; top: -9px; width: calc(100% + 20px); height: calc(100% + 18px); overflow: visible; pointer-events: none; }
.pencil path { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 360; stroke-dashoffset: 0; }

/* The working paper works itself out — in CSS alone, so it never waits on
   a script: the lines in the order they are computed, the second engine's
   sheet settling behind, then the reviewer's marks, pencil and flags.
   Every animation ENDS visible, so a reader whose motion is reduced, or
   whose browser drops animation, simply sees the finished paper. */
.hero-sheet .sheet-row { animation: rise-in .45s ease both; }
.hero-sheet .sheet-row:nth-child(2) { animation-delay: .07s; }
.hero-sheet .sheet-row:nth-child(3) { animation-delay: .14s; }
.hero-sheet .sheet-row:nth-child(4) { animation-delay: .21s; }
.hero-sheet .sheet-row:nth-child(5) { animation-delay: .28s; }
.hero-sheet .sheet-row:nth-child(6) { animation-delay: .35s; }
.hero-sheet .sheet-row:nth-child(7) { animation-delay: .42s; }
.hero-sheet .sheet-row:nth-child(8) { animation-delay: .49s; }
.hero-sheet .sheet-under { animation: settle-under .8s cubic-bezier(.2, .7, .2, 1) .6s both; }
.hero-sheet .mark > span[aria-hidden] { animation: fade-in .4s ease 1s both; }
.hero-sheet tr:nth-child(2) .mark > span[aria-hidden] { animation-delay: 1.06s; }
.hero-sheet tr:nth-child(3) .mark > span[aria-hidden] { animation-delay: 1.12s; }
.hero-sheet tr:nth-child(4) .mark > span[aria-hidden] { animation-delay: 1.18s; }
.hero-sheet tr:nth-child(5) .mark > span[aria-hidden] { animation-delay: 1.24s; }
.hero-sheet tr:nth-child(6) .mark > span[aria-hidden] { animation-delay: 1.3s; }
.hero-sheet tr:nth-child(7) .mark > span[aria-hidden] { animation-delay: 1.36s; }
.hero-sheet tr:nth-child(8) .mark > span[aria-hidden] { animation-delay: 1.42s; }
.hero-sheet .pencil path { animation: pencil-draw 1.2s cubic-bezier(.4, .1, .2, 1) 1.5s both; }
.hero-sheet .flag { animation: rise-in .45s ease 1.65s both; }
.hero-sheet .flag + .flag { animation-delay: 1.8s; }

.sheet-flags { display: grid; gap: 8px; margin-top: 16px; }
.flag { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 5px; font-size: 14.5px; line-height: 1.45; }
.flag-glyph { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; font: 700 12px/1 var(--font-mono); }
.flag--unknown { background: var(--surface-soft); border: 1px dashed var(--line-3); color: var(--ink-2); }
.flag--unknown .flag-glyph { color: var(--ink-muted); border: 1px solid var(--line-3); }
.flag--trap { background: var(--amber-wash); border-left: 3px solid var(--amber-bright); color: var(--ink-2); }
.flag--trap .flag-glyph { background: var(--amber); color: var(--card); }
.flag strong { color: var(--ink); font-weight: 600; }
.sheet-foot { display: grid; gap: 4px 18px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); }
@media (min-width: 640px) { .sheet-foot { grid-template-columns: 1fr 1fr; } }
.sheet-foot .k { display: inline-block; min-width: 96px; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.sheet-cap { margin-top: 18px; font-size: 13.5px; font-style: italic; color: var(--ink-muted); line-height: 1.5; }
.legend { display: inline-block; margin-left: 10px; font: 400 11.5px var(--font-mono); font-style: normal; white-space: nowrap; }

/* A phone: the same working paper, set tighter rather than reflowed.
   Rows stay table rows — re-displaying them as grid strips the table's
   semantics in some screen readers, and the figures must stay columns. */
@media (max-width: 520px) {
  .sheet { padding: 16px 14px; transform: none; }
  .sheet-under { transform: translate(6px, -12px) rotate(1deg); }
  .sheet-under span { right: 10px; font-size: 9.5px; }
  .sheet-table .num { padding-left: 6px; }
  .sheet-row td { font-size: 14px; }
  .sheet-label { font-size: 14px; line-height: 1.3; }
  .mark { width: 22px; padding-left: 6px; }
  .sheet-foot .k { min-width: 0; margin-right: 6px; }
}

/* ── why band ─────────────────────────────────────────────────────── */
.season { background: var(--band); color: var(--band-ink); padding-block: clamp(52px, 7vw, 88px); }
.season-grid { display: grid; gap: 34px; }
@media (min-width: 960px) { .season-grid { grid-template-columns: 4fr 8fr; align-items: start; } }
.season-title { color: var(--band-ink); font-variation-settings: "opsz" 48; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.12; max-width: 16ch; }
.season-facts { display: grid; gap: 26px; }
@media (min-width: 720px) { .season-facts { grid-template-columns: repeat(3, 1fr); } }
.season-fact { color: var(--band-muted); font-size: 16px; line-height: 1.5; border-top: 1px solid color-mix(in srgb, var(--band-ink) 22%, transparent); padding-top: 16px; }
.season-num { display: block; margin-bottom: 8px; color: var(--band-accent); font: 450 1.35rem/1.2 var(--font-serif); font-variation-settings: "opsz" 36; }

/* ── the system, as layers ────────────────────────────────────────── */
.system { background: var(--card-alt); border-bottom: 1px solid var(--line); }
.layers { list-style: none; margin: 44px 0 0; padding: 0; display: grid; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .layers { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.layer { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.layer-n { font: 500 13px/1.9 var(--font-mono); color: var(--ink-muted); letter-spacing: .1em; }
.layer h3 { font-size: 1.28rem; font-weight: 550; font-variation-settings: "opsz" 36; }
.layer p { margin-top: 6px; font-size: 16px; color: var(--ink-3); }
.docs { margin-top: 12px; }
.docs summary { cursor: pointer; font: 500 13px/1.4 var(--font-mono); color: var(--blue); }
.docs-grid { display: grid; gap: 18px; margin-top: 14px; }
@media (min-width: 640px) { .docs-grid { grid-template-columns: repeat(2, 1fr); } }
.docs-group h4 { font: 500 11px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.docs-group ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 5px; }
.docs-group li { font-size: 15px; color: var(--ink-2); padding-left: 16px; position: relative; line-height: 1.4; }
.docs-group li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ink-muted); }

/* ── who it's for ─────────────────────────────────────────────────── */
.audience-grid { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 900px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
.audience { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--card);
  border: 1px solid var(--line-2); border-radius: 9px; }
.audience-kicker { font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.audience h3 { font-size: 1.35rem; font-variation-settings: "opsz" 36; line-height: 1.25; }
.audience p { flex: 1; font-size: 16px; color: var(--ink-3); }

/* ── principle / definitions ─────────────────────────────────────── */
.principle { border-top: 1px solid var(--line); }
.principle-grid { display: grid; gap: 44px; }
@media (min-width: 1000px) { .principle-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.definitions {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--paper-shadow);
  padding: clamp(22px, 3vw, 36px); border-left: 4px solid var(--ink);
}
.defs-head { font-size: 17px; color: var(--ink); margin-bottom: 14px; }
.defs-num { font-weight: 600; }
.definitions dl { margin: 0; display: grid; gap: 12px; }
.def { display: grid; gap: 2px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .def { grid-template-columns: 210px 1fr; } }
.def dt { font-weight: 600; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.def dd { margin: 0; color: var(--ink-2); }
.def-glyph { font: 700 14px/1 var(--font-mono); width: 16px; text-align: center; }
.def--known .def-glyph { color: var(--blue); }
.def--pending .def-glyph { color: var(--amber-bright); }
.def--unknown .def-glyph { color: var(--ink-muted); }
.def--refused .def-glyph { color: var(--amber); }

/* ── what it checks ───────────────────────────────────────────────── */
.how { background: var(--card-alt); border-block: 1px solid var(--line); }
.checklist { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line-2);
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .checklist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .checklist { grid-template-columns: repeat(3, 1fr); } }
.checklist li { display: flex; gap: 16px; padding: 26px 24px; background: var(--card); }
.checklist h3 { font-size: 1.15rem; font-weight: 550; line-height: 1.3; }
.checklist p { margin-top: 8px; font-size: 16px; color: var(--ink-3); }
.cl-mark {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--ink);
  border-radius: 50%; font: 600 13px/1 var(--font-mono); color: var(--ink);
}

/* ── evidence ─────────────────────────────────────────────────────── */
.evidence-grid { display: grid; gap: 28px; margin-top: 44px; }
@media (min-width: 1080px) { .evidence-grid { grid-template-columns: 7fr 5fr; align-items: start; } }
.chart-card { margin: 0; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 30px); box-shadow: var(--paper-shadow); }
.chart-card h3 { font-size: 1.45rem; font-variation-settings: "opsz" 36; }
.chart-card figcaption p { margin-top: 8px; font-size: 16px; color: var(--ink-3); }
.chart-wrap { margin-top: 18px; }
.chart { display: block; width: 100%; height: auto; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-axis { stroke: var(--line-3); stroke-width: 1; }
.chart-tick, .chart-label { font: 400 11px var(--font-mono); fill: var(--ink-muted); }
.chart-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.chart-dot { fill: var(--blue); }
.chart-band { fill: url(#hatch); stroke: var(--amber-line); stroke-width: 1; }
.chart-hatch { stroke: var(--amber-bright); stroke-width: 2.2; opacity: .55; }
.chart-note { font: italic 500 14px var(--font-serif); fill: var(--amber); }
.chart-data { margin-top: 14px; font-size: 14px; }
.chart-data summary { cursor: pointer; font: 500 13px var(--font-mono); color: var(--blue); }
.table-scroll { overflow-x: auto; }
.chart-data .table-scroll { margin-top: 10px; max-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 5px; }
.chart-data table { width: 100%; border-collapse: collapse; font: 400 12.5px/1.4 var(--font-mono); font-variant-numeric: tabular-nums; }
.chart-data th, .chart-data td { padding: 6px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.chart-data thead th { position: sticky; top: 0; background: var(--card-alt); color: var(--ink-muted); font-weight: 500; }
.proofs { display: grid; gap: 14px; }
.proof { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 24px; }
.proof--plain { background: transparent; border-style: dashed; }
.proof-num { font: 400 clamp(2.2rem, 1.6rem + 1.6vw, 2.9rem)/1 var(--font-serif); font-variation-settings: "opsz" 72; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.proof-num--word { font-size: 1.5rem; font-style: italic; }
.proof h3 { margin-top: 8px; font-size: 1.08rem; font-weight: 550; line-height: 1.35; }
.proof p:last-child { margin-top: 8px; font-size: 15.5px; color: var(--ink-3); }

/* ── coverage ─────────────────────────────────────────────────────── */
.coverage { background: var(--card-alt); border-block: 1px solid var(--line); }
.coverage-grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .coverage-grid { grid-template-columns: 4fr 8fr; align-items: start; } }
.coverage-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.coverage-table th { text-align: left; padding: 0 14px 10px 0; font: 500 11px/1.2 var(--font-mono); letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-muted); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.coverage-table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; color: var(--ink-2); }
.cov-years { font: 400 13px/1.6 var(--font-mono); white-space: nowrap; }
.cov-status { display: inline-block; padding: 2px 8px; border-radius: 3px; white-space: nowrap;
  font: 600 10.5px/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.cov-status--live { color: var(--blue-deep); background: var(--blue-wash); border: 1px solid var(--blue-line); }
.cov-status--planned { color: var(--amber); background: var(--amber-wash); border: 1px dashed var(--amber-line); }
.cov-status--next { color: var(--ink-muted); border: 1px dashed var(--line-3); }

/* ── pricing ──────────────────────────────────────────────────────── */
/* The billing toggle is two radio inputs and :has() — no script, so it
   works for a reader whose JavaScript failed. The inputs are hidden by
   clipping, never by opacity. */
.billing { display: inline-flex; gap: 2px; margin: 32px 0 0; padding: 4px; border: 1px solid var(--line-3);
  border-radius: 999px; background: var(--card); }
.billing-input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.billing-option { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font: 600 14px/1.2 var(--font-sans); color: var(--ink-2); }
.billing-input:checked + .billing-option { background: var(--ink); color: var(--card); }
.billing-input:focus-visible + .billing-option { outline: 3px solid var(--blue); outline-offset: 2px; }
.billing-save { padding: 1px 7px; border: 1px solid currentColor; border-radius: 999px; font: 600 10.5px/1.4 var(--font-mono); letter-spacing: .04em; }

.plans { display: grid; gap: 16px; margin-top: 24px; align-items: stretch; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 22px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 9px; }
.plan--featured { border: 1.5px solid var(--ink); box-shadow: var(--paper-shadow); }
.plan-badge { position: absolute; top: -11px; left: 20px; padding: 3px 9px; background: var(--ink); color: var(--card);
  font: 600 10.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; border-radius: 3px; }
.plan-name { font-size: 1.45rem; font-variation-settings: "opsz" 36; }
.plan-aud { font-size: 15px; color: var(--ink-3); min-height: 3em; }
.plan-price { margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price--annual, .plan-alt--annual { display: none; }
.pricing:has(#billing-annual:checked) .price--monthly,
.pricing:has(#billing-annual:checked) .plan-alt--monthly { display: none; }
.pricing:has(#billing-annual:checked) .price--annual { display: flex; }
.pricing:has(#billing-annual:checked) .plan-alt--annual { display: block; }
.plan-amt { font: 450 2.3rem/1 var(--font-serif); font-variation-settings: "opsz" 72; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.plan-amt--word { font-size: 1.8rem; }
.plan-per { font: 500 14px var(--font-sans); color: var(--ink-muted); }
.plan-alt { font: 400 12.5px/1.4 var(--font-mono); color: var(--ink-muted); }
.plan-allow { font: 400 14px/1.45 var(--font-sans); color: var(--ink-2); padding: 10px 0; border-block: 1px solid var(--line); }
.plan-allow strong { font-weight: 700; color: var(--ink); }
.plan-feats { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; flex: 1; }
.feat { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.feat::before { content: "✓"; position: absolute; left: 0; top: 0; font: 700 13px/1.5 var(--font-mono); color: var(--blue); }
.feat--in_build::before { content: "○"; color: var(--amber-bright); }
.tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; vertical-align: 1px;
  font: 600 9.5px/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tag--build { color: var(--amber); background: var(--amber-wash); border: 1px dashed var(--amber-line); }
.plan .btn { margin-top: auto; width: 100%; }
.pricing-notes { margin-top: 20px; font-size: 14.5px; color: var(--ink-muted); max-width: 84ch; }

/* The comparator: the reader's numbers, by hand against CLAVIS. */
.compare { margin-top: 56px; padding: clamp(20px, 3vw, 34px); background: var(--card); border: 1px solid var(--line-2);
  border-radius: 10px; box-shadow: var(--paper-shadow); }
.compare-head h3 { font-size: 1.5rem; font-variation-settings: "opsz" 36; }
.compare-head p { margin-top: 6px; max-width: 72ch; font-size: 16px; color: var(--ink-3); }
.compare-body { display: grid; gap: 30px; margin-top: 24px; }
@media (min-width: 1040px) { .compare-body { grid-template-columns: 5fr 7fr; align-items: start; } }
.compare-form { display: grid; gap: 20px; }
.compare-form fieldset { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.compare-form legend { margin-bottom: 8px; padding: 0; font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.compare-form label { display: grid; grid-template-columns: 1fr 128px; align-items: center; gap: 12px;
  font: 400 14.5px/1.35 var(--font-sans); color: var(--ink-2); }
.compare-form input, .compare-form select { width: 100%; padding: 8px 10px; border: 1px solid var(--line-3); border-radius: 6px;
  background: var(--card-alt); color: var(--ink); font: 500 15px var(--font-sans); font-variant-numeric: tabular-nums; text-align: right; }
.compare-form label:has(select) { grid-template-columns: 1fr; }
.compare-form select { text-align: left; }
/* The result before the detail: three figures, and the one that justifies
   the price — no return goes out unchecked — carried in the brand colour.
   The zero is the product's difference, so it is the loudest thing here. */
.cmp-tiles { display: grid; gap: 12px; margin-bottom: 18px; }
@media (min-width: 640px) { .cmp-tiles { grid-template-columns: repeat(3, 1fr); } }
.cmp-tile { display: grid; align-content: start; gap: 6px; margin: 0; padding: 16px 18px 15px; border: 1px solid var(--line-2);
  border-radius: 10px; background: var(--card-alt); }
.cmp-tile-fig { font: 450 2.5rem/1 var(--font-serif); font-variation-settings: "opsz" 72; letter-spacing: -.02em;
  color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.cmp-tile-label { font: 600 14px/1.3 var(--font-sans); color: var(--ink-2); }
.cmp-tile-note { min-height: 1.4em; font: 400 12.5px/1.4 var(--font-mono); color: var(--ink-muted); }
.cmp-tile--zero { border-color: transparent; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 100%);
  box-shadow: 0 16px 34px -18px color-mix(in srgb, var(--blue) 75%, transparent); }
.cmp-tile--zero .cmp-tile-fig, .cmp-tile--zero .cmp-tile-label, .cmp-tile--zero .cmp-tile-note { color: var(--card); }
.cmp-tile.is-worse .cmp-tile-fig { color: var(--ink-muted); }

/* A plan that does not cover the returns entered is a calculation the page
   must not let pass quietly — amber, because it cautions about the figures
   below it. */
.cmp-warning { margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid var(--amber-bright); background: var(--amber-wash);
  font: 400 14.5px/1.45 var(--font-sans); color: var(--ink-2); }

/* The detail. The CLAVIS column is framed and tabbed like the chosen plan
   in a price table; separate borders, so its corners can round. */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums lining-nums; }
.compare-table thead th { padding: 9px 10px 9px 12px; text-align: right; font: 500 11px/1.2 var(--font-mono); letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-muted); border-bottom: 2px solid var(--ink); }
.compare-table th[scope="row"] { padding: 12px 12px 12px 0; text-align: left; font: 400 15px/1.4 var(--font-serif); color: var(--ink-2);
  border-bottom: 1px solid var(--line); }
.compare-table td { padding: 12px 10px 12px 12px; text-align: right; white-space: nowrap; font: 500 16px/1.3 var(--font-serif);
  color: var(--ink); border-bottom: 1px solid var(--line); }
.compare-table .col-clavis { background: color-mix(in srgb, var(--blue) 9%, var(--card)); color: var(--ink); font-weight: 650;
  box-shadow: inset 2px 0 0 var(--blue), inset -2px 0 0 var(--blue); }
.compare-table thead .col-clavis { background: var(--blue); color: var(--card); border-radius: 8px 8px 0 0;
  border-bottom-color: var(--blue); box-shadow: none; }
.compare-table tbody tr:last-child .col-clavis { border-radius: 0 0 8px 8px;
  box-shadow: inset 2px 0 0 var(--blue), inset -2px 0 0 var(--blue), inset 0 -2px 0 var(--blue); }
.compare-table td.is-zero { color: var(--blue-deep); }
.compare-table td.is-zero::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px;
  margin-right: 7px; border-radius: 50%; background: var(--blue); color: var(--card); font: 700 11px/1 var(--font-sans);
  vertical-align: 2px; }
/* "You save": the amount on the first line, the share under it. */
.compare-table td.col-save { white-space: pre-line; font: 500 12.5px/1.45 var(--font-mono); color: var(--blue-deep); }
.compare-table td.col-save::first-line { font: 600 16px/1.3 var(--font-serif); color: var(--ink); }
.compare-table td.col-save.is-worse, .compare-table td.col-save.is-worse::first-line { color: var(--amber); }
.compare-summary { margin-top: 16px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.compare-note { margin-top: 10px; font-size: 14.5px; color: var(--ink-muted); }
.compare-note output { font-weight: 650; color: var(--blue-deep); white-space: nowrap; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq { background: var(--card-alt); border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 4fr 8fr; align-items: start; } }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { position: relative; padding: 18px 40px 18px 0; cursor: pointer; list-style: none;
  font: 550 1.1rem/1.4 var(--font-serif); color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 15px; font: 400 22px/1 var(--font-sans); color: var(--ink-muted); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 70ch; padding: 0 0 18px; color: var(--ink-3); }

/* ── closing + footer ─────────────────────────────────────────────── */
.closing { background: var(--band); color: var(--band-ink); }
.closing .display { color: var(--band-ink); max-width: 20ch; }
.closing .btn--primary { background: var(--band-ink); color: var(--band); }
.closing .btn--primary:hover { background: #ffffff; color: var(--band); }
.closing .btn--quiet { color: var(--band-ink); border-color: color-mix(in srgb, var(--band-ink) 35%, transparent); }
.closing .btn--quiet:hover { background: transparent; border-color: var(--band-ink); color: var(--band-ink); }
.footer { padding-block: 44px 24px; border-top: 1px solid var(--line); font-family: var(--font-sans); }
.footer-in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 48px; }
.footer-tagline { margin-top: 14px; max-width: 34ch; font: italic 400 17px/1.4 var(--font-serif); color: var(--ink-3); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.footer-links a { color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 13px; }

/* ── the data-handling page ───────────────────────────────────────── */
.doc-page { padding-block: clamp(48px, 7vw, 88px); }
.doc-page .h2 { max-width: 24ch; }
.doc-glance { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; max-width: 1000px; }
@media (min-width: 720px) { .doc-glance { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .doc-glance { grid-template-columns: repeat(4, 1fr); } }
.doc-glance li { padding: 18px 20px; background: var(--card); border: 1px solid var(--line-2); border-top: 3px solid var(--blue);
  border-radius: 8px; font-size: 15.5px; line-height: 1.45; color: var(--ink-3); }
.doc-glance strong { display: block; margin-bottom: 4px; font: 600 16px/1.3 var(--font-sans); color: var(--ink); }
.doc-body { display: grid; max-width: 780px; margin-top: 40px; }
.doc-body section { padding: 26px 0; border-top: 1px solid var(--line-2); }
.doc-body h2 { font-size: 1.35rem; font-weight: 550; font-variation-settings: "opsz" 36; }
.doc-body p { margin-top: 10px; color: var(--ink-3); }
.doc-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.doc-list li { position: relative; padding-left: 20px; color: var(--ink-3); line-height: 1.55; }
.doc-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 9px; height: 1px; background: var(--ink-muted); }
.doc-list strong { color: var(--ink); font-weight: 600; }

/* ── the contact page ─────────────────────────────────────────────── */
/* Cloned from the ProServIQ site's contact page — the same four fields,
   the same three outcomes, the same "what we will not do" — set in
   CLAVIS's own paper rather than ProServIQ's ink. */
.contact-hero { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.contact-hero-grid, .contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .contact-hero-grid { grid-template-columns: 7fr 5fr; align-items: start; }
  .contact-grid { grid-template-columns: 7fr 5fr; align-items: start; gap: 56px; }
}
.contact-kicker { margin-bottom: 14px; font: 500 11.5px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-muted); }
.contact-next { padding: 24px 26px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--paper-shadow); }
.contact-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-steps li { display: flex; gap: 14px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.contact-steps strong { display: block; font: 600 15px/1.4 var(--font-sans); color: var(--ink); }
.contact-step-n { flex: none; font: 500 12px/1.9 var(--font-mono); letter-spacing: .06em; color: var(--blue); }
.contact-body { background: var(--card-alt); }
.contact-title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-variation-settings: "opsz" 48; line-height: 1.12; }
.enquiry { position: relative; display: grid; gap: 22px; margin-top: 30px; }
.enquiry-pair { display: grid; gap: 22px; }
@media (min-width: 640px) { .enquiry-pair { grid-template-columns: 1fr 1fr; } }
.enquiry label { display: grid; gap: 8px; }
.enquiry-label { font: 500 11.5px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.enquiry-optional { text-transform: none; letter-spacing: 0; }
.enquiry input, .enquiry textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-3); border-radius: 6px;
  background: var(--card); color: var(--ink); font: 400 16px/1.5 var(--font-sans); }
.enquiry textarea { resize: vertical; min-height: 132px; }
.enquiry input::placeholder, .enquiry textarea::placeholder { color: var(--ink-muted); opacity: 1; }
.enquiry-send { justify-self: start; }
.enquiry-send:disabled { cursor: progress; background: var(--ink-3); }
.enquiry-note { font: 500 11.5px/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
/* The honeypot: clipped out of sight and out of the tab order, never by
   opacity — a person never sees it, a naive bot always fills it. */
.enquiry-trap { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Three outcomes, three looks: received, not accepted, and "we do not know
   whether it arrived" — which must never look like a rejection. */
.enquiry-status { padding: 14px 18px; border-left: 3px solid var(--ink-muted); background: var(--card); }
.enquiry-status p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.enquiry-status p + p { margin-top: 8px; }
.enquiry-status-title { font: 600 11.5px/1.4 var(--font-mono) !important; letter-spacing: .1em; text-transform: uppercase; }
.enquiry-status[data-state="sent"] { border-left-color: var(--blue); background: var(--blue-wash); }
.enquiry-status[data-state="sent"] .enquiry-status-title { color: var(--blue-deep); }
.enquiry-status[data-state="rejected"] { border-left-color: var(--amber-bright); background: var(--amber-wash); }
.enquiry-status[data-state="rejected"] .enquiry-status-title { color: var(--amber); }
.enquiry-status[data-state="unreachable"] { border-left-style: dashed; }
.enquiry-address { font-family: var(--font-mono); font-size: .92em; color: var(--ink); word-break: break-all; }
.enquiry.is-sent > :not(.enquiry-status) { display: none; }
.contact-aside { display: grid; gap: 20px; }
.contact-box { padding: 24px 26px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); }
.contact-box p { font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.contact-mail { margin-bottom: 14px; font: 500 16px/1.4 var(--font-mono); }
.contact-mail a { color: var(--ink); text-decoration: none; }
.contact-mail a:hover { text-decoration: underline; }
.contact-never { padding: 20px 24px; border-left: 3px solid var(--ink); background: var(--card); }
.contact-never p:last-child { font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.contact-more { font: 500 12px/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.contact-more a { color: var(--ink); text-decoration: none; font-weight: 600; }

/* ── motion, and what a script adds ───────────────────────────────── */
/* Motion here shows work being done — a line drawn, a state stamped, a
   number counting to its new value — and never decorates. Every sequence
   runs once; reduced motion gets the finished page; and every hidden state
   is gated on `.js`, so a failed script never blanks one
   (tests/test_landing.py holds that, keyframes included). */
@keyframes rise-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pencil-draw { from { stroke-dashoffset: 360; } }
@keyframes settle-under { from { opacity: 0; transform: translate(0, 0) rotate(-.35deg); } }
@keyframes swap-in { from { opacity: 0; transform: translateY(4px); } }

.js .will-reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .will-reveal.is-in { opacity: 1; transform: none; }

/* The six layers arrive in their order — each one checks the one before. */
.js .layers.will-reveal .layer { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.js .layers.will-reveal.is-in .layer { opacity: 1; transform: none; }
.js .layers.will-reveal .layer:nth-child(2) { transition-delay: .08s; }
.js .layers.will-reveal .layer:nth-child(3) { transition-delay: .16s; }
.js .layers.will-reveal .layer:nth-child(4) { transition-delay: .24s; }
.js .layers.will-reveal .layer:nth-child(5) { transition-delay: .32s; }
.js .layers.will-reveal .layer:nth-child(6) { transition-delay: .4s; }

/* The four states are stamped in, as each definition is entered. */
.js .definitions.will-reveal .def { opacity: 0; transform: translateX(-6px); transition: opacity .45s ease, transform .45s ease; }
.js .definitions.will-reveal.is-in .def { opacity: 1; transform: none; }
.js .definitions.will-reveal .def-glyph { transform: scale(1.9); transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.js .definitions.will-reveal.is-in .def-glyph { transform: none; }
.js .definitions.will-reveal .def:nth-child(2), .js .definitions.will-reveal .def:nth-child(2) .def-glyph { transition-delay: .18s; }
.js .definitions.will-reveal .def:nth-child(3), .js .definitions.will-reveal .def:nth-child(3) .def-glyph { transition-delay: .36s; }
.js .definitions.will-reveal .def:nth-child(4), .js .definitions.will-reveal .def:nth-child(4) .def-glyph { transition-delay: .54s; }

/* The chart draws itself: the measured line, then the runs it was measured
   from, then the band where the next rupee costs more than one. */
.js .chart-card.will-reveal .chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.45, 0, .2, 1) .35s; }
.js .chart-card.will-reveal.is-in .chart-line { stroke-dashoffset: 0; }
.js .chart-card.will-reveal .chart-dot { opacity: 0; transition: opacity .5s ease 1.6s; }
.js .chart-card.will-reveal .chart-band, .js .chart-card.will-reveal .chart-note { opacity: 0; transition: opacity .6s ease 1.9s; }
.js .chart-card.will-reveal.is-in .chart-dot, .js .chart-card.will-reveal.is-in .chart-band,
.js .chart-card.will-reveal.is-in .chart-note { opacity: 1; }

/* Where you are: the nav marks the section being read. */
.nav a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* The billing toggle: with a script, one pill travels between the options;
   without one, the checked option is simply filled (above). */
.billing { position: relative; }
.billing-pill { display: none; }
.js .billing.has-pill .billing-pill {
  display: block; position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--pill-w, 0);
  border-radius: 999px; background: var(--ink); transform: translateX(var(--pill-x, 0));
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), width .32s cubic-bezier(.2, .7, .2, 1);
}
.js .billing.has-pill .billing-option { position: relative; z-index: 1; transition: color .2s ease; }
.js .billing.has-pill .billing-input:checked + .billing-option { background: transparent; }
/* A price that comes into view on the toggle eases in rather than blinking. */
.js .pricing .price, .js .pricing .plan-alt { animation: swap-in .3s ease both; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .will-reveal { opacity: 1; transform: none; }
}

/* ── print: the page as a brief ───────────────────────────────────── */
@media print {
  @page { size: A4; margin: 14mm; }
  :root { --ground: #fff; --card: #fff; --card-alt: #fff; --sunken: #fff; --band: #fff; --band-ink: #000; --band-muted: #222; --band-accent: #000; }
  body { font-size: 10.5pt; color: #000; background: #fff; }
  .topbar, .nav-toggle, .ctas, .billing, .compare, .skip, .chart-data, .hero-note, .footer-links { display: none !important; }
  section { padding-block: 10pt; break-inside: avoid; }
  .hero { background: none; }
  .sheet, .definitions, .chart-card, .proof, .plan, .audience { box-shadow: none; }
  .sheet, .sheet-under { transform: none; }
  .sheet-under { display: none; }
  /* A printed page is the finished page: no sequence caught half-way. */
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .will-reveal, .js .will-reveal .layer, .js .will-reveal .def, .js .will-reveal .def-glyph,
  .js .will-reveal .chart-dot, .js .will-reveal .chart-band, .js .will-reveal .chart-note { opacity: 1 !important; transform: none !important; }
  .js .will-reveal .chart-line { stroke-dashoffset: 0 !important; }
  .display { font-size: 26pt; }
  .h2 { font-size: 16pt; }
  a { color: #000; text-decoration: none; }
}
