/* Цвета, шрифт и размеры сайтов 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;
}
/* Пометки от руки на сайтах: Kalam (Indian Type Foundry, SIL OFL 1.1, лицензия — fonts/Kalam-OFL.txt),
   только латиница. Выбор 26.11 вместо системного рукописного, которого нет вне Apple. */
@font-face {
  font-family: "Kalam";
  src: url("fonts/kalam-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --hand: "Kalam", "Bradley Hand", "Noteworthy", cursive;
  --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);

  /* Бумага кремовая, текст графитовый с лёгкой бирюзой (Константин 26.11: «давай графит») */
  --paper: #f1ece1;
  --paper-band: #e9e2d4;
  --ink: #1f2629;
  --ink-soft: #394145;
  --ink-muted: #576065;
  --rule: rgb(31 38 41 / 0.16);
  --wash: rgb(31 38 41 / 0.05);
  --accent: #16495a;
  --accent-hover: #0f3744;
  --accent-light: #8abece;
  --accent-wash: rgb(22 73 90 / 0.075);
  --ink-band: #232b2e;
  --on-ink: #eef1f0;
  --on-ink-muted: #a7b0b3;

  /* Окна интерфейса на сайте: тёплые поверхности, текст графитовый, как в приложении */
  --ui-bg: #fcfaf6;
  --ui-side: #f4f0e8;
  --ui-text: #2b3336;
  --ui-soft: #424a4d;
  --ui-subtle: #4e575a;
  --ui-muted: #575f62;
  --ui-border: #e7e1d6;
  --ui-input: #d6cfc2;
  --ui-hover: rgb(11 13 14 / 0.045);
  --ui-active: rgb(11 13 14 / 0.075);
  --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;
}
