/* Starholm website: the one stylesheet shared by every page.
   Order: fonts, design tokens, base, site chrome (nav, menus, footer), components,
   homepage scroll stages, the app clips, inner pages, reduced motion.
   Interaction states follow the design system, version 2 (_ops/data/2026-11-23-brand/spec/): nothing moves,
   lifts, slides or scales on hover or press. The two approved movements, the segmented control's
   selection and the source-name arrow, use transform only and stop under reduced motion.
   Colour: every colour is a token from the block below or a token mixed with transparency.
   Burnt orange is kept for the download buttons. Everything else interactive is monochrome. */

/* ---------- fonts: both under the SIL Open Font License 1.1, loaded from this folder ---------- */
@font-face { font-family: "Crimson Pro"; src: url(fonts/CrimsonPro-VariableFont_wght.ttf) format("truetype"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url(fonts/CrimsonPro-Italic-VariableFont_wght.ttf) format("truetype"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Mulish"; src: url(fonts/Mulish-latin-wght.woff2) format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }

/* ==========================================================================
   Design tokens, version 2: _ops/data/2026-11-23-brand/spec/tokens.css, copied unchanged.
   They replace docs/design/tokens.css when the spec is applied there. Edit them at the source.
   ========================================================================== */
/* Starholm design tokens, version 2 (brand review round 2, 23 November 2026).
   This file is docs/design/tokens.css with the accepted changes applied. Copy it over docs/design/tokens.css
   in the change that applies the spec; every change from version 1 is marked "v2". The rules: spec/design-system.md.
   The guide that explains each token: docs/design/style-guide.md.
   Colour token names match app/static/app.css, so the app changes values, not names.
   Light is the default. Dark follows the system unless the page forces a theme with
   data-t (the app) or data-theme (the website). The font pack is opt-in with data-font="starholm". */

/* ---------- colour: light ---------- */
:root {
  /* surfaces */
  --bg:             #F5F3EE;
  --bg-sidebar:     #EEEBE5;
  --surface:        #EEEBE5;
  --surface-2:      #E8E5DE;
  --surface-hover:  #E6E2DA;
  --surface-active: #DFDAD1;   /* selected rows and pressed fills; never behind orange text (3.9:1) */
  --bg-user:        #EAE6DF;
  --bg-code:        #EEEBE5;
  --border:         #E0DBD1;
  --border-strong:  #CFC9BD;
  /* text */
  --text:           #161514;   /* v2: warm near-black, 16.4:1 on --bg (was #000000) */
  --text-muted:     #555555;
  --text-faint:     #6A6A6A;
  /* accent: burnt orange */
  --accent:         #B5521B;
  --accent-text:    #AC4E1A;
  --accent-soft:    #F1E2D6;
  --accent-ink:     #FFFFFF;
  /* supporting */
  --danger:         #A8322A;
  --danger-soft:    #F5E3DF;
  --ok:             #2F6B3A;
  --warn:           #8A5A0E;
  --highlight:      #F0E6DA;
  --highlight-line: #B5521B;
  --select-bg:      #BFCBE0;
  --select-ink:     #161514;   /* v2 */
  /* brand */
  --navy:           #22344F;
  --navy-text:      #22344F;
  --on-navy:        #F5F3EE;
  --sand:           #D9CDB8;
  --brown:          #3A2A20;
  --tag-bg:         #D9CDB8;
  --tag-text:       #3A2A20;
  color-scheme: light;
}

/* ---------- colour: dark ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-t="light"]):not([data-theme="light"]) {
    --bg:             #171716;
    --bg-sidebar:     #1D1C1B;
    --surface:        #21201E;
    --surface-2:      #272624;
    --surface-hover:  #2A2927;
    --surface-active: #32312E;
    --bg-user:        #272624;
    --bg-code:        #121211;
    --border:         #2B2A28;
    --border-strong:  #3A3936;
    --text:           #EDEBE6;
    --text-muted:     #B5B1AA;
    --text-faint:     #8F8B85;
    --accent:         #B5521B;
    --accent-text:    #E0814A;
    --accent-soft:    #2E211A;
    --accent-ink:     #FFFFFF;
    --danger:         #EC8277;
    --danger-soft:    #2F2322;
    --ok:             #7FC28B;
    --warn:           #E2B25A;
    --highlight:      #2A231D;
    --highlight-line: #E0814A;
    --select-bg:      #2E4A72;
    --select-ink:     #FFFFFF;
    --navy:           #2B3E5C;
    --navy-text:      #7C9AD1;
    --on-navy:        #F5F3EE;
    --sand:           #D9CDB8;
    --brown:          #3A2A20;
    --tag-bg:         #3A2A20;
    --tag-text:       #D9CDB8;
    /* light text on dark looks heavier, so dark runs one notch thinner */
    --w-light:        260;
    --w-regular:      370;
    --w-medium:       460;
    color-scheme: dark;
  }
}
:root[data-t="dark"], :root[data-theme="dark"] {
  --bg:             #171716;
  --bg-sidebar:     #1D1C1B;
  --surface:        #21201E;
  --surface-2:      #272624;
  --surface-hover:  #2A2927;
  --surface-active: #32312E;
  --bg-user:        #272624;
  --bg-code:        #121211;
  --border:         #2B2A28;
  --border-strong:  #3A3936;
  --text:           #EDEBE6;
  --text-muted:     #B5B1AA;
  --text-faint:     #8F8B85;
  --accent:         #B5521B;
  --accent-text:    #E0814A;
  --accent-soft:    #2E211A;
  --accent-ink:     #FFFFFF;
  --danger:         #EC8277;
  --danger-soft:    #2F2322;
  --ok:             #7FC28B;
  --warn:           #E2B25A;
  --highlight:      #2A231D;
  --highlight-line: #E0814A;
  --select-bg:      #2E4A72;
  --select-ink:     #FFFFFF;
  --navy:           #2B3E5C;
  --navy-text:      #7C9AD1;
  --on-navy:        #F5F3EE;
  --sand:           #D9CDB8;
  --brown:          #3A2A20;
  --tag-bg:         #3A2A20;
  --tag-text:       #D9CDB8;
  --w-light:        260;
  --w-regular:      370;
  --w-medium:       460;
  color-scheme: dark;
}

/* ---------- covers: the same in both themes ---------- */
:root {
  --cover-navy:       #22344F;  --cover-navy-wash:      #2C4163, #1C2C44, #34496B;  --cover-navy-ink:      #F5F3EE;  --cover-navy-line:      #F5F3EE;
  --cover-chocolate:  #3A2A20;  --cover-chocolate-wash: #4A372A, #2F221A, #56402F;  --cover-chocolate-ink: #F5F3EE;  --cover-chocolate-line: #D9CDB8;
  --cover-ember:      #8C3E14;  --cover-ember-wash:     #9A4518, #7A3511, #A04A1C;  --cover-ember-ink:     #F5F3EE;  --cover-ember-line:     #F5F3EE;
  --cover-sand:       #D9CDB8;  --cover-sand-wash:      #CFC1A8, #E4DAC8, #C8B99C;  --cover-sand-ink:      #3A2A20;  --cover-sand-line:      #3A2A20;
  --cover-stone:      #DAD6CE;  --cover-stone-wash:     #CFCAC0, #E6E3DD, #C6C1B6;  --cover-stone-ink:     #22344F;  --cover-stone-line:     #22344F;
  --cover-line-minor: 0.16;     /* contour line opacity; sand and chocolate use 0.18 */
  --cover-line-major: 0.30;     /* every fourth line; sand and chocolate use 0.32, ember 0.28 */
  /* text band: the cover's ground colour over the top 66% (fading out by 90%) at this opacity,
     so the text keeps 4.5:1 where contour lines cross it */
  --cover-navy-band: 0.42;  --cover-chocolate-band: 0.30;  --cover-ember-band: 0.66;  --cover-sand-band: 0.38;  --cover-stone-band: 0.34;
  /* v2: the stronger band while a cover is hovered, when its contour lines brighten (x2.1); keeps the title at 4.5:1 or more */
  --cover-navy-band-hover: 0.60;  --cover-chocolate-band-hover: 0.52;  --cover-ember-band-hover: 0.80;  --cover-sand-band-hover: 0.60;  --cover-stone-band-hover: 0.54;
}

/* ---------- type ---------- */
:root {
  /* families: the system font is the default; the Starholm pack is opt-in */
  --font-system: -apple-system, BlinkMacSystemFont, ui-sans-serif, system-ui, sans-serif;
  --font-serif:  "Crimson Pro", Georgia, "Times New Roman", serif;
  --font-sans:   "Mulish", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-ui:     var(--font-system);   /* interface: buttons, labels, sidebar */
  --font-read:   var(--font-system);   /* paragraphs and chat answers */
  --font-head:   var(--font-system);   /* headings */

  /* weights (light mode; dark lowers light, regular and medium, see the dark blocks).
     Crimson Pro and Mulish are variable fonts, so in-between weights render exactly. */
  --w-thin:    200;   /* display */
  --w-light:   300;   /* serif headings and body, sans eyebrows */
  --w-regular: 400;   /* buttons, labels, eyebrows, any text under 15 px */
  --w-medium:  500;   /* bold inside light body text */

  /* letter spacing: capitals open up, lowercase tightens slightly */
  --ls-display: -0.02em;
  --ls-h1:      -0.015em;
  --ls-head:    -0.01em;
  --ls-body:    -0.005em;
  --ls-label:    0.01em;
  --ls-button:   0.04em;
  --ls-caps:     0.16em;   /* Eyebrow role */
  --ls-micro:    0.12em;   /* v2: Micro role (table heads, cover tags, footer column heads) */

  /* scale (px), line height alongside */
  --fs-display: 62px;  --lh-display: 1.03;   /* website hero only */
  --fs-h1:      42px;  --lh-h1:      1.1;
  --fs-h2:      30px;  --lh-h2:      1.2;
  --fs-h3:      23px;  --lh-h3:      1.3;
  --fs-lead:    20px;  --lh-lead:    1.55;
  --fs-body:    18px;  --lh-body:    1.65;   /* Crimson Pro; the system font reads at 15 px */
  --fs-small:   16px;  --lh-small:   1.5;
  --fs-button:  14px;
  --fs-label:   13px;  --lh-label:   1.4;
  --fs-eyebrow: 12px;  --lh-eyebrow: 1.3;   /* v2: weight 400, not 300 */
  --fs-micro:   11px;  --lh-micro:   1.3;   /* v2: the only other capitals size; weight 400 */

  /* v2: sizes named by job, so a homepage h2 and a page h1 can share a size without sharing a name */
  --fs-page-title:    var(--fs-h1);
  --fs-section-title: var(--fs-h1);
}
/* v2: phone scale, below 640 px */
@media (max-width: 640px) {
  :root { --fs-display: 44px; --fs-h1: 34px; --fs-h2: 26px; --fs-h3: 21px; --fs-body: 18px; --fs-lead: 19px; }
}

/* ---------- v2: spacing, radii, shadows, motion, states ---------- */
:root {
  /* spacing: a 4-based scale; gaps, padding and margins use these and nothing in between */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;  --space-4: 16px;  --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 72px;  --space-9: 120px;
  --section-y: var(--space-9);   /* top and bottom padding of a page section; 80 px on phones */

  /* radii */
  --radius-sm:    4px;     /* controls: buttons, fields, icon buttons, segments inside a segmented control */
  --radius-md:    8px;     /* covers, menus, the segmented control's track */
  --radius-lg:    12px;    /* cards, panels, dialogs, the hero chat, the Wi-Fi box */
  --radius-round: 999px;   /* tags, chips, switches, the round send button */

  /* shadows: they take no space, so nothing around them moves */
  --shadow-soft:  0 16px 32px -20px color-mix(in srgb, #000 45%, transparent);   /* a hovered card or cover */
  --shadow-float: 0 0 0 1px var(--border), 0 10px 24px -12px color-mix(in srgb, #000 35%, transparent);   /* menus, popovers, dialogs */
  --sink:         inset 0 1px 3px color-mix(in srgb, #000 28%, transparent);    /* pressed: the surface sinks */

  /* motion: three durations and one curve */
  --dur-quick: 120ms;   /* hover in and out, colour changes */
  --dur-base:  260ms;   /* things that appear, a segmented control's selection gliding, the source arrow */
  --dur-slow:  520ms;   /* the website clips */
  --ease:      cubic-bezier(.2, .7, .2, 1);

  /* states: every tint is mixed from a colour token, so dark mode follows by itself */
  --focus:        var(--navy-text);                                   /* the one focus ring: 2 px, offset 2 */
  --ring:         2px solid var(--focus);
  --wash-hover:   color-mix(in srgb, var(--text) 6%, transparent);    /* quiet things: ghost buttons, nav, rows, segments */
  --wash-press:   color-mix(in srgb, var(--text) 12%, transparent);
  --accent-hover: color-mix(in srgb, var(--accent) 86%, #000);        /* orange only gets deeper, so white text keeps 4.5:1 */
  --accent-press: color-mix(in srgb, var(--accent) 74%, #000);
  --navy-hover:   color-mix(in srgb, var(--navy) 88%, var(--on-navy));
  --navy-press:   color-mix(in srgb, var(--navy) 78%, #000);
}
@media (max-width: 640px) { :root { --section-y: 80px; } }
@media (prefers-contrast: more) { :root { --ring: 3px solid var(--focus); } }
:root[data-font="starholm"] {
  --font-ui:   var(--font-sans);
  --font-read: var(--font-serif);
  --font-head: var(--font-serif);
}

/* ==========================================================================
   Website tokens: values the site adds on top of the shared tokens
   ========================================================================== */
:root {
  /* two colours that must not change with the theme (text and glass over the hero photo): both are tokens.css values */
  --fixed-dark:  #121211;   /* dark --bg-code */
  --fixed-light: #F5F3EE;   /* --on-navy */
  --sheen: color-mix(in srgb, var(--accent-text) 55%, var(--sand));
  --glow:  color-mix(in srgb, var(--accent-text) 70%, transparent);
  --spot:  color-mix(in srgb, var(--accent-text) 40%, transparent);
  --dim:   color-mix(in srgb, var(--fixed-dark) 32%, transparent);
  --glass: color-mix(in srgb, var(--bg) 62%, transparent);
  --glass-line: color-mix(in srgb, var(--text) 8%, transparent);
  --radius-card: var(--radius-lg); --inset: 72px; --max: 1180px; --vh: 100svh; --nav-h: 60px;
  --gutter: max(24px, env(safe-area-inset-left, 0px));
  /* printed pages inside the clips stay light in both themes: the light values of --surface-active and --border-strong */
  --paper-line: #DFDAD1; --paper-line-strong: #CFC9BD;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --sheen: var(--sand); --glow: color-mix(in srgb, var(--sand) 85%, transparent); --spot: color-mix(in srgb, var(--sand) 40%, transparent);
  --dim: color-mix(in srgb, var(--fixed-dark) 45%, transparent); --glass: color-mix(in srgb, var(--bg) 60%, transparent); } }
:root[data-theme="dark"] {
  --sheen: var(--sand); --glow: color-mix(in srgb, var(--sand) 85%, transparent); --spot: color-mix(in srgb, var(--sand) 40%, transparent);
  --dim: color-mix(in srgb, var(--fixed-dark) 45%, transparent); --glass: color-mix(in srgb, var(--bg) 60%, transparent); }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-read); font-size: var(--fs-body); font-weight: var(--w-light);
  line-height: var(--lh-body); letter-spacing: var(--ls-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--w-light); }
h2 { font-size: var(--fs-h1); letter-spacing: var(--ls-h1); line-height: var(--lh-h1); text-wrap: balance; }
h3 { font-size: var(--fs-h3); letter-spacing: var(--ls-head); line-height: var(--lh-h3); }
strong, b { font-weight: var(--w-medium); }
a { color: var(--navy-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--select-bg); color: var(--select-ink); }
:focus-visible { outline: var(--ring); outline-offset: 2px; }
/* the focus ring over the hero photo and on coloured grounds takes the text colour, so it shows on both */
:is(.hero, .nav.on-photo, .c-card, .cover, .fcardx, .plan.paid) :focus-visible { outline-color: currentColor; }
:is(.cover, .c-front, .lcard):focus-visible { outline-offset: 3px; }
.in { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eb { font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: var(--w-regular); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--text-muted); line-height: var(--lh-eyebrow); display: block; }
.micro { font-family: var(--font-ui); font-size: var(--fs-micro); font-weight: var(--w-regular); letter-spacing: var(--ls-micro); text-transform: uppercase; line-height: var(--lh-micro); }
.label { font-family: var(--font-ui); font-size: var(--fs-label); font-weight: var(--w-regular); letter-spacing: var(--ls-label); line-height: var(--lh-label); }

/* buttons (design system v2): orange is for downloads only, navy is the secondary button, ghost is the quiet one.
   Hover deepens the fill or washes the ghost; press sinks; nothing moves. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; font-family: var(--font-ui); font-size: var(--fs-button); font-weight: var(--w-regular); letter-spacing: var(--ls-button); line-height: 1;
  padding: 14px 24px; border-radius: var(--radius-sm); border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; background: var(--navy); color: var(--on-navy);
  transition: background-color var(--dur-quick) ease, color var(--dur-quick) ease, box-shadow var(--dur-quick) ease; }
.btn:hover { background: var(--navy-hover); }
.btn:active { background: var(--navy-press); box-shadow: var(--sink); transition-duration: 0s; }
.btn.dl { background: var(--accent); color: var(--accent-ink); }
.btn.dl:hover { background: var(--accent-hover); }
.btn.dl:active { background: var(--accent-press); box-shadow: var(--sink); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.btn.ghost:hover { background: var(--wash-hover); box-shadow: inset 0 0 0 1px var(--text); }
.btn.ghost:active { background: var(--wash-press); box-shadow: inset 0 0 0 1px var(--text), var(--sink); }
.btn.soon { pointer-events: none; cursor: default; color: var(--text-muted); }   /* a download that is not out yet (Windows) */
.btn.on-dark { background: var(--fixed-light); color: var(--cover-navy); }
.btn.on-dark:hover { background: color-mix(in srgb, var(--fixed-light) 88%, var(--cover-navy)); }
.btn.on-dark:active { background: color-mix(in srgb, var(--fixed-light) 78%, var(--cover-navy)); box-shadow: var(--sink); }
.btn:is(:disabled, [aria-disabled="true"]) { background: var(--surface-2); color: var(--text-faint); box-shadow: none; cursor: not-allowed; }
.btn.ghost:is(:disabled, [aria-disabled="true"]) { background: transparent; box-shadow: inset 0 0 0 1px var(--border); }
/* text links and links that leave the site: navy, a 40% underline that fills on hover; external ones carry the
   arrow-in-a-square icon, open in a new tab and say so to screen readers */
.prose a, .ln, .plainpage a { color: var(--navy-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); border-radius: 2px;
  transition: text-decoration-color var(--dur-quick) ease, color var(--dur-quick) ease, background-color var(--dur-quick) ease; }
:is(.prose a, .ln, .plainpage a):hover { text-decoration-color: currentColor; }
:is(.prose a, .ln, .plainpage a):active { color: var(--text); text-decoration-color: currentColor; background: var(--wash-hover); transition-duration: 0s; }
.ext { display: inline-block; width: 0.8em; height: 0.8em; margin-left: 0.22em; vertical-align: -0.02em; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; transition: opacity var(--dur-quick) ease; }
a:is(:hover, :active) .ext { opacity: 1; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tag { display: inline-flex; align-items: center; font-family: var(--font-ui); font-size: var(--fs-label); letter-spacing: var(--ls-label); font-weight: var(--w-regular); padding: 4px 12px; border-radius: var(--radius-round); background: var(--tag-bg); color: var(--tag-text); white-space: nowrap; }

/* placeholder text: parts the site plan has no copy for yet. Always in square brackets, faint and italic. */
.tbd { color: var(--text-faint); font-style: italic; }
.tbd-lines, .lock-lines { display: grid; gap: 13px; margin: 8px 0 26px; max-width: 62ch; }
.tbd-lines i, .lock-lines i { display: block; height: 9px; border-radius: 5px; background: var(--surface-active); }
.tbd-lines i:nth-child(3n+2), .lock-lines i:nth-child(3n+2) { width: 94%; } .tbd-lines i:nth-child(3n), .lock-lines i:nth-child(3n) { width: 88%; } .tbd-lines i:last-child, .lock-lines i:last-child { width: 52%; }

/* ==========================================================================
   Site chrome: glass nav, menus, footer
   ========================================================================== */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px); color: var(--text);
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--glass-line); transition: background 250ms ease, color 250ms ease; }
.nav.on-photo { color: var(--fixed-light); background: color-mix(in srgb, var(--fixed-dark) 22%, transparent); border-bottom-color: color-mix(in srgb, var(--fixed-light) 12%, transparent); }
.nav .in { display: flex; align-items: center; gap: 6px; height: var(--nav-h); }
.word { display: inline-flex; align-items: center; font-size: 0; line-height: 0; color: inherit; text-decoration: none; }
/* The name is drawn from the brand files as a mask in the text colour, so it follows light and dark; the link text
   stays in the page for screen readers. Nav and phone menu: the W1 lettering alone, 16.5 px tall (brand page 13).
   Footer: the logo, R3a icon plus W1, 35.4 px tall. */
.word::before { content: ""; flex: none; width: 89px; height: 16.5px; background: currentColor; -webkit-mask: url(img/wordmark.svg) left center / contain no-repeat; mask: url(img/wordmark.svg) left center / contain no-repeat; }
.fcardx .word::before { width: 176px; height: 35.4px; -webkit-mask-image: url(img/logo.svg); mask-image: url(img/logo.svg); }
.nav .word { margin-right: auto; padding: 8px 0; }
.nav .item { display: inline-flex; align-items: center; min-height: 36px; font-family: var(--font-ui); font-size: 13px; font-weight: var(--w-regular); letter-spacing: 0.02em; color: inherit; text-decoration: none; padding: var(--space-2) 14px; border-radius: var(--radius-sm);
  transition: background-color var(--dur-quick) ease; }
.nav .item:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.nav .item:active { background: color-mix(in srgb, currentColor 18%, transparent); transition-duration: 0s; }
.nav .item[aria-current] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.nav .btn { margin-left: 14px; padding: 9px 16px; font-size: 13px; min-height: 36px; }
.burger { display: none; width: 44px; height: 44px; margin-left: 4px; margin-right: -10px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: var(--radius-sm); place-items: center; transition: background-color var(--dur-quick) ease; }
.burger svg, .mnav .close svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; fill: none; }
:is(.burger, .mnav .close):hover { background: color-mix(in srgb, currentColor 10%, transparent); }
:is(.burger, .mnav .close):active { background: color-mix(in srgb, currentColor 18%, transparent); transition-duration: 0s; }
@media (max-width: 760px) { .nav .item, .nav .btn { display: none; } .burger { display: grid; } }
.mnav { position: fixed; inset: 0; z-index: 40; height: 100dvh; background: var(--bg); color: var(--text); display: flex; flex-direction: column;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 0s 220ms; }
.mnav.on { opacity: 1; visibility: visible; transition: opacity 220ms ease; }
.mnav .top { display: flex; align-items: center; height: var(--nav-h); padding-inline: 24px; border-bottom: 1px solid var(--border); }
.mnav .top .word { margin-right: auto; }
.mnav .close { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; border-radius: var(--radius-sm); transition: background-color var(--dur-quick) ease; }
.mnav ul { list-style: none; margin: 0; padding: 20px 24px; display: flex; flex-direction: column; flex: 1; overflow-y: auto; }
.mnav li { border-bottom: 1px solid var(--border); opacity: 0; transition: opacity var(--dur-base) ease; }
.mnav.on li { opacity: 1; }
.mnav li a { display: block; padding: 18px var(--space-2); margin-inline: calc(-1 * var(--space-2)); border-radius: var(--radius-sm); color: inherit; text-decoration: none; font-size: 32px; font-weight: var(--w-light); letter-spacing: var(--ls-h1); line-height: 1.15; transition: background-color var(--dur-quick) ease; }
.mnav li a:hover { background: var(--wash-hover); }
.mnav li a:active { background: var(--wash-press); transition-duration: 0s; }
.mnav .foot-btns { padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: center; }
.mnav .foot-btns .btn { padding-block: 16px; }
body.locked { overflow: hidden; }

/* footer: the chocolate card, with the tagline fitted edge to edge below it */
.fcardx { background: var(--brown); color: var(--sand); font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.01em; line-height: 1.5; padding-block: 56px 16px; }
.fcardx .top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid color-mix(in srgb, var(--sand) 20%, transparent); }
.fcardx .word { color: var(--on-navy); }
.fcardx .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 16px 12px; }
.fcardx .cols div { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.fcardx .cols b { font-weight: var(--w-regular); font-size: var(--fs-micro); letter-spacing: var(--ls-micro); line-height: var(--lh-micro); text-transform: uppercase; color: var(--on-navy); margin-bottom: var(--space-1); }
.fcardx a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; text-decoration-thickness: 1px; opacity: 0.85; padding-block: 2px; border-radius: 2px;
  transition: opacity var(--dur-quick) ease, text-decoration-color var(--dur-quick) ease; }
