/* onbeat — токены. Сгенерировано из tokens.json; правьте значения там и пересоберите этот файл. */

@font-face {
  font-family: "Unbounded";
  src: url("./fonts/Unbounded-Variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("./fonts/Onest-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #121014;
  --surface: #1c191f;
  --line: #322d35;
  --ink: #f5efe6;
  --ink-muted: #a59d97;
  --tangerine: #ff8540;
  --tangerine-text: var(--tangerine);
  --on-tangerine: #121014;
  --teal: #4fbfae;
  --on-teal: #121014;
  --signal: #f0506e;
  --on-signal: #121014;
  --focus-ring: var(--ink);
}

[data-theme="light"] {
  color-scheme: light;
  --canvas: #f6f1ea;
  --surface: #fffcf7;
  --line: #e5dccf;
  --ink: #1a171c;
  --ink-muted: #6b6370;
  --tangerine-text: #b04a14;
  --signal: #c2304e;
  --on-signal: #ffffff;
  --focus-ring: var(--ink);
}

:root {
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-10: 40px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-full: 999px;
  --font-display: Unbounded, "Arial Black", sans-serif;
  --font-text: Onest, system-ui, sans-serif;
}

/* Типографика: стиль `hook` из README = класс .t-hook и т.д. */
.t-hook { font-family: var(--font-display); font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.t-display { font-family: var(--font-display); font-size: 36px; line-height: 1.05; font-weight: 600; letter-spacing: -0.01em; }
.t-lyric { font-family: var(--font-display); font-size: 22px; line-height: 1.2; font-weight: 500; }
.t-title { font-family: var(--font-text); font-size: 20px; line-height: 28px; font-weight: 600; }
.t-body { font-family: var(--font-text); font-size: 16px; line-height: 24px; font-weight: 400; }
.t-label { font-family: var(--font-text); font-size: 14px; line-height: 20px; font-weight: 600; }
.t-meta { font-family: var(--font-text); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

/* Фокус с клавиатуры */
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
