/* OpenPuck web palette: the Holotable language from docs/brand, shared by every page.
   Dark is the brand's home (void field #0F0F17, Bone text, Violet actions); light uses the
   logo's light variant. Rules (docs/brand/README.md "Don'ts"):
   - Violet is the one action color: buttons, links, focus, selected/current state.
   - Amber (--seam) is the logo seam only. Never use it for UI, warnings or decoration.
   - Warnings use the device's Overtime coral, not amber and not a second accent. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/AtkinsonHyperlegibleNext-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
:root {
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Atkinson Hyperlegible Next", var(--font-body);

  --bg: #F6F5FB; --panel: #FFFFFF; --sunk: #ECEAF4;
  --line: #DCDAE8; --line-strong: #C4C1D6;
  --fg: #0F0F17; --muted: #4D4B66;
  --violet: #6247E0; --violet-ink: #FFFFFF; --violet-line: #A99BEE;
  --link: #5137CF; --focus: #6247E0;
  --seam: #D98A00;
  --caution-bg: #FFF0EB; --caution-line: #C4472A;
  --bad: #B42318; --ok: #1A7F37;
  --shadow: rgba(15, 15, 23, 0.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0F17; --panel: #171724; --sunk: #0B0B11;
    --line: #262636; --line-strong: #3A3A52;
    --fg: #ECEBF5; --muted: #9A98B3;
    --violet: #A08CFF; --violet-ink: #0E0820; --violet-line: #605499;
    --link: #B5A6FF; --focus: #A08CFF;
    --seam: #FFB547;
    --caution-bg: #26161A; --caution-line: #FF7A59;
    --bad: #FF7B72; --ok: #56D364;
    --shadow: rgba(0, 0, 0, 0.5);
  }
}