.fcardx a:hover { opacity: 1; text-decoration-color: currentColor; }
.fcardx a:active { opacity: 1; text-decoration-color: currentColor; background: color-mix(in srgb, currentColor 12%, transparent); transition-duration: 0s; }
.fcardx .bottom { display: flex; justify-content: flex-end; gap: 16px; flex-wrap: wrap; padding-top: 4px; font-size: 12px; }
.fcardx .legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
.reveal { overflow: hidden; background: var(--brown); }
.reveal div { font-family: var(--font-head); font-weight: var(--w-thin); color: var(--on-navy); line-height: 0.8; letter-spacing: 0.01em; text-transform: uppercase; white-space: nowrap;
  padding: calc(0.08em + 56px) max(14px, env(safe-area-inset-right, 0px)) max(14px, calc(env(safe-area-inset-bottom, 0px) + 10px)) max(14px, env(safe-area-inset-left, 0px)); }
@media (max-width: 760px) { .fcardx .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fcardx a { padding-block: 5px; } }

/* the final call above the footer */
.foot-intro { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 96px 24px; }
.foot-intro h2 { max-width: 18ch; font-size: clamp(30px, 3.4vw, var(--fs-h1)); }
/* every page: the footer card widens and the tagline rises as you scroll (a scroll stage, see below). The homepage's markup is
   the stage; site.js builds the same stage from every other page's plain .foot. */
.foot.stage .stick { display: flex; flex-direction: column; justify-content: flex-end; }
/* a footer with no final call: the stick holds the card and the tagline's room, laid over the end of <main>, which holds
   still above the card (site.js sets its top). The empty part of the stage lets clicks through to the page. */
