/* intex.university: white paper, navy ink, the serif of the mathematics.
 *
 * Text is always ink on white or on mist. Sky blue is an accent; pale yellow is only a highlighter behind ink.
 * Panels are white sheets with hairline rules; corners are small; shadows are barely there.
 * The pairs tools/site/check measures (WCAG 2.1 AA, 4.5:1 for text, 3:1 for large text and focus):
 * contrast: --ink on --white >= 4.5
 * contrast: --ink-2 on --white >= 4.5
 * contrast: --muted on --white >= 4.5
 * contrast: --link on --white >= 4.5
 * contrast: --ink on --mist >= 4.5
 * contrast: --ink-2 on --mist >= 4.5
 * contrast: --muted on --mist >= 4.5
 * contrast: --link on --mist >= 4.5
 * contrast: --ink on --sky-50 >= 4.5
 * contrast: --ink-2 on --sky-50 >= 4.5
 * contrast: --muted on --sky-50 >= 4.5
 * contrast: --ink on --sun >= 4.5
 * contrast: --white on --ink >= 4.5
 * contrast: --sky-200 on --ink >= 4.5
 * contrast: --ink on --sky-200 >= 4.5
 * contrast: --focus on --white >= 3
 * contrast: --danger on --white >= 4.5
 * contrast: --danger on --mist >= 4.5
 * contrast: --pass on --white >= 4.5
 */

@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "STIX Two Text"; src: url("fonts/stix-text.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "STIX Two Text"; src: url("fonts/stix-text-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "STIX Two Math"; src: url("fonts/stix-math.woff2") format("woff2"); font-display: swap; }

