/* GENERATED by tools/build-design.mjs from design/tokens.json. Do not edit: change the token and run `npm run build`. */

/* Fonts (self-hosted: no third-party requests) */
@font-face { font-family: 'Petrona'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/petrona-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Petrona'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/petrona-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/albert-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/albert-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/albert-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fira Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/fira-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fira Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/fira-mono-latin-500-normal.woff2') format('woff2'); }

/* Tokens */
:root {
  --sp1: 3.8px; --sp2: 7.6px; --sp3: 11.4px; --sp4: 15.2px; --sp6: 22.8px; --sp8: 30.4px; --sp12: 45.6px; --sp16: 60.8px; --sp24: 91.2px;
  --r: 14px;
  --fs-label: 11px; --fs-body: 16px; --fs-h5: 21.2px; --fs-h4: 28.1px; --fs-h3: 37.2px; --fs-h2: 49.3px; --fs-h1: 65.3px; --fs-display: 86.6px;
  --font-body: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-head: 'Petrona', Georgia, serif; --font-data: 'Fira Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.34, 1.56, .64, 1); --t: 190ms; --t-slow: 600ms; --reveal: 700ms; --flight: 14s;
  --stroke-icon: 1.25;
  --glow-1: #EC7551; --glow-2: #F1C374; --glow-3: #9D7AF0;
}

/* Night is the default. Dawn applies when the visitor (or their system) asks for it. */
:root,
[data-phase='night'] {
  color-scheme: dark;
  --bg: #0A1628; --sf1: #15233A; --sf2: #1D2B44; --tx: #F7F2E8;
  --mu: #AEB3BD; --ac: #F1C374; --acf: #F1C374; --act: #F1C374;
  --onac: #0A1628; --du: #9D7AF0; --em: #EC7551; --ok: #51EC9E;
  --in: #519EEC; --er: #ED5E5E; --ph: #9D7AF0; --sh: 0 8px 24px rgba(0, 0, 0, .28);
}
[data-phase='dawn'] {
  color-scheme: light;
  --bg: #F7F2E8; --sf1: #FCFAF5; --sf2: #EDE6D7; --tx: #0A1628;
  --mu: #5B6270; --ac: #BA7C12; --acf: #BA7C12; --act: #4C3A1A;
  --onac: #0A1628; --du: #5129AE; --em: #AE4829; --ok: #1C784A;
  --in: #296BAE; --er: #AE2929; --ph: #BA7C12; --sh: 0 6px 20px rgba(76, 58, 26, .09);
}
/* No JavaScript: follow the system. */
@media (prefers-color-scheme: light) {
  :root:not([data-phase]) {
    color-scheme: light;
    --bg: #F7F2E8; --sf1: #FCFAF5; --sf2: #EDE6D7; --tx: #0A1628;
    --mu: #5B6270; --ac: #BA7C12; --acf: #BA7C12; --act: #4C3A1A;
    --onac: #0A1628; --du: #5129AE; --em: #AE4829; --ok: #1C784A;
    --in: #296BAE; --er: #AE2929; --ph: #BA7C12; --sh: 0 6px 20px rgba(76, 58, 26, .09);
  }
}