.foot.stage.bare { pointer-events: none; }
.foot.stage.bare .stick { min-height: 0; }
.foot.stage.bare .stick > * { pointer-events: auto; }
.foot-hold { position: sticky; }
.foot.stage .foot-intro { flex: 1; min-height: 0; padding: 72px 24px calc(28px + var(--p, 0) * 56px); overflow: hidden; }
.foot.stage .fcardx { flex: none; margin-inline: calc((1 - var(--p, 0)) * var(--inset)); border-radius: calc((1 - var(--p, 0)) * 20px) calc((1 - var(--p, 0)) * 20px) 0 0; }
.foot.stage .reveal { flex: none; height: calc(var(--r, 0) * var(--rh, 160px)); }
.foot.stage .reveal div { transform: translateY(calc((1 - var(--r, 0)) * 50%)); }
/* a plain footer: without the script, or under reduced motion, the variables stay at 1, which is the finished footer */
.foot:not(.stage) .fcardx { margin-inline: calc((1 - var(--p, 1)) * var(--inset)); border-radius: calc((1 - var(--p, 1)) * 20px) calc((1 - var(--p, 1)) * 20px) 0 0; }
.foot:not(.stage) .reveal { clip-path: inset(calc((1 - var(--r, 1)) * 100%) 0 0 0); }
.foot:not(.stage) .reveal div { transform: translateY(calc((1 - var(--r, 1)) * 50%)); }
@media (max-width: 760px) { :root { --inset: 16px; } }

/* ==========================================================================
   Components shared by several pages
   ========================================================================== */
/* contour art: site.js draws the lines into any element with data-contour */
.g-sand  { --wash: var(--cover-sand-wash); --ground: var(--cover-sand);      --ink: var(--cover-sand-ink);      --line: var(--cover-sand-line);      --band: var(--cover-sand-band);      --band-h: var(--cover-sand-band-hover); }
.g-navy  { --wash: var(--cover-navy-wash); --ground: var(--cover-navy);      --ink: var(--cover-navy-ink);      --line: var(--cover-navy-line);      --band: var(--cover-navy-band);      --band-h: var(--cover-navy-band-hover); }
.g-stone { --wash: var(--cover-stone-wash); --ground: var(--cover-stone);     --ink: var(--cover-stone-ink);     --line: var(--cover-stone-line);     --band: var(--cover-stone-band);     --band-h: var(--cover-stone-band-hover); }
.g-choc  { --wash: var(--cover-chocolate-wash); --ground: var(--cover-chocolate); --ink: var(--cover-chocolate-ink); --line: var(--cover-chocolate-line); --band: var(--cover-chocolate-band); --band-h: var(--cover-chocolate-band-hover); }
.g-ember { --wash: var(--cover-ember-wash); --ground: var(--cover-ember);     --ink: var(--cover-ember-ink);     --line: var(--cover-ember-line);     --band: var(--cover-ember-band);     --band-h: var(--cover-ember-band-hover); }
@property --lines { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --bandv { syntax: "<number>"; inherits: true; initial-value: 0.42; }
.art { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--line); pointer-events: none; }
.art path { stroke-opacity: calc(var(--lo, 0.17) * var(--lines, 1)); }

/* plan cards */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan { border-radius: var(--radius-card); padding: var(--space-6); display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 0 0 1px var(--border-strong); }
.plan.paid { background: var(--cover-navy); color: var(--on-navy); box-shadow: none; }
.plan .lab { font-family: var(--font-ui); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: var(--w-regular); opacity: 0.8; }
.plan .amt { font-size: 40px; font-weight: var(--w-thin); line-height: 1; letter-spacing: var(--ls-display); margin-block: 4px 2px; }
.plan p { font-size: var(--fs-small); line-height: var(--lh-small); opacity: 0.9; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan p:last-of-type { margin-bottom: 14px; }
.plan.wide { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px 56px; padding: 36px; }
.plan.wide > div { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 900px) { .plans.three { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .plan.wide { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* questions */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-size: var(--fs-h3); letter-spacing: var(--ls-head); line-height: var(--lh-h3); list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-3); margin-inline: calc(-1 * var(--space-3)); border-radius: var(--radius-sm); transition: background-color var(--dur-quick) ease; }
.faq summary:hover { background: var(--wash-hover); }
.faq summary:active { background: var(--wash-press); transition-duration: 0s; }
.faq summary:hover::after { color: var(--text); }
/* an answer fades in when it opens; it never slides */
.faq details > :not(summary) { opacity: 1; transition: opacity var(--dur-base) ease; }
@starting-style { .faq details[open] > :not(summary) { opacity: 0; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-ui); font-weight: var(--w-light); color: var(--text-faint); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-muted); max-width: 64ch; }
.faq details p + p { margin-top: 6px; }
.faq details > :last-child { padding-bottom: 20px; }

/* link cards: the index pages */
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.lcard { display: flex; flex-direction: column; gap: var(--space-2); height: 100%; padding: var(--space-5); border-radius: var(--radius-card); background: var(--surface); color: var(--text); text-decoration: none;
  transition: background-color var(--dur-quick) ease, box-shadow var(--dur-quick) ease; }
.lcard:hover { background: var(--surface-hover); box-shadow: inset 0 0 0 1px var(--border-strong); }
.lcard:active { background: var(--surface-active); box-shadow: inset 0 0 0 1px var(--border-strong), var(--sink); transition-duration: 0s; }
.lcard p { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }

/* magazine cards: the articles and compare indexes. A 16:9 contour cover, then the category (Micro role), the title and
   one sentence. The first card on the articles index is the featured one: cover left, words right. No dates, no reading time. */
.mag { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7) 28px; list-style: none; margin: 0; padding: 0; }
.mag.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mcard { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; border-radius: var(--radius-md); }
.mcard .mtext { display: flex; flex-direction: column; }
.mcard .cat { margin-top: 18px; font-family: var(--font-ui); font-size: var(--fs-micro); font-weight: var(--w-regular); letter-spacing: var(--ls-micro); line-height: var(--lh-micro); text-transform: uppercase; color: var(--text-muted); }
.mag .mcard :is(h2, h3) { margin: 8px 0 0; font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-head); max-width: none; }
.mcard p { margin-top: 8px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
.mcard:hover .cover { --lines: 2.1; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent), var(--shadow-soft); }
.mcard:active .cover { --lines: 1.4; filter: brightness(0.94); transition-duration: 0s; }
.mcard:hover :is(h2, h3) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mag .feat { grid-column: 1 / -1; }
.mag .feat .mcard { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--space-6) var(--space-7); align-items: center; }
.mag .feat .cat { margin-top: 0; }
.mag .feat :is(h2, h3) { margin-top: 12px; font-size: clamp(26px, 2.6vw, var(--fs-h2)); line-height: 1.2; }
.mag .feat p { margin-top: 12px; font-size: var(--fs-lead); line-height: var(--lh-lead); }
@media (max-width: 960px) { .mag { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mag .feat .mcard { grid-template-columns: 1fr; } .mag .feat .cat { margin-top: 2px; } }
@media (max-width: 640px) { .mag, .mag.two { grid-template-columns: 1fr; gap: 40px; } }

/* the wide cover: art only, on the cover colour's wash. One SVG serves both themes; the hairline edge is a theme token so a
   light cover keeps its edge on the light page and a dark cover keeps it on the dark page. */
.cover.wide { aspect-ratio: 16 / 9; padding: 0; gap: 0; background: linear-gradient(155deg, var(--wash, var(--ground))); box-shadow: inset 0 0 0 1px var(--border); }
.cover.wide::before { display: none; }
.art .summit { stroke-opacity: calc(0.5 * var(--lines, 1)); }
.art .summit.dot { fill: currentColor; stroke: none; fill-opacity: calc(0.6 * var(--lines, 1)); }
/* on an article or comparison page the same cover sits full width under the title */
.guide-head:has(> .cover.wide) { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.page-head .guide-head .cover.wide { display: flex; width: 100%; max-width: 960px; }

/* numbered steps: used only where the content is a sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--border-strong); }
.steps li::before { content: counter(step); font-size: 34px; font-weight: var(--w-thin); line-height: 1; color: var(--accent-text); }
.steps.col { grid-template-columns: 1fr; gap: 0; max-width: 62ch; }
.steps.col li { flex-direction: row; gap: 18px; align-items: baseline; padding-block: 16px; }
.steps.col li::before { flex: none; width: 1ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 20px; } }

/* guide and book covers: "Contours over colour" from the style guide */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
/* hover: the contours brighten (x2.1), the text band deepens to the cover's hover band, an inset ring draws in and a soft shadow
   appears. Nothing lifts. */
.cover { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 2 / 3; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 14px; border-radius: var(--radius-md); background: var(--ground); color: var(--ink); text-decoration: none;
  --lines: 1; --bandv: var(--band); box-shadow: 0 0 0 0 transparent;
  transition: --lines var(--dur-base) var(--ease), --bandv var(--dur-base) var(--ease), box-shadow var(--dur-quick) ease, filter var(--dur-quick) ease; }
.cover .art { z-index: -2; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--ground) 0, var(--ground) 40%, transparent 90%); opacity: var(--bandv); }   /* the text band */
a.cover:hover { --lines: 2.1; --bandv: var(--band-h); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent), var(--shadow-soft); }
a.cover:active { --lines: 1.4; --bandv: var(--band-h); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 45%, transparent); filter: brightness(0.94); transition-duration: 0s; }
.cover .eb { color: inherit; font-size: var(--fs-micro); letter-spacing: var(--ls-micro); }
.cover .t { font-size: 21px; line-height: 1.18; letter-spacing: var(--ls-head); font-weight: var(--w-light); }
.cover .tag { margin-top: auto; align-self: flex-start; background: color-mix(in srgb, var(--ink) 14%, transparent); color: var(--ink); font-size: var(--fs-micro); letter-spacing: var(--ls-micro); text-transform: uppercase; padding: 3px 10px; }
@media (max-width: 480px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cover .t { font-size: 18px; } }

/* forms */
.form-row { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.input { flex: 1 1 220px; min-width: 0; height: 48px; padding: 0 16px; border: 0; border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font: inherit; font-size: var(--fs-body);
  box-shadow: inset 0 0 0 1px var(--border-strong); transition: box-shadow var(--dur-quick) ease, background-color var(--dur-quick) ease; }
.input::placeholder { color: var(--text-faint); }
.input:hover { box-shadow: inset 0 0 0 1px var(--text-muted); }
.input:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--text), 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.input:disabled { background: var(--surface-2); color: var(--text-faint); box-shadow: inset 0 0 0 1px var(--border); cursor: not-allowed; }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--danger); }
.banner-ok { display: flex; gap: 12px; align-items: flex-start; max-width: 62ch; padding: 16px 18px; border-radius: var(--radius-card); background: var(--surface); color: var(--text); }
.banner-ok svg { width: 20px; height: 20px; flex: none; margin-top: 5px; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hint { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-faint); max-width: 62ch; }

/* the segmented control (pricing: Individual / Organizations), from spec/components.css. One shared fill in --text glides
   to the chosen segment (transform, --dur-base, --ease), as approved; under reduced motion it jumps. The site marks the
   chosen segment with aria-selected, because the pricing switch is a tab list. */
.seg { --seg-pad: 4px; --seg-n: 2; --seg-i: 0;
  position: relative; isolation: isolate; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: var(--seg-pad); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-strong); }
.seg::before { content: ""; position: absolute; z-index: -1; top: var(--seg-pad); bottom: var(--seg-pad); left: var(--seg-pad);
  width: calc((100% - 2 * var(--seg-pad)) / var(--seg-n)); border-radius: var(--radius-sm); background: var(--text);
  transform: translateX(calc(var(--seg-i) * 100%)); transition: transform var(--dur-base) var(--ease); }
.seg:has(> button:nth-of-type(3)) { --seg-n: 3; }
.seg:has(> button:nth-of-type(2)[aria-selected="true"]) { --seg-i: 1; }
.seg:has(> button:nth-of-type(3)[aria-selected="true"]) { --seg-i: 2; }
.seg button { height: 28px; padding: 0 14px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); cursor: pointer;
  font-family: var(--font-ui); font-size: var(--fs-label); font-weight: var(--w-regular); letter-spacing: 0.02em; line-height: 1; white-space: nowrap;
  transition: color var(--dur-base) var(--ease), background-color var(--dur-quick) ease; }
.seg button[aria-selected="true"] { color: var(--bg); cursor: default; }
.seg button[aria-selected="false"]:hover { background: var(--wash-hover); color: var(--text); }
.seg button[aria-selected="false"]:active { background: var(--wash-press); color: var(--text); transition-duration: 0s; }
.seg button:disabled { color: var(--text-faint); background: transparent; cursor: not-allowed; }

/* an on/off switch, 52 x 30, monochrome: on is the text colour. The knob changes side when the value changes (the switch
   working, not a hover effect); hover only tints the track and rings the knob. */
.switch { position: relative; width: 52px; height: 30px; border-radius: var(--radius-round); border: 0; padding: 0; cursor: pointer; background: var(--text); flex: none;
  transition: background-color var(--dur-quick) ease, box-shadow var(--dur-quick) ease; }
.switch::after { content: ""; position: absolute; top: 3px; left: 25px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); box-shadow: 0 1px 2px color-mix(in srgb, #000 25%, transparent);
  transition: left 180ms var(--ease), background-color var(--dur-quick) ease, box-shadow var(--dur-quick) ease; }
.switch[aria-checked="false"] { background: var(--border-strong); }
.switch[aria-checked="false"]::after { left: 3px; }
.switch:hover { background: color-mix(in srgb, var(--text) 82%, var(--bg)); }
.switch[aria-checked="false"]:hover { background: var(--text-faint); }
.switch:hover::after { box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 10%, transparent), 0 1px 2px color-mix(in srgb, #000 25%, transparent); }
.switch:active::after { background: color-mix(in srgb, var(--bg) 82%, var(--text)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--text) 14%, transparent); transition-duration: 0s; }
.switch:focus-visible { outline-offset: 3px; }

/* ==========================================================================
   Homepage
   ========================================================================== */
/* hero: full-width photo. On desktop the headline, paragraph and buttons sit in the left column and the chat demo in
   the right; on phones they stack, text first. Each visit shows one of the two headlines (site.js picks it before the
   page is shown and never swaps it while you look). */
.hero { position: relative; isolation: isolate; min-height: max(var(--vh), 720px); color: var(--fixed-light); overflow: hidden;
  background: var(--brown); }
