/* SafeSquid brand tokens, v0.1 (draft, 2026-11-25). Generated from brand-kit/source/palette.py plus hand-set semantic roles. */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* ---- Raw scales: reach for the semantic roles below first ---- */
  --squid-blue-50: #EFF8FF;
  --squid-blue-100: #E2EDF5;
  --squid-blue-200: #C3DBEE;
  --squid-blue-300: #9BC3E1;
  --squid-blue-400: #71A8D0;
  --squid-blue-500: #4C90BE;
  --squid-blue-600: #2C7BAD;
  --squid-blue-700: #006699;
  --squid-blue-800: #005281;
  --squid-blue-900: #003E68;
  --squid-blue-950: #00294A;
  --signal-blue-50: #EAF8FF;
  --signal-blue-100: #D8EDFF;
  --signal-blue-200: #B9D9FF;
  --signal-blue-300: #8EBFFF;
  --signal-blue-400: #5CA0FF;
  --signal-blue-500: #2D82FF;
  --signal-blue-600: #016AF3;
  --signal-blue-700: #0054D5;
  --signal-blue-800: #0041B3;
  --signal-blue-900: #00308E;
  --signal-blue-950: #001F63;
  --gateway-orange-50: #FFF0E5;
  --gateway-orange-100: #FFE6D8;
  --gateway-orange-200: #FFD2BC;
  --gateway-orange-300: #FFB291;
  --gateway-orange-400: #FF8A59;
  --gateway-orange-500: #FF6A29;
  --gateway-orange-600: #DC530E;
  --gateway-orange-700: #B64205;
  --gateway-orange-800: #8D350C;
  --gateway-orange-900: #652A13;
  --gateway-orange-950: #371F17;
  --zinc-50: #FAFAFA;
  --zinc-100: #F4F4F5;
  --zinc-200: #E4E4E7;
  --zinc-300: #D4D4D8;
  --zinc-400: #A1A1AA;
  --zinc-500: #71717A;
  --zinc-600: #52525B;
  --zinc-700: #3F3F46;
  --zinc-800: #27272A;
  --zinc-900: #18181B;
  --zinc-950: #09090B;

  /* ---- Semantic roles, light theme (default) ---- */
  --surface: #FFFFFF;            /* page background */
  --surface-raised: #FAFAFA;     /* cards, nav, alternating sections */
  --surface-sunken: #F4F4F5;     /* code blocks, table headers */
  --surface-brand: #00294A;      /* deep "Squid Blue" hero / footer band; white text on it */
  --line: #E4E4E7;               /* hairlines, card borders (decorative only) */
  --line-control: #71717A;       /* input and button borders (meets 3:1) */
  --ink: #09090B;                /* body text and headings */
  --ink-muted: #52525B;          /* secondary text */
  --brand: #006699;              /* the logo blue: brand moments, eyebrow labels, illustrations */
  --action: #016AF3;             /* console blue: links, primary buttons, focus */
  --action-hover: #015FDB;
  --action-active: #0155C2;
  --on-action: #FFFFFF;
  --accent: #FF6A29;             /* the logo orange: fills only, never text on white */
  --on-accent: #09090B;
  --accent-text: #B64205;        /* orange when it must be text */
  --focus-ring: #016AF3;
  --success: #067647;  --warning: #93370D;  --danger: #B42318;  --info: #175CD3;

  /* ---- Type ---- */
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* ---- Space (4px base) and radius (same steps as the console) ---- */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px; --radius-xl: 12px; --radius-full: 9999px;
}

/* Dark theme: follows the OS unless data-theme="light" is set, and always applies with data-theme="dark" (same pattern as the console). */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --surface: #09090B; --surface-raised: #18181B; --surface-sunken: #27272A; --surface-brand: #00294A;
  --line: #27272A; --line-control: #71717A;
  --ink: #FAFAFA; --ink-muted: #A1A1AA;
  --brand: #71A8D0;
  --action: #5CA0FF; --action-hover: #8EBFFF; --action-active: #B9D9FF; --on-action: #09090B;
  --accent: #FF6A29; --on-accent: #09090B; --accent-text: #FF8A59;
  --focus-ring: #5CA0FF;
  --success: #75E0A7; --warning: #FEC84B; --danger: #FDA29B; --info: #60A5FA;
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --surface: #09090B; --surface-raised: #18181B; --surface-sunken: #27272A; --surface-brand: #00294A;
  --line: #27272A; --line-control: #71717A;
  --ink: #FAFAFA; --ink-muted: #A1A1AA;
  --brand: #71A8D0;
  --action: #5CA0FF; --action-hover: #8EBFFF; --action-active: #B9D9FF; --on-action: #09090B;
  --accent: #FF6A29; --on-accent: #09090B; --accent-text: #FF8A59;
  --focus-ring: #5CA0FF;
  --success: #75E0A7; --warning: #FEC84B; --danger: #FDA29B; --info: #60A5FA;
  color-scheme: dark;
}
