/* Mernau — design tokens: colours, type scale, spacing, layout rail, motion curves. Change the brand here. */
:root{
  --ease-primary:cubic-bezier(0.7,0,0.2,1);
  --ease-secondary:cubic-bezier(0.33,1,0.68,1);
  --t-heavy:1100ms;--t-medium:640ms;--t-light:220ms;--stagger:24ms;
  --font-sans:"Hanken Grotesk",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --fs-mega:clamp(64px,20.2px + 11.24vw,200px);
  --fs-display:clamp(48px,24.8px + 5.95vw,120px);
  --fs-h1:clamp(40px,24.5px + 3.97vw,88px);
  --fs-h2:clamp(30px,20.3px + 2.48vw,60px);
  --fs-h3:clamp(22px,18.8px + 0.83vw,32px);
  --fs-lead:clamp(18px,16.7px + 0.33vw,22px);
  --fs-body:16px;--fs-small:14px;--fs-mono:12px;
  --lh-tight:0.9;--lh-heading:1.04;--lh-snug:1.3;--lh-body:1.6;
  --ls-display:-0.045em;--ls-heading:-0.025em;--ls-body:0em;--ls-mono:0.04em;
  --fw-regular:400;--fw-medium:500;--fw-semibold:600;--fw-bold:700;
  --radius-s:2px;--radius-m:4px;--radius-l:8px;--radius-pill:999px;
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:80px;--space-9:136px;
  --accent:#d4ff3a;--accent-ink:#0e0e0e;--accent-text:#4a6300;--ok:#1f9d55;--warn:#c27c0e;--err:#d93025;
}
html[data-tone="light"]{
  --bg:#ffffff;--bg-2:#f4f4f2;--panel:#ffffff;--panel-2:#f7f7f6;
  --ink:#0e0e0e;--ink-2:#4a4a48;--ink-3:#6e6e6b;--ink-faint:rgba(14,14,14,.18);
  --line:#e5e5e2;--line-2:#cfcfcb;
  --shadow:0 1px 2px rgba(14,14,14,.06),0 18px 48px rgba(14,14,14,.10);
}
html[data-tone="dark"]{
  --bg:#0b0b0b;--bg-2:#141414;--panel:#181818;--panel-2:#202020;
  --ink:#f4f4f2;--ink-2:#a6a6a2;--ink-3:#787874;--ink-faint:rgba(244,244,242,.2);
  --line:rgba(255,255,255,.09);--line-2:rgba(255,255,255,.16);
  --shadow:0 1px 2px rgba(0,0,0,.5),0 24px 70px rgba(0,0,0,.6);
}