/* the hero photo: a <picture> behind the shade below. Phones get a portrait slice of the same photo. */
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
@media (max-width: 600px) { .hero-photo img { object-position: 45% bottom; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, color-mix(in srgb, var(--fixed-dark) 40%, transparent), transparent 72%),
  linear-gradient(color-mix(in srgb, var(--fixed-dark) 34%, transparent), color-mix(in srgb, var(--fixed-dark) 34%, transparent) 45%, color-mix(in srgb, var(--fixed-dark) 50%, transparent)); }
.hero .wrap { position: relative; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; min-height: max(var(--vh), 720px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-8); align-items: center;
  padding-block: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + var(--space-7)) var(--space-8); }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.hero h1 { font-family: var(--font-head); font-size: clamp(44px, 5.4vw, 74px); font-weight: var(--w-thin); letter-spacing: var(--ls-display); line-height: 0.98; text-wrap: balance; }
:root[data-hl="a"] .hero h1[data-v="b"], :root[data-hl="b"] .hero h1[data-v="a"], :root:not([data-hl]) .hero h1[data-v="b"] { display: none; }   /* one headline per visit, never swapped while shown */
.hero .lede { font-size: var(--fs-lead); line-height: 1.5; max-width: 46ch; color: color-mix(in srgb, var(--fixed-light) 90%, transparent); }
.hero .lede + .lede { margin-top: calc(-1 * var(--space-3)); }
.chat { width: 100%; max-width: 480px; justify-self: end; display: flex; flex-direction: column; justify-content: flex-start; gap: var(--space-2); }
.glass { background: color-mix(in srgb, var(--fixed-dark) 42%, transparent); border: 1px solid color-mix(in srgb, var(--fixed-light) 18%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bar { display: flex; align-items: center; gap: var(--space-3); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5); }
.bar .typed { flex: 1; min-height: 3em; font-size: 19px; line-height: 1.5; display: flex; align-items: center; }
.bar .typed span::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; background: var(--fixed-light); vertical-align: -0.15em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.bar .send { width: 36px; height: 36px; border-radius: 50%; background: var(--fixed-dark); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fixed-light) 14%, transparent); display: grid; place-items: center; flex: none; }
.bar .send svg { width: 16px; height: 16px; fill: none; stroke: var(--fixed-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* the answer: the app's format, short bullets with the most urgent first. Two lines show in full and the third fades out
   on its lower half. While the answer "types", a skeleton holds each line and the words fade in over it, line by line,
   in under 1.2 s. "Sources:" sits bottom left, small and dimmer, then the guide and the sources it cites, as plain text. */
.answer { padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); font-size: 17px; line-height: 1.5; color: color-mix(in srgb, var(--fixed-light) 92%, transparent);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-base) ease, visibility 0s var(--dur-base); }
.answer.on { opacity: 1; visibility: visible; transition: opacity var(--dur-base) ease; }
/* answer lines: plain sentences (.ln) and bullets (.ln.b). Two show in full, the third fades out, the rest wait. */
.answer .lines { display: grid; gap: var(--space-2); }
.answer .al { position: relative; min-height: 1.5em; }
.answer .al.b { padding-left: 18px; }
.answer .al.b::before { content: ""; position: absolute; left: 2px; top: 0.68em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.answer .al.fade { -webkit-mask-image: linear-gradient(#000 0 45%, transparent 95%); mask-image: linear-gradient(#000 0 45%, transparent 95%); max-height: 3em; overflow: hidden; }
.answer .al.gone { display: none; }
.answer .tx { opacity: 0; transition: opacity 160ms ease; }
.answer .sk2 { position: absolute; left: 0; right: 0; top: 0.4em; display: grid; gap: 0.55em; transition: opacity 160ms ease; }
.answer .al.b .sk2 { left: 18px; }
.answer .sk2 i { display: block; height: 0.62em; border-radius: var(--radius-round); background: color-mix(in srgb, var(--fixed-light) 16%, transparent); }
.answer .sk2 i:last-child { width: 62%; }
.answer .al.done .tx { opacity: 1; } .answer .al.done .sk2 { opacity: 0; }
.answer .src-line { margin-top: var(--space-3); font-family: var(--font-ui); font-size: 12.5px; letter-spacing: 0.01em; line-height: 1.45; color: color-mix(in srgb, var(--fixed-light) 66%, transparent); opacity: 0; transition: opacity 180ms ease; }
.answer .src-line b { font-weight: var(--w-regular); color: color-mix(in srgb, var(--fixed-light) 48%, transparent); margin-right: 0.35em; }
.answer .src-line.done { opacity: 1; }
.answer .src-line a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.answer .src-line a:hover { color: var(--fixed-light); }
.hero .row { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-2); }
.hero .btns { gap: var(--space-3); }
.hero .btn.ghost { color: var(--fixed-light); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fixed-light) 60%, transparent); }
.hero .btn.ghost:hover { background: color-mix(in srgb, var(--fixed-light) 10%, transparent); box-shadow: inset 0 0 0 1px var(--fixed-light); }
.hero .btn.ghost:active { background: color-mix(in srgb, var(--fixed-light) 18%, transparent); box-shadow: inset 0 0 0 1px var(--fixed-light), var(--sink); }
/* a phone cannot install the app, so phones get no download button (site.js sets data-os="phone") */
:root[data-os="phone"] :is(.btn.dl, a.btn[href^="download.html"]), :root[data-os="phone"] .mnav .foot-btns { display: none; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-content: center; } .chat { justify-self: start; max-width: 560px; } }
@media (max-width: 600px) { .hero, .hero .wrap { min-height: max(var(--vh), 640px); } .hero .wrap { gap: var(--space-5); padding-block: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + var(--space-6)) var(--space-7); } .hero-text { gap: var(--space-4); } .answer { font-size: 16px; } }
@keyframes blink { 50% { opacity: 0; } }

/* scroll stages: a tall section whose inner .stick stays on screen while site.js feeds it the scroll progress */
.stage { position: relative; }
.stick { position: sticky; top: 0; height: var(--vh); min-height: 600px; overflow: hidden; }

/* the reading paragraph: words darken as you scroll, the name glows */
.read { height: calc(var(--vh) * 2.2); }
.readp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-inline: 24px; }
.readp p { position: relative; max-width: 26ch; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.24; letter-spacing: var(--ls-h1); font-weight: var(--w-light); text-align: center; text-wrap: pretty; }
.readp u { text-decoration: none; }
.readp .w { opacity: 0.16; transition: opacity 120ms linear; }
.readp .hlp { background-image: linear-gradient(var(--text), var(--text)); background-repeat: no-repeat; background-position: 0 94%; background-size: calc(var(--u, 0) * 100%) 1.5px; padding-bottom: 2px; }
.readp .brand { background-image: linear-gradient(100deg, var(--text) 0 38%, var(--sheen) 50%, var(--text) 62% 100%); background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: var(--w-regular); cursor: default; }
.readp .brand.lit { animation: sheen 7s ease-in-out infinite, glow 4.5s ease-in-out infinite; }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 0.14em var(--glow)); } 50% { filter: drop-shadow(0 0 0.5em var(--glow)); } }
@keyframes sheen { 0% { background-position: 100% 0; } 28% { background-position: 0% 0; } 100% { background-position: 0% 0; } }
.spot { position: absolute; left: 0; top: 0; width: 3.2em; height: 3.2em; border-radius: 50%; pointer-events: none; font-size: clamp(26px, 3.6vw, 44px);
  background: radial-gradient(circle, var(--spot) 0, transparent 68%); transform: translate(calc(var(--sx, 0px) - 50%), calc(var(--sy, 0px) - 50%)); opacity: 0; transition: opacity 260ms ease; }
.spot.on { opacity: 1; }

/* the turning object moves aside and the trust text comes in */
.prism { height: calc(var(--vh) * 2.6); }
.obj { position: absolute; left: 50%; top: 50%; width: min(440px, 70vw); aspect-ratio: 1; max-width: 100%; transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) scale(var(--s, 1)); will-change: transform; }
.obj canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; border-radius: 50%; }
.obj canvas:active { cursor: grabbing; }
.prism-txt { position: absolute; right: max(24px, calc((100vw - var(--max)) / 2 + 24px)); top: 50%; width: min(480px, 44vw); transform: translateY(calc(-50% + (1 - var(--t, 0)) * 30px)); opacity: var(--t, 0);
  display: flex; flex-direction: column; gap: 14px; pointer-events: none; }
.prism-txt.live { pointer-events: auto; }
.prism-txt p { color: var(--text-muted); font-size: 17px; line-height: 1.55; }
.prism-txt p strong { color: var(--text); }
.prism-txt .btn { align-self: flex-start; }
@media (max-width: 800px) { .prism-txt { left: 24px; right: 24px; width: auto; top: auto; bottom: 5%; transform: translateY(calc((1 - var(--t, 0)) * 30px)); } .prism-txt p { font-size: 16px; } .prism-txt h2 { font-size: 32px; } }

/* plain sections */
.plain { padding-block: var(--section-y); }
.plain + .plain { padding-top: 0; }
.plain h2 { max-width: 22ch; margin: 14px 0 22px; }
.plain .body { max-width: 60ch; color: var(--text-muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.plain .btns { margin-top: 26px; }
.offline h2 { max-width: none; }
.nb { white-space: nowrap; }
@media (max-width: 640px) { h2 { font-size: var(--fs-section-title); } }

/* who it's for: a card opens in place and its detail fades in over it; one card open at a time; a swipe row on phones.
   Hover draws an inset ring, brings the art forward with opacity and fills the + mark. Nothing slides or scales. */
.aud { margin-top: var(--space-6); --t-reveal: var(--dur-base); --t-out: var(--dur-quick); }
.c-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.c-card { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius-card); overflow: hidden; background: var(--ground); color: var(--ink); box-shadow: 0 0 0 0 transparent; transition: box-shadow var(--dur-quick) ease; }
.c-card .art { opacity: 0.75; transition: opacity var(--t-reveal) var(--ease); }
/* over a photo the + mark sits on a disc of the card colour, so it shows on dark and light parts of the picture */
.c-card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 30%, transparent), var(--shadow-soft); }
.c-card:hover .art, .c-card.open .art { opacity: 1; }
.c-card:active { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 45%, transparent); transition-duration: 0s; }
.c-front { position: absolute; inset: 0; width: 100%; padding: var(--space-5); border: 0; border-radius: var(--radius-card); cursor: pointer; text-align: left; background: none; color: inherit; font: inherit;
  display: flex; flex-direction: column; justify-content: flex-end; }
.c-front:focus-visible { outline-offset: -6px; }
.c-front .f-txt { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-8) var(--space-5) var(--space-5); margin: 0 -24px -24px;
  background: linear-gradient(transparent, var(--ground) 40%); transition: opacity var(--t-out) ease; }
.c-card.open .f-txt { opacity: 0; }
.c-front .eb, .c-back .eb { color: var(--ink); opacity: 0.85; }
.c-teaser { font-size: var(--fs-h3); letter-spacing: var(--ls-head); line-height: var(--lh-h3); }
.c-mark { position: absolute; z-index: 3; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 40%, transparent); pointer-events: none;
  transition: background-color var(--dur-quick) ease, box-shadow var(--dur-quick) ease; }
.c-mark::before, .c-mark::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17.25px; height: 1.5px; background: var(--ink); }
.c-mark::after { rotate: 90deg; }
.c-card.open .c-mark::before { rotate: 45deg; }
.c-card.open .c-mark::after { rotate: 135deg; }
.c-card:hover .c-mark { background: color-mix(in srgb, var(--ink) 16%, transparent); box-shadow: inset 0 0 0 1px var(--ink); }
.c-card:active .c-mark { background: color-mix(in srgb, var(--ink) 28%, transparent); }
.c-back { position: absolute; inset: 0; z-index: 2; padding: var(--space-5); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-3); pointer-events: none;
  background: color-mix(in srgb, var(--ground) 93%, transparent); opacity: 0; visibility: hidden; transition: opacity var(--t-reveal) ease, visibility 0s var(--t-reveal); }
.c-card.open .c-back { opacity: 1; visibility: visible; transition: opacity var(--t-reveal) ease; }
.c-back p { font-size: var(--fs-small); line-height: var(--lh-small); }
/* the row of names above the cards: each name brings its card into view and opens it */
.c-names { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-5); padding: 0; list-style: none; }
.c-names a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-round); box-shadow: inset 0 0 0 1px var(--border-strong);
  font-family: var(--font-ui); font-size: 13px; font-weight: var(--w-regular); line-height: 1.3; letter-spacing: 0.01em; text-align: center; color: var(--text); text-decoration: none;
  transition: background-color var(--dur-quick) ease, color var(--dur-quick) ease, box-shadow var(--dur-quick) ease; }
.c-names a:hover { background: var(--wash-hover); box-shadow: inset 0 0 0 1px var(--text); }
.c-names a:active { background: var(--wash-press); box-shadow: inset 0 0 0 1px var(--text); transition-duration: 0s; }
.c-names a[aria-current="true"] { background: var(--navy); color: var(--on-navy); box-shadow: none; }
.c-names a[aria-current="true"]:hover { background: var(--navy-hover); }
.c-card { scroll-margin-top: 84px; }
.c-hint { display: none; margin-top: 12px; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.01em; color: var(--text-faint); }
@media (max-width: 980px) { .c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .c-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .c-grid::-webkit-scrollbar { display: none; }
  .c-card { flex: 0 0 78%; scroll-snap-align: start; }
  .c-hint { display: block; }
  /* three names a line, two lines: all five visible at 375 px without swiping */
  .c-names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; }
  .c-names a { min-width: 0; padding: 4px 6px; border-radius: 12px; font-size: 12.5px; overflow-wrap: anywhere; }
}

