:root {
  /* night control room — layered surfaces, never a flat fill */
  --ink-0: #0a0d10;   /* canvas: near-black, cooled slightly toward blue */
  --ink-1: #10151a;   /* raised surface, card */
  --ink-2: #171d24;   /* hover, input field */
  /* dividers are tinted from the signal color, not neutral gray — every rail
     in the room carries a trace of the same light, at rest as well as lit */
  --line-1: rgba(90, 190, 178, 0.12);
  --line-2: rgba(90, 190, 178, 0.22);
  --text-hi: #eef2f3;
  --text-mid: #9aa7ad;
  --text-low: #7c8891; /* tuned for 4.5:1 AA on --ink-0 at small sizes */

  /* signal — phosphor teal, the meter light this whole system runs on */
  --signal: #35d4bf;
  --signal-soft: rgba(53, 212, 191, 0.14);
  --signal-glow: rgba(53, 212, 191, 0.28);

  /* ambient — a second, quieter glow that gives the ground depth instead of flatness */
  --ambient: #5a67d8;
  --ambient-soft: rgba(90, 103, 216, 0.16);

  /* the one inversion on the page, carried by the signal color */
  --action-bg: var(--signal);
  --action-text: #04211d;

  --danger: #e2694f;

  --inset: 22px;
  --inset-mobile: 13px;
  --content-max: 1440px;

  --face-en: 'Saira', 'Helvetica Neue', Arial, sans-serif;
  --face-ru: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
  --face-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[lang='ru'] {
  --face: var(--face-ru);
}
[lang='en'] {
  --face: var(--face-en);
}
