/* SizeMyLaptop design tokens. THE single source of every value; DESIGN.md explains each one.
   build.sh puts this file in front of site.css in dist, so every page has it and nothing else may define a value.
   tools/check-design.mjs parses this file and fails the build on any CSS or rendered style outside it.
   Changing a value here is a rulebook change: edit DESIGN.md in the same commit.
   2026-11-01, Rick (the wispr-style rebuild): a warm cream ground, near-black ink, a serif display face over a quiet sans, flat surfaces with
   2px borders and big radii, one pastel button. The hexes are ours (our cobalt family), measured from the reference's lightness band, not copied. */
:root {
  /* colour. Grounds first (every ground has luminance above 0,85: light only, R21), then text, lines, the one accent, the pastel family, the verdicts */
  --bg: #FBF8F1;           /* cream: the page. ink 16,94:1 on it */
  --g1: #F4EFE3;           /* sand: quiet panels, the product frame's ground, the footer. ink 15,66:1 */
  --tint-sky: #EAF0FC;     /* pale cobalt: a section tone (the story, the closing ask). ink 15,71:1 */
  --tint-mint: #E6F2E9;    /* pale mint: a section tone (the evidence wall). ink 15,60:1 */
  --tint-peach: #FBE4D2;   /* pale peach: cards and badges only, never a section ground (luminance 0,806) */
  --ink: #14171C;          /* near-black: text, the strong 2px border */
  --g2: #5B574F;           /* warm grey: secondary text. 6,78:1 on --bg, 6,27:1 on --g1 */
  --line: #DCD4C2;         /* the quiet 2px border (the nav pill, cards at rest), chart gridlines, resting bars. Never text */
  --accent: #1F4BC4;       /* cobalt: text links, the focus ring, the answer square of the mark, one highlighted chart series. 6,92:1 on --bg */
  --cta: #CFE0FF;          /* pastel cobalt: the one button's fill (2px --ink border, --ink label 13,48:1) */
  --v-green: #1E7F43;      /* verdict colours: data only, on an element carrying data-verdict */
  --v-amber: #A84F00;
  --v-red: #C8102E;
  /* spacing: 8-point, closed; 40 is the desktop gutter, 80 the overlap of a section's rounded top */
  --sp8: 8px; --sp16: 16px; --sp24: 24px; --sp32: 32px; --sp40: 40px; --sp48: 48px; --sp64: 64px; --sp80: 80px; --sp96: 96px; --sp128: 128px; --sp192: 192px;
  /* shape: flat. No shadow token: depth is a 2px border or a change of ground. Radii, closed */
  --bw: 2px;               /* every border on the site is this wide */
  --r8: 8px;               /* the button, form controls, chips */
  --r10: 10px;             /* the floating nav pill */
  --r16: 16px;             /* small cards, the code block, the report mat */
  --r32: 32px;             /* cards, the product frame, the pricing cards */
  --r48: 48px;             /* media cards, the privacy panel */
  --r80: 80px;             /* the top corners of a section that changes tone */
  --r999: 999px;           /* pills, badges, dots */
  /* type: Figtree for text, EB Garamond for display (h1, h2, figures), Geist Mono inside code only. Weights 400 and 600. Six steps */
  --font: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "EB Garamond", "EB Garamond Fallback", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --w-regular: 400;
  --w-semi: 600;
  --fs-display: 96px; --lh-display: 91px; --ls-display: -0.03em;   /* serif: the home and pricing h1, the closing ask (0,95 line height, -3 percent) */
  --fs-title: 64px;   --lh-title: 61px;   --ls-title: -0.03em;     /* serif: every other h1 and every section h2 */
  --fs-heading: 32px; --lh-heading: 34px; --ls-heading: -0.02em;   /* serif: card titles, prices, the story beats, big figures */
  --fs-lead: 20px;    --lh-lead: 26px;    --ls-lead: 0;            /* sans: one supporting line */
  --fs-body: 16px;    --lh-body: 21px;    --ls-body: 0;            /* sans: everything else (16 / 20,8 measured, 21 on the pixel grid) */
  --fs-small: 14px;   --lh-small: 18px;   --ls-small: 0;           /* sans: captions, the footer, the micro line */
  --lh-lead-prose: 30px;   /* a lead line on a reading page: 20 / 30 */
  --lh-prose: 26px;   /* running text on the reading pages (guides, legal, privacy, workloads): 16 / 26, the 21 of the marketing blocks is too tight for a page of prose */
  /* layout: content 1240 wide, a 40 gutter, the nav pill */
  --content: 1240px;
  --pad: var(--sp40);
  --gap: var(--sp24);
  --stage-y: var(--sp96);     /* a plain section's padding (other pages) */
  --band-y: var(--sp96);
  --statement-y: var(--sp128);
  --nav-w: 912px;
  --nav-h: 72px;
  --banner-h: 40px;
  --head-h: 104px;         /* what the sticky header covers at the top once the banner has scrolled away: 16 above the pill, the pill, 16 of air */
  /* motion: small UI settles with an overshoot (0,2 to 0,28 s); hover is --dur */
  --dur: 200ms;
  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;     /* light only: no dark mode and no dark sections (Rick 2026-11-01) */
}
/* the reading pages (everything but the home: guides, legal, privacy, workloads, the report): body text at 16 / 26. The home page's marketing blocks keep the
   measured 16 / 21 of the reference. One token, two values by page, set here so every component that reads --lh-body follows it */