/* see it work: the list on the left, the clips on the right. The clips play one after the other and switch on a click;
   the page does not hold the scroll. A new clip slides in over --dur-slow (the clip changing, never a hover effect). */
.swipe { padding-block: var(--section-y); }
.swipe .in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: var(--space-8); align-items: center; }
.swipe ol { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: flex; flex-direction: column; }
.swipe li { box-shadow: inset 2px 0 0 var(--border); transition: box-shadow var(--dur-quick) ease; }
.swipe li button { display: block; width: 100%; padding: 11px var(--space-3) 11px 18px; border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: none; text-align: left; font: inherit; letter-spacing: inherit; color: var(--text-faint); cursor: pointer;
  transition: color var(--dur-quick) ease, background-color var(--dur-quick) ease; }
.swipe li button:hover { color: var(--text); background: var(--wash-hover); }
.swipe li button:active { color: var(--text); background: var(--wash-press); transition-duration: 0s; }
.swipe li.on { box-shadow: inset 2px 0 0 var(--text); } .swipe li.on button { color: var(--text); }
.swipe li .h { display: block; font-size: 21px; letter-spacing: var(--ls-head); line-height: var(--lh-h3); }
.swipe li .p { display: block; font-size: var(--fs-small); line-height: 1.5; height: 0; overflow: hidden; opacity: 0; transition: height var(--dur-base) ease, opacity var(--dur-base) ease, margin var(--dur-base) ease; }
.swipe li.on .p { height: 1.5em; opacity: 1; margin-top: var(--space-1); color: var(--text-muted); }
.viewport { overflow: hidden; border-radius: var(--radius-lg); min-width: 0; }
.swipe .viewport { width: 100%; max-width: 540px; justify-self: end; -webkit-mask-image: linear-gradient(#000 calc(100% - 56px), transparent); mask-image: linear-gradient(#000 calc(100% - 56px), transparent); }   /* site.js sets the height: one clip plus a peek at the next */
.track { display: flex; flex-direction: column; gap: 18px; transform: translateY(calc(var(--i, 0) * -1 * var(--step, 0px))); transition: transform var(--dur-slow) var(--ease); }
.fcard { flex: none; width: 100%; aspect-ratio: 4 / 4.2; max-width: 100%; border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; overflow: hidden; }
.fcard .clip { flex: 1; min-height: 0; }
.fcard > div:last-child { padding: 18px var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: var(--space-1); }
.fcard p { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.5; }
.swipe .foot-note { margin-top: 18px; font-family: var(--font-ui); font-size: 12.5px; color: var(--text-faint); letter-spacing: 0.01em; line-height: 1.5; }
@media (max-width: 700px) {
  .swipe .in { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .swipe li .p { display: none; }
  .swipe ol { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 14px; margin: var(--space-3) calc(-1 * var(--gutter)) 0; padding-inline: var(--gutter); }
  .swipe ol::-webkit-scrollbar { display: none; }
  .swipe li { box-shadow: inset 0 -2px 0 var(--border); white-space: nowrap; flex: none; } .swipe li.on { box-shadow: inset 0 -2px 0 var(--text); }
  .swipe li button { padding: var(--space-3) var(--space-1); border-radius: var(--radius-sm) var(--radius-sm) 0 0; } .swipe li .h { font-size: 17px; }
  .swipe .viewport { justify-self: stretch; max-width: none; }
}

.plan.paid .btn.ghost { color: var(--on-navy); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-navy) 55%, transparent); }
.plan.paid .btn.ghost:hover { background: color-mix(in srgb, var(--on-navy) 10%, transparent); box-shadow: inset 0 0 0 1px var(--on-navy); }
.plan.paid .btn.ghost:active { background: color-mix(in srgb, var(--on-navy) 18%, transparent); box-shadow: inset 0 0 0 1px var(--on-navy), var(--sink); }
/* ==========================================================================
   Pricing (round 3, H2 "Clear"): the homepage section, the pricing page and the organisations page.
   From pricing round 3 (p3.css, now deleted); .cmp, .lede and .small-print are scoped to .pp so the compare pages keep theirs.
   ========================================================================== */
:root {
  --plus: var(--navy-text);             /* the paid colour: #22344F light, #7C9AD1 dark */
  --plus-wash: color-mix(in srgb, var(--plus) 7%, transparent);
}

a.more { color: inherit; }
a.more:hover { color: var(--text); }

/* ---------- section frame ---------- */
.pp { padding-block: 72px 96px; }
.pp .head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 32px; }
.pp .head h2 { font-size: clamp(28px, 3.2vw, 36px); max-width: 22ch; margin-top: 12px; }
.pp .head h1 { font-size: clamp(40px, 5.6vw, var(--fs-display)); font-weight: var(--w-thin); letter-spacing: var(--ls-display); line-height: var(--lh-display); margin-top: 12px; }
.pp .head .seg { flex: none; }

/* ---------- the row: free one third, paid two thirds; stacked on a phone, paid first ---------- */
.pp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 18px; align-items: stretch; }
.pp-row > .plan { min-width: 0; }
@media (max-width: 760px) { .pp-row { grid-template-columns: 1fr; } .pp-row > .plus { order: -1; } }

/* Both cards end with their button, pinned to the card's bottom edge, so the two buttons share one line on desktop. */
.pp .plan h3 { font-size: 22px; line-height: 1.25; }
.pp .plan p { color: var(--text-muted); opacity: 1; }
.pp .plan p:last-of-type { margin-bottom: 0; }
.pp .plan .btns { margin-top: auto; padding-top: 32px; }
.pp .plan .btn { margin-top: 0; }
.plan .sub { font-family: var(--font-ui); font-size: 12.5px; letter-spacing: 0.01em; color: var(--text-muted); }
.tax { font-family: var(--font-ui); font-size: 12.5px; font-weight: var(--w-regular); letter-spacing: 0.01em; color: var(--text-muted); white-space: nowrap; }   /* "+ tax" after a price: Stripe adds tax at checkout */
.plan .sub a { color: inherit; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-small); line-height: var(--lh-small); }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.ticks li::before { content: "\2713"; font-family: var(--font-ui); font-size: 13px; color: var(--plus); padding-top: 2px; }

/* the paid card: a blue border on the page background */
.plan.plus { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 2px var(--plus); }
.plan.plus .lab { color: var(--plus); opacity: 1; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 36px; }
.split > div { display: flex; flex-direction: column; gap: 10px; }
/* one column: the checklist moves above the button, so the button still ends the card */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split > div { display: contents; }
  .split .btns { order: 9; }
}

/* custom package: a quiet strip under both cards */
.custom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 18px; padding: 18px 24px; border-radius: var(--radius-card); box-shadow: inset 0 0 0 1px var(--border-strong); }
.custom p { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); max-width: 52ch; }
.custom p b { color: var(--text); font-weight: var(--w-regular); }

/* ---------- the early price: a full-width bar above the two cards ---------- */
.early { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 40px; align-items: end; padding: 24px 28px; margin-bottom: 18px; border-radius: var(--radius-card); background: var(--plus-wash); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--plus) 22%, transparent); }
.early .eb { color: var(--plus); }
.early h3 { margin-top: 8px; max-width: 34ch; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.3; }
.early .amt2 { font-size: clamp(56px, 7vw, 84px); font-weight: var(--w-thin); line-height: 0.9; letter-spacing: var(--ls-display); color: var(--plus); text-align: right; font-variant-numeric: tabular-nums; }
.early .amt2 small { display: block; margin-top: 10px; font-family: var(--font-ui); font-size: 12.5px; letter-spacing: 0.01em; color: var(--text-muted); font-variant-numeric: normal; }
@media (max-width: 760px) { .early { grid-template-columns: 1fr; padding: 20px; } .early .amt2 { text-align: left; grid-row: 1; } }

/* the sold-count bar: $19 for the first 100 (filled to the copies sold), then $29 */
.psteps { max-width: 560px; margin-top: 16px; }
.psteps .trk, .psteps .lbls { display: grid; gap: 3px; grid-template-columns: 3fr 2fr; }
.psteps .trk { height: 10px; }
.psteps .trk i { position: relative; border-radius: 5px; background: color-mix(in srgb, var(--plus) 16%, transparent); overflow: hidden; }
.psteps .trk i b { position: absolute; inset: 0; border-radius: 5px; background: var(--plus); transform-origin: left center; transform: scaleX(var(--f, 0)); }
.early.pre .psteps .trk i b { transform: scaleX(0); }
.early.pre.go .psteps .trk i b { transform: scaleX(var(--f, 0)); transition: transform 1500ms var(--ease); }
.psteps .lbls { margin-top: 8px; font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.01em; color: var(--text-muted); }
.psteps .lbls span:first-child { color: var(--plus); font-weight: var(--w-medium); }
.psteps .left { display: block; min-height: 1.4em; margin-bottom: 8px; font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.01em; color: var(--plus); }
@media (prefers-reduced-motion: reduce) { .early .psteps .trk i b { transition: none; transform: scaleX(var(--f, 0)); } }

/* ---------- the library chart and its sentence ---------- */
.chart { margin-top: 18px; background: var(--surface); border-radius: var(--radius-card); padding: 24px 26px 20px; }
.chart h3 { font-size: 19px; margin-bottom: 10px; }
.chart .why { max-width: 64ch; margin: 0 0 16px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
.bars { display: flex; flex-direction: column; gap: 14px; }
.brow { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; }
.brow .nm { font-family: var(--font-ui); font-size: var(--fs-label); letter-spacing: var(--ls-label); }
.track2 { position: relative; height: 34px; }
.bar2 { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; display: flex; align-items: center; padding-left: 10px; font-family: var(--font-ui); font-size: 12.5px; letter-spacing: 0.01em; white-space: nowrap; }
.bar2.raw { background: repeating-linear-gradient(135deg, var(--border-strong) 0 6px, var(--surface-2) 6px 12px); color: var(--text); }
.bar2.clean { background: var(--cover-navy); color: var(--on-navy); }
.axis { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; margin-top: 8px; }
.axis .sc { position: relative; height: 18px; border-top: 1px solid var(--border-strong); font-family: var(--font-ui); font-size: 11px; color: var(--text-faint); }
.axis .sc span { position: absolute; top: 3px; translate: -50% 0; white-space: nowrap; }
.axis .sc span::before { content: ""; position: absolute; left: 50%; top: -7px; height: 4px; border-left: 1px solid var(--border-strong); }
.axis .sc span:first-child { translate: none; } .axis .sc span:first-child::before { left: 0; }
@media (max-width: 760px) { .brow, .axis { grid-template-columns: 1fr; gap: 4px; } .axis > span { display: none; } }

/* ---------- the three doubts, answered at the bottom of the section ---------- */
.checks { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-top: 22px; font-family: var(--font-ui); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--text-muted); }
.checks span::before { content: "\2713\00a0\00a0"; color: var(--plus); }
.checks a.more { margin-left: auto; }
@media (max-width: 560px) { .checks a.more { margin-left: 0; flex-basis: 100%; } }

/* the paid column's terms sit right under its button. They are three short lines of fixed height, and the free
   card keeps an empty space of the same height under its own button, so the two buttons stay on one line. */
.pp { --terms-h: 66px; }
.pp .terms { display: grid; align-content: start; gap: 2px; height: var(--terms-h); margin: 0; font-family: var(--font-ui); font-size: var(--fs-label); line-height: 20px; letter-spacing: var(--ls-label); color: var(--text-muted); }
.pp .terms span { white-space: nowrap; }
.pp .terms span::before { content: "\2713\00a0\00a0"; color: var(--plus); }
.pp .plan .terms { opacity: 1; }
.pp-row > .plan:not(.plus)::after { content: ""; flex: none; height: var(--terms-h); }
@media (max-width: 900px) { .split .terms { order: 10; } }
@media (max-width: 760px) { .pp-row > .plan:not(.plus)::after { display: none; } .pp .terms { height: auto; } }
.pp .cmp tfoot .terms { height: auto; margin-top: 14px; }

