/* Токены дизайн-системы Вбуквы.рф (ТЗ, раздел 6) */
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-style: normal; font-display: swap;
  src: url("../fonts/nunito-cyrillic.0661baaf3e08.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-style: normal; font-display: swap;
  src: url("../fonts/nunito-latin.86b73ab5f530.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #faf9f5; --surface: #ffffff;
  --ink: #293c34; --ink-soft: #5f6b62;
  --accent: #3e6553; --accent-hover: #33564a; --on-accent: #ffffff;
  --link: #3e6553; --warm: #a35d22; --line: #e3e2d6; --focus: #3e6553;
  --danger: #a3362b; --danger-bg: #fbe9e6; --ok-bg: #e4f0e8;
  --peach: #fae9dc; --mint: #eaf0df; --blue: #e6eff5; --purple: #eee9f6; --pink: #f6e6e9; --yellow: #fff1ca;

  --font-ui: "Nunito", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-text: Georgia, "Times New Roman", serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --r-sm: 8px; --r-md: 8px; --r-pill: 999px;
  --wrap: 1200px; --gutter: 16px;
  --shadow: 0 1px 2px rgb(41 60 52 / .06), 0 6px 18px rgb(41 60 52 / .06);

  --fs-h1: 28px; --fs-h2: 22px; --fs-card: 18px; --fs-body: 16px; --fs-small: 14px;
  --fs-work-title: 30px; --fs-text: 20px; --lh-text: 1.7; --fs-poem: var(--fs-text); --fs-story: var(--fs-text);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 960px) {
  :root { --fs-h1: 40px; --fs-h2: 28px; --fs-card: 20px; --fs-body: 17px;
          --fs-work-title: 44px; --fs-text: 22px; }
}
