/* BrandLab public site tokens: the Spotlit UI&UX dark palette (design/spotlit-ui-ux), self-hosted OFL fonts */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }

:root {
  --background: #171717;
  --foreground: #fafafa;
  --card: #222222;
  --muted: #1d1d1d;
  --muted-foreground: #b0b0b0;
  --secondary: #2a2a2a;
  --border: #2e2e2e;
  --input: #737373;
  --info: #94a9df;
  --primary: #fafafa;
  --primary-foreground: #171717;
  --primary-hover: rgba(250, 250, 250, 0.9);
  --tint: rgba(250, 250, 250, 0.07);
  --doc-text: #e5e5e5;
  --radius-control: 7px;
  --radius-card: 12px;
  --ease-spotlit: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Schibsted Grotesk", "Inter", ui-sans-serif, sans-serif;
  color-scheme: dark;
}

/* light mode follows the visitor's system setting, with the Spotlit light palette */
@media (prefers-color-scheme: light) {
  :root {
    --background: #fafafa;
    --foreground: #171717;
    --card: #ffffff;
    --muted: #f4f4f4;
    --muted-foreground: #525252;
    --secondary: #f0f0f0;
    --border: #e5e5e5;
    --input: #8a8a8a;
    --info: #36558d;
    --primary: #171717;
    --primary-foreground: #fafafa;
    --primary-hover: rgba(23, 23, 23, 0.9);
    --tint: rgba(23, 23, 23, 0.07);
    --doc-text: #262626;
    color-scheme: light;
  }
}