/* the "i" after a feature line, and the tip it opens */
.tip-i { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 3px; padding: 0; vertical-align: 0.05em; border: 1px solid currentColor; border-radius: 50%; background: none; color: inherit; font-family: var(--font-serif, Georgia, serif); font-size: 11px; font-style: italic; line-height: 1; opacity: 0.45; cursor: pointer; }
.tip-i:hover, .tip-i[aria-expanded="true"] { opacity: 0.9; }
.tip-i:focus-visible { opacity: 1; outline: var(--ring); outline-offset: 2px; }
.tip-i::after { content: ""; position: absolute; width: 32px; height: 32px; }
.tip-i { position: relative; }
.tipbox { position: fixed; z-index: 60; width: min(280px, calc(100vw - 24px)); padding: 14px 16px; border-radius: 10px; background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong), 0 10px 30px rgb(0 0 0 / 0.14); font-family: var(--font-ui); font-size: 13.5px; line-height: 1.5; font-weight: var(--w-regular); text-align: left; letter-spacing: normal; text-transform: none; white-space: normal; }
.tipbox p { margin: 0 0 8px; color: var(--text); }
.tipbox a { color: var(--plus); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- pricing page: one table per view ---------- */
.pp .lede { max-width: 60ch; margin: -12px 0 34px; color: var(--text-muted); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.pp .cmp { width: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.45; table-layout: fixed; }
.pp .cmp th, .pp .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); background: var(--bg); }
.pp .cmp.two col.f { width: 40%; } .pp .cmp.two col.p { width: 30%; }
.pp .cmp.three col.f { width: 31%; } .pp .cmp.three col.p { width: 23%; }
.pp .cmp thead th { position: sticky; top: 0; z-index: 2; vertical-align: bottom; padding-block: 20px 16px; border-bottom: 1px solid var(--border-strong); font-weight: var(--w-regular); font-family: inherit; font-size: inherit; letter-spacing: normal; text-transform: none; }
/* the organisations page: cards and the custom strip straight under the page head, then the table */
.pp-page { padding-top: 0; }
.pp-page .cmp { margin-top: var(--space-8); }
.pp .cmp thead .nm { display: block; font-family: var(--font-ui); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.pp .cmp thead .pr { display: block; margin-top: 6px; font-size: 32px; font-weight: var(--w-thin); line-height: 1; letter-spacing: var(--ls-display); color: var(--text); }
.pp .cmp thead .pn { display: block; margin-top: 6px; font-family: var(--font-ui); font-size: 12px; color: var(--text-muted); font-weight: var(--w-regular); }
.pp .cmp tbody th { font-weight: var(--w-light); font-size: var(--fs-body); line-height: 1.4; }
.pp .cmp td { color: var(--text-muted); }
.pp .cmp .yes { color: var(--ok); } .pp .cmp .no { color: var(--text-faint); }
.pp .cmp .hcol { background: color-mix(in srgb, var(--plus) 6%, var(--bg)); }
.pp .cmp thead .hcol { box-shadow: inset 0 3px 0 var(--plus); }
.pp .cmp thead .hcol .nm { color: var(--plus); }
.pp .cmp tfoot td, .pp .cmp tfoot th { border-bottom: 0; padding-block: 36px 22px; }
/* the buttons at the foot: room for two lines, with real line spacing when a label wraps */
.pp .cmp tfoot .btn { width: 100%; padding: 13px 14px; white-space: normal; line-height: 1.4; text-align: center; }
.pp .cmp tfoot .sub { margin-top: 10px; font-family: var(--font-ui); font-size: 12px; line-height: 1.45; color: var(--text-muted); }
.pp .cmp tfoot .sub a { color: inherit; }
.pp .cmp .gh { margin-top: 10px; min-height: 40px; padding: 10px 14px; font-size: 13px; }
.gh svg { width: 16px; height: 16px; flex: none; }
.gh .ext { width: 13px; height: 13px; opacity: 0.7; }
/* a phone: each feature becomes a short block with the answers under it, so you compare one feature at a time with no sideways scrolling */
@media (max-width: 760px) {
  .pp .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pp .cmp, .pp .cmp tbody, .pp .cmp tfoot, .pp .cmp tr, .pp .cmp th, .pp .cmp td { display: block; width: auto; }
  .pp .cmp colgroup { display: none; }
  .pp .cmp tr { padding: 18px 0; border-bottom: 1px solid var(--border); }
  .pp .cmp th, .pp .cmp td { padding: 0; border: 0; background: none; }
  .pp .cmp tbody th { margin-bottom: 4px; font-size: var(--fs-small); font-weight: var(--w-regular); }
  .pp .cmp td { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 10px; margin-top: 8px; }
  .pp .cmp td::before { content: attr(data-l); font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); padding-top: 3px; }
  .pp .cmp td.hcol { margin-inline: -10px; padding: 6px 10px; border-radius: var(--radius-sm); }
  .pp .cmp td.hcol::before { color: var(--plus); }
  .pp .cmp tfoot tr { border-bottom: 0; }
  .pp .cmp tfoot th { display: none; }
  .pp .cmp tfoot td { display: block; margin-top: 14px; padding: 0; }
  .pp .cmp tfoot td::before { display: block; margin-bottom: 6px; }
  .pp .cmp tfoot td.hcol { padding: 12px 10px; }
}
/* rows where every plan gives the same answer: one "All plans" line on a phone */
.pp .cmp td.allp { display: none; }
@media (max-width: 760px) { .pp .cmp tr.same td:not(.allp) { display: none; } .pp .cmp tr.same td.allp { display: grid; } }
.pp .small-print { max-width: 70ch; margin-top: 24px; color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }

/* ---------- index ---------- */
.study { padding-block: 56px 96px; }
.study h1 { font-size: clamp(34px, 4.6vw, 48px); font-weight: var(--w-thin); letter-spacing: var(--ls-display); line-height: 1.1; margin-top: 14px; }
.study h2 { font-size: 24px; margin-top: 44px; }
.study p, .study li { max-width: 70ch; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
.study p { margin-top: 14px; }
.study ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.study li b { color: var(--text); font-weight: var(--w-regular); }
.study .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ==========================================================================
   App clips: short loops that look like a screen recording.
   site.js steps each clip through data-step (0 is the reset, then 1 to data-steps).
   An element with class s2 shows on step 2; several classes show it on several steps.
   Everything inside is sized in em from the clip's own width, so a clip scales as one picture.
   ========================================================================== */
.clip { position: relative; container-type: inline-size; background: var(--surface-2); overflow: hidden; display: flex; flex-direction: column; margin: 0; }
.clip.solo { aspect-ratio: 4 / 3.2; border-radius: var(--radius-lg); }
.clip-in { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0.7em; padding: 0.9em 1.6em 1.6em; font-family: var(--font-ui); font-size: clamp(8px, 2.75cqw, 15px); line-height: 1.35; letter-spacing: 0.01em; font-weight: var(--w-regular); color: var(--text); }
.mbar { display: flex; justify-content: flex-end; align-items: center; gap: 0.8em; height: 1.3em; color: var(--text-muted); flex: none; }
.mbar svg { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.win { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 0.8em; background: var(--bg); overflow: hidden;
  box-shadow: 0 0 0 1px var(--border-strong), 0 1.8em 3em -1.8em color-mix(in srgb, var(--fixed-dark) 45%, transparent); }
.win-bar { display: flex; align-items: center; gap: 0.45em; height: 2.3em; padding-inline: 0.9em; border-bottom: 1px solid var(--border); flex: none; }
.win-bar i { width: 0.68em; height: 0.68em; border-radius: 50%; background: var(--border-strong); }
.win-bar span { margin: 0 auto; font-size: 0.85em; color: var(--text-faint); transform: translateX(-1.4em); }
.win-body { position: relative; flex: 1; min-height: 0; padding: 1.1em 1.3em; display: flex; flex-direction: column; gap: 0.8em; overflow: hidden; }
/* a recorded clip (.clip.rec): the recording fills the window under its bar; its poster is the still under reduced motion */
.clip.rec .rec-v { display: block; flex: 1; min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; background: var(--bg); }

/* steps */
.clip :is(.s1, .s2, .s3, .s4, .s5) { opacity: 0; visibility: hidden; transition: opacity 280ms ease, transform 420ms var(--ease), visibility 0s 280ms; }
.clip[data-step="1"] .s1, .clip[data-step="2"] .s2, .clip[data-step="3"] .s3, .clip[data-step="4"] .s4, .clip[data-step="5"] .s5 { opacity: 1; visibility: visible; transform: none; transition: opacity 280ms ease, transform 420ms var(--ease); }
.clip .from-r { transform: translateX(7%); } .clip .from-b { transform: translateY(1.2em); }
.clip[data-step="0"] * { transition: none !important; }

/* the cursor */
.cur { position: absolute; z-index: 6; left: var(--x0, 50%); top: var(--y0, 110%); width: 1.5em; height: 1.5em; pointer-events: none; transition: left 750ms var(--ease), top 750ms var(--ease); }
.cur svg { display: block; width: 100%; height: 100%; }
.cur::after { content: ""; position: absolute; left: -0.55em; top: -0.55em; width: 1.6em; height: 1.6em; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--text); opacity: 0; }
.cur.tap::after { animation: tap 520ms ease-out; }
@keyframes tap { 0% { opacity: 0.6; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.2); } }
.clip[data-step="1"] .cur { left: var(--x1); top: var(--y1); } .clip[data-step="2"] .cur { left: var(--x2); top: var(--y2); } .clip[data-step="3"] .cur { left: var(--x3); top: var(--y3); }
.clip[data-step="4"] .cur { left: var(--x4); top: var(--y4); } .clip[data-step="5"] .cur { left: var(--x5); top: var(--y5); }

/* parts */
.sk { display: block; height: 0.5em; border-radius: 0.25em; background: var(--surface-active); }
.sk.d { background: var(--border-strong); } .sk.tall { height: 0.8em; }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; } .w100 { width: 100%; }
.k-field { display: flex; align-items: center; gap: 0.6em; height: 2.7em; padding-inline: 0.9em; border-radius: 0.6em; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); flex: none; white-space: nowrap; overflow: hidden; }
.k-field svg { width: 1.1em; height: 1.1em; fill: none; stroke: var(--text-faint); stroke-width: 1.7; stroke-linecap: round; flex: none; }
.type.typing::after { content: ""; display: inline-block; width: 1px; height: 1em; background: var(--text); vertical-align: -0.12em; margin-left: 1px; }
.k-list { display: flex; flex-direction: column; }
.k-row { display: flex; align-items: center; gap: 0.8em; padding: 0.8em 0.2em; border-bottom: 1px solid var(--border); }
.k-row > span:first-child { flex: 1; display: grid; gap: 0.45em; }
.k-tag { font-size: 0.78em; padding: 0.25em 0.75em; border-radius: 99px; background: var(--tag-bg); color: var(--tag-text); white-space: nowrap; align-self: center; justify-self: start; }
.k-hl { display: grid; gap: 0.45em; padding: 0.65em 0.75em; background: var(--highlight); box-shadow: -2px 0 0 var(--highlight-line); border-radius: 0 0.3em 0.3em 0; }
.k-pane { position: absolute; inset: 0; z-index: 2; background: var(--bg); padding: 1.2em 1.4em; display: flex; flex-direction: column; gap: 0.8em; align-items: stretch; }
.k-pane > .k-tag { align-self: flex-start; }
.k-btn { display: inline-flex; align-items: center; height: 2.2em; padding-inline: 1em; border-radius: 0.2em; background: var(--text); color: var(--bg); font-size: 0.85em; letter-spacing: 0.04em; }
.k-btn.q { background: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.k-foot { display: flex; justify-content: space-between; gap: 0.6em; margin-top: auto; }
.k-n { font-size: 0.8em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.k-serif { font-family: var(--font-head); font-weight: var(--w-light); letter-spacing: var(--ls-head); }

/* clip: the library */
[data-clip="library"] { --x0: 30%; --y0: 110%; --x1: 42%; --y1: 21%; --x2: 34%; --y2: 43%; --x3: 78%; --y3: 78%; --x4: 78%; --y4: 78%; }

/* clip: the guides */
[data-clip="guides"] { --x0: 60%; --y0: 110%; --x1: 18%; --y1: 34%; --x2: 84%; --y2: 90%; --x3: 84%; --y3: 90%; --x4: 20%; --y4: 90%; --x5: 60%; --y5: 60%; }
/* the shelf shows every guide: the clips show the app with the upgrade, so no cover is locked */
.k-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7em; margin-top: 0.2em; }
.k-cover { position: relative; aspect-ratio: 2 / 3; border-radius: 0.4em; background: var(--ground); color: var(--ink); padding: 0.7em 0.6em; overflow: hidden; font-family: var(--font-head); font-weight: var(--w-light); font-size: 0.9em; line-height: 1.15; }
.k-view { flex: 1; min-height: 0; display: flex; overflow: hidden; }
.k-track { display: flex; flex: 1; min-width: 0; min-height: 0; transition: transform 520ms var(--ease); }
.clip[data-step="3"] .k-track { transform: translateX(-100%); } .clip[data-step="4"] .k-track, .clip[data-step="5"] .k-track { transform: translateX(-200%); }
.k-step { flex: 0 0 100%; display: flex; flex-direction: column; gap: 0.6em; padding-right: 0.2em; }
.k-draw { position: relative; flex: 1; min-height: 0; border-radius: 0.5em; background: var(--cover-sand); color: var(--cover-sand-ink); overflow: hidden; display: grid; place-items: center; }
.k-draw svg.hand { width: 46%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.k-big { font-size: 1.9em; line-height: 1.1; }
.k-print { position: absolute; inset: 0; z-index: 3; background: color-mix(in srgb, var(--bg) 88%, transparent); display: grid; place-items: center; }
.k-booklet { display: grid; grid-template-columns: 1fr 1fr; width: 76%; aspect-ratio: 1.42; background: var(--fixed-light); border-radius: 0.3em; box-shadow: 0 0 0 1px var(--border-strong), 0 1.2em 2.4em -1.2em color-mix(in srgb, var(--fixed-dark) 55%, transparent); }
.k-booklet > div { padding: 1.2em 1em; display: grid; gap: 0.5em; align-content: start; }
.k-booklet > div + div { border-left: 1px solid var(--border); }
.k-booklet .sk { background: var(--paper-line); } .k-booklet .sk.d { background: var(--paper-line-strong); }

/* clip: ask or just read */
[data-clip="ask"] { --x0: 40%; --y0: 110%; --x1: 88%; --y1: 88%; --x2: 14%; --y2: 70%; --x3: 91%; --y3: 19%; --x4: 91%; --y4: 19%; }
.k-top { display: flex; align-items: center; justify-content: flex-end; gap: 0.6em; font-size: 0.85em; color: var(--text-muted); flex: none; }
.k-sw { position: relative; width: 2.4em; height: 1.4em; border-radius: 99px; background: var(--text); transition: background 200ms ease; }
.k-sw::after { content: ""; position: absolute; top: 0.15em; left: 1.15em; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--bg); transition: left 200ms ease; }
.clip[data-step="4"] .k-sw { background: var(--border-strong); } .clip[data-step="4"] .k-sw::after { left: 0.15em; }
.k-stage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0.8em; }
.k-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0.9em; justify-content: flex-end; }
.k-bubble { align-self: flex-end; max-width: 82%; padding: 0.6em 0.9em; border-radius: 0.8em; background: var(--bg-user); font-family: var(--font-read); font-weight: var(--w-light); font-size: 1.1em; line-height: 1.3; }
.k-ans { display: grid; gap: 0.5em; max-width: 86%; }
.k-chips { display: flex; gap: 0.5em; margin-top: 0.4em; }
.k-chip { display: inline-flex; align-items: center; gap: 0.5em; height: 1.9em; padding: 0 0.7em 0 0.3em; border-radius: 0.4em; background: var(--surface); width: 7em; }
.k-chip b { width: 1.4em; height: 1.4em; border-radius: 0.25em; display: grid; place-items: center; background: var(--surface-active); font-size: 0.8em; font-weight: var(--w-regular); color: var(--accent-text); flex: none; }
.k-chip .sk { flex: 1; }
.k-side { position: absolute; z-index: 2; top: 0; right: -1.3em; bottom: 0; width: 56%; background: var(--bg-sidebar); box-shadow: -1px 0 0 var(--border); padding: 1em; display: flex; flex-direction: column; gap: 0.7em; }
.k-reader { position: absolute; inset: 0; z-index: 3; background: var(--bg); display: flex; flex-direction: column; gap: 0.8em; }
.k-reader .k-doc { display: grid; gap: 0.6em; padding-top: 0.4em; }

