/* Sitalk app · tokens.css
 * Design tokens: colour (light and dark), type, spacing, radius and the app font.
 * Load order and ownership: docs/APP-CSS.md */

@font-face{font-family:Manrope;src:url('/fonts/manrope.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}

:root[data-theme=dark]{
 --warning-soft:#3c3525;
 --warning-text:#ffe1ac;
 --success-text:#c9e4b2;
 --lime:#dfed92;
 --accent-solid:#dfed92;
 --accent-on:#18251c;
 --danger:#ffb09b;
 --danger-soft:#432b25;
 --focus:#dfed92;
 --peach:#44362c;
 --lilac:#383746;
 --blue:#2b3c45;
 --shadow:0 12px 44px #0003;
 --paper:#0c1814;
 --surface:#13241c;
 --surface-soft:#1b2e23;
 --surface-raised:#20362a;
 --ink:#edf2e7;
 --muted:#aebeb0;
 --text-secondary:#aebeb0;
 --line:#344a3b;
 --white:#13241c;
 --accent-soft:#293c28;
 --story-bg:#0b1712;
 --story-text:#edf2e7;
 --control-border:#71866c;
}

/* Form boundaries carry meaning; card and divider lines keep their softer tone. */
/* One shared, role-based scale. Existing marketing display styles are retained. */
/* Scale (18 Oct 2026 audit). Type: 12/13/14/15/16/18/20/22/24/28/32, 12px minimum.
 * Spacing: 4px grid via --ds-space-*. scripts/normalize-css-scale.ts keeps
 * legacy layers on these steps; new rules use the tokens below. */
:root{
 --paper:#f8faf7;
 --ink:#244234;
 --lime:#dfed92;
 --white:#fff;
 --lilac:#e6e3f1;
 --peach:#f4dfd3;
 --blue:#dce6ed;
 --font:Manrope,Arial,sans-serif;
 --radius:14px;
 --ease-in-out:cubic-bezier(.77,0,.175,1);
 --app-shadow:0 20px 65px #2442340d;
 --ease-press:cubic-bezier(.4,0,.2,1);
 --motion-fast:180ms;
 --motion-enter:320ms;
 --surface-muted:#edf2e7;
 --line:#d8e2d0;
 --text-muted:#526a49;
 --lime-ink:#244234;
 --warning-soft:#f6f0df;
 --warning-text:#735c32;
 --success-text:#405d32;
 --muted:#53634d;
 --story-bg:#244234;
 --story-text:#f8faf7;
 --surface:#fff;
 --surface-soft:#eef3e9;
 --surface-raised:#f3f6ef;
 --text-secondary:#53634d;
 --accent-solid:#244234;
 --accent-on:#fff;
 --accent-soft:#eaf3df;
 --danger:#993e2f;
 --danger-soft:#faeee9;
 --focus:#6d8b47;
 --shadow:0 12px 44px #2442340d;
 --ease-out:cubic-bezier(.23,1,.32,1);
 --ease-drawer:cubic-bezier(.32,.72,0,1);
 --control-border:#7d8c76;
 --type-subsection:1rem;
 --type-body:.9375rem;
 --ds-space-1:4px;
 --ds-space-2:8px;
 --ds-space-3:12px;
 --ds-space-4:16px;
 --ds-space-5:24px;
 --ds-space-6:32px;
 --ds-space-7:48px;
 --ds-radius-control:12px;
 --ds-radius-card:16px;
 --ds-control-sm:36px;
 --ds-control-md:44px;
 --ds-font-control:13px;
 --ds-font-small:12px;
 --ds-font-label:13px;
 --ds-font-input:14px;
 --ds-card-pad:var(--ds-space-5);
 --ds-text-caption:13px;
 --ds-text-meta:12px;
 --ds-text-body:15px;
 --ds-text-title:18px;
 --ds-text-page:clamp(24px,1.2rem + 0.9vw,28px);
 --type-page:var(--ds-text-page);
 --type-section:var(--ds-text-title);
 --type-caption:var(--ds-text-caption);
 --ds-control-icon:40px;
}

@media (max-width:760px){
 :root{
  --ds-card-pad:var(--ds-space-4);
 }
}
