/* The TikTok section's palette, once. /tiktok and /tiktok/treffa link this file
 * FIRST and their own sheet second; the page sheets paint with these tokens and
 * declare no colour of their own beyond the few each chart needs (ADR 0069).
 *
 * It is the palette /tiktok/treffa was designed in and kept (ADR 0068): the For
 * You feed after dark, near-black with the cyan and red of the app's own logo,
 * Archivo Black for the title and the big figures, Inter for the text. Both
 * accents are used as TEXT, so both are gated at 4.5:1 on both surfaces in
 * test/contrast.test.js: the cyan is 13:1 and up, the red 4.9:1 and up. */
:root {
  --bg: #0b0b10;
  --panel: #15151d;
  --ink: #f4f4f7;
  --mute: #a3a3b2;
  --cy: #25f4ee;
  --rd: #fe2c55;
  --line: #2a2a36;
  --f-disp: "Archivo Black", Impact, "Arial Black", sans-serif;
  --f-tekst: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-tekst);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: clip;
}
a { color: var(--ink); }
a:hover { color: var(--cy); }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
/* Archivo Black has one weight. A heavier one asked for would be synthesised. */
h1, h2, h3 { font-family: var(--f-disp); font-weight: 400; margin: 0; }
p { margin: 0; }
b { font-weight: 600; }

.skip-link {
  position: fixed; top: -100%; left: 0.75rem; z-index: 1000;
  padding: 0.65rem 1.1rem; background: var(--cy); color: var(--bg);
  border: 2px solid #fff; border-radius: 0.5rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