body:not(.home) { --lh-body: var(--lh-prose); --lh-lead: var(--lh-lead-prose); }
@media (max-width: 1199px) {
  :root { --pad: var(--sp32); }
}
@media (max-width: 767px) {
  :root {
    --pad: var(--sp16);
    --gap: var(--sp16);
    --stage-y: var(--sp64);
    --band-y: var(--sp64);
    --statement-y: var(--sp96);
    --nav-h: 56px;
    --banner-h: 40px;
    --head-h: 88px;
    --fs-display: 52px; --lh-display: 50px; --ls-display: -0.03em;
    --fs-title: 40px;   --lh-title: 39px;   --ls-title: -0.03em;
    --fs-heading: 26px; --lh-heading: 28px; --ls-heading: -0.02em;
    --fs-lead: 18px;    --lh-lead: 24px;
  }
}
/* SizeMyLaptop site stylesheet (2026-11-01, the wispr-style rebuild). Every value is a token from tokens.css (build.sh puts it in front of this file);
   DESIGN.md has the rules and the reasons. Flat: no shadow anywhere, depth is a 2px border or a change of ground. Content is whole with JavaScript off:
   scripts only add attributes and classes (scenes.js, motion.js), and every rule that depends on one sits under that attribute.
   Pages other than the home also load /assets/legacy.css (their older components, re-based onto these tokens). */

