/* Cobalt Accent theme. Mirrors the "Tokens" collection (mode "11 Cobalt Accent") in the portfolio Figma file. */
:root {
  --bg-page: #f2f4f8;
  --bg-subtle: #e6eaf3;
  --bg-surface: #ffffff;
  --bg-inverse: #0b1020;
  --bg-brand: #2e5fff;
  --bg-brand-hover: #142a6e;
  --bg-brand-subtle: #d9e2ff;
  --bg-error-subtle: #fdecec;
  --bg-error-inverse: #4a1d1a;

  --text-primary: #0b1020;
  --text-body: #1a2236;
  --text-secondary: #3a4357;
  --text-muted: #525b70;
  --text-subtle: #5b6377;
  /* #2e5fff is only 4.2:1 on --bg-subtle, so brand-coloured text uses this darker cobalt. */
  --text-brand: #2450e6;
  --text-brand-strong: #142a6e;
  --text-on-brand: #ffffff;
  --text-on-inverse: #f2f4f8;
  --text-on-inverse-accent: #9db3ff;
  --text-error: #d0342c;

  --border-strong: #0b1020;
  --border-default: #dde2ec;
  --border-input: #c5cddc;
  --border-subtle: #e6eaf3;
  --border-focus: #2e5fff;
  --border-error: #d0342c;
  --control-off: #b9c0ce;

  --glow: 46 95 255;
  --shadow-tint: 20 42 110;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-text: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --space-4: 4px; --space-8: 8px; --space-12: 12px; --space-16: 16px; --space-20: 20px;
  --space-24: 24px; --space-28: 28px; --space-32: 32px; --space-40: 40px; --space-48: 48px;
  --space-56: 56px; --space-64: 64px; --space-72: 72px; --space-88: 88px;

  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 18px; --radius-xl: 22px; --radius-2xl: 28px; --radius-full: 999px;

  --width-content: 1200px;
  --gutter: 32px;

  --shadow-card: 0 18px 30px -22px rgb(var(--shadow-tint) / .35);
  --shadow-hover: 0 18px 30px -20px rgb(var(--shadow-tint) / .3);
  --ease-spring: cubic-bezier(.3, 1.7, .5, 1);
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
}
