/* The register (November 2026): Newsreader for display, Public Sans for text, IBM Plex Mono for record numbers;
   self-hosted from web/fonts (SIL Open Font License, LICENSE-*.txt). latin and latin-ext cover English and French. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("../fonts/newsreader-latin-ext-opsz-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/public-sans-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --fs-min: .72rem; /* text floor: 11.5px at a 16px root (CLAUDE.md) */
  --bg: #fbfbf9;
  --surface: #ffffff;
  --surface-2: #f3f3ef;
  --ink: #111214;
  --ink-2: #3d4047;
  --ink-3: #5c5f66;
  --line: #e4e4df;
  --line-strong: #cfcfc8;
  --field-border: #85878d; /* 3:1 or more against every light surface (WCAG 1.4.11) */
  /* Focus: a dark ring with a light halo, so it shows on any section colour (WCAG 2.4.7, 1.4.11; technique C40). */
  --focus: #111214; --focus-halo: #ffffff;
  --accent: #2b3ae8;
  --accent-ink: #ffffff;
  --accent-soft: #eef0fe;
  --accent-text: #1d2bc4;
  --success: #0f7b4f;
  --success-soft: #e7f4ee;
  --warning: #8a5300;
  --warning-soft: #fbf1dc;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --info-soft: #eef0fe;
  --shadow: 0 1px 2px rgba(17, 18, 20, .05), 0 12px 32px -18px rgba(13, 21, 102, .22);
  /* Design system (November 2026): one radius scale, one elevation scale, soft surfaces. Rounded and calm, like a
     well-made phone app; every component takes its corners, shadows and heights from here. */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-xl: 18px;
  --shadow-xs: 0 1px 2px rgba(17, 18, 20, .05);
  --shadow-sm: 0 1px 2px rgba(17, 18, 20, .05), 0 8px 24px -16px rgba(13, 21, 102, .2);
  --shadow-lg: 0 1px 2px rgba(17, 18, 20, .05), 0 30px 70px -30px rgba(13, 21, 102, .35);
  --shadow-accent: 0 1px 2px rgba(29, 43, 196, .2), 0 8px 18px -10px rgba(43, 58, 232, .45);
  --grad-accent: linear-gradient(180deg, #2b3ae8 0%, #2b3ae8 100%);
  --grad-surface: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  --grad-ink: linear-gradient(160deg, #0d1566 0%, #0d1566 100%);
  --grad-page: linear-gradient(transparent, transparent);
  --control-h: 46px; --control-h-sm: 38px; --control-h-lg: 52px;
  /* Buttons are a little slimmer than fields: a field holds typing (iOS needs 16px text and room), a button only a
     word or two. On phones the visible button shrinks again and an invisible margin keeps the 44px touch target. */
  --btn-h: 44px; --btn-h-sm: 36px; --btn-h-lg: 48px; --btn-pad: 20px; --btn-fs: 1rem; --tap: 44px;
  --fs-xs: .8rem; --fs-sm: .9rem; --fs-lg: 1.125rem;
  --fs-h1: clamp(1.75rem, 2.8vw, 2.35rem); --fs-h2: 1.4rem; --fs-h3: 1.15rem;
  --bottomnav-h: 64px;
  /* The register (November 2026): Newsreader for display (--serif, and --hand where the design had handwriting),
     Public Sans for text, IBM Plex Mono for record numbers; bright paper and one accent. The accent is each person's
     choice (Settings > Customise, lib/accent.js writes it over these values); YARNIN red is the default.
     The Nunito files stay in web/fonts because the emails load them from the live site. */
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --hand: var(--serif);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  /* Design export tokens (design/theme.css) not in the original set */
  --door-v: #eef0fe; --door-b: #e7f4ee; --door-ink: #111214;
  --sticky: #eef0fe; --sticky-ink: #111214; --cert: #ffffff; --cert-ink: #111214; --cert-ink-2: #3d4047; --cert-ink-3: #5c5f66; --cert-line: #e4e4df;
  --band: #0d1566; --band-ink: #ffffff; --proof: #0d1566; --proof-line: #2a3390;
  --teal: #9ed8bd; --teal-text: #0f7b4f; --pink: #c9cdf5; --pink-text: #1d2bc4; --yellow: #c9cdf5; --navy: #0d1566; --on-navy: #ffffff;
  --scrim: rgba(13, 21, 102, .35);
  --radius-lg: 14px; --radius-pill: 999px;
  --text-min: 11.5px;
  /* Motion (Interaction flows and motion: duration and easing tokens) */
  --motion-instant: 0ms; --motion-xshort: 100ms; --motion-short: 150ms; --motion-medium: 200ms;
  --motion-long: 250ms; --motion-xlong: 400ms; --motion-xxlong: 600ms;
  --ease-enter: cubic-bezier(0.2, 0, 0, 1); --ease-exit: cubic-bezier(0.4, 0, 1, 1); --ease-move: cubic-bezier(0.4, 0, 0.2, 1);
  --motion-distance: 1; /* multiplies every slide/scale offset; 0 under reduced motion */
  --shimmer: 1.2s;
  --sheen: 1.8s; /* the loading sheen across skeletons and a busy grid; 0s under reduced motion */
  --spin: 800ms; /* one turn of a loading spinner; slowed, not stopped, under reduced motion (progress is information) */
  --pulse: 1.6s; /* a live indicator's loop (recording ring, playing equaliser); never shortened, switched off instead */
  /* Layout */
  /* The website's page width: fluid between a gutter that grows with the screen and a cap for very wide screens
     (1680px: two hero columns of ~800px, paragraphs still held to a reading measure by their own max-width). */
  --page-max: 1680px; --page-gutter: clamp(16px, 4vw, 96px);
  --grid-gutter: 24px; --panel-width: 480px; --modal-confirm: 480px; --modal-wide: 560px; --popover-max: 320px; --toast-width: 360px;
  --menu-width: 240px; --topbar-height: 60px;
  /* Dashboard shell */
  --control-pad-x: 14px; --select-icon-space: 44px; --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f4b44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --search-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b655b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  --sidebar-width: 256px; --sidebar-rail: 64px; --header-height: 56px; --demobar-h: 28px; --card-pad: 20px; --row-height: 40px; --indicator-width: 3px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c10;
    --surface: #14151b;
    --surface-2: #1c1e26;
    --ink: #f2f2ee;
    --ink-2: #c9cad0;
    --ink-3: #a1a3ab;
    --line: #2a2c35;
    --line-strong: #3b3e49;
    --field-border: #7c7f8a;
    --focus: #f2f2ee; --focus-halo: #0b0c10;
    --accent: #8f9bff;
    --accent-ink: #0b0c10;
    --accent-soft: #1c2150;
    --accent-text: #aeb6ff;
    --success: #4fd19a;
    --success-soft: #10301f;
    --warning: #f1bd5a;
    --warning-soft: #3a2c0e;
    --danger: #ff8f86;
    --danger-soft: #431a17;
    --info-soft: #1c2150;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .25);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 14px rgba(0, 0, 0, .2);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, .4), 0 28px 60px rgba(0, 0, 0, .45);
    --shadow-accent: 0 8px 18px -10px rgba(143, 155, 255, .4);
    --grad-accent: linear-gradient(180deg, #8f9bff 0%, #8f9bff 100%);
    --grad-surface: linear-gradient(180deg, #14151b 0%, #14151b 100%);
    --grad-ink: linear-gradient(160deg, #0a0f45 0%, #0a0f45 100%);
    --grad-page: linear-gradient(transparent, transparent);
    --door-v: #1c2150; --door-b: #10301f; --door-ink: #f2f2ee;
    --sticky: #1c2150; --cert: #14151b; --band: #0a0f45; --band-ink: #f2f2ee; --proof: #0a0f45;
    --teal-text: #4fd19a; --pink-text: #aeb6ff;
    --sticky-ink: #f2f2ee; --cert-ink: #f2f2ee; --cert-ink-2: #c9cad0; --cert-ink-3: #a1a3ab; --cert-line: #3b3e49; --navy: #0a0f45; --on-navy: #f2f2ee; --pink: #8f9bff; --proof-line: #2a3390;
    --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfc8ba' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    --search-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aba393' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  }
}
:root[data-theme="dark"] {
  --bg: #0b0c10;
  --surface: #14151b;
  --surface-2: #1c1e26;
  --ink: #f2f2ee;
  --ink-2: #c9cad0;
  --ink-3: #a1a3ab;
  --line: #2a2c35;
  --line-strong: #3b3e49;
  --field-border: #7c7f8a;
  --focus: #f2f2ee; --focus-halo: #0b0c10;
  --accent: #8f9bff;
  --accent-ink: #0b0c10;
  --accent-soft: #1c2150;
  --accent-text: #aeb6ff;
  --success: #4fd19a;
  --success-soft: #10301f;
  --warning: #f1bd5a;
  --warning-soft: #3a2c0e;
  --danger: #ff8f86;
  --danger-soft: #431a17;
  --info-soft: #1c2150;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .25);
  /* Same elevation and gradients as the OS-dark block above: without them the theme toggle kept the light-mode white
     surface gradient and the light red button gradient (dark text on a light-red fill) in dark mode. */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 14px rgba(0, 0, 0, .2);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, .4), 0 28px 60px rgba(0, 0, 0, .45);
  --shadow-accent: 0 8px 18px -10px rgba(143, 155, 255, .4);
  --grad-accent: linear-gradient(180deg, #8f9bff 0%, #8f9bff 100%);
  --grad-surface: linear-gradient(180deg, #14151b 0%, #14151b 100%);
  --grad-ink: linear-gradient(160deg, #0a0f45 0%, #0a0f45 100%);
  --grad-page: linear-gradient(transparent, transparent);
  --door-v: #1c2150; --door-b: #10301f; --door-ink: #f2f2ee;
  --sticky: #1c2150; --cert: #14151b; --band: #0a0f45; --band-ink: #f2f2ee; --proof: #0a0f45;
  --teal-text: #4fd19a; --pink-text: #aeb6ff;
  --sticky-ink: #f2f2ee; --cert-ink: #f2f2ee; --cert-ink-2: #c9cad0; --cert-ink-3: #a1a3ab; --cert-line: #3b3e49; --navy: #0a0f45; --on-navy: #f2f2ee; --pink: #8f9bff; --proof-line: #2a3390;
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfc8ba' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --search-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aba393' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grad-page), var(--bg); background-repeat: no-repeat; color: var(--ink);
  font: 16px/1.55 var(--sans);
  min-height: 100vh; display: flex; flex-direction: column;
  overflow-wrap: break-word;
}
main { flex: 1; padding: var(--s6) 0 var(--s8); outline: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.01em; font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.15; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; text-wrap: pretty; }
@media (max-width: 640px) { :root { --btn-h: 40px; --btn-h-sm: 34px; --btn-h-lg: 44px; --btn-pad: 16px; --btn-fs: .95rem; } }
/* The browser's own surfaces in the brand: selected text, the caret, native checkboxes and radios, scrollbars. */
:root { accent-color: var(--accent-text); caret-color: var(--accent-text); scrollbar-color: color-mix(in srgb, var(--ink-3) 45%, transparent) transparent; }
::selection { background: var(--accent-soft); color: var(--ink); }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; box-shadow: 0 0 0 7px var(--focus-halo); }
img, audio { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s4) 0; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 max(var(--s4), env(safe-area-inset-right)) 0 max(var(--s4), env(safe-area-inset-left)); }
.narrow { max-width: 720px; }
.slim { max-width: 460px; }
.stack { display: flex; flex-direction: column; gap: var(--s4); min-width: 0; }
.stack-sm { gap: var(--s2); }
.stack-lg { gap: var(--s6); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); min-width: 0; }
.row.between { justify-content: space-between; }
.row.top { align-items: flex-start; }
.row.bottom { align-items: flex-end; }
.grow { flex: 1 1 0; min-width: 0; }
.grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.grid-2 { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.split { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.mono { font-family: var(--mono); font-size: .9em; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.big-num { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top); }
.header-inner { display: flex; align-items: center; gap: var(--s3); min-height: 60px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); text-decoration: none; padding: 6px 4px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.brand-mark i { display: block; width: 2.5px; border-radius: 2px; background: var(--accent-ink); }
.nav { display: flex; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 9px 11px; border-radius: 8px; font-weight: 500; white-space: nowrap; font-size: .95rem; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent-text); background: var(--accent-soft); }
.header-actions { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.icon-btn.nav-toggle { display: none; border-color: var(--line); border-radius: 10px; }
.nav-lang { display: none; }
@media (max-width: 760px) {
  .icon-btn.nav-toggle { display: inline-flex; }
  .nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 2px; overflow: visible; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1rem; }
  .nav-lang { display: block; padding: 8px 12px; }
  .header-actions .lang-switch { display: none; }
}
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--danger); color: #fff; font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge-count { color: #2a0906; } }
:root[data-theme="dark"] .badge-count { color: #2a0906; }
.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); width: min(360px, calc(100vw - 24px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: var(--s2); z-index: 30; max-height: 70vh; overflow: auto; }
.menu-title { padding: 8px 10px; font-weight: 600; }
.menu a.menu-item, .menu button.menu-item { display: block; width: 100%; text-align: left; padding: 10px; border-radius: 8px; color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; }
.menu .menu-item:hover { background: var(--surface-2); }
.menu-item.unread { border-left: 3px solid var(--accent); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.account-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 10px 4px 6px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.account-btn .name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) { .account-btn .name { display: none; } .account-btn { padding: 4px 6px; } .header-inner { gap: var(--s2); } .brand { font-size: 1.1rem; gap: 7px; } }
.lang-switch { display: inline-flex; align-self: flex-start; width: fit-content; border: 1px solid var(--line); border-radius: 20px; padding: 2px; background: var(--surface); }
.lang-btn { min-width: 36px; min-height: 32px; padding: 0 8px; border: 0; border-radius: 16px; background: transparent; color: var(--ink-2); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.lang-btn[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text); }
.site-footer { border-top: 1px solid var(--line); padding: var(--s5) 0 calc(var(--s5) + env(safe-area-inset-bottom)); color: var(--ink-3); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: var(--s4); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--btn-h); padding: 0 calc(var(--btn-pad) + 2px); font-size: var(--btn-fs); border-radius: var(--radius-pill); border: 1px solid transparent; font: inherit; font-weight: 750; cursor: pointer; text-decoration: none; position: relative; white-space: nowrap;
  transition: transform var(--motion-short) var(--ease-move), box-shadow var(--motion-short) var(--ease-move), background-color var(--motion-short) var(--ease-move), border-color var(--motion-short) var(--ease-move); }
@media (hover: hover) { .btn:hover:not([disabled]) { transform: translateY(calc(-1px * var(--motion-distance))); } }
.btn:active:not([disabled]) { transform: translateY(0) scale(calc(1 - .035 * var(--motion-distance))); transition-duration: var(--motion-xshort); }
.btn::before { content: ''; position: absolute; inset: min(0px, calc((var(--btn-h) - var(--tap)) / 2)) 0; }
.btn-primary { background-color: var(--accent-text); background-image: var(--grad-accent); color: var(--accent-ink); box-shadow: var(--shadow-accent); }
.btn-primary:hover { background-image: none; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: var(--ink-3); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--accent-text); padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-danger { background: var(--surface); color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-sm { min-height: var(--control-h-sm); padding: 0 14px; font-size: var(--fs-sm); }
.btn-lg { min-height: var(--control-h-lg); padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--ink-3); border-top-color: transparent; animation: spin var(--spin) linear infinite; }
.btn-primary.is-loading::after { border-color: var(--accent-ink); border-top-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line-strong); border-top-color: var(--accent-text); animation: spin var(--spin) linear infinite; vertical-align: -3px; }
.loading { padding: var(--s7) 0; color: var(--ink-3); text-align: center; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow-sm); min-width: 0; }
.card.flat { box-shadow: none; }
.card.tint { background: var(--surface-2); box-shadow: none; }
.card > .stack { height: 100%; }
@media (max-width: 480px) { .card { padding: var(--s4); } }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.page-head .stack { gap: 6px; }
.crumb { font-size: .9rem; color: var(--ink-3); text-decoration: none; }
.crumb:hover { text-decoration: underline; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; border: 1px solid transparent; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.plain::before { display: none; }
.chip.plain { font-weight: 500; }
.chip-success { background: var(--success-soft); color: var(--success); }
.chip-warning { background: var(--warning-soft); color: var(--warning); }
.chip-danger { background: var(--danger-soft); color: var(--danger); }
.chip-info { background: var(--info-soft); color: var(--accent-text); }
.verified { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 6px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-weight: 600; font-size: .85rem; text-decoration: none; border: 1px solid transparent; }
a.verified:hover { border-color: var(--success); }
.verified svg { width: 17px; height: 17px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-weight: 700; font-size: var(--fs-sm); }
.hint { color: var(--ink-3); font-size: .86rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=url], select, textarea {
  width: 100%; min-height: var(--control-h); padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font: inherit; box-shadow: var(--shadow-xs);
  transition: border-color var(--motion-short) var(--ease-move), box-shadow var(--motion-short) var(--ease-move);
}
input:hover:not(:focus-visible):not([disabled]), select:hover:not(:focus-visible):not([disabled]), textarea:hover:not(:focus-visible):not([disabled]) { border-color: var(--ink-3); }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus) !important; box-shadow: 0 0 0 5px var(--focus-halo); }
input[aria-invalid=true], textarea[aria-invalid=true], select[aria-invalid=true] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 500; }
.form-error { background: var(--danger-soft); color: var(--danger); border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 500; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); min-height: var(--control-h); transition: border-color var(--motion-short) var(--ease-move), background-color var(--motion-short) var(--ease-move); }
.check:hover { border-color: var(--line-strong); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-text); flex: none; }
.check:has(input:checked) { border-color: var(--accent-text); background: var(--accent-soft); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s2); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s3); }
.choice { padding: var(--s4); }
.choice strong { display: block; }
.form-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: .93rem; padding: 0; margin-bottom: 8px; }
.counter { font-size: .86rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.counter.over { color: var(--danger); font-weight: 600; }
input[type=file] { font: inherit; max-width: 100%; }

.banner { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--info-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.banner-success { background: var(--success-soft); border-color: var(--success); }
.banner-warning { background: var(--warning-soft); border-color: var(--warning); }
.banner-danger { background: var(--danger-soft); border-color: var(--danger); }
.banner strong { display: block; }

.toast-wrap { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; width: min(440px, calc(100vw - 24px)); pointer-events: none; }
.toast { pointer-events: auto; background: var(--ink); color: var(--bg); padding: 13px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-weight: 500; display: flex; gap: 10px; align-items: flex-start; animation: rise var(--motion-medium) var(--ease-enter); }
.toast-error { background: var(--danger); color: #fff; }
.toast-success { background: var(--success); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .toast-error, :root:not([data-theme="light"]) .toast-success { color: #0c1210; } }
:root[data-theme="dark"] .toast-error, :root[data-theme="dark"] .toast-success { color: #0c1210; }
.toast button { margin-left: auto; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0 4px; opacity: .8; }
@keyframes rise { from { transform: translateY(calc(8px * var(--motion-distance))); opacity: 0; } }

dialog.modal { border: 1px solid var(--line); border-radius: var(--radius-xl); padding: var(--s6) var(--s5) var(--s5); background: var(--surface); color: var(--ink); width: min(480px, calc(100vw - 24px)); box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(20, 19, 15, .55); }

.player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.play-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.play-btn:hover { filter: brightness(1.08); }
.play-btn .ico { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.player.playing .play-btn .ico { width: 13px; height: 15px; border: 0; margin: 0; border-left: 4.5px solid currentColor; border-right: 4.5px solid currentColor; }
.player-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.player-label { font-weight: 600; font-size: .93rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-track { height: 6px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; cursor: pointer; }
.player-fill { height: 100%; width: 0; background: var(--accent); }
.player-time { font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; flex: none; }

.usage { display: flex; flex-direction: column; gap: 6px; }
.usage-track { height: 10px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.usage-fill { height: 100%; background: var(--accent); border-radius: 5px 0 0 5px; }
.usage.warn .usage-fill { background: var(--warning); }
.usage.full .usage-fill { background: var(--danger); }
.usage-text { display: flex; justify-content: space-between; gap: 8px; font-size: .86rem; color: var(--ink-2); font-variant-numeric: tabular-nums; flex-wrap: wrap; }

.empty { text-align: center; padding: var(--s7) var(--s4); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: var(--s3); }
.empty p { color: var(--ink-3); max-width: 46ch; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { padding: 11px 14px; min-height: 44px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink-3); border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none; margin-bottom: -1px; }
.tab[aria-selected=true], .tab[aria-current=true] { color: var(--accent-text); border-bottom-color: var(--accent-text); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); background: var(--surface-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.kv { display: grid; grid-template-columns: minmax(110px, max-content) minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.kv dt { color: var(--ink-3); font-size: .9rem; }
.kv dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.kv dd .row { flex-wrap: wrap; min-width: 0; }
.kv code { overflow-wrap: anywhere; word-break: break-all; }
.code { font-family: var(--mono); font-size: .84rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; margin: 0; }
.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.list > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.plain-list { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: step; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 9px 0; counter-increment: step; flex-wrap: wrap; }
.checklist li::before { content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.checklist li.done::before { content: "✓"; background: var(--success); border-color: var(--success); color: var(--surface); }
.checklist li.current::before { border-color: var(--accent-text); color: var(--accent-text); background: var(--accent-soft); }
.checklist li.done .step-name { color: var(--ink-3); }
.checklist .step-name { font-weight: 600; flex: 1; min-width: 140px; }

.section { padding: var(--s6) 0; }
.step-num { font-family: var(--serif); font-size: 1.6rem; color: var(--accent-text); font-weight: 400; }

.listing-card { display: flex; flex-direction: column; gap: var(--s3); }
.listing-card h3 a { color: var(--ink); text-decoration: none; }
.listing-card h3 a:hover { text-decoration: underline; }
.listing-card .desc { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card .foot { margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.filters { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); align-items: end; }
.filters .field-q { grid-column: 1 / -1; }
.stars { color: var(--warning); letter-spacing: 1px; white-space: nowrap; }
.offer-card { display: flex; flex-direction: column; gap: var(--s3); }
.offer-card .btn { margin-top: auto; }

.studio { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .studio { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.prompt-text { font-family: var(--serif); font-size: clamp(1.35rem, 3.4vw, 1.9rem); font-weight: 400; line-height: 1.38; padding: var(--s5) var(--s6); background: var(--grad-surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.meter { height: 14px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.meter-fill { height: 100%; width: 0; background: var(--success); transition: width .06s linear; }
.meter-fill.hot { background: var(--danger); }
.rec-btn { min-height: 64px; padding: 12px 30px; border-radius: 40px; font-size: 1.1rem; }
.rec-btn .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); flex: none; }
.rec-btn.recording { background: var(--danger); color: var(--accent-ink); }
.rec-btn.recording .dot { border-radius: 3px; background: #fff; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.timer { font-family: var(--mono); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.prompt-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.prompt-list button { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 10px; min-height: 44px; border-radius: 9px; border: 1px solid transparent; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.prompt-list button:hover { background: var(--surface-2); }
.prompt-list button[aria-current=true] { border-color: var(--accent-text); background: var(--accent-soft); }
.prompt-list .p-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .93rem; }
.dot-state { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; }
.dot-state.passed { background: var(--success); border-color: var(--success); color: var(--surface); }
.dot-state.rejected { background: var(--danger); border-color: var(--danger); color: var(--surface); }
kbd { font-family: var(--mono); font-size: .82em; padding: 2px 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--surface); }
.secret-box { border: 1.5px solid var(--warning); background: var(--warning-soft); border-radius: var(--radius-sm); padding: var(--s4); }
.stat-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.stat { padding: var(--s4); }
/* Reduced motion (Flows doc rule 8): transitions become 150 ms opacity only; slides and scales vanish because every
   offset is multiplied by --motion-distance. [data-motion] is the /demo override of the OS setting. */
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) { --motion-xshort: 150ms; --motion-medium: 150ms; --motion-long: 150ms; --motion-xlong: 150ms; --motion-xxlong: 150ms; --motion-distance: 0; --shimmer: 0s; --sheen: 0s; --spin: 2.4s; }
}
:root[data-motion="reduce"] { --motion-xshort: 150ms; --motion-medium: 150ms; --motion-long: 150ms; --motion-xlong: 150ms; --motion-xxlong: 150ms; --motion-distance: 0; --shimmer: 0s; --sheen: 0s; --spin: 2.4s; }

.link-btn { background: none; border: 0; padding: 0; color: var(--accent-text); text-decoration: underline; cursor: pointer; font: inherit; justify-self: start; text-align: left; }
.qr { display: inline-block; justify-self: start; width: max-content; padding: 8px; background: #fff; border: 1px solid var(--line, #ddd); border-radius: 8px; line-height: 0; max-width: 100%; }
.qr svg { max-width: 100%; height: auto; }
.terms p { margin: 0; }
.hour-rate { display: block; }
.quote { margin: 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--line-strong); white-space: pre-line; }

/* DEMO_MODE strip under the header: sample accounts, no real money. */
.demo-bar { background: var(--accent-soft); color: var(--ink); font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.demo-bar a { font-weight: 600; }

/* Website: home, for voices, for buyers */
.site { display: grid; gap: var(--s7); }
.site-hero { display: grid; gap: var(--s6); align-items: center; padding-top: var(--s5); }
@media (min-width: 900px) { .site-hero { grid-template-columns: 1.1fr .9fr; padding-top: var(--s7); } }
.site-hero h1 { font-size: clamp(2.3rem, 6.4vw, 4rem); line-height: 1.05; letter-spacing: -.025em; margin: 0; }
.site-hero-art { width: 100%; height: auto; max-width: 480px; justify-self: center; }
.site-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.site-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: var(--s5); box-shadow: var(--shadow); display: grid; gap: var(--s2); align-content: start; }
.site-card h3 { font-size: 1.45rem; margin: var(--s2) 0 0; }
.site-card p { margin: 0; }
.site-art { width: 100%; max-width: 340px; height: auto; border-radius: 18px; }
.site-quip { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--accent-text); font-size: 1.05rem; }
.site-band { background: var(--ink); color: var(--bg); border-radius: 22px; padding: var(--s6) var(--s5); text-align: center; display: grid; gap: var(--s4); justify-items: center; }
.site-band p { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 650; max-width: 46ch; line-height: 1.35; }
.site-band.soft { background: var(--accent-soft); color: var(--ink); }
.site-doors { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.site-door { display: grid; gap: var(--s2); padding: var(--s6) var(--s5); border-radius: 22px; color: var(--door-ink); text-decoration: none; transition: transform var(--motion-short) var(--ease-move); }
.site-door:focus-visible { transform: translateY(calc(-3px * var(--motion-distance))); }
@media (hover: hover) { .site-door:hover { transform: translateY(calc(-3px * var(--motion-distance))); } }
.site-door strong { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
.site-door .eyebrow { color: var(--door-ink); opacity: .75; }
.site-door span:last-child { font-weight: 700; }
.site-door.seller { background: var(--door-v); }
.site-door.buyer { background: var(--door-b); }
.site-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.site-step { display: flex; gap: var(--s4); align-items: flex-start; background: var(--surface-2); border-radius: 18px; padding: var(--s5); }
.site-step h3 { margin: 0 0 var(--s1); font-size: 1.3rem; }
.site-step p { margin: 0; }
.site-plans { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.site-plan { border: 2px solid var(--line-strong); border-radius: 22px; padding: var(--s5); display: grid; gap: var(--s2); align-content: start; }
.site-plan h3, .site-plan p { margin: 0; }
.site-price { font-size: 1.6rem; font-weight: 600; color: var(--accent-text); }

/* Website sections on a coloured door background: the faintest grey drops below 4.5:1 there, so use the next one. */
[style*="background:var(--door-"], [style*="background: var(--door-"] { --ink-3: var(--ink-2); }