@font-face { font-family: "Figtree"; src: url("/assets/figtree.8f98dd64.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/figtree-600.367d7132.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/assets/eb-garamond.b63448e2.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/assets/eb-garamond-italic.1bd1b20f.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* the films draw the app's own text in Geist inside their shadow roots (tools/film); no page text uses it, so it is never preloaded */
@font-face { font-family: "Geist"; src: url("/assets/geist.28258d06.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/geist-mono.5bc6413e.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* the system faces shown while the two families load, scaled to their width and vertical metrics (measured with fontTools against Liberation Sans and
   Liberation Serif, the metric twins of Arial and Times New Roman), so the swap moves nothing */
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 100.42%; ascent-override: 94.6%; descent-override: 24.9%; line-gap-override: 0%; }
@font-face { font-family: "EB Garamond Fallback"; src: local("Times New Roman"), local("Times"), local("Liberation Serif"); size-adjust: 94.92%; ascent-override: 106.1%; descent-override: 31.4%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  font-weight: var(--w-regular);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
/* display type is the serif at 400; h3 and below stay in the sans */
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; font-variant-numeric: lining-nums proportional-nums; }
h1, h2 { font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--ls-title); }
h3 { margin: 0; font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: var(--ls-lead); font-weight: 600; text-wrap: balance; }
.display { font-family: var(--serif); font-weight: 400; font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.it { font-style: italic; }
p, figure { margin: 0; }
b, strong { font-weight: var(--w-semi); }
button { border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, kbd, pre { font-family: var(--mono); font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: 0; }
small, .small { font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: var(--ls-small); }
a { color: var(--accent); text-decoration: none; transition: color var(--dur) ease; }
a:hover { color: var(--ink); }
p a, li a, dd a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: static; width: auto; height: auto; clip: auto; display: block; background: var(--bg); color: var(--ink); padding: var(--sp8) var(--sp16); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* layout: one container, 1240 of content and a 40 gutter (32 below 1200, 16 on a phone) */
.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--sp40)); margin: 0 auto; padding: 0 var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
@media (max-width: 767px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid > * { grid-column: 1 / -1; min-width: 0; }
.clip { overflow: clip; }

/* the button: ONE shape everywhere (DESIGN.md Components). A pastel fill, a 2px ink border, radius 8, 16/600, 52 high. .btn-alt is the same shape on the
   page ground, for the second action of a pair. It never wraps. Hover settles with the overshoot curve. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--sp24); border: var(--bw) solid var(--ink); border-radius: var(--r8); background: var(--cta); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--w-semi); letter-spacing: var(--ls-body); text-align: center; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform var(--dur) var(--ease), background-color var(--dur) ease; }
.btn:hover { color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-alt, .btn-outline { background: var(--bg); }
p a.btn, li a.btn { text-decoration: none; }
@media (max-width: 767px) { .cta .btn { width: 100%; } }

/* the banner (one quiet line, scrolls away) and the floating nav pill (sticky, 16 below the top, a 2px quiet border, radius 10) */
/* one <header> holds the banner and the floating pill; it lays out as its two children (display: contents), so the pill is sticky against the page and the banner scrolls away */
.site-top { display: contents; }
.banner { background: var(--tint-sky); font-size: var(--fs-small); line-height: var(--lh-small); }
.banner .wrap { margin: 0 auto; min-height: var(--banner-h); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: var(--sp8); text-align: center; color: var(--ink); }
.banner a { color: var(--ink); font-weight: var(--w-semi); }
.site-header { position: sticky; top: 0; z-index: 50; padding: var(--sp16) var(--pad) 0; pointer-events: none; }
.nav-pill { pointer-events: auto; max-width: var(--nav-w); height: var(--nav-h); margin: 0 auto; padding: 0 var(--sp8) 0 var(--sp24); display: flex; align-items: center; justify-content: space-between; column-gap: var(--sp24); background: var(--bg); border: var(--bw) solid var(--line); border-radius: var(--r10); }
.wordmark { display: inline-flex; align-items: center; column-gap: var(--sp8); color: var(--ink); font-weight: var(--w-semi); font-size: var(--fs-body); line-height: var(--lh-body); }
.wordmark:hover { color: var(--ink); }
.wordmark .mark { flex: none; }
.mark-b { fill: var(--ink); }
.mark-a { fill: var(--accent); }
.site-header nav { display: flex; align-items: center; column-gap: var(--sp24); font-size: var(--fs-small); line-height: var(--lh-small); }
.site-header nav .nav-opt { color: var(--g2); white-space: nowrap; }
.site-header nav .nav-opt:hover, .site-header nav .nav-opt[aria-current="page"] { color: var(--ink); }
.site-header .btn-nav { min-height: 52px; }
/* a phone cannot install the Mac app: below 768 px the header carries no download (the hero's phone action, See a sample report, is the one) */
@media (max-width: 767px) {
  .nav-pill { padding: 0 var(--sp16); column-gap: var(--sp16); }
  .site-header nav { column-gap: var(--sp16); }
  .site-header nav .nav-opt { min-height: 44px; display: inline-flex; align-items: center; }
  .site-header .btn-nav, .site-header nav .nav-how { display: none; }
}

/* SECTIONS. A plain section sits on the page ground. A section that changes tone (.tone) rises over the one before it with 80px rounded top corners, so
   the colour change reads as one continuous surface; the section before it keeps 80 more at its foot for that overlap. Every ground is light. */
.chapter, .plain { padding: var(--sp96) 0; position: relative; }
.tone { position: relative; margin-top: calc(-1 * var(--sp80)); padding: calc(var(--sp80) + var(--sp48)) 0 calc(var(--sp96) + var(--sp80)); border-radius: var(--r80) var(--r80) 0 0; background: var(--bg); }
.tone-sky { background: var(--tint-sky); }
.tone-mint { background: var(--tint-mint); }
@media (min-width: 768px) { .plain { padding: var(--sp128) 0; } .plain + .plain { padding-top: var(--sp64); } }   /* the reference's blocks breathe: 128 between two plain sections */
.plain:has(+ .tone), .chapter:has(+ .tone) { padding-bottom: calc(var(--sp96) + var(--sp80)); }
@media (max-width: 767px) {
  .chapter, .plain { padding: var(--sp64) 0; }
  .tone { margin-top: calc(-1 * var(--sp48)); padding: calc(var(--sp48) + var(--sp32)) 0 calc(var(--sp64) + var(--sp48)); border-radius: var(--r48) var(--r48) 0 0; }
  .plain:has(+ .tone), .chapter:has(+ .tone) { padding-bottom: calc(var(--sp64) + var(--sp48)); }
}
.band { padding: var(--band-y) 0; }
.on-g1 { background: var(--g1); }

/* a section's title and its one supporting line */
.sec-title { max-width: 22ch; }
.sec-lead { margin-top: var(--sp24); max-width: 26em; font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: var(--ls-lead); color: var(--g2); }
.caption { margin-top: var(--sp16); font-size: var(--fs-small); line-height: var(--lh-small); letter-spacing: var(--ls-small); color: var(--g2); }
.src { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); overflow-wrap: anywhere; }   /* a long host name breaks rather than spills a phone card (R20) */
.src a { color: var(--g2); }
.tag { display: inline-block; margin-top: var(--sp32); padding: var(--sp8) var(--sp16); border-radius: var(--r999); background: var(--bg); color: var(--g2); font-size: var(--fs-small); line-height: var(--lh-small); }

/* HERO: one centred column (the serif headline, its italic second half, one sentence, the button, the micro line), then the product in a big flat frame */
.hero { text-align: center; padding-top: var(--sp64); }
.hero .ch-copy { display: flex; flex-direction: column; align-items: center; }
.hero h1 .it { white-space: nowrap; }
.hero .lead { margin: var(--sp24) auto 0; max-width: 34ch; font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: var(--ls-lead); color: var(--ink); }
.hero .cta { margin-top: var(--sp32); }
@media (max-width: 767px) { .hero { padding-top: var(--sp32); } .hero .cta { align-self: stretch; } }
.micro { margin-top: var(--sp16); display: flex; flex-wrap: wrap; justify-content: center; column-gap: var(--sp16); row-gap: 0; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.micro li + li::before { content: "\00b7"; margin-right: var(--sp16); }
.micro a { color: var(--g2); }
/* the product frame: the live menu-bar film on the sand ground, a 2px ink border, radius 32, flat. Its poster (the last frame) is the frame's background and
   a real picture inside it, so JavaScript off, reduced motion and a refused play all show the product. */
.hero-film { position: relative; width: 100%; margin-top: var(--sp64); aspect-ratio: 16 / 9; border: var(--bw) solid var(--ink); border-radius: var(--r32); overflow: clip; background-color: var(--g1); background-image: url("/assets/hero-poster-wide.f0999ffe.webp"); background-position: 50% 50%; background-size: contain; background-repeat: no-repeat; }
.film-live { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.film-poster, .film-poster img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.film-poster img { object-fit: contain; object-position: 50% 50%; }
@media (max-width: 767px) {
  .hero-film { margin-top: var(--sp48); aspect-ratio: 390 / 380; border-radius: var(--r16); background-image: url("/assets/hero-poster-tall.bbfcad2e.webp"); background-size: cover; }
  .film-poster img { object-fit: cover; }
}

/* the media well: a 3:4 sand panel holding one picture in its final state; a live host over it plays the same scene near the screen (motion.js) */
.well { position: relative; aspect-ratio: 3 / 4; width: 100%; max-width: 456px; border: var(--bw) solid var(--ink); border-radius: var(--r32); overflow: clip; background: var(--g1); }
.well > svg, .well > .film-live { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.well-bg { fill: var(--g1); }
.ev-well .ev-bar.short { fill: var(--accent); }
.ev-bar { fill: var(--line); }
.ev-bar.pick { fill: var(--accent); }
.ev-mid { display: none; }
.ev-line { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 4; }
.ev-need { stroke: var(--ink); stroke-width: 2; }
.ev-txt { font-family: var(--font); font-size: var(--fs-small); line-height: var(--lh-small); fill: var(--g2); }
.ev-txt.strong { fill: var(--ink); font-weight: 600; }
.lad-n { font-size: var(--fs-body); }

/* THE STORY (home): three beats, the price of guessing wrong, 14 days of real work, one answer. Without scenes.js (no script, reduced motion, below 1024 px) the
   beats and their pictures read top to bottom. With it, the section is pinned and the scroll moves the pictures through one frame (scenes.js, html[data-scenes]). */
.story-grid { margin-top: var(--sp64); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--sp64); align-items: start; }
.beats { display: grid; row-gap: var(--sp32); position: sticky; top: var(--head-h); }
.beat { padding-left: var(--sp24); border-left: var(--bw) solid var(--ink); }
.beat h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); }
.beat p { margin-top: var(--sp16); max-width: 30rem; color: var(--g2); }
.beat .local-price { color: var(--ink); }
.story-track { display: grid; row-gap: var(--sp48); justify-items: center; }
.beat-vis { width: 100%; max-width: 456px; }
.beat-vis .well { max-width: none; }
.price-card { aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: center; padding: var(--sp40); border: var(--bw) solid var(--ink); border-radius: var(--r32); background: var(--bg); }
.pc-k { color: var(--g2); }
.pc-v { margin-top: var(--sp16); font-family: var(--serif); font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.pc-rows { margin-top: var(--sp32); display: grid; row-gap: var(--sp8); }
.pc-rows li { display: flex; justify-content: space-between; column-gap: var(--sp16); padding-top: var(--sp8); border-top: var(--bw) solid var(--line); }
.pc-src { margin-top: var(--sp32); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.story .tag { background: var(--bg); }
/* one column below 1024: each beat sits right above its own picture */
@media (max-width: 1023px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--sp32); }
  .beats, .story-stage, .story-track { display: contents; }
  .beat[data-beat="0"] { order: 1; } .beat-vis[data-vis="0"] { order: 2; }
  .beat[data-beat="1"] { order: 3; } .beat-vis[data-vis="1"] { order: 4; }
  .beat[data-beat="2"] { order: 5; } .beat-vis[data-vis="2"] { order: 6; }
  .beat-vis { justify-self: center; }
}
/* pinned (scenes.js): the three pictures stand in one frame and the scroll moves the track; the beat whose picture is in the frame is ink, the others grey */
html[data-scenes] .story[data-live] .story-stage { height: var(--anim-frame-h, 560px); width: calc(var(--anim-frame-h, 560px) * 3 / 4); margin: 0 auto; overflow: clip; border-radius: var(--r32); }
html[data-scenes] .story[data-live] .story-track { row-gap: 0; }
html[data-scenes] .story[data-live] .beat-vis { height: var(--anim-frame-h, 560px); max-width: none; }
html[data-scenes] .story[data-live] .beat-vis .well, html[data-scenes] .story[data-live] .price-card { height: 100%; width: 100%; }
html[data-scenes] .story[data-live] .beats { position: static; }
html[data-scenes] .story[data-live] .beat { border-left-color: var(--line); transition: border-color var(--dur) ease; }
html[data-scenes] .story[data-live] .beat h3, html[data-scenes] .story[data-live] .beat p { color: var(--g2); transition: color var(--dur) ease; }
html[data-scenes] .story[data-live] .beat[data-on] { border-left-color: var(--ink); }
html[data-scenes] .story[data-live] .beat[data-on] h3 { color: var(--ink); }

/* HOW: sticky step list on the left, the three steps with the real pieces on the right */
.how-grid { margin-top: var(--sp64); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--sp64); align-items: start; }
.how-tabs { position: sticky; top: var(--head-h); display: grid; row-gap: var(--sp8); }
.how-tabs a { display: flex; align-items: center; column-gap: var(--sp16); padding: var(--sp16) var(--sp24); border: var(--bw) solid var(--line); border-radius: var(--r16); background: var(--bg); color: var(--ink); font-size: var(--fs-lead); line-height: var(--lh-lead); text-decoration: none; transition: border-color var(--dur) ease, transform var(--dur) var(--ease); }
.how-tabs a:hover { border-color: var(--ink); transform: translateX(4px); }
.how-tabs .n { font-family: var(--serif); font-size: var(--fs-heading); line-height: var(--lh-heading); }
html[data-scenes] .how-tabs a[data-on] { border-color: var(--ink); background: var(--cta); }
.how-panels { display: grid; row-gap: var(--sp96); }
.how-panel h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); }
.how-panel > p { margin-top: var(--sp16); max-width: 34rem; color: var(--g2); }
.how-panel .well, .how-panel .clip-row, .how-panel .sheet { margin-top: var(--sp32); }
@media (max-width: 1023px) { .how-grid { grid-template-columns: minmax(0, 1fr); } .how-tabs { display: none; } .how-panels { row-gap: var(--sp64); } }
.sheet { width: 100%; }
.sheet img { width: 100%; height: auto; border: var(--bw) solid var(--ink); border-radius: var(--r16); background: var(--bg); }
.sheet figcaption { margin-top: var(--sp16); }
.sheet-link { display: block; cursor: zoom-in; }

