/* Genererad från design/tokens.json – håll i synk. */
/* Typsnitt hostas själva (SIL Open Font License) – inga anrop till Google från besökarens webbläsare. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --bg: #FAF8F4; --surface: #FFFFFF; --surface-muted: #F2EEE6;
  --text: #1C1A17; --text-muted: #6E675D; --line: #E4DED3;
  --gold: #A8843A; --gold-strong: #8C6C27; --on-gold: #FFFFFF; --danger: #9B2C2C;
  --gait-halt: #BDB7AC; --gait-walk: #C9B48A; --gait-trot: #B8913F; --gait-canter: #6E4A1E;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110F; --surface: #1C1A17; --surface-muted: #26231F;
    --text: #F3EFE7; --text-muted: #A39B8E; --line: #332F29;
    --gold: #CDA75A; --gold-strong: #E0BD72; --on-gold: #12110F; --danger: #E07A7A;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: .01em; line-height: 1.15; }
a { color: var(--gold-strong); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