:root {
	--ink: #0c2340;
	--ink-2: #2c4664;
	--muted: #4f6680;
	--link: #1d5f99;
	--focus: #2b78c2;
	--danger: #9b1c1c;
	--pass: #1f6b45;
	--white: #ffffff;
	--mist: #f5f8fb;
	--sky-50: #f3f8fd;
	--sky-100: #e7f1fb;
	--sky-200: #d3e7f8;
	--sky-400: #8cc1ec;
	--sun: #fff2ad;
	--line: #dde5ee;
	--line-strong: #c3cfdc;
	--glass: #ffffff;
	--glass-strong: #ffffff;
	--glass-edge: #dde5ee;
	--hairline: #e6ecf2;
	--shadow: 0 1px 2px rgba(12, 35, 64, 0.04), 0 12px 32px -24px rgba(12, 35, 64, 0.22);
	--radius: 10px;
	--serif: "STIX Two Text", "STIX Two", Georgia, "Times New Roman", serif;
	--sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
	--measure: 66ch;
	--wide: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	color: var(--ink);
	background: var(--white);
	font: 400 1.0625rem/1.65 var(--sans);
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
mark { color: inherit; background: linear-gradient(180deg, transparent 0 60%, var(--sun) 60% 94%, transparent 94%); padding: 0 0.06em; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: min(var(--wide), calc(100% - 2.5rem)); margin-inline: auto; }

/* ---- sheets ---- */
.glass { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.band { background: var(--mist); border-block: 1px solid var(--hairline); }

/* ---- header: a white bar under a navy rule ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand span { font: 400 1.6rem/1 var(--serif); letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.94rem; font-weight: 500; padding: 0.55rem 0.85rem; border-radius: 6px; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.nav .btn { margin-left: 0.6rem; }

/* ---- buttons ---- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	font: 600 0.98rem/1 var(--sans); letter-spacing: 0.005em;
	padding: 0.95rem 1.35rem; border-radius: 8px; text-decoration: none; cursor: pointer;
	border: 1px solid transparent; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #17365e; }
.btn-quiet { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-small { padding: 0.65rem 1rem; font-size: 0.9rem; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.nav a.btn-primary { color: var(--white); text-decoration: none; }
.nav a.btn-primary:hover { color: var(--white); background: #17365e; }

/* ---- type ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 0.8rem; font: 600 0.76rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.015em; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; line-height: 1.2; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--ink-2); max-width: 40rem; }
.kicker { font: 600 0.76rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.section-head { max-width: 46rem; margin: 0 0 2.8rem; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin-top: 1rem; }

section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* ---- hero ---- */
.hero { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--hairline); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin: 1.5rem 0 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.fine { font-size: 0.92rem; color: var(--muted); margin-top: 1rem; }

.clock { padding: 2rem 2rem 1.8rem; border-top: 3px solid var(--ink); }
.clock .label { font: 600 0.74rem/1.35 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.clock .date { font: 400 clamp(2.1rem, 3.6vw, 2.8rem)/1.05 var(--serif); margin: 0.9rem 0 0.4rem; letter-spacing: -0.01em; }
/* the countdown: days, hours, minutes and seconds, ticking in the reader's own time; the date shows without script */
.clock .count { position: relative; margin: 1.3rem 0 0.2rem; }
.clock .units { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 0.5rem; }
.clock .units p { margin: 0; padding: 0.8rem 0.4rem 0.7rem; border-radius: 8px; background: var(--mist); border: 1px solid var(--hairline); text-align: center; }
.clock .units b { display: block; font: 400 clamp(2rem, 3.4vw, 2.6rem)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.clock .units span { display: block; margin-top: 0.4rem; font: 600 0.66rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.clock .rule { height: 1px; background: var(--hairline); margin: 1.4rem 0 1rem; }
.clock .note { font-size: 0.92rem; color: var(--ink-2); margin: 0; }
.clock .note + .note { margin-top: 0.7rem; }

/* ---- the pipeline: a document going down the column, stage by stage ---- */
.pipeline { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: stage; border-top: 1px solid var(--line); }
.pipeline::before { content: ""; position: absolute; left: 1.15rem; top: 0; bottom: 0; width: 2px; background: var(--line); }
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); column-gap: clamp(1.5rem, 4vw, 3.5rem); align-content: start; padding: 1.9rem 0 1.9rem 4.2rem; border-bottom: 1px solid var(--line); transition: opacity 0.45s ease; }
.stage::before { content: ""; position: absolute; left: 1.15rem; top: 0; bottom: 0; width: 2px; background: var(--ink); transform-origin: top; transition: transform 0.9s ease; }
.stage::after { counter-increment: stage; content: counter(stage); position: absolute; left: 0; top: 1.75rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font: 600 0.9rem/1 var(--sans); background: var(--ink); color: var(--white); border: 2px solid var(--ink); transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease; }
.stage > :not(.viz) { grid-column: 1; }
.stage > .viz { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
.stage .n { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0.75rem 0 0.6rem; }
.stage h3 { font-size: 1.45rem; margin: 0 0 0.5rem; }
.stage > p { color: var(--ink-2); margin: 0; max-width: 34rem; }
.viz { padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--mist); font: 0.82rem/1.55 var(--mono); color: var(--ink); min-height: 6.6rem; overflow: hidden; }
.viz code { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; display: block; }
.viz .file { font: 600 0.7rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.55rem; }
.viz .tok { display: inline-block; padding: 0.05rem 0.35rem; margin: 0 0.2rem 0.3rem 0; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--white); }
.viz .tree { white-space: pre; margin: 0.4rem 0 0; color: var(--ink-2); }
.viz .said { font: italic 400 0.98rem/1.45 var(--serif); margin: 0.45rem 0 0; }
.viz .math { display: flex; justify-content: center; padding: 0.2rem 0 0.4rem; overflow: hidden; }
.viz .math math[display="block"] { font-size: 1.15rem; margin: 0; }
.viz .out { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.45rem 0; border-bottom: 1px solid var(--hairline); }
.viz .out:last-child { border-bottom: 0; }
.viz .out b { font: 600 0.82rem/1.4 var(--sans); }
.viz .out span { color: var(--muted); text-align: right; }
.chk { list-style: none; margin: 0; padding: 0; }
.chk li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.35rem; transition: opacity 0.3s ease; }
.chk li::before { content: "\2713"; color: var(--pass); font-weight: 700; }
.viz .alt { font: italic 400 0.98rem/1.45 var(--serif); margin: 0; }
.viz .signed { font: 600 0.78rem/1.3 var(--sans); color: var(--pass); margin: 0.7rem 0 0; }
.viz .signed::before { content: "\2713"; margin-right: 0.4rem; }
.verdict { font: 600 0.9rem/1.45 var(--sans); margin: 0; }
.verdict + .verdict { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--hairline); }
.verdict .tag { display: inline-block; font: 700 0.68rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 0.35rem 0.5rem; border-radius: 4px; margin: 0 0.5rem 0.4rem 0; }
.verdict.pass .tag { background: #e3f1e9; color: var(--pass); }
.verdict.held .tag { background: #fbf3d0; color: var(--ink); }
.verdict span { display: block; font-weight: 400; color: var(--ink-2); }
/* moving, at reading pace: a stage lights as the reader scrolls it to the middle of the screen, and stays lit. The
 * text is never dimmed; only the marker on the line and the checks change. The reader's own scrolling drives it, so
 * nothing moves on its own. Without script, or with reduced motion, every stage simply shows lit. */
.pipeline.live .stage::before { transform: scaleY(0); }
.pipeline.live .stage::after { background: var(--white); color: var(--ink-2); border-color: var(--line-strong); }
.pipeline.live .stage.on::before { transform: scaleY(1); }
.pipeline.live .stage.on::after { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pipeline.live .chk li { opacity: 0.35; transition: opacity 0.4s ease; }
.pipeline.live .stage.on .chk li { opacity: 1; }
.pipeline.live .stage.on .chk li:nth-child(2) { transition-delay: 0.35s; }
.pipeline.live .stage.on .chk li:nth-child(3) { transition-delay: 0.7s; }
.pipeline.live .stage.on .chk li:nth-child(4) { transition-delay: 1.05s; }
.pipeline.live .stage.on .chk li:nth-child(5) { transition-delay: 1.4s; }
.pipeline.live .stage.on .chk li:nth-child(6) { transition-delay: 1.75s; }
.pipeline.live .signed, .pipeline.live .verdict { opacity: 0; transform: translateY(4px); transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s; }
.pipeline.live .verdict.held { transition-delay: 1.4s; }
.pipeline.live .stage.on .signed, .pipeline.live .stage.on .verdict { opacity: 1; transform: none; }
.estimate { margin: 1.4rem 0 0; font-size: 1.05rem; color: var(--ink); max-width: 60rem; }

/* ---- the demo: one line of LaTeX, read three ways ---- */
figure.demo { margin: 0; }
.demo { padding: clamp(1.4rem, 3vw, 2.2rem); }
.demo .source { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 8px; background: var(--mist); border: 1px solid var(--hairline); overflow-x: auto; }
.demo .source .tag { flex: none; font: 600 0.72rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.demo code { font: 0.98rem/1.5 var(--mono); color: var(--ink); white-space: nowrap; }
.demo .reads { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.demo .read { padding: 1.4rem 1.4rem 1.3rem; border-radius: 8px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.demo .read h3 { font: 600 0.76rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.demo .read h3 svg { width: 16px; height: 16px; color: var(--ink-2); }
.demo .read p { margin: 0; }
.demo .seen .math { flex: 1; display: grid; place-items: center; min-height: 7rem; overflow-x: auto; }
.demo .heard p { font: italic 400 1.16rem/1.45 var(--serif); color: var(--ink); }
.demo .copied p { font: 1.02rem/1.5 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.demo .caption { font-size: 0.92rem; color: var(--muted); margin: 1.2rem 0.2rem 0; }
math { font-family: "STIX Two Math", math; }
.demo math[display="block"] { font-size: 1.5rem; margin: 0; }

/* ---- how we compare ---- */
.compare { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1.05rem 1.1rem; border-bottom: 1px solid var(--line); }
.compare thead th { font: 600 0.74rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 11rem; }
.compare td { color: var(--ink-2); }
.compare .us { background: var(--white); color: var(--ink); }
.compare thead .us { color: var(--ink); border-top: 3px solid var(--ink); }
.compare td.us { font-weight: 500; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); box-shadow: var(--shadow); }
.sources { font-size: 0.86rem; color: var(--muted); margin: 1rem 0 0; max-width: 60rem; }
.sources a { color: var(--muted); }
.lead-quote { font: italic 400 clamp(1.4rem, 2.2vw, 1.8rem)/1.35 var(--serif); color: var(--ink); margin: 0 0 2.4rem; padding-left: 1.2rem; border-left: 2px solid var(--ink); max-width: 44rem; }

/* ---- checks ---- */
.checks { padding: clamp(1.6rem, 3vw, 2.4rem); }
.checks ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
.checks li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.7rem; padding: 1.05rem 0; border-bottom: 1px solid var(--hairline); }
.checks li:nth-last-child(-n+2) { border-bottom: 0; }
.checks li svg { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; color: var(--pass); }
.checks li b { display: block; font-weight: 600; }
.checks li span { color: var(--ink-2); font-size: 0.95rem; }
.checks .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--hairline); }
.checks .foot p { margin: 0; color: var(--ink-2); max-width: 44rem; }
.checks .foot b { color: var(--ink); }

/* ---- price ---- */
.price-band { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: stretch; }
.price-band + .price-band { margin-top: 1.2rem; }
.price-main { padding: clamp(2rem, 4vw, 2.8rem); }
.price-main .figure { display: flex; align-items: baseline; gap: 0.6rem; margin: 1.1rem 0 0.6rem; }
.price-main .figure b { font: 400 clamp(3.8rem, 7.5vw, 5.4rem)/0.9 var(--serif); letter-spacing: -0.02em; }
.price-main .figure span { color: var(--ink-2); font-size: 1.08rem; }
.price-main p { color: var(--ink-2); }
.tiers { width: 100%; border-collapse: collapse; margin: 0.4rem 0 0; font-variant-numeric: tabular-nums; }
.tiers caption { text-align: left; font: 600 0.76rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 0.9rem; }
.tiers th, .tiers td { text-align: left; padding: 0.95rem 0; border-bottom: 1px solid var(--hairline); font-weight: 400; }
.tiers td { text-align: right; font: 400 1.4rem/1 var(--serif); }
.tiers tr:last-child th, .tiers tr:last-child td { border-bottom: 0; }
.paying { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.paysteps { list-style: none; margin: 1.2rem 0 0; padding: 0; counter-reset: p; }
.paysteps li { counter-increment: p; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.2rem 0.4rem; padding: 0.9rem 0; border-bottom: 1px solid var(--hairline); }
.paysteps li:last-child { border-bottom: 0; }
.paysteps li::before { content: counter(p); grid-row: span 2; font: 400 1.35rem/1.2 var(--serif); color: var(--ink); }
.paysteps.plain li::before { content: "•"; color: var(--ink-2); }
.paysteps b { font-weight: 600; color: var(--ink); }
.paysteps span { color: var(--ink-2); }
.price-side { padding: clamp(2rem, 4vw, 2.8rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
/* the deal sweetener beside the rates: a warm edge, nothing louder */
.sweetener { border-top: 3px solid var(--ink); background: linear-gradient(180deg, var(--white) 70%, var(--sky-50)); }
.sweetener .figure b { font-size: clamp(3rem, 6vw, 4.4rem); }
/* what we work from: one plain statement, set apart */
.rot { padding-bottom: 0; }
.rot .section-head { border-left: 3px solid var(--ink); padding-left: 1.4rem; margin-bottom: 0; }
/* the news sign-up: one field and a button */
.interest { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.8rem, 4vw, 2.6rem); margin: clamp(3rem, 6vw, 4.5rem) 0; }
.interest h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 0.8rem; }
.interest p { color: var(--ink-2); margin: 0; }
.interest-form { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.interest-form input[type=email] { flex: 1 1 14rem; min-width: 0; font: inherit; color: var(--ink); padding: 0.85rem 0.95rem; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--white); }
.interest-form input[type=email]:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(43, 120, 194, 0.2); }
.interest-form .form-status { flex-basis: 100%; }
.interest-sent { font-weight: 600; color: var(--ink) !important; }
.interest .fine { margin-top: 0.8rem; }

/* ---- closing ---- */
.closing { text-align: center; padding: clamp(3rem, 6vw, 4.6rem) clamp(1.5rem, 4vw, 4rem); }
.closing h2 { max-width: 32rem; margin: 0 auto 1rem; }
.closing h1 { max-width: 30rem; }
.closing p { color: var(--ink-2); max-width: 36rem; margin: 0 auto; font-size: 1.1rem; }
.closing .actions { justify-content: center; }
.closing.spaced { margin: 2.5rem 0 4rem; }
.h2-size { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: 0 auto 1rem; }

/* ---- page heads (pricing, sign-up) ---- */
.page-head { padding: clamp(3rem, 6.5vw, 5rem) 0 clamp(1.8rem, 3vw, 2.6rem); }
.page-head h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin: 1.3rem 0 1.2rem; max-width: 20ch; }
.prose { padding: clamp(2rem, 4vw, 3rem); margin-bottom: 1.4rem; }
.prose.spaced { margin-bottom: 4rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin: 0 0 1rem; }
.prose h2:not(:first-child) { margin-top: 2.6rem; }
.prose p, .prose li { max-width: var(--measure); color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }

/* ---- documentation: the compliance measure, privacy ---- */
.doc-head { padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(1.6rem, 3vw, 2.2rem); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 0.88rem; color: var(--muted); margin: 0 0 1.4rem; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 0.45rem; }
.doc-head h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); margin: 0 0 1rem; }
.doc-head .lede { margin: 0; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 2.4rem; margin: 1.8rem 0 0; font-size: 0.9rem; }
.doc-meta div { display: flex; gap: 0.5rem; }
.doc-meta dt { color: var(--muted); }
.doc-meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.doc-body { display: grid; grid-template-columns: 14rem 1fr; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(2rem, 4vw, 3rem) 0 clamp(3.5rem, 6vw, 5rem); align-items: start; }
.doc-body.single { grid-template-columns: minmax(0, 1fr); max-width: 48rem; }
.doc-body.single .doc-text p { font-size: 1.08rem; line-height: 1.7; }
.toc { position: sticky; top: 7rem; font-size: 0.9rem; }
.toc p { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.9rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.doc-text { min-width: 0; max-width: 48rem; }
.doc-text section { padding: 0; margin: 0 0 3rem; }
.doc-text h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); margin: 0 0 1rem; display: flex; gap: 0.8rem; align-items: baseline; }
.doc-text h2 .num { font: 600 0.95rem/1 var(--sans); color: var(--muted); min-width: 1.4rem; }
.doc-text h3 { font: 600 1rem/1.4 var(--sans); margin: 1.6rem 0 0.5rem; }
.doc-text p, .doc-text li { color: var(--ink-2); max-width: var(--measure); }
.doc-text ul { padding-left: 1.2rem; }
.doc-text li { margin: 0.4rem 0; }
.conditions { list-style: none; padding: 0; margin: 1.2rem 0; counter-reset: c; border-top: 1px solid var(--line); }
.conditions li { counter-increment: c; display: grid; grid-template-columns: 3rem 1fr; gap: 0.6rem; padding: 0.9rem 0; margin: 0; border-bottom: 1px solid var(--line); max-width: none; }
.conditions li::before { content: "4." counter(c); font: 600 0.92rem/1.6 var(--sans); color: var(--ink); }
.callout { padding: 1rem 1.2rem; border-left: 3px solid var(--ink); background: var(--mist); color: var(--ink-2); margin: 1.4rem 0; }
.callout p:last-child { margin: 0; }
.deftable, .criteria { width: 100%; border-collapse: collapse; font-size: 0.96rem; margin: 1rem 0 0; }
.deftable th, .deftable td, .criteria th, .criteria td { text-align: left; vertical-align: top; padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--line); }
.deftable thead th, .criteria thead th { font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.deftable tbody th, .criteria tbody th { font-weight: 600; color: var(--ink); min-width: 11rem; }
.deftable td, .criteria td { color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 1rem 0 0; }
.criteria .lv { display: inline-block; font: 600 0.7rem/1 var(--sans); padding: 0.28rem 0.42rem; border-radius: 4px; background: var(--sky-200); color: var(--ink); margin-left: 0.35rem; vertical-align: 0.1em; }
.dates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.6rem 0 1rem; }
.dates div { padding: 1.2rem 1.3rem; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.dates b { display: block; font: 400 1.6rem/1.1 var(--serif); margin-bottom: 0.35rem; color: var(--ink); }
.dates span { color: var(--ink-2); font-size: 0.95rem; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { padding: 1.15rem 0.2rem; border-bottom: 1px solid var(--line); background: none; border-radius: 0; box-shadow: none; border-inline: 0; border-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--serif); color: var(--ink-2); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0.9rem 0 0; color: var(--ink-2); max-width: var(--measure); }

/* ---- form ---- */
.form-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.form { padding: clamp(1.8rem, 4vw, 2.6rem); }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.2rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.88rem; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); padding: 0.8rem 0.95rem; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--white); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(43, 120, 194, 0.2); }
.consent { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.75rem; align-items: start; padding: 1rem 1.1rem; border-radius: 6px; background: var(--mist); border: 1px solid var(--line); margin: 0.4rem 0 1.4rem; }
.consent input { width: 1.15rem; height: 1.15rem; margin: 0.2rem 0 0; accent-color: var(--ink); }
.consent label { font-size: 0.95rem; color: var(--ink); }
.form .btn { width: 100%; }
.field-error { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--danger); }
.consent .field-error { grid-column: 1 / -1; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.form-status { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--ink-2); }
.form-status:empty { display: none; }
.suggest { font: inherit; color: var(--link); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.sent { scroll-margin-top: 6.5rem; }
.sent h2 { font-size: clamp(1.8rem, 3.2vw, 2.3rem); line-height: 1.1; margin: 0.2rem 0 0.9rem; }
.sent p { color: var(--ink-2); }
.sent .btn { margin-top: 0.6rem; }
.aside { padding: clamp(1.8rem, 4vw, 2.4rem); }
.aside ol { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: a; }
/* the number sits in the margin, so a line with a link in it stays one line of text (a grid would split it) */
.aside li { counter-increment: a; position: relative; padding: 0.85rem 0 0.85rem 2.4rem; border-bottom: 1px solid var(--hairline); color: var(--ink-2); }
.aside li:last-child { border-bottom: 0; }
.aside li::before { content: counter(a); position: absolute; left: 0; top: 0.85rem; font: 400 1.2rem/1.3 var(--serif); color: var(--ink); }
.aside .fine { margin: 1.2rem 0 0; }

/* ---- footer ---- */
.site-footer { margin-top: 2rem; background: var(--mist); border-top: 1px solid var(--line); padding: 2.6rem 0 2.8rem; }
.site-footer .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; font-size: 0.94rem; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer small { color: var(--muted); font-size: 0.86rem; }

/* ---- narrow screens ---- */
@media (max-width: 960px) {
	.hero-grid, .price-band, .form-grid, .doc-body, .interest { grid-template-columns: 1fr; }
	.demo .reads { grid-template-columns: 1fr; }
	.stage { grid-template-columns: 1fr; }
	.stage > .viz { grid-column: 1; grid-row: auto; margin-top: 1.1rem; }
	.toc { position: static; }
}
@media (max-width: 720px) {
	.nav a:not(.btn) { display: none; }
	.checks ul, .dates { grid-template-columns: 1fr; }
	.checks li:nth-last-child(2) { border-bottom: 1px solid var(--hairline); }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