/* SIZES: four cards, the size as a serif figure, who it fits, its source */
.sizes { margin-top: var(--sp96); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp24); }
.size-card { display: flex; flex-direction: column; padding: var(--sp32); border: var(--bw) solid var(--line); border-radius: var(--r32); background: var(--bg); transition: border-color var(--dur) ease, transform var(--dur) var(--ease); }
.size-card:hover { border-color: var(--ink); transform: translateY(-4px); }
@media (min-width: 1200px) { .size-card { min-height: 440px; } .sz { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); } }   /* the size is the picture: display serif, the card tall like the reference's stat panels */
.sz { font-family: var(--serif); font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--ls-title); }
.sz-t { margin-top: var(--sp24); }
.size-card .src { margin-top: var(--sp16); }
.sz-a { margin-top: auto; padding-top: var(--sp24); }
@media (max-width: 1199px) { .sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp16); } .size-card { padding: var(--sp16); border-radius: var(--r16); } .sz-t { margin-top: var(--sp16); } }

/* FOR YOU: six workload cards in the pastel family, each with a vendor figure and its page */
.personas { margin-top: var(--sp64); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp24); }
.persona { display: flex; flex-direction: column; min-height: 320px; padding: var(--sp32); border-radius: var(--r32); background: var(--tint-sky); transition: transform var(--dur) var(--ease); }
.persona:nth-child(3n + 2) { background: var(--tint-peach); }
.persona:nth-child(3n) { background: var(--tint-mint); }
.persona:hover { transform: translateY(-4px); }
.persona h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); }
.persona > p:not(.src):not(.ps-a) { margin-top: var(--sp16); }
.persona .src { margin-top: var(--sp16); }
.ps-a { margin-top: auto; padding-top: var(--sp24); }
.ps-a a, .sz-a a { color: var(--ink); font-weight: var(--w-semi); }
@media (max-width: 1023px) { .personas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .personas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp16); } .persona { min-height: 0; padding: var(--sp16); border-radius: var(--r16); } }

