/* Motif design tokens: light by default, dark when the OS asks for it.
   Force a theme with <html data-theme="light"> or <html data-theme="dark">. */
:root {
  --surface:#FBF7F0;
  --raised:#FFFFFF;
  --sunken:#F3EDE2;
  --ink:#1F1A2E;
  --muted:#5E576F;
  --line:#8B8498;
  --soft:#1F1A2E24;
  --blaze:#E8572F;
  --cobalt:#2F4FD1;
  --on-blaze:#1F1A2E;
  --on-cobalt:#FFFFFF;
  --link:#2F4FD1;
  --focus:#1F1A2E;
  --cobalt-soft:#E3E8FA;
  --sun-soft:#FAEDD1;
  --mint-soft:#E0F3EB;
  --bubblegum-soft:#F9E4EC;
  --band:#1F1A2E;
  --band-line:transparent;
  --code-bg:#1F1A2E;
  --shadow-raised:0 12px 32px rgba(31,26,46,.10),0 2px 6px rgba(31,26,46,.06);
  --font-display: 'Bricolage Grotesque', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --font-sans: 'Figtree', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  color-scheme: light;
}

:root[data-theme='dark'] {
  --surface:#17122A;
  --raised:#221B38;
  --sunken:#110D20;
  --ink:#F6F1E8;
  --muted:#B9B0D6;
  --line:#8F88AC;
  --soft:#F6F1E82E;
  --blaze:#F26B45;
  --cobalt:#8AA2F5;
  --on-blaze:#1F1A2E;
  --on-cobalt:#17122A;
  --link:#A5B8FF;
  --focus:#F0B445;
  --cobalt-soft:#262B52;
  --sun-soft:#3A3326;
  --mint-soft:#1F3A3A;
  --bubblegum-soft:#3A2540;
  --band:#221B38;
  --band-line:#F6F1E82E;
  --code-bg:#110D20;
  --shadow-raised:0 12px 32px rgba(0,0,0,.5),0 2px 6px rgba(0,0,0,.4);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --surface:#17122A;
    --raised:#221B38;
    --sunken:#110D20;
    --ink:#F6F1E8;
    --muted:#B9B0D6;
    --line:#8F88AC;
    --soft:#F6F1E82E;
    --blaze:#F26B45;
    --cobalt:#8AA2F5;
    --on-blaze:#1F1A2E;
    --on-cobalt:#17122A;
    --link:#A5B8FF;
    --focus:#F0B445;
    --cobalt-soft:#262B52;
    --sun-soft:#3A3326;
    --mint-soft:#1F3A3A;
    --bubblegum-soft:#3A2540;
    --band:#221B38;
    --band-line:#F6F1E82E;
    --code-bg:#110D20;
    --shadow-raised:0 12px 32px rgba(0,0,0,.5),0 2px 6px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
