/* Bundvera website — design system v4
   Dark, quiet, precise: near-black surfaces, white type with grey steps, hairline borders
   lit from above, lavender light as the only colour. Signature: glossy clapperboard slats
   (rendered art) and the delivery docket with an ink stamp.
   Fonts: Inter and Geist Mono (variable, OFL), self-hosted. No external requests. */

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  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: 'Inter';
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Geist Mono';
  src: url('fonts/geist-mono-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  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: 'Geist Mono';
  src: url('fonts/geist-mono-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #07080a;
  --bg-1: #0c0d0f;
  --bg-2: #111214;
  --bg-3: #18191a;
  --bg-4: #232427;
  --line: rgb(255 255 255 / 0.07);
  --line-2: rgb(255 255 255 / 0.12);
  --line-3: rgb(255 255 255 / 0.2);
  --ink: #f4f4f6;
  --ink-2: #c6c9cd;
  --muted: #9a9ca2;
  --faint: #85878d;
  --accent: #c9bcff;
  --accent-2: #9d8cff;
  --accent-tint: rgb(201 188 255 / 0.12);
  --ok: #59d499;
  --ok-tint: rgb(89 212 153 / 0.12);
  --bad: #ff7a7a;
  --bad-tint: rgb(255 99 99 / 0.13);
  --warn: #ffc533;
  --warn-tint: rgb(255 197 51 / 0.12);
  --paper: #f3f1ec;
  --paper-ink: #1b1a18;
  --paper-muted: #5e5a54;
  --card: linear-gradient(137deg, #111214 4.87%, #0c0d0f 75.88%);
  --hi: inset 0 1px 0 rgb(255 255 255 / 0.06);
  --shadow-window: 0 4px 40px 8px rgb(0 0 0 / 0.45), 0 0 0 0.5px rgb(0 0 0 / 0.8), inset 0 0.5px 0 rgb(255 255 255 / 0.3);
  --font: 'Inter', -apple-system, 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 20px;
  --container: 1204px;
  --container-sm: 1064px;
  --container-xs: 746px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); color: var(--ink); scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: var(--bg); color: var(--ink); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); text-wrap: balance; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
a { color: var(--ink); text-decoration-color: var(--line-3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
a[href^='mailto:'] { overflow-wrap: anywhere; }
code { font: 0.9em var(--mono); background: var(--bg-3); border: 1px solid var(--line); border-radius: 5px; padding: 0.08em 0.38em; color: var(--ink); }
pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgb(201 188 255 / 0.32); color: #fff; }

.wrap { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: #fff; color: #000; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 16px; border-radius: var(--r-md); border: 1px solid transparent;
  font: 500 15px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-primary { background: rgb(255 255 255 / 0.88); color: #111214; box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.2), 0 0 0 1px rgb(255 255 255 / 0.12); }
.btn-primary:hover:not(:disabled) { background: #fff; }
.btn-secondary { background: rgb(255 255 255 / 0.04); color: var(--ink); border-color: var(--line-2); box-shadow: var(--hi); }
.btn-secondary:hover:not(:disabled) { background: rgb(255 255 255 / 0.08); border-color: var(--line-3); }
.btn-small { min-height: 34px; padding: 6px 13px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: var(--accent-tint); border: 1px solid rgb(201 188 255 / 0.18); border-radius: 999px; padding: 6px 10px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }

/* ---------- Header: floating bar ---------- */
.site-head { position: sticky; top: 0; z-index: 30; padding: 16px 0 0; }
.site-head .wrap {
  display: flex; align-items: center; gap: 24px; min-height: 58px; padding: 0 12px 0 20px;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: rgb(12 13 15 / 0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--hi), 0 8px 30px rgb(0 0 0 / 0.35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 26px; height: 26px; }
.wordmark { font-weight: 700; letter-spacing: 0.16em; font-size: 13px; }
.version { font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 7px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: var(--r-sm); color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.site-nav a:hover { color: var(--ink); background: rgb(255 255 255 / 0.05); }
.site-nav a[aria-current='page'] { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 40px; text-align: center; isolation: isolate; overflow-x: clip; }
/* The slats light the product window from behind and fade out on every side, so no edge shows. */
.hero-art {
  position: absolute; z-index: -1; top: -380px; left: 50%; width: max(1500px, 112vw); aspect-ratio: 1672 / 941; translate: -46% 0;
  background: url('img/hero-slats.webp') center / contain no-repeat;
  -webkit-mask: linear-gradient(to bottom, transparent 8%, #000 36%, #000 74%, transparent 98%), linear-gradient(to right, transparent 4%, #000 26%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(to bottom, transparent 8%, #000 36%, #000 74%, transparent 98%) intersect, linear-gradient(to right, transparent 4%, #000 26%, #000 84%, transparent);
  pointer-events: none;
}
.hero h1 { font-size: clamp(44px, 7.4vw, 84px); letter-spacing: -0.04em; line-height: 1.02; max-width: 12ch; margin: 22px auto 0; }
.hl { color: var(--muted); }
.lede { max-width: 38em; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-2); }
.hero .actions { justify-content: center; }
.hero-note { margin-top: 16px; color: var(--faint); font-size: 14px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.eyebrow-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* The product window floats on the art; the frame is a plain macOS window, no device mock-up. */
.stage { position: relative; width: min(860px, 100%); margin: 72px auto 0; }
.stage::before { content: ''; position: absolute; inset: 10% 6% -8%; z-index: -1; background: radial-gradient(closest-side, rgb(157 140 255 / 0.28), transparent); filter: blur(30px); }
.stage-screen { display: block; cursor: pointer; border-radius: var(--r-lg); text-align: left; }
.stage-screen:focus-visible { outline-offset: 6px; }
.replay-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--faint); font-size: 13px; }

/* The demo is the app's window, as the app draws it: header, list rows, a verdict row with a status tag. */
.demo-window {
  container-type: inline-size; font: 400 13px/1.5 var(--font); color: #fff; text-align: left;
  background: #111217; border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 48px 8px #0003, 0 0 0 0.5px #000000bf, 0 4px 8px #0006, 0 12px 32px #000c, inset 0 0.5px 0 rgb(255 255 255 / 0.18);
}
.demo-titlebar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border-bottom: 1px solid #ffffff1a; }
.demo-titlebar img { width: 22px; height: 22px; }
.demo-titlebar span { font-size: 17px; font-weight: 350; color: #fff; }
.demo-body { padding: 12px 8px 8px; }
.demo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 8px 10px; }
.demo-kicker { font-size: 11px; font-weight: 500; line-height: 12px; color: #fff9; }
.demo-count { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.demo-count .of { color: #fff9; font-weight: 400; }
.demo-count-label { font-size: 12px; color: #fff9; text-align: right; }
.demo-rows { list-style: none; margin: 0; padding: 0; }
/* Row states switch instantly, as in the app, where each change arrives with a progress event. */
.demo-row {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  height: 38px; padding: 0 8px; border-radius: 10px; font-size: 13px; color: #fff9;
}
.demo-row > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-row .st { position: relative; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #ffffff1a; }
/* Finder-style pie: how much of the file has been read so far (--p, 0 to 1). */
.demo-row .st::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; visibility: hidden; background: conic-gradient(#fff calc(var(--p, 0) * 360deg), #ffffff26 0); }
.demo-row .st svg { width: 13px; height: 13px; visibility: hidden; }
.demo-row .st path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.demo-row .st b { display: none; color: #fff; font: 700 12px/1 var(--font); }
.demo-row .sz { font-variant-numeric: tabular-nums; }
.demo-row.is-active { color: #fff; background: #ffffff1a; }
.demo-row.is-active .st::before { visibility: visible; }
.demo-row.is-done { color: #fff; }
.demo-row.is-done .st { background: linear-gradient(#5fdca2, #26a46a); }
.demo-row.is-done .st svg { visibility: visible; }
.demo-row.is-missing { color: #ffa3a3; }
.demo-row.is-missing .st { background: linear-gradient(#ff7b7b, #e0464b); }
.demo-row.is-missing .st svg { display: none; }
.demo-row.is-missing .st b { display: block; }
.demo-foot { position: relative; margin: 8px 8px 0; min-height: 22px; }
.demo-status { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; line-height: 1.4; color: #fff9; font-variant-numeric: tabular-nums; }
.demo-status span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-status-bytes { flex: none; }
.demo-foot.is-printed .demo-status { visibility: hidden; }
.js .demo-verdict { opacity: 0; transform: translateY(2px); }
.js .demo-verdict.is-in { animation: rise 150ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.demo-verdict .receipt-sheet { filter: none; }
.demo-verdict .receipt-paper { -webkit-mask: none; mask: none; background: #ffffff0d; color: #fff; border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.demo-verdict-title { font-weight: 600; font-size: 14px; color: #fff; line-height: 1.3; }
.demo-verdict-sub { font-size: 12px; color: #fff9; margin-top: 2px; }
.demo-verdict .stamp { transform: none; border: 0; outline: 0; border-radius: 6px; padding: 4px 8px; font: 500 12px/16px var(--font); letter-spacing: 0; text-transform: none; color: #ffa3a3; background: rgb(255 97 97 / 0.15); }
.js .demo-verdict:not(.is-stamped) .stamp { visibility: hidden; }

/* ---------- Receipt primitives ---------- */
.receipt-sheet { filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.55)) drop-shadow(0 2px 4px rgb(0 0 0 / 0.4)); }
.receipt-paper {
  position: relative; background: var(--paper); color: var(--paper-ink);
  --tooth: 14px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tooth) 100%;
}
.stamp {
  display: inline-block; flex-shrink: 0; padding: 6px 11px; color: #c42b26;
  border: 2.5px solid currentColor; outline: 1px solid currentColor; outline-offset: 3px; border-radius: 3px;
  font: 800 13px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; transform: rotate(var(--rot, -8deg));
}
.stamp.tone-bad { color: #c42b26; }
.stamp.tone-warn { color: #a36200; }

/* ---------- Sections ---------- */
.section { padding: 120px 0 0; }
.section:last-of-type { padding-bottom: 120px; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
/* Two tones: the claim in white, the explanation in grey, read as one sentence. */
.section-head h2, .page-head h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
.section-head p { margin-top: 14px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); }
.section-head p a { color: var(--ink-2); }
.kicker { display: block; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }

.problems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.problems li, .feature, .mode, .flow, .facts-grid li, .plan, .step {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--hi);
}
.problems li { padding: 22px 24px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.problems strong { display: block; color: var(--ink); font-size: 16px; font-weight: 600; margin-bottom: 6px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; counter-reset: step; }
.step { counter-increment: step; padding: 26px 24px 24px; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--accent); margin-bottom: 18px; }
.step h3 { font-size: 18px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

.shot { margin: 56px auto 0; max-width: 1064px; }
.shot img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line-2); box-shadow: var(--shadow-window); background: var(--bg-2); }
.shot figcaption { margin-top: 14px; text-align: center; color: var(--faint); font-size: 13px; }
.shot.narrow { max-width: 460px; }

.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.mode { padding: 28px; }
.mode h3 { font-size: 20px; }
.mode .mode-q { margin-top: 6px; color: var(--accent); font: 500 13px/1.4 var(--mono); }
.mode ul { list-style: none; margin: 20px 0 0; padding: 0; }
.mode li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.mode li:first-child { border-top: 0; }
.mode li::before { content: '✓'; position: absolute; left: 2px; top: 10px; color: var(--ok); font-weight: 700; }
.mode li.not::before { content: '–'; color: var(--faint); }
.mode li.not { color: var(--faint); }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.mt-md.features { margin-top: 16px; }
.feature { padding: 24px; }
/* Icons sit on a small keycap, lit from above. */
.feature svg {
  width: 40px; height: 40px; padding: 9px; border-radius: 10px; color: var(--ink);
  background: radial-gradient(75% 75% at 50% 92%, #2b2c30 0%, #18191b 100%);
  box-shadow: 0 1.5px 0.5px 2.5px rgb(0 0 0 / 0.4), 0 0 0.5px 1px #000, inset 0 1px 1px 1px rgb(255 255 255 / 0.14);
}
.feature h3 { margin-top: 18px; font-size: 16px; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Receipt section ---------- */
.proof h2 { font-size: 32px; }
.proof .intro { color: var(--muted); }
.docket-wrap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; align-items: center; }
.docket-wrap h2 { font-size: clamp(30px, 3.4vw, 40px); }
.docket-wrap .intro { margin-top: 14px; color: var(--muted); font-size: 18px; }
.list-title { margin-top: 30px; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.check-list { list-style: none; margin: 12px 0 0; padding: 0; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.check-list li:first-child { border-top: 0; }
.check-list .sym { font-weight: 700; }
.sym-ok { color: var(--ok); }
.sym-no { color: var(--faint); }
.check-list .why { display: block; color: var(--faint); font-size: 14px; margin-top: 2px; }
.docket { position: relative; margin: 0; }
.docket .receipt-paper { padding: 28px 28px 40px; font: 13px/1.5 var(--mono); }
.docket-brand { font: 700 15px/1 var(--font); letter-spacing: 0.2em; }
.docket-sub { margin-top: 6px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-muted); }
.docket hr { border: 0; border-top: 1px dashed #c9c2b6; margin: 16px 0; }
.docket dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; }
.docket dt { color: var(--paper-muted); }
.docket dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.docket dd.bad, .docket .bad { color: #c42b26; font-weight: 500; }
.docket .docket-title { font: 700 12px/1.4 var(--font); letter-spacing: 0.14em; }
.docket .docket-line { margin-top: 4px; overflow-wrap: anywhere; }
.docket .docket-line.muted { color: var(--paper-muted); }
.docket .stamp { position: absolute; right: 22px; bottom: 54px; --rot: -9deg; }
.docket-label { position: absolute; z-index: 2; top: -14px; left: 20px; }

/* ---------- Premiere panel ---------- */
.panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 48px; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--hi);
  background: radial-gradient(60% 90% at 0% 0%, rgb(157 140 255 / 0.14), transparent 60%), var(--card);
}
.panel h2 { font-size: clamp(28px, 3.2vw, 38px); margin-top: 14px; }
.panel p, .panel li { color: var(--muted); }
.panel p { margin-top: 14px; font-size: 17px; }
.panel a { color: var(--ink); }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.panel li:first-child { border-top: 0; padding-top: 0; }
.panel li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.panel code { background: rgb(255 255 255 / 0.06); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--warn); }
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Workflow, privacy ---------- */
.flows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.flow { padding: 30px; }
.flow .who { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.flow h3 { margin-top: 12px; font-size: 22px; }
.flow ol { margin: 18px 0 0; padding-left: 20px; color: var(--ink-2); }
.flow li + li { margin-top: 8px; }
.flow li::marker { color: var(--faint); font: 13px var(--mono); }
.facts-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.facts-grid li { padding: 22px 24px; color: var(--muted); font-size: 15px; }
.facts-grid strong { display: block; color: var(--ink); margin-bottom: 6px; font-weight: 600; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; }
.plan.featured { border-color: rgb(201 188 255 / 0.32); box-shadow: var(--hi), 0 0 0 1px rgb(201 188 255 / 0.12), 0 20px 60px -20px rgb(157 140 255 / 0.35); }
.plan-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.plan .price { margin-top: 18px; font-size: 52px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { margin-left: 8px; font: 500 13px/1 var(--mono); letter-spacing: 0.04em; color: var(--muted); }
.plan .plan-note { margin-top: 12px; color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; flex: 1; }
.plan li { position: relative; padding: 8px 0 8px 26px; color: var(--ink-2); font-size: 15px; border-top: 1px solid var(--line); }
.plan li::before { content: '✓'; position: absolute; left: 0; top: 8px; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; }
.plan-badge { position: absolute; top: 22px; right: 22px; }
.pricing-foot { margin-top: 28px; text-align: center; color: var(--faint); font-size: 14px; }
.plan .buy-note { margin-top: 12px; text-align: center; font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 300 24px/1 var(--font); color: var(--muted); transition: rotate 0.2s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); padding-right: 44px; margin-bottom: 14px; }
.faq details p:last-child { margin-bottom: 24px; }
.page .faq { margin-top: 24px; }

/* ---------- Closing ---------- */
/* The closing art is a band below the copy, never behind text. */
.closing { position: relative; isolation: isolate; overflow: hidden; padding-bottom: clamp(220px, 30vw, 400px) !important; }
.closing::before {
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: 0; width: max(1100px, 100vw); aspect-ratio: 1672 / 941; translate: -50% 0;
  background: url('img/closing-slats.webp') center / contain no-repeat;
  -webkit-mask: linear-gradient(to bottom, transparent 30%, #000 62%, #000 80%, transparent 99%), linear-gradient(to right, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(to bottom, transparent 30%, #000 62%, #000 80%, transparent 99%) intersect, linear-gradient(to right, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none;
}
.closing .buy { text-align: center; max-width: 720px; margin: 0 auto; }
.closing h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.035em; }
.closing .buy p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.closing .actions { justify-content: center; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 500 13px/1 var(--mono); }
.trust li::before { content: '✓'; color: var(--ok); font-family: var(--font); font-weight: 700; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 64px 0 72px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.site-foot p { margin-top: 14px; line-height: 1.55; }
.site-foot .brand { margin-bottom: 4px; }
.foot-title { font: 500 12px/1 var(--mono) !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px !important; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li + li { margin-top: 10px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
main + .site-foot { margin-top: 0; }

/* ---------- Inner pages ---------- */
.page-head { padding: 96px 0 8px; text-align: center; }
.page-head h1 { max-width: 20ch; margin: 0 auto; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.035em; }
.page-head p { max-width: 40em; margin: 18px auto 0; color: var(--muted); font-size: 18px; }
.page-head .kicker { margin-bottom: 18px; }
.page { padding-bottom: 120px; }
.prose { width: min(var(--container-xs), 100% - 32px); margin: 56px auto 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose h2 { margin: 56px 0 14px; font-size: 26px; color: var(--ink); }
.prose h3 { margin: 32px 0 10px; font-size: 18px; color: var(--ink); }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 14px 0; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--faint); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .table-scroll, .prose .notice, .prose pre { margin: 22px 0; }
.howto { list-style: none; padding: 0 !important; counter-reset: how; }
.howto li { counter-increment: how; position: relative; padding: 16px 0 16px 48px; border-top: 1px solid var(--line); }
.howto li::before { content: counter(how, decimal-leading-zero); position: absolute; left: 0; top: 17px; font: 500 12px/1.8 var(--mono); color: var(--accent); letter-spacing: 0.06em; }
.howto li span { display: block; }
.facts { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.facts li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); }
.facts strong { display: block; margin-bottom: 4px; }
.block { margin-top: 56px; }
.block h2 { font-size: 26px; }
.block .intro { margin-top: 10px; color: var(--muted); }
.spaced > * + * { margin-top: 16px; }
.notice { padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-2); }
.notice strong { color: var(--ink); }
.notice p + p { margin-top: 8px; }
.notice.ok { border-color: rgb(89 212 153 / 0.3); background: var(--ok-tint); }
.notice.warn { border-color: rgb(255 197 51 / 0.3); background: var(--warn-tint); }
.notice.bad { border-color: rgb(255 99 99 / 0.3); background: var(--bad-tint); }
.draft { display: inline-block; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--warn); border: 1px solid rgb(255 197 51 / 0.35); border-radius: 999px; padding: 6px 10px; }
.key { display: inline-block; min-width: 1.7em; padding: 2px 7px; border-radius: 6px; font: 500 0.85em/1.5 var(--mono); text-align: center; background: radial-gradient(75% 75% at 50% 92%, #2b2c30, #18191b); box-shadow: 0 1px 0 1px rgb(0 0 0 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.12); }
.toc { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-1); }
.toc p { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.toc ol { margin: 12px 0 0; padding-left: 20px; }
.toc li + li { margin-top: 6px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0 !important; }
.related a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 14px; }
.related a:hover { border-color: var(--line-3); color: var(--ink); }

.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-1); }
.table-scroll:focus-visible { outline-offset: 2px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.data-table th, .data-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table thead th { font: 500 12px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); background: rgb(255 255 255 / 0.02); }
.data-table tbody th { font-weight: 600; color: var(--ink); }
.data-table td { color: var(--ink-2); }
.data-table .yes { color: var(--ok); }
.data-table .no { color: var(--faint); }
.data-table .warn { color: var(--warn); }
.data-table .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.status { display: inline-block; padding: 3px 8px; border-radius: 5px; font: 600 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.status-pass { color: var(--ok); background: var(--ok-tint); }
.status-fail { color: var(--bad); background: var(--bad-tint); }
.status-review { color: var(--warn); background: var(--warn-tint); }
.status-unsupported, .status-incomplete { color: var(--muted); background: rgb(255 255 255 / 0.06); }

.buy { margin-top: 32px; }
.buy p { color: var(--muted); }
.buy .actions { margin-top: 20px; }
.buy-note { font-size: 13px; color: var(--faint); margin-top: 12px; }
.beta-request { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--hi); }
.beta-request p + p { margin-top: 10px; }
.beta-request .actions { margin-top: 20px; }
.beta-request .buy-note { margin-top: 14px; }
.publisher { color: var(--muted); }

.release-note { padding: 28px 0; border-top: 1px solid var(--line); }
.release-note h2 { margin-top: 0 !important; font-size: 22px; }
.release-note .meta { margin-top: 6px; font: 500 13px/1.4 var(--mono); color: var(--faint); }
.release-note p, .release-note li { color: var(--ink-2); }
.release-note ul { padding-left: 20px; }

.form { display: grid; gap: 12px; max-width: 460px; }
.form label { font-weight: 500; color: var(--ink); font-size: 15px; }
.form input[type='email'] { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font: inherit; }
.form input[type='email']:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .actions { margin-top: 8px; }
.form-hint { color: var(--faint); font-size: 14px; }

.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.wide { width: min(var(--container), 100% - 32px); }

/* ---------- Keyframes ---------- */
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .site-head .btn { margin-left: auto; }
  .docket-wrap, .panel { grid-template-columns: 1fr; gap: 40px; }
  .panel { padding: 32px 24px; }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
  .site-foot .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .site-head { padding-top: 10px; }
  .site-head .wrap { padding: 0 8px 0 14px; min-height: 52px; gap: 12px; }
  .version { display: none; }
  .hero { padding: 72px 0 24px; }
  .hero-art { display: none; }
  .stage { margin-top: 48px; }
  .demo-body { padding: 16px; }
  .demo-count { font-size: 24px; }
  .demo-verdict .receipt-paper { flex-direction: column; align-items: flex-start; }
  .section { padding-top: 88px; }
  .section-head { margin-bottom: 36px; }
  .mode, .flow, .plan { padding: 24px; }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .prose { margin-top: 36px; }
  .page-head { padding-top: 64px; }
  .docket .stamp { bottom: 44px; right: 16px; }
  /* Narrow tables become one card per row; each cell names its column. */
  .data-table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table.stack tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .data-table.stack tr:last-child { border-bottom: 0; }
  .data-table.stack th, .data-table.stack td { display: block; padding: 4px 0; border: 0; }
  .data-table.stack td[data-label]::before { content: attr(data-label); display: block; font: 500 11px/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  html, body { background: #fff; color: #000; }
  .site-head, .site-foot, .hero-art, .closing::before { display: none; }
}