/* PRIVACY: one big sand panel, radius 48 */
.privacy-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--sp64); row-gap: var(--sp48); align-items: center; padding: var(--sp96) var(--sp64); border-radius: var(--r48); background: var(--g1); }
.trust-link { margin-top: var(--sp24); }
.rec-list { display: grid; row-gap: var(--sp16); }
.rec-list .fig-h { color: var(--g2); }
.rec-list .fig-l { display: grid; row-gap: var(--sp8); font-family: var(--serif); font-size: var(--fs-heading); line-height: var(--lh-heading); }
@media (max-width: 1023px) { .privacy-panel { grid-template-columns: minmax(0, 1fr); padding: var(--sp32); } }

/* THE EVIDENCE WALL: real figures with their sources, no quotes. Without scenes.js the cards wrap in the container; with it, two rows run sideways as you
   scroll (scrubbed, scenes.js), clipped by the section */
.wall { overflow: clip; }
.wall-clip { margin-top: var(--sp64); }
.wall-rows { display: grid; row-gap: var(--sp24); max-width: calc(var(--content) + 2 * var(--sp40)); margin: 0 auto; padding: 0 var(--pad); }
.wall-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp24); }   /* at rest (no script, reduced motion): two wide columns, so a window holds a readable handful of cards */
.ev-card { display: flex; flex-direction: column; min-height: 240px; padding: var(--sp32); border: var(--bw) solid var(--ink); border-radius: var(--r32); background: var(--bg); }
.ev-price { background: var(--tint-peach); }
.ev-vendor { background: var(--tint-sky); }
.ev-v { font-family: var(--serif); font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--ls-title); }
.ev-t { margin-top: var(--sp16); }
.ev-card .src { margin-top: auto; padding-top: var(--sp24); }

