/* Tisjina design tokens. The only place for colours, type, spacing, radii and shadows (see BRANDING.md).
   Dark only, on purpose: a sonar room at night (docs/DECISIONS.md, ADR-006). */
:root {
  /* Colours */
  --c-bg: #0b0f0d;
  --c-bar: #111613;
  --c-surface: #141a17;
  --c-well: #0d1210;
  --c-deep: #050806;
  --c-line: #2a332e;
  --c-line-strong: #3a463f;
  --c-text: #e3ebe5;
  --c-muted: #9aaa9f;
  --c-phosphor: #6dffa0;
  --c-phosphor-dim: #2f6b45;
  --c-active: #1e2a23;
  --c-amber: #ffb000;
  --c-amber-text: #ffcf66;
  --c-amber-bg: #2a1d08;
  --c-red: #ff5247;
  --c-red-text: #ff8a80;
  --c-red-bg: #2a1110;
  --c-ice: #7fd4ff;
  --c-land: #1a211d;

  /* Type: system fonts only (no external font files, ADR-004) */
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  --f-display: "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.75rem;   /* 12px: labels */
  --fs-s: 0.875rem;   /* 14px */
  --fs-m: 1rem;       /* 16px: body, inputs (never smaller: iOS zoom) */
  --fs-l: 1.25rem;
  --fs-xl: 1.75rem;
  --fs-xxl: clamp(2.25rem, 6vw, 3.75rem);
  --lh: 1.6;
  --track-label: 0.08em;

  /* Spacing (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px;

  /* Shape and depth */
  --radius: 2px;
  --radius-round: 999px;
  --shadow-glow: 0 0 12px rgba(109, 255, 160, 0.35);
  --glow-soft: rgba(109, 255, 160, 0.08);
  --backdrop: rgba(5, 8, 6, 0.8);
  --ice-fill: rgba(207, 233, 220, 0.10);
  --focus: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-phosphor);

  /* Layout */
  --page-w: 1080px;
  --head-h: 64px;
  --touch: 44px;
}
