/* Цвета, шрифт и размеры сайтов Airy: кремовая бумага и окна интерфейса в тёплых серых.
   Выбор Константина 2026-11-20 («Кремовая + тёплый»). Приложение пока на нейтральных серых (решение 18.11). */

@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin-opsz-normal.woff2") format("woff2-variations"),
    url("fonts/literata-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin-opsz-italic.woff2") format("woff2-variations"),
    url("fonts/literata-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Helvetica, Arial,
    sans-serif;
  --margin: clamp(16px, 5vw, 72px);
  --gap: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --h2: clamp(2rem, 1.35rem + 1.75vw, 3rem);

  /* Бумага: кремовая, как газетная */
  --paper: #f1ece1;
  --paper-band: #e9e2d4;
  --ink: #1f1d1a;
  --ink-soft: #37332e;
  --ink-muted: #5f5a52;
  --rule: rgb(31 29 26 / 0.18);
  --wash: rgb(31 29 26 / 0.055);
  --accent: #16495a;
  --accent-hover: #0f3744;
  --accent-light: #8abece;
  --accent-wash: rgb(22 73 90 / 0.075);
  --ink-band: #1d1b18;
  --on-ink: #efe9dd;
  --on-ink-muted: #b9b1a3;

  /* Окна интерфейса на сайте: тёплые серые */
  --ui-bg: #fcfaf6;
  --ui-side: #f4f0e8;
  --ui-text: #2e2b27;
  --ui-soft: #45413b;
  --ui-subtle: #55514a;
  --ui-muted: #67625a;
  --ui-border: #e7e1d6;
  --ui-input: #d6cfc2;
  --ui-hover: rgb(70 55 30 / 0.045);
  --ui-active: rgb(70 55 30 / 0.08);
  --ui-red: #b8463d;
  --ui-warn: #8f6516;
  --tag-gray: #e9e5dd;
  --tag-gray-fg: #2c2a26;
  --tag-blue: #d6e4ec;
  --tag-blue-fg: #183347;
  --tag-yellow: #f8e8c4;
  --tag-yellow-fg: #402c1b;
  --tag-orange: #f6dcc6;
  --tag-orange-fg: #49290e;
  --tag-purple: #e6dcea;
  --tag-purple-fg: #412454;
}