@media (max-width: 767px) { .wall-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp16); } .wall-rows { row-gap: var(--sp16); } .ev-card { min-height: 0; padding: var(--sp16); border-radius: var(--r16); } .ev-v { font-size: var(--fs-heading); line-height: var(--lh-heading); } }
html[data-scenes] .wall[data-live] .wall-rows { max-width: none; padding: 0; overflow: visible; }
html[data-scenes] .wall[data-live] .wall-row { display: flex; width: max-content; padding: 0 var(--pad); }
html[data-scenes] .wall[data-live] .ev-card { flex: 0 0 420px; min-height: 280px; }

/* FAQ: two panes, the question on the left, accordions on the right (native <details>: no script needed) */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--sp64); row-gap: var(--sp48); align-items: start; }
.faq-head { position: sticky; top: var(--head-h); }
.faq-list { padding: var(--sp8) var(--sp32); border: var(--bw) solid var(--ink); border-radius: var(--r32); background: var(--bg); }
.faq-list details + details { border-top: var(--bw) solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; column-gap: var(--sp16); padding: var(--sp24) 0; cursor: pointer; list-style: none; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: var(--fs-heading); line-height: var(--lh-heading); color: var(--g2); transition: transform var(--dur) var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { padding-bottom: var(--sp24); max-width: 40rem; color: var(--g2); }
@media (max-width: 1023px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-head { position: static; } }
@media (max-width: 767px) { .faq-list { padding: 0 var(--sp16); border-radius: var(--r16); } }

/* THE CLOSING ASK: the one other centred block, the display serif */
.final { text-align: center; }
.final .display { max-width: 12ch; margin: 0 auto; }
.final .cta { margin-top: var(--sp48); }
.final .caption { margin-top: var(--sp24); }

/* PRICING: cards on the page ground, radius 32, a tilted pill badge on each, the price in the serif */
.pricing-hero { text-align: center; padding-bottom: var(--sp48); }
.pricing-hero .lead { margin: var(--sp24) auto 0; max-width: 36ch; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.plans-sec { padding: var(--sp48) 0 var(--sp96); }
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp24); max-width: 912px; margin: 0 auto; }
.pcard p, .pcard ul { margin-bottom: 0; }
.pcard { position: relative; display: flex; flex-direction: column; padding: var(--sp48) var(--sp32) var(--sp32); border: var(--bw) solid var(--ink); border-radius: var(--r32); background: var(--bg); }
.pcard-free { border-color: var(--line); }
.pill-badge { position: absolute; top: 0; left: 50%; translate: -50% -50%; rotate: -4deg; padding: var(--sp8) var(--sp16); border: var(--bw) solid var(--ink); border-radius: var(--r999); font-weight: var(--w-semi); line-height: var(--lh-body); }
.pb-sky { background: var(--cta); }
.pb-peach { background: var(--tint-peach); }
.pc-for { color: var(--g2); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--w-regular); }
.pc-price { margin-top: var(--sp16); font-family: var(--serif); font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--ls-title); }
.pc-cta { margin-top: var(--sp32); }
.pc-cta .btn { width: 100%; }
.pc-inc { margin-top: var(--sp32); color: var(--g2); font-style: italic; }
.checks { margin-top: var(--sp16); display: grid; row-gap: var(--sp16); }
.checks li { position: relative; padding-left: var(--sp32); }
.checks li::before { content: ""; position: absolute; left: var(--sp8); top: var(--sp8); width: var(--sp8); height: 4px; border-left: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); rotate: -45deg; }
.plan-soon { display: inline-block; margin-left: var(--sp8); padding: 0 var(--sp8); border-radius: var(--r999); background: var(--g1); color: var(--g2); font-size: var(--fs-small); line-height: var(--lh-small); }
.price-note { margin: var(--sp32) auto 0; max-width: 912px; text-align: center; color: var(--g2); }
@media (max-width: 767px) { .price-cards { grid-template-columns: minmax(0, 1fr); row-gap: var(--sp48); } }