/* clip: offline maps */
[data-clip="maps"] { --x0: 70%; --y0: 110%; --x1: 62%; --y1: 58%; --x2: 30%; --y2: 20%; --x3: 52%; --y3: 50%; --x4: 52%; --y4: 50%; }
[data-clip="maps"] .win-body { padding: 0; }
.k-map { position: absolute; inset: 0; overflow: hidden; background: var(--surface); }
.k-map svg { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 56% 50%; transition: transform 1300ms var(--ease); }
.clip[data-step="2"] .k-map svg, .clip[data-step="3"] .k-map svg, .clip[data-step="4"] .k-map svg { transform: scale(2.6); }
.k-map .land { fill: var(--surface-2); } .k-map .water { fill: color-mix(in srgb, var(--cover-navy) 22%, var(--surface)); }
.k-map .road { fill: none; stroke: var(--bg); stroke-width: 3.2; stroke-linecap: round; } .k-map .road.b { stroke-width: 1.4; }
.k-map .blk { fill: var(--surface-active); } .k-map .ctr { fill: none; stroke: var(--border-strong); stroke-width: 0.6; opacity: 0.7; }
.k-map-ui { position: absolute; z-index: 2; left: 1em; right: 1em; top: 1em; }
.k-pin { position: absolute; z-index: 2; width: 1.5em; height: 1.5em; margin: -1.5em 0 0 -0.75em; border-radius: 50% 50% 50% 0; background: var(--cover-navy); transform: rotate(-45deg) translate(1.4em, -1.4em); box-shadow: 0 0 0 1.5px var(--bg); }
.k-pin::after { content: ""; position: absolute; inset: 0.45em; border-radius: 50%; background: var(--fixed-light); }
.clip[data-step="3"] .k-pin, .clip[data-step="4"] .k-pin { transform: rotate(-45deg); }
.clip .k-pin:nth-of-type(2) { transition-delay: 120ms; } .clip .k-pin:nth-of-type(3) { transition-delay: 240ms; }
.k-call { position: absolute; z-index: 3; left: 26%; top: 60%; width: 52%; padding: 0.9em 1em; border-radius: 0.6em; background: var(--bg); box-shadow: 0 0 0 1px var(--border-strong), 0 1em 2em -1em color-mix(in srgb, var(--fixed-dark) 50%, transparent); display: grid; gap: 0.5em; }

/* clip: the family plan */
[data-clip="plan"] { --x0: 30%; --y0: 110%; --x1: 62%; --y1: 58%; --x2: 84%; --y2: 90%; --x3: 84%; --y3: 90%; }
.k-form { display: grid; gap: 0.75em; }
.k-fr { display: grid; grid-template-columns: 26% 1fr; gap: 0.9em; align-items: center; }
.k-in { display: flex; align-items: center; height: 2.3em; padding-inline: 0.7em; border-radius: 0.4em; box-shadow: inset 0 0 0 1px var(--border-strong); }
.k-in i { display: block; height: 0.5em; border-radius: 0.25em; background: var(--text-muted); width: 0; }
.clip:not([data-step="0"]) .k-in i { width: var(--w); transition: width 500ms ease var(--d, 0ms); }
.k-sheets { position: absolute; inset: 0; z-index: 3; background: color-mix(in srgb, var(--bg) 88%, transparent); display: flex; align-items: center; justify-content: center; gap: 1.4em; padding: 1.4em; }
.k-a4 { width: 40%; aspect-ratio: 0.707; background: var(--fixed-light); border-radius: 0.2em; padding: 1.1em 0.9em; display: grid; gap: 0.5em; align-content: start; box-shadow: 0 0 0 1px var(--border-strong), 0 1.2em 2.4em -1.2em color-mix(in srgb, var(--fixed-dark) 55%, transparent); transform: rotate(-2deg); }
.k-wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em; width: 44%; }
.k-wallet span { aspect-ratio: 1.58; background: var(--fixed-light); border-radius: 0.3em; padding: 0.6em; display: grid; gap: 0.35em; align-content: start; box-shadow: 0 0 0 1px var(--border-strong); }
.k-a4 .sk, .k-wallet .sk { background: var(--paper-line); } .k-a4 .sk.d, .k-wallet .sk.d { background: var(--paper-line-strong); }
.clip .k-wallet span { transition: transform 520ms var(--ease) var(--d, 0ms), opacity 280ms ease var(--d, 0ms); transform: translateX(-3em); }
.clip[data-step="3"] .k-wallet span { transform: none; }

/* clip: your own documents */
[data-clip="docs"] { --x0: -6%; --y0: 96%; --x1: 46%; --y1: 46%; --x2: 40%; --y2: 21%; --x3: 40%; --y3: 21%; }
.k-pdf { display: grid; place-items: center; width: 2.2em; height: 2.6em; border-radius: 0.25em; background: var(--surface-active); font-size: 0.7em; letter-spacing: 0.06em; color: var(--text-muted); flex: none; }
.k-row.file > span:first-child { flex: none; display: grid; }
.k-row.file b { flex: 1; font-weight: var(--w-regular); }
.k-row.file { background: var(--highlight); margin-inline: -0.5em; padding-inline: 0.7em; border-radius: 0.4em; border-bottom-color: transparent; }
.k-drag { position: absolute; left: 1.1em; top: 1em; display: inline-flex; align-items: center; gap: 0.6em; padding: 0.5em 0.9em 0.5em 0.5em; border-radius: 0.5em; background: var(--bg); box-shadow: 0 0 0 1px var(--border-strong), 0 0.8em 1.6em -0.8em color-mix(in srgb, var(--fixed-dark) 50%, transparent); white-space: nowrap; opacity: 0; }
.clip[data-step="0"] .k-drag, .clip[data-step="1"] .k-drag { opacity: 1; }
.k-found { display: grid; gap: 0.5em; padding-top: 0.2em; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
.page-head { padding-block: var(--space-8) var(--space-7); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 22px; padding: 0; list-style: none; font-family: var(--font-ui); font-size: var(--fs-label); letter-spacing: var(--ls-label); font-weight: var(--w-regular); color: var(--text-faint); }
.crumbs a { color: var(--text-muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; text-decoration-thickness: 1px; padding-block: 6px; border-radius: 2px; transition: color var(--dur-quick) ease, text-decoration-color var(--dur-quick) ease; }
.crumbs a:hover { color: var(--text); text-decoration-color: currentColor; }
.crumbs a:active { color: var(--text); background: var(--wash-hover); transition-duration: 0s; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--border-strong); }
.page-head h1 { font-size: clamp(40px, 5.6vw, var(--fs-display)); font-weight: var(--w-thin); letter-spacing: var(--ls-display); line-height: var(--lh-display); max-width: 20ch; text-wrap: balance; }
.page-head .lede { margin-top: 22px; max-width: 56ch; font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-muted); }
.page-head .btns, .page-head .seg { margin-top: 30px; }
.sec { padding-bottom: var(--section-y); }
.sec h2 { max-width: 24ch; margin-bottom: 22px; font-size: clamp(30px, 3.4vw, var(--fs-h1)); }
.sec .eb + h2 { margin-top: 14px; }
.sec .intro { max-width: 60ch; margin-bottom: 36px; font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-muted); }
.sec .btns { margin-top: 28px; }
.narrow { max-width: 720px; }
.sec .eb + .shelf { margin-top: 18px; }
.guide-head { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 56px; align-items: end; }
.guide-head h1 { margin-top: 14px; }
@media (max-width: 760px) { .guide-head { grid-template-columns: 1fr; } .guide-head .cover { display: none; } }
@media (max-width: 640px) { .page-head { padding-block: var(--space-7); } }
/* download page hero (layout fixes, 24 Nov): the download button and the GitHub button sit side by side, centred as a
   pair, with the other system's line centred under them. On narrow screens they stack, centred. */
.page-head.center .in { text-align: center; }
.page-head.center h1 { margin-inline: auto; }
.dl-hero { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 12px; row-gap: 14px; margin-top: 30px; }
.dl-hero .dl-alt { flex-basis: 100%; font-family: var(--font-ui); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--text-muted); }
.dl-hero .dl-alt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.dl-hero .dl-alt a:hover { text-decoration-color: currentColor; }
@media (max-width: 640px) {
  .dl-hero { flex-direction: column; }
  .dl-hero .dl-alt { flex-basis: auto; order: 2; }
  .dl-hero .gh { order: 3; }
}
:root[data-os="phone"] .dl-hero .dl-alt { display: none; }

/* long reading: articles, legal, privacy, about */
.prose { max-width: 66ch; }
.prose h2 { font-size: var(--fs-h2); letter-spacing: var(--ls-head); line-height: var(--lh-h2); margin: 52px 0 14px; max-width: none; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose > :first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose figure { margin: 28px 0; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); }
/* guide callouts: a warning at the top, a note on where the sources differ, a list of what not to do */
.callout { margin: 0 0 22px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--surface); border-left: 3px solid var(--border-strong); }
.callout.warning { border-left-color: var(--warn); }
.callout.danger { background: var(--danger-soft); border-left-color: var(--danger); }
.callout > :last-child { margin-bottom: 0; }
.meta { font-family: var(--font-ui); font-size: var(--fs-label); letter-spacing: var(--ls-label); font-weight: var(--w-regular); color: var(--text-faint); }

/* a feature: text beside an app clip, sides alternating */
.feature { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; padding-bottom: 104px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.feature:nth-of-type(even) > :first-child { order: 2; }
.feature h2 { margin: 14px 0 16px; font-size: clamp(28px, 3vw, 36px); }
.feature h2:first-child { margin-top: 0; }
.feature p { color: var(--text-muted); max-width: 46ch; }
.feature p + p { margin-top: 12px; }
.feature .btns { margin-top: 22px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; padding-bottom: 72px; } .feature:nth-of-type(even) > :first-child { order: 0; } }
/* ---- layout fixes, 24 Nov: wide feature rows (.features wraps them; how it works, guides overview) ----
   Every clip gets the same box: the clip column is 60% of the row, the text 35%, with a 5% gap. Reversed rows swap the
   columns too, so the clip never lands in the narrow one. Phones stack them, as plain .feature rows do. */
.features .feature { grid-template-columns: minmax(0, 35fr) minmax(0, 60fr); column-gap: 5%; }
.features .feature:nth-of-type(even) { grid-template-columns: minmax(0, 60fr) minmax(0, 35fr); }
@media (max-width: 860px) { .features .feature, .features .feature:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); } }
/* a row's way on to its detail page is a plain text link, not a button (buttons are for the big actions) */
.features .feature p.more { margin-top: 20px; }
/* ---- end wide feature rows ---- */

/* comparison tables: pricing and the compare pages */
.tablewrap { border-radius: var(--radius-card); background: var(--surface); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.45; }
.cmp th, .cmp td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.cmp thead th { font-family: var(--font-ui); font-size: var(--fs-micro); letter-spacing: var(--ls-micro); text-transform: uppercase; font-weight: var(--w-regular); color: var(--text-muted); background: var(--surface-2); }
.cmp tbody th { width: 42%; font-weight: var(--w-light); font-size: var(--fs-body); line-height: 1.4; }
.cmp td { width: 29%; color: var(--text-muted); }
.cmp .yes { color: var(--ok); } .cmp .no { color: var(--text-faint); }
.cmp tbody:last-child tr:last-child > * { border-bottom: 0; }
@media (max-width: 700px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { padding: 16px 18px; border-bottom: 1px solid var(--border); }
  .cmp tbody:last-child tr:last-child { border-bottom: 0; }
  .cmp tbody th, .cmp th, .cmp td { padding: 0; border: 0; width: auto; }
  .cmp td { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; margin-top: 8px; }
  .cmp td::before { content: attr(data-l); font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); padding-top: 3px; }
}
.small-print { max-width: 70ch; margin-top: 28px; color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.small-print strong { color: var(--text); }
.org-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.org-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-round); background: var(--tag-bg); color: var(--tag-text); text-decoration: none; font-family: var(--font-ui); font-size: var(--fs-label); letter-spacing: var(--ls-label); font-weight: var(--w-regular); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow var(--dur-quick) ease, background-color var(--dur-quick) ease; }
.org-links a:hover { box-shadow: inset 0 0 0 1px var(--tag-text); }
.org-links a:active { box-shadow: inset 0 0 0 1px var(--tag-text), var(--sink); transition-duration: 0s; }

