/* Step Study Design System — generated from tokens.json */
:root, [data-theme="light"] {
  --blue-50: #f4f7fc;
  --blue-100: #dfebf8;
  --blue-200: #c4d8ef;
  --blue-300: #a3c1e3;
  --blue-400: #6f98c8;
  --blue-500: #4c82bc;
  --blue-600: #356ba3;
  --blue-700: #2b5a8c;
  --blue-800: #224a74;
  --blue-900: #1a3756;
  --ink-900: #24364b;
  --ink-700: #4a5b70;
  --ink-600: #5b6b80;
  --ink-500: #7c8a9c;
  --ink-400: #a3aebc;
  --ink-300: #c6cfda;
  --ink-200: #dce3ec;
  --ink-100: #ebeff5;
  --white: #ffffff;
  --clay-50: #fbf6f2;
  --clay-100: #f6ede6;
  --clay-200: #ebd6c8;
  --clay-300: #d7b39c;
  --clay-500: #b38368;
  --clay-700: #7a4e36;
  --sage-50: #e4f2ea;
  --sage-500: #3f8c68;
  --sage-700: #2e6b4f;
  --honey-50: #fbf1da;
  --honey-500: #c28a1e;
  --honey-700: #7d5700;
  --rose-50: #fbeae8;
  --rose-500: #c4504a;
  --rose-700: #a3352f;
  --bg-page: var(--blue-50);
  --surface-card: var(--white);
  --surface-raised: var(--white);
  --surface-sunken: var(--ink-100);
  --surface-tint: var(--blue-100);
  --surface-warm: var(--clay-100);
  --surface-inverse: var(--ink-900);
  --surface-overlay: rgba(26,55,86,.42);
  --text-body: var(--ink-900);
  --text-secondary: var(--ink-700);
  --text-muted: var(--ink-600);
  --text-disabled: var(--ink-400);
  --text-on-primary: var(--white);
  --text-inverse: var(--white);
  --text-link: var(--blue-600);
  --text-link-hover: var(--blue-800);
  --text-warm: var(--clay-700);
  --text-on-tint: var(--blue-800);
  --border-subtle: var(--ink-200);
  --border-default: var(--ink-300);
  --border-input: var(--ink-500);
  --border-strong: var(--ink-700);
  --border-focus: var(--blue-600);
  --border-warm: var(--clay-200);
  --icon-default: var(--ink-700);
  --icon-muted: var(--ink-500);
  --icon-primary: var(--blue-600);
  --action-primary-bg: var(--blue-600);
  --action-primary-bg-hover: var(--blue-700);
  --action-primary-bg-active: var(--blue-800);
  --action-primary-fg: var(--white);
  --action-secondary-bg: var(--white);
  --action-secondary-bg-hover: var(--blue-50);
  --action-secondary-bg-active: var(--blue-100);
  --action-secondary-fg: var(--blue-700);
  --action-secondary-border: var(--blue-400);
  --action-quiet-bg-hover: var(--blue-100);
  --action-quiet-bg-active: var(--blue-200);
  --action-quiet-fg: var(--blue-700);
  --action-disabled-bg: var(--ink-100);
  --action-disabled-fg: var(--ink-400);
  --action-danger-bg: var(--rose-700);
  --action-danger-bg-hover: #8c2d28;
  --action-danger-fg: var(--white);
  --selected-bg: var(--blue-100);
  --selected-fg: var(--blue-800);
  --selected-indicator: var(--blue-600);
  --unread-bg: var(--ink-200);
  --unread-fg: var(--ink-900);
  --accent-warm: var(--clay-300);
  --accent-warm-subtle: var(--clay-100);
  --status-success-fg: var(--sage-700);
  --status-success-bg: var(--sage-50);
  --status-success-border: #b9dcc8;
  --status-success-icon: var(--sage-500);
  --status-caution-fg: var(--honey-700);
  --status-caution-bg: var(--honey-50);
  --status-caution-border: #eed6a0;
  --status-caution-icon: var(--honey-500);
  --status-error-fg: var(--rose-700);
  --status-error-bg: var(--rose-50);
  --status-error-border: #f0c3bf;
  --status-error-icon: var(--rose-500);
  --status-info-fg: var(--blue-800);
  --status-info-bg: var(--blue-100);
  --status-info-border: var(--blue-200);
  --status-info-icon: var(--blue-600);
  --halo-primary: var(--blue-200);
  --progress-track: var(--ink-200);
  --progress-done-bg: var(--blue-100);
  --progress-done-fg: var(--blue-800);
  --progress-done-ring: var(--blue-300);
  --control-thumb: var(--white);
  --control-track-off: var(--ink-300);
  --control-thumb-icon: var(--blue-600);
  --segment-hover: rgba(255,255,255,.55);
  --selection-bg: var(--blue-200);
  --selection-fg: var(--ink-900);
  --inverse-text-muted: var(--ink-300);
  --inverse-action: var(--blue-300);
  --inverse-icon-success: #8fcdb0;
  --inverse-icon-caution: #f0c870;
  --inverse-icon-error: #f2a49f;
  --inverse-icon-info: var(--blue-300);
  --shadow-1: 0 1px 2px rgba(36,54,75,.06),0 1px 1px rgba(36,54,75,.04);
  --shadow-2: 0 2px 6px rgba(36,54,75,.05),0 8px 24px rgba(36,54,75,.07);
  --shadow-3: 0 4px 12px rgba(36,54,75,.08),0 20px 48px rgba(36,54,75,.16);
  --focus-ring: 0 0 0 2px #ffffff,0 0 0 4px #356ba3;
  --shadow-thumb: 0 1px 3px rgba(36,54,75,.25);
}
[data-theme="dark"] {
  --bg-page: #0f1a27;
  --surface-card: #182637;
  --surface-raised: #1f3044;
  --surface-sunken: #131f2e;
  --surface-tint: #1b2f47;
  --surface-warm: #2e2520;
  --surface-inverse: #e9eef5;
  --surface-overlay: rgba(5,11,18,.64);
  --text-body: #e9eef5;
  --text-secondary: #bfcbd9;
  --text-muted: #9fb0c3;
  --text-disabled: #4f647c;
  --text-on-primary: #0f1a27;
  --text-inverse: #24364b;
  --text-link: #9ec0e8;
  --text-link-hover: #bcd5f0;
  --text-warm: #e3c3ad;
  --text-on-tint: #bcd5f0;
  --border-subtle: #27394f;
  --border-default: #33475f;
  --border-input: #7d90a6;
  --border-strong: #9fb0c3;
  --border-focus: #9ec0e8;
  --border-warm: #4b3a30;
  --icon-default: #bfcbd9;
  --icon-muted: #8d9fb4;
  --icon-primary: #9ec0e8;
  --action-primary-bg: #7faadd;
  --action-primary-bg-hover: #9ec0e8;
  --action-primary-bg-active: #bcd5f0;
  --action-primary-fg: #0f1a27;
  --action-secondary-bg: #182637;
  --action-secondary-bg-hover: #1b2f47;
  --action-secondary-bg-active: #22405f;
  --action-secondary-fg: #9ec0e8;
  --action-secondary-border: #5a8ec8;
  --action-quiet-bg-hover: #1b2f47;
  --action-quiet-bg-active: #22405f;
  --action-quiet-fg: #9ec0e8;
  --action-disabled-bg: #1f3044;
  --action-disabled-fg: #4f647c;
  --action-danger-bg: #e8837d;
  --action-danger-bg-hover: #eb948f;
  --action-danger-fg: #0f1a27;
  --selected-bg: #22405f;
  --selected-fg: #bcd5f0;
  --selected-indicator: #9ec0e8;
  --unread-bg: #33475f;
  --unread-fg: #e9eef5;
  --accent-warm: #d7b39c;
  --accent-warm-subtle: #2e2520;
  --status-success-fg: #9bd7b8;
  --status-success-bg: #15302a;
  --status-success-border: #2a5a48;
  --status-success-icon: #6fc19a;
  --status-caution-fg: #f0d08a;
  --status-caution-bg: #332a14;
  --status-caution-border: #6b5522;
  --status-caution-icon: #dcae4a;
  --status-error-fg: #f4aaa5;
  --status-error-bg: #3a1f1d;
  --status-error-border: #733833;
  --status-error-icon: #e8837d;
  --status-info-fg: #bcd5f0;
  --status-info-bg: #1b2f47;
  --status-info-border: #22405f;
  --status-info-icon: #9ec0e8;
  --halo-primary: #2c5279;
  --progress-track: #33475f;
  --progress-done-bg: #22405f;
  --progress-done-fg: #bcd5f0;
  --progress-done-ring: #5a8ec8;
  --control-thumb: #e9eef5;
  --control-track-off: #62789a;
  --control-thumb-icon: #22405f;
  --segment-hover: rgba(255,255,255,.06);
  --selection-bg: #2c5279;
  --selection-fg: #e9eef5;
  --inverse-text-muted: #4a5b70;
  --inverse-action: #2b5a8c;
  --inverse-icon-success: #2e6b4f;
  --inverse-icon-caution: #7d5700;
  --inverse-icon-error: #a3352f;
  --inverse-icon-info: #356ba3;
  --shadow-1: 0 1px 2px rgba(0,0,0,.35),0 1px 1px rgba(0,0,0,.25);
  --shadow-2: 0 2px 6px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.4);
  --shadow-3: 0 4px 12px rgba(0,0,0,.4),0 20px 48px rgba(0,0,0,.6);
  --focus-ring: 0 0 0 2px #0f1a27,0 0 0 4px #9ec0e8;
  --shadow-thumb: 0 1px 3px rgba(0,0,0,.5);
}
:root {
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --text-xs: 13px;
  --text-sm: 15px;
  --text-md: 17px;
  --text-lg: 19px;
  --text-xl: 22px;
  --text-2xl: 26px;
  --text-3xl: 32px;
  --text-4xl: 40px;
  --text-5xl: 52px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.06em;
  --border-width: 1px;
  --border-width-strong: 2px;
  --tap-min: 44px;
  --control-sm: 40px;
  --control-md: 48px;
  --control-lg: 56px;
  --indicator-size: 20px;
  --nav-label-scale-max: 1.3;
  --content-max: 680px;
  --container-max: 1120px;
  --font-display: "Newsreader",Georgia,"Times New Roman",serif;
  --font-body: "Atkinson Hyperlegible Next",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-mono: "Atkinson Hyperlegible Mono",ui-monospace,Menlo,monospace;
}
.display { font-family: var(--font-display); font-size: 52px; line-height: 1.15; font-weight: 400; }
.h1 { font-family: var(--font-display); font-size: 40px; line-height: 1.15; font-weight: 400; }
.h2 { font-family: var(--font-display); font-size: 32px; line-height: 1.3; font-weight: 500; }
.quote { font-family: var(--font-display); font-size: 26px; line-height: 1.3; font-weight: 400; font-style: italic; }
.h3 { font-family: var(--font-body); font-size: 22px; line-height: 1.3; font-weight: 600; }
.h4 { font-family: var(--font-body); font-size: 19px; line-height: 1.3; font-weight: 600; }
.body-lg { font-family: var(--font-body); font-size: 19px; line-height: 1.7; font-weight: 400; }
.body { font-family: var(--font-body); font-size: 17px; line-height: 1.55; font-weight: 400; }
.body-sm { font-family: var(--font-body); font-size: 15px; line-height: 1.55; font-weight: 400; }
.label { font-family: var(--font-body); font-size: 15px; line-height: 1.3; font-weight: 600; }
.caption { font-family: var(--font-body); font-size: 13px; line-height: 1.55; font-weight: 400; }
.overline { font-family: var(--font-body); font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: 0.06em; }
.mono { font-family: var(--font-mono); font-size: 15px; line-height: 1.55; font-weight: 400; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("fonts/AtkinsonHyperlegibleMono-normal-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Atkinson Hyperlegible Mono"; src: url("fonts/AtkinsonHyperlegibleMono-normal-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("fonts/AtkinsonHyperlegibleNext-italic-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Atkinson Hyperlegible Next"; src: url("fonts/AtkinsonHyperlegibleNext-italic-latin.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("fonts/AtkinsonHyperlegibleNext-normal-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Atkinson Hyperlegible Next"; src: url("fonts/AtkinsonHyperlegibleNext-normal-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-italic-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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"; src: url("fonts/Newsreader-italic-latin.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-normal-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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"; src: url("fonts/Newsreader-normal-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Step Study — what tokens.json does not hold: type-role font shorthands, motion, element defaults.
   Every colour, size, radius, shadow and font value comes from tokens.css (generated from tokens.json). */

/* Type roles (font shorthand): font: var(--type-h2) */
:root{
  --type-display:var(--weight-regular) var(--text-5xl)/var(--leading-tight) var(--font-display);
  --type-h1:var(--weight-regular) var(--text-4xl)/var(--leading-tight) var(--font-display);
  --type-title:var(--weight-medium) var(--text-3xl)/1.25 var(--font-display); /* mobile page title; pair with letter-spacing:var(--tracking-tight) */
  --type-subtitle:var(--weight-regular) var(--text-xl)/var(--leading-snug) var(--font-display); /* one line of supporting text directly under a mobile page title (title): space-1 below it, in text-body; one per screen, never a heading on its own */
  --type-h2:var(--weight-medium) var(--text-3xl)/var(--leading-snug) var(--font-display);
  --type-h3:var(--weight-semibold) var(--text-xl)/var(--leading-snug) var(--font-body);
  --type-h4:var(--weight-semibold) var(--text-lg)/var(--leading-snug) var(--font-body);
  --type-body-lg:var(--weight-regular) var(--text-lg)/var(--leading-relaxed) var(--font-body);
  --type-body:var(--weight-regular) var(--text-md)/var(--leading-normal) var(--font-body);
  --type-body-sm:var(--weight-regular) var(--text-sm)/var(--leading-normal) var(--font-body);
  --type-label:var(--weight-semibold) var(--text-sm)/var(--leading-snug) var(--font-body);
  --type-caption:var(--weight-regular) var(--text-xs)/var(--leading-normal) var(--font-body);
  --type-overline:var(--weight-bold) var(--text-xs)/var(--leading-snug) var(--font-body);
  --type-quote:italic var(--weight-regular) var(--text-2xl)/var(--leading-snug) var(--font-display);
  --type-mono:var(--weight-regular) var(--text-sm)/var(--leading-normal) var(--font-mono);
  --type-code:var(--weight-regular) var(--text-2xl)/1.2 var(--font-mono);
}
/* display, h1 and title carry tracking-tight; the font shorthand cannot hold letter-spacing, so set it beside it: */
.display,.h1,.title{letter-spacing:var(--tracking-tight)}

/* Motion: gentle and short. No bounce, no spring. */
:root{
  --ease-out:cubic-bezier(.22,.61,.36,1);
  --ease-in-out:cubic-bezier(.65,0,.35,1);
  --duration-fast:120ms;
  --duration-base:200ms;
  --duration-slow:320ms;
}
@keyframes ss-spin{to{transform:rotate(360deg)}}
.ss-spin{animation:ss-spin 900ms linear infinite}
@media (prefers-reduced-motion:reduce){
  :root{--duration-fast:1ms; --duration-base:1ms; --duration-slow:1ms;}
  .ss-spin{animation-duration:3s}
}

/* Minimal element defaults so any page linking styles.css reads as Step Study. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
body{margin:0;background:var(--bg-page);color:var(--text-body);font:var(--type-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,p{margin:0;text-wrap:pretty}
a{color:var(--text-link);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--text-link-hover);text-decoration-thickness:2px}
:focus-visible{outline:none;box-shadow:var(--focus-ring);border-radius:var(--radius-xs)}
::selection{background:var(--selection-bg);color:var(--selection-fg)}

/* TextLink: the words stay at the sentence size; the hit area grows to tap-min (44px) without moving neighbours. */
.ss-textlink{position:relative}
.ss-textlink::before{content:"";position:absolute;left:calc(var(--space-1) * -1);right:calc(var(--space-1) * -1);top:50%;height:var(--tap-min);transform:translateY(-50%)}
/* BulletList: disc markers in icon-muted. */
.ss-list li::marker{color:var(--icon-muted)}
/* Skeleton: a slow pulse; still under reduced motion. */
@keyframes ss-pulse{50%{opacity:.5}}
.ss-skeleton{animation:ss-pulse 1600ms var(--ease-in-out) infinite}
@media (prefers-reduced-motion:reduce){.ss-skeleton{animation:none}}

@media (prefers-color-scheme: dark){
:root{color-scheme:dark;
  --bg-page: #0f1a27;
  --surface-card: #182637;
  --surface-raised: #1f3044;
  --surface-sunken: #131f2e;
  --surface-tint: #1b2f47;
  --surface-warm: #2e2520;
  --surface-inverse: #e9eef5;
  --surface-overlay: rgba(5,11,18,.64);
  --text-body: #e9eef5;
  --text-secondary: #bfcbd9;
  --text-muted: #9fb0c3;
  --text-disabled: #4f647c;
  --text-on-primary: #0f1a27;
  --text-inverse: #24364b;
  --text-link: #9ec0e8;
  --text-link-hover: #bcd5f0;
  --text-warm: #e3c3ad;
  --text-on-tint: #bcd5f0;
  --border-subtle: #27394f;
  --border-default: #33475f;
  --border-input: #7d90a6;
  --border-strong: #9fb0c3;
  --border-focus: #9ec0e8;
  --border-warm: #4b3a30;
  --icon-default: #bfcbd9;
  --icon-muted: #8d9fb4;
  --icon-primary: #9ec0e8;
  --action-primary-bg: #7faadd;
  --action-primary-bg-hover: #9ec0e8;
  --action-primary-bg-active: #bcd5f0;
  --action-primary-fg: #0f1a27;
  --action-secondary-bg: #182637;
  --action-secondary-bg-hover: #1b2f47;
  --action-secondary-bg-active: #22405f;
  --action-secondary-fg: #9ec0e8;
  --action-secondary-border: #5a8ec8;
  --action-quiet-bg-hover: #1b2f47;
  --action-quiet-bg-active: #22405f;
  --action-quiet-fg: #9ec0e8;
  --action-disabled-bg: #1f3044;
  --action-disabled-fg: #4f647c;
  --action-danger-bg: #e8837d;
  --action-danger-bg-hover: #eb948f;
  --action-danger-fg: #0f1a27;
  --selected-bg: #22405f;
  --selected-fg: #bcd5f0;
  --selected-indicator: #9ec0e8;
  --unread-bg: #33475f;
  --unread-fg: #e9eef5;
  --accent-warm: #d7b39c;
  --accent-warm-subtle: #2e2520;
  --status-success-fg: #9bd7b8;
  --status-success-bg: #15302a;
  --status-success-border: #2a5a48;
  --status-success-icon: #6fc19a;
  --status-caution-fg: #f0d08a;
  --status-caution-bg: #332a14;
  --status-caution-border: #6b5522;
  --status-caution-icon: #dcae4a;
  --status-error-fg: #f4aaa5;
  --status-error-bg: #3a1f1d;
  --status-error-border: #733833;
  --status-error-icon: #e8837d;
  --status-info-fg: #bcd5f0;
  --status-info-bg: #1b2f47;
  --status-info-border: #22405f;
  --status-info-icon: #9ec0e8;
  --halo-primary: #2c5279;
  --progress-track: #33475f;
  --progress-done-bg: #22405f;
  --progress-done-fg: #bcd5f0;
  --progress-done-ring: #5a8ec8;
  --control-thumb: #e9eef5;
  --control-track-off: #62789a;
  --control-thumb-icon: #22405f;
  --segment-hover: rgba(255,255,255,.06);
  --selection-bg: #2c5279;
  --selection-fg: #e9eef5;
  --inverse-text-muted: #4a5b70;
  --inverse-action: #2b5a8c;
  --inverse-icon-success: #2e6b4f;
  --inverse-icon-caution: #7d5700;
  --inverse-icon-error: #a3352f;
  --inverse-icon-info: #356ba3;
  --shadow-1: 0 1px 2px rgba(0,0,0,.35),0 1px 1px rgba(0,0,0,.25);
  --shadow-2: 0 2px 6px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.4);
  --shadow-3: 0 4px 12px rgba(0,0,0,.4),0 20px 48px rgba(0,0,0,.6);
  --focus-ring: 0 0 0 2px #0f1a27,0 0 0 4px #9ec0e8;
  --shadow-thumb: 0 1px 3px rgba(0,0,0,.5);
}
}
/* The website's own rules. Every colour, size, radius and font comes from the design system's
   tokens, which the build puts above this in the same file. Light and dark, following the visitor's device (the build adds the dark tokens under that setting). */

img{max-width:100%;height:auto;display:block}
picture{display:contents}
.wrap{max-width:var(--container-max);margin:0 auto;padding-left:24px;padding-right:24px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;z-index:10;background:var(--surface-card);padding:12px 16px;border-radius:var(--radius-sm)}
.icon{flex-shrink:0;display:block}

/* Type */
.display{font:var(--type-display);font-size:clamp(38px,6vw,52px);text-wrap:balance}
.h1{font:var(--type-h1);letter-spacing:var(--tracking-tight);text-wrap:balance}
.h2{font:var(--type-h2)}
.lead{font:var(--type-body-lg);color:var(--text-secondary);max-width:520px}
.fine{font:var(--type-body-sm);color:var(--text-muted)}
.quote{font:var(--type-quote)}

/* Header and footer */
.site-header{background:var(--bg-page);border-bottom:1px solid var(--border-subtle)}
.site-header__row{padding-top:16px;padding-bottom:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px}
.site-header__logo{display:flex;align-items:center;min-height:var(--tap-min)}
.site-header__logo img{height:44px;width:auto}
.nav-link{font:var(--type-label);text-decoration:none;min-height:var(--tap-min);display:inline-flex;align-items:center}
.site-footer{background:var(--ink-900);color:var(--white)}
@media (prefers-color-scheme: dark){.site-footer{background:var(--surface-sunken)}}
.site-footer__row{padding-top:48px;padding-bottom:48px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 40px}
.site-footer__brand{display:flex;flex-direction:column;gap:12px}
.site-footer__brand img{height:40px;width:auto;align-self:flex-start}
.site-footer p,.site-footer a,.site-footer a:hover{font:var(--type-body-sm);color:var(--ink-300)}
.site-footer a:hover{color:var(--white)}
.site-footer__nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 28px}
.site-footer__nav a{min-height:var(--tap-min);display:inline-flex;align-items:center}

/* Bands: page ground and card ground, alternating */
.band>.wrap{padding-top:64px;padding-bottom:64px}
.band--card{background:var(--surface-card);border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle)}
.band--last{border-bottom:0}

/* Words beside a picture; the picture drops below on a narrow screen */
.split{display:flex;flex-wrap:wrap;align-items:center;gap:32px 56px}
.split--reverse{flex-direction:row-reverse}
.split--hero{padding-top:56px!important}
.split__text{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:20px}
.split__art{flex:1 1 380px;min-width:0;display:flex;justify-content:center}
.split__art img{width:100%;max-width:460px;object-fit:contain}
.heading{display:flex;flex-direction:column;gap:12px}

/* Coming soon, in place of the store badges until the apps are listed */
.soon{align-self:flex-start;font:var(--type-label);color:var(--text-on-tint);background:var(--surface-tint);border-radius:var(--radius-pill);padding:10px 16px}
.soon--reversed{align-self:center;color:var(--white);background:transparent;border:1.5px solid var(--white)}

/* What's inside */
.inside{display:flex;flex-direction:column;gap:32px;padding-top:56px!important;padding-bottom:56px!important}
.inside__grid{display:flex;flex-wrap:wrap;gap:32px}
.feature{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:12px}
.feature__icon{width:48px;height:48px;border-radius:var(--radius-pill);background:var(--surface-tint);color:var(--text-on-tint);display:flex;align-items:center;justify-content:center}
.feature h3,.points h3{font:var(--type-h4)}
.feature p,.points p{color:var(--text-secondary)}

/* A list of points, each with an icon */
.points{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:16px}
.points li{display:flex;gap:12px;align-items:flex-start}
.points li>.icon{color:var(--icon-primary);margin-top:2px}
.points li>div{display:flex;flex-direction:column;gap:4px}

/* Card, as the design system draws it */
.card{background:var(--surface-card);border:1px solid var(--border-subtle);box-shadow:var(--shadow-1);border-radius:var(--radius-lg);padding:24px}
.card--lg{padding:32px}
.card--warm{background:var(--surface-warm);border-color:var(--border-warm);box-shadow:none;color:var(--text-warm)}

/* The sample of progress: the design system's StepProgress, ProgressMeter and PhaseBadge, still */
.sample{width:100%;max-width:440px;display:flex;flex-direction:column;gap:24px}
.strip{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.strip__pills{display:flex;gap:4px}
.strip__pills span{width:8px;height:8px;border-radius:var(--radius-pill);background:var(--progress-track)}
.strip__pills .done{background:var(--progress-done-ring)}
.strip__pills .now{width:20px;background:var(--action-primary-bg)}
.strip__label,.meter__row{font-size:var(--text-sm);color:var(--text-secondary)}
.meter{display:flex;flex-direction:column;gap:8px}
.meter__row{display:flex;justify-content:space-between;gap:12px}
.meter__label{font-weight:var(--weight-semibold);color:var(--text-body)}
.meter__bar{display:flex;gap:4px;height:8px}
.meter__bar span{flex:1;border-radius:var(--radius-pill);background:var(--progress-track)}
.meter__bar .on{background:var(--action-primary-bg)}
.rows>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--border-subtle);font:var(--type-label)}
.rows>div:last-child{padding-bottom:0}
.badge{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;border-radius:var(--radius-pill);background:var(--surface-sunken);color:var(--text-secondary);font-weight:var(--weight-semibold);font-size:12px;line-height:1;white-space:nowrap}
.badge--primary{background:var(--surface-tint);color:var(--text-on-tint)}
.badge--solid{background:var(--action-primary-bg);color:var(--action-primary-fg)}
.badge .icon{stroke-width:2.25}

/* The closing band */
.get{background:var(--blue-600);color:var(--white)}
.get__inner{padding-top:64px;padding-bottom:64px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.get .lead{color:var(--white);max-width:560px}

/* Terms and Privacy: one readable column */
.legal{max-width:760px;padding-top:48px;padding-bottom:72px}
.legal h1{font:var(--type-h1);letter-spacing:var(--tracking-tight);margin-bottom:16px}
.legal h2{font:var(--type-h2);margin:48px 0 12px}
.legal h3{font:var(--type-h3);margin:32px 0 8px}
.legal p,.legal ul,.legal ol,.legal .table-scroll{margin:0 0 16px}
.legal ul,.legal ol{padding-left:24px}
.legal li{margin-bottom:8px}
.legal li::marker{color:var(--icon-muted)}
.draft-note{background:var(--surface-warm);border:1px solid var(--border-warm);color:var(--text-warm);border-radius:var(--radius-md);padding:12px 16px}
.table-scroll{overflow-x:auto}
.legal table{border-collapse:collapse;width:100%;font:var(--type-body-sm)}
.legal table:has(th:nth-child(3)){min-width:640px}
.legal th,.legal td{text-align:left;vertical-align:top;padding:10px 12px;border:1px solid var(--border-subtle)}
.legal th{background:var(--surface-sunken);font-weight:var(--weight-semibold)}