/* TEMPLATES (DESIGN.md Templates): the persona, compare, guide and FAQ pages the content lane fills. Built from the same parts as the home page. */
.page-head { padding-bottom: var(--sp48); }
.page-head h1 { max-width: 20ch; }
.page-head .cta { margin-top: var(--sp32); }
.crumbs { margin-bottom: var(--sp24); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.crumbs a { color: var(--g2); }
.sizes.sizes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpl-steps { margin-top: var(--sp48); display: grid; row-gap: var(--sp16); counter-reset: st; }
.tpl-steps li { counter-increment: st; display: flex; align-items: baseline; column-gap: var(--sp24); padding: var(--sp24) var(--sp32); border: var(--bw) solid var(--line); border-radius: var(--r16); background: var(--bg); }
.tpl-steps li::before { content: counter(st); font-family: var(--serif); font-size: var(--fs-heading); line-height: var(--lh-heading); }
.cmp-wrap { margin-top: var(--sp48); overflow-x: auto; border: var(--bw) solid var(--ink); border-radius: var(--r32); background: var(--bg); }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: var(--sp24) var(--sp32); text-align: left; }
.cmp-table thead th { font-weight: var(--w-semi); }
.cmp-table thead th + th, .cmp-table td { width: 24%; }
.cmp-table tbody tr { border-top: var(--bw) solid var(--line); }
.cmp-table tbody th { font-weight: var(--w-regular); }
/* the mark is drawn (a rotated 2px corner for yes, a 2px bar for no), the word beside it carries the meaning: no checkmark glyph */
.ck span { display: inline-flex; align-items: center; column-gap: var(--sp16); }
.ck span::before { content: ""; display: inline-block; width: var(--sp16); height: var(--sp8); }
.ck-yes span::before { border-left: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); rotate: -45deg; translate: 0 -2px; }
.ck-no span::before { height: 0; border-top: var(--bw) solid var(--line); }
.ck-no { color: var(--g2); }
@media (max-width: 767px) { .cmp-table th, .cmp-table td { padding: var(--sp16); } .sizes.sizes-3 { grid-template-columns: minmax(0, 1fr); } }
.guide-body { max-width: 40rem; margin-top: var(--sp48); }
.guide-body h2 { margin-top: var(--sp64); font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); }
.guide-body p { margin-top: var(--sp16); }
.callout { margin-top: var(--sp48); padding: var(--sp32); border-radius: var(--r32); background: var(--tint-sky); }
.callout p { margin-top: 0; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.callout .cta { margin-top: var(--sp24); }

/* install page */
.install-main { max-width: 800px; }
.install-main .sec-lead { max-width: 34rem; }
.install-main .note { margin-top: var(--sp24); max-width: 34rem; color: var(--g2); }
.install-cmd { margin-top: var(--sp32); }
.cmdbox { background: var(--g1); border-radius: var(--r16); padding: var(--sp24) 0 var(--sp24) var(--sp24); }
.cmdbox code { display: block; font-size: var(--fs-body); line-height: var(--lh-body); white-space: pre; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--g2) transparent; padding-bottom: var(--sp8); padding-right: var(--sp24); user-select: all; color: var(--ink); }   /* one line, never broken inside the URL (WEB-P3-11): a long command scrolls sideways INSIDE its box, never the page */
.cmdbox code:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cmdbox:target, .cmdbox:focus-within { background: var(--g1); outline: 2px solid var(--accent); outline-offset: 2px; }
.install-cmd .btn { margin-top: var(--sp24); }
.disclosures { margin-top: var(--sp48); }
.disclosures details + details { margin-top: var(--sp16); }
.disclosures summary { cursor: pointer; font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: var(--ls-lead); font-weight: 600; list-style: none; }
.disclosures summary::-webkit-details-marker { display: none; }
.disclosures summary::before { content: "+"; display: inline-block; width: var(--sp24); color: var(--g2); }
.disclosures details[open] summary::before { content: "\2212"; }
.disclosures details > :not(summary) { margin-top: var(--sp16); max-width: 34rem; color: var(--g2); }
.disclosures .cmdbox { margin-top: var(--sp16); }
.install-os { margin-top: var(--sp96); }
.install-os h2 { font-size: var(--fs-heading); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); }
.install-os .cmdbox { margin-top: var(--sp24); }
.install-os p { margin-top: var(--sp16); color: var(--g2); max-width: 34rem; }
.install-os .btn { margin-top: var(--sp8); }
.app-slot { margin-top: var(--sp24); }
.dmg-fig { margin-top: var(--sp24); max-width: 342px; }
.dmg-fig svg { display: block; width: 100%; height: auto; }
.dmg-fig .tile { fill: var(--g1); }
.dmg-fig .app { fill: var(--bg); }
.dmg-fig .arrow { fill: none; stroke: var(--g2); stroke-width: 1.5px; stroke-linecap: round; stroke-linejoin: round; }
.dmg-fig text { fill: var(--ink); font-family: var(--font); font-size: var(--fs-small); }