/* the key pages */
.keybox { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 22px; border-radius: var(--radius-card); background: var(--surface); margin-bottom: 14px; }
.keybox code { flex: 1 1 260px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(15px, 2.6vw, 21px); letter-spacing: 0.04em; overflow-wrap: anywhere; }
/* the thank-you and resend pages (keys.js): loading key, error banner */
.thanks-title { margin-top: 14px; }
.thanks-steps { margin-top: 48px; }
/* the key on the thank-you page: small, in the sans serif, all caps; the Copy button shows the copy icon before its label */
.keybox.licence { padding: 14px 18px; gap: 12px; }
.keybox.licence code { flex: 1 1 200px; font-family: var(--font-ui); font-size: 13px; font-weight: var(--w-regular); text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.5; }
.keybox.licence[data-state="loading"] code, .keybox.licence[data-state="failed"] code { text-transform: none; letter-spacing: 0; font-size: var(--fs-body); }
.btn.copy { padding: 10px 16px; min-height: 40px; }
.btn.copy svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.keybox[data-state="loading"] code, .keybox[data-state="failed"] code { color: var(--text-faint); font-family: inherit; letter-spacing: 0; font-size: var(--fs-lead); }
.banner-err { display: flex; gap: 12px; align-items: flex-start; max-width: 62ch; padding: 16px 18px; margin-top: 14px; border-radius: var(--radius-card); background: var(--danger-soft); color: var(--text); }
.banner-err svg { width: 20px; height: 20px; flex: none; margin-top: 4px; fill: none; stroke: var(--danger); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* download */
.os-alt { font-family: var(--font-ui); font-size: var(--fs-label); letter-spacing: var(--ls-label); font-weight: var(--w-regular); color: var(--text-muted); }

/* the plain page for the reviewer: the page list */
.plainpage { max-width: 760px; margin: 0 auto; padding: 64px 24px 120px; }
.plainpage h1 { font-size: var(--fs-h1); letter-spacing: var(--ls-h1); line-height: var(--lh-h1); margin-bottom: 14px; }
.plainpage h2 { font-size: var(--fs-h3); letter-spacing: var(--ls-head); margin: 40px 0 8px; }
.plainpage > p { color: var(--text-muted); max-width: 62ch; }
.plainpage ul { list-style: none; margin: 0; padding: 0; }
.plainpage ul ul { padding-left: 22px; }
.plainpage li a { display: inline-block; padding-block: 5px; }
.plainpage li span { color: var(--text-faint); font-size: var(--fs-small); margin-left: 8px; }
.plainpage ol { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: n; }
.plainpage ol li { counter-increment: n; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 22px 0; border-top: 1px solid var(--border); }
.plainpage ol li::before { content: counter(n); font-size: 34px; font-weight: var(--w-thin); line-height: 1; color: var(--accent-text); }
.plainpage ol h2 { margin: 0 0 6px; }
.plainpage ol p { color: var(--text-muted); max-width: 60ch; }
.plainpage ol a { display: inline-block; margin-top: 8px; }

/* ==========================================================================
   Homepage and long-page features kept on 23 November (formerly behind the suggestions switch)
   ========================================================================== */
/* the offline section: a working Wi-Fi switch beside the claim (the Superpixels version) */
.offline .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--space-8); align-items: center; }
.offline h2 { max-width: none; }
.wifi { display: flex; background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-5); flex-direction: column; gap: var(--space-1); }
.wifi .top { display: flex; align-items: center; gap: var(--space-3); padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.wifi .top svg { width: 24px; height: 24px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; }
.wifi .top svg .cut { opacity: 0; transition: opacity var(--dur-quick) ease; }
.wifi.off .top svg .cut { opacity: 1; } .wifi.off .top svg .waves { opacity: 0.35; }
.wifi .top label { font-family: var(--font-ui); font-size: 14px; font-weight: var(--w-regular); letter-spacing: 0.02em; margin-right: auto; cursor: pointer; }
.wifi ul { list-style: none; margin: 0; padding: 0; }
.wifi li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--border); font-size: 19px; }
.wifi li:last-child { border-bottom: 0; }
.wifi li i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.wifi.pulse li i { animation: pulse 900ms ease; }
.wifi li:nth-child(2) i { animation-delay: 80ms; } .wifi li:nth-child(3) i { animation-delay: 160ms; }
@keyframes pulse { 40% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--ok) 22%, transparent); } }
@media (max-width: 700px) { .offline .in { grid-template-columns: 1fr; gap: var(--space-6); } }

/* sources: the names as type, smaller than the headline, each linking to its row on the library page (option B of
   9-source-hover.html). At rest muted; on hover the name steps up to --text, a navy underline paints in and a small
   arrow fades in and glides half its width to the right. The arrow's space is reserved, so nothing reflows. */
.sources .in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-8); align-items: start; }
.sources h2 { margin-top: 0; }
.names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-6); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--border); }
.names li { border-top: 1px solid var(--border); padding-block: var(--space-3); }
.names .src { font-size: clamp(20px, 2vw, 24px); }
@media (max-width: 860px) { .sources .in { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); } .sources .btns { margin-top: var(--space-3); } }
@media (max-width: 480px) { .names { grid-template-columns: minmax(0, 1fr); } }
.src { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 32px); font-weight: var(--w-thin); letter-spacing: -0.01em; line-height: 1.3;
  color: var(--text-muted); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: transparent;
  border-radius: 2px; transition: color var(--dur-quick) ease, text-decoration-color var(--dur-quick) ease; }
.src::after { content: "\2192"; display: inline-block; width: 1.1em; margin-left: 0.2em; font-size: 0.5em; vertical-align: 0.24em; text-align: left;
  color: var(--navy-text); opacity: 0; transform: translateX(0); transition: opacity var(--dur-quick) ease, transform var(--dur-base) var(--ease); }
.src:hover { color: var(--text); text-decoration-color: var(--navy-text); }
.src:hover::after { opacity: 1; transform: translateX(0.5em); }   /* one of the two approved movements */
.src:active { color: var(--navy-text); }
@media (prefers-reduced-motion: reduce) { .src::after { transform: none !important; transition: opacity var(--dur-quick) ease; } }

/* long pages: a contents list that stays beside the text and marks where you are */
.toc { font-family: var(--font-ui); font-size: var(--fs-label); letter-spacing: var(--ls-label); font-weight: var(--w-regular); line-height: 1.4; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-left: 1px solid var(--border-strong); }
.toc a { display: block; padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4); margin-left: -1px; border-left: 1px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-faint); text-decoration: none;
  transition: color var(--dur-quick) ease, background-color var(--dur-quick) ease; }
.toc a:hover { color: var(--text); background: var(--wash-hover); }
.toc a:active { color: var(--text); background: var(--wash-press); transition-duration: 0s; }
.toc a[aria-current] { color: var(--text); border-left-color: var(--text); }
.has-toc { display: grid; grid-template-columns: 220px minmax(0, 66ch); gap: var(--space-8); align-items: start; }
.has-toc .toc { position: sticky; top: calc(var(--nav-h) + var(--space-6)); }
@media (max-width: 900px) { .has-toc { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } .has-toc .toc { position: static; } }

/* every page: a quarter-second cross-fade between pages, where the browser supports cross-document view transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 250ms; }

/* ==========================================================================
   Reduced motion: nothing moves on its own, stages show their end state, reveals swap at once
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  html { scroll-behavior: auto; }
  .bar .typed span::after, .readp .brand.lit, .wifi.pulse li i, .cur.tap::after { animation: none; }
  .readp .brand.lit { filter: drop-shadow(0 0 0.25em var(--glow)); }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* ---------- a paid guide: the cover with a lock and the list of its sections, with no body text ---------- */
.cover.is-locked .cover-lock { position: absolute; left: 50%; top: 56%; translate: -50% -50%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: color-mix(in srgb, var(--ground) 70%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 40%, transparent); color: var(--ink); }
.cover.is-locked .cover-lock svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .guide-head .cover.is-locked { display: flex; width: 150px; order: -1; } }   /* phones: the locked cover shows above the title */
.guide-inside h2 { font-size: var(--fs-h3); line-height: var(--lh-h3); margin: 0 0 var(--space-4); }
.inside-list { margin: 0; padding: 0; list-style: none; counter-reset: inside; display: grid; gap: 0; max-width: 62ch; border-top: 1px solid var(--border); }
.inside-list li { counter-increment: inside; display: flex; gap: var(--space-4); padding: 12px 0; border-bottom: 1px solid var(--border); }
.inside-list li::before { content: counter(inside, decimal-leading-zero); min-width: 2ch; font-family: var(--font-ui); font-size: var(--fs-small, 15px); color: var(--text-faint); font-variant-numeric: tabular-nums; padding-top: 2px; }

/* ---------- the homepage audience cards: the guide-cover style with one Lucide line icon per scenario (ISC license,
   img/icons/LICENSE-lucide.txt). The stroke stays about 1.4 px at any card size. The tech card has its own dark grey. ---------- */
.g-graphite { --ground: #2F2F2D; --ink: #F5F3EE; --line: #D6D2CA; --band: 0.30; --band-h: 0.52; }
.c-card .c-icon { position: absolute; z-index: 1; left: 50%; top: 36%; translate: -50% -50%; width: 34%; aspect-ratio: 1; color: var(--ink); opacity: 0.9; pointer-events: none; }
.c-card .c-icon svg { display: block; width: 100%; height: 100%; }
.c-card .c-icon svg * { vector-effect: non-scaling-stroke; }

/* ---------- cookie consent: a small glass card at the bottom right (the bottom edge on phones), in the site's light and dark tokens.
   It shows only where site.js finds it is needed (see there). The glass is 72% of the page colour: over pure black (light theme)
   the text keeps 8.3:1, and over pure white (dark theme) 6.0:1. ---------- */
.consent { position: fixed; z-index: 70; right: 16px; bottom: 16px; width: min(270px, calc(100vw - 32px)); display: grid; gap: 14px; padding: 18px 16px;
  font-family: var(--font-ui); font-size: 13.5px; line-height: 1.5; color: var(--text); background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid color-mix(in srgb, var(--border-strong) 80%, transparent); border-radius: var(--radius-lg); box-shadow: var(--shadow-float);
  opacity: 0; translate: 0 6px; transition: opacity 180ms ease, translate 180ms ease; }
.consent.on { opacity: 1; translate: 0 0; }
.consent[hidden] { display: none; }
.consent-title { margin: 0; font-family: var(--font-ui); font-size: 14px; font-weight: var(--w-medium); line-height: 1.3; color: var(--text); letter-spacing: 0; }
.consent p { margin: -4px 0 0; color: var(--text); }   /* full text colour: the card is translucent, so it keeps 4.5:1 over any page */
.consent p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.consent button { font: inherit; font-size: 13px; font-weight: var(--w-regular); min-height: 34px; padding: 0 14px; border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap; }
.consent .c-all { border: 0; background: var(--navy); color: var(--on-navy); }
.consent .c-all:hover { background: var(--navy-hover); }
.consent .c-all:active { background: var(--navy-press); }
.consent .c-ess { border: 1px solid var(--border-strong); background: transparent; color: var(--text); }
.consent .c-ess:hover { background: var(--surface-hover); }
.consent .c-ess:active { background: var(--surface-active); }
@media (max-width: 600px) {
  .consent { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; gap: 10px; padding: 12px; font-size: 13px; }
  .consent-btns > * { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; translate: none; } }
@media print { .consent { display: none; } }

/* ===== LAUNCH-CONTENT: article and comparison pages (sh-content, 24 November 2026) =====
   The in-short card, tables and pick cards inside an article's prose, the cover beside the title,
   the printable checklist and plan template. Delete this block with those pages. */
.prose .takeaways { margin: 0 0 34px; padding: 18px 22px; border-left-color: var(--navy-text); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.prose .tablewrap { margin: 8px 0 26px; }
.prose .cmp tbody th { width: 30%; }
.prose .cmp td { width: auto; }
.prose ul.links.picks { padding-left: 0; margin: 26px 0; }
.prose .picks .lcard h3 { margin: 0; }
.prose .picks .lcard p { margin: 0; font-size: var(--fs-small); }
.page-head .guide-head .cover { width: 200px; }
.sheet { margin: 8px 0 28px; padding: 22px 24px; border-radius: var(--radius-card); background: var(--surface); }
.sheet h3 { margin: 18px 0 6px; } .sheet h3:first-child { margin-top: 0; }
.sheet ul.check { list-style: none; padding-left: 0; }
.sheet ul.check li { position: relative; padding-left: 30px; margin: 0 0 8px; }
.sheet ul.check li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 15px; height: 15px; border: 1.5px solid var(--border-strong); border-radius: 3px; }
.sheet .field { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 4px 16px; align-items: end; margin: 0 0 10px; }
.sheet .field label { font-size: var(--fs-small); color: var(--text-muted); }
.sheet .field input { width: 100%; border: 0; border-bottom: 1px solid var(--border-strong); background: transparent; color: var(--text); font: inherit; padding: 4px 2px; }
.sheet .field input:focus-visible { outline: 2px solid var(--navy-text); outline-offset: 2px; }
.sheet .print-row { margin-top: 18px; }
@media (max-width: 560px) { .sheet .field { grid-template-columns: 1fr; } }
.sheet .people { overflow-x: auto; margin: 0 0 12px; }
.sheet .people table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.sheet .people th { text-align: left; font-weight: var(--w-regular); color: var(--text-muted); padding: 4px 6px; vertical-align: bottom; }
.sheet .people td { padding: 2px 6px; min-width: 7em; }
.sheet .people input { width: 100%; border: 0; border-bottom: 1px solid var(--border-strong); background: transparent; color: var(--text); font: inherit; padding: 6px 2px; }
.sheet .people input:focus-visible { outline: 2px solid var(--navy-text); outline-offset: 2px; }
@media print {
  .print-row { display: none !important; }
  body.print-sheet :is(.nav, .mnav, .foot, .toc, .page-head) { display: none !important; }
  body.print-sheet .prose > :not(.print-me) { display: none; }
  body.print-sheet .prose > .print-me { display: block; background: none; padding: 0; color: #000; }
  .sheet :is(.field, .people) input { border-bottom-color: #000; }
}
/* ===== end LAUNCH-CONTENT ===== */
