/* Decokodit – design tokenit. Lähde: tokens.json. Älä muokkaa käsin: päivitä tokens.json ja generoi uudelleen. */
:root {
  /* Värit */
  --paper: #f8f4ec;
  --surface: #fffcf7;
  --sand: #e9dccb;
  --sage: #dce3d3;
  --ink: #292821;
  --ink-muted: #605a50;
  --olive: #384635;
  --olive-hover: #27321f;
  --forest: #34543e;
  --clay: #934f3b;
  --error: #9b2c1f;
  --line: #7d7466;
  --on-olive: #fffcf7;
  --on-olive-muted: #c9cfc1;
  --on-olive-line: #8d9887;
  --focus: #934f3b;
  --focus-on-olive: #e9dccb;
  --logo-emerald: #006039;
  --logo-gold: #bd9950;
  /* Fonttiperheet */
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "DM Sans", Arial, sans-serif;
  /* Typografia: koko / riviväli */
  --fs-display: 72px; --lh-display: 1.0;
  --fs-heading-1: 56px; --lh-heading-1: 1.05;
  --fs-heading-2: 40px; --lh-heading-2: 1.1;
  --fs-heading-3: 30px; --lh-heading-3: 1.15;
  --fs-wordmark: 32px; --lh-wordmark: 1.0;
  --fs-heading-4: 20px; --lh-heading-4: 1.3;
  --fs-lead: 21px; --lh-lead: 1.55;
  --fs-body: 18px; --lh-body: 1.65;
  --fs-body-small: 16px; --lh-body-small: 1.55;
  --fs-caption: 14px; --lh-caption: 1.5;
  --fs-label: 15px; --lh-label: 1.3;
  --fs-button: 15px; --lh-button: 1.3;
  --fs-kicker: 13px; --lh-kicker: 1.3;
  --fs-tag: 13px; --lh-tag: 1.2;
  /* Välit */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  /* Pyöristykset */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-pill: 999px;
  /* Koot */
  --content-width: 720px;
  --wide-width: 1200px;
  --control-height: 48px;
  --border-width: 1.5px;
}
/* Mobiilin otsikkokoot (max-width: 781px) */
@media (max-width: 781px) { :root { --fs-display: 48px; --fs-heading-1: 40px; --fs-heading-2: 32px; --fs-heading-3: 26px; --fs-wordmark: 24px; } }