/* THE DEEP FOOTER: every page, in five columns, then the wordmark across the whole container. It rises over the closing ask like a tone change. */
.site-footer { position: relative; margin-top: calc(-1 * var(--sp80)); padding: var(--sp96) 0 var(--sp48); border-radius: var(--r80) var(--r80) 0 0; background: var(--bg); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--g2); }
.foot-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp32); }
.foot-h { color: var(--g2); margin-bottom: var(--sp16); }
.foot-col ul { display: grid; row-gap: var(--sp8); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.foot-word { display: block; margin-top: var(--sp96); }
.foot-word svg { width: 100%; height: auto; }
.foot-word text { font-family: var(--font); font-weight: var(--w-semi); font-size: var(--fs-display); letter-spacing: var(--ls-title); fill: var(--ink); }
.fw-narrow { display: none; }
.foot-meta { margin-top: var(--sp48); display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: var(--sp24); row-gap: var(--sp8); }
.foot-meta p { margin: 0; }
.foot-meta a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .site-footer { margin-top: calc(-1 * var(--sp48)); padding-top: var(--sp64); border-radius: var(--r48) var(--r48) 0 0; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp48); }
  .foot-col a { overflow-wrap: anywhere; }   /* the address may break in half a row at 320 instead of overflowing it */
  .foot-word { margin-top: var(--sp64); }
  .fw-wide { display: none; }
  .fw-narrow { display: block; }
}

/* small UI settles with the overshoot curve; nothing moves under reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* (ii) V14: page to page is the browser's own view transition, CSS only. The header stays still; the verdict morphs between the home page and the sample report. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  .verdict-chip, .rp-answer { view-transition-name: sml-verdict; }
  ::view-transition-group(root) { animation-duration: var(--dur); }
}
.verdict-chip { display: inline-block; }
/* (i) V13: the cursor says what is possible, with native keywords only */
.cmdbox, [data-copy] { cursor: copy; }
/* the header mark's two app glyphs (V16) are not shown until the visitor runs them; on pages without motion.css they never show */
[data-egg] .egg { display: none; }
.egg-tick { stroke: var(--bg); }
main[tabindex="-1"]:focus, .how-panel:focus { outline: none; }
.guide-body ul, .guide-body ol { margin-top: var(--sp16); padding-left: var(--sp24); }
.guide-body ul { list-style: disc; }
.guide-body ol { list-style: decimal; }
.guide-body li + li { margin-top: var(--sp8); }
.guide-body code { font-family: var(--mono); }
/* the floating pill (104 with its air) never covers a heading the browser brings to the top: anchors, find in page, scrollIntoView, the pinned and scrubbed scenes */
h1, h2, h3, [data-scroll-scene] { scroll-margin-top: var(--head-h); }
.pg-fig { margin-top: var(--sp48); max-width: 40rem; }
.pg-well, .pg-sheet { max-width: 24rem; }
.pg-sheet img { display: block; width: 100%; height: auto; border: var(--bw) solid var(--ink); border-radius: var(--r16); }
