/*
  ILIRA Design System — tokens
  Ориентир: советское учебное издание 1950-1975. Бумага, спокойствие, читаемость.
  Не ретро-стилизация, не "состаривание ради эффекта".
*/

:root {
  /* --- Paper & ink --- */
  --paper-bg: #f5f0e6;
  --paper-bg-soft: #f8f4ea;
  --paper-bg-deep: #efe9dc;
  --ink: #1c1a16;
  --ink-muted: #4a453b;

  /* --- Headings & links --- */
  --heading: #262420;
  --heading-soft: #454138;
  --link: #1d3557;
  --link-visited: #2b3f57;

  /* --- Accent (used sparingly, only for what truly matters) --- */
  --accent: #7a1f2b;
  --accent-soft: #9a3a44;

  /* --- Rules, borders, dividers --- */
  --rule: #a08f68;
  --rule-soft: #c9bb95;
  --rule-strong: #7d6f4d;

  /* --- Surfaces (cards, callouts, dialogs) --- */
  --surface: #faf6ec;
  --surface-border: var(--rule);

  /* --- Typography --- */
  --font-serif: "PT Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  --fs-body: 17px;
  --fs-small: 14px;
  --fs-h1: 32px;
  --fs-h2: 26px;
  --fs-h3: 21px;
  --fs-h4: 18px;
  --lh-body: 1.6;
  --lh-heading: 1.25;

  --reading-column: 760px;

  /* --- Spacing scale --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* --- Shape --- */
  --radius: 2px;

  /* --- Motion (page-turn groundwork; not wired up yet) --- */
  --transition-page: transform 0.4s ease, opacity 0.3s ease;
  --transition-fast: all 0.15s ease;
}
