/* Plain CSS export of docs/design/theme.css and theme-modes.css. */
:root {
  --color-primary: #f2d378;
  --color-on-primary: #14304f;
  --color-secondary: #706993;
  --color-secondary-text: #5a547d;
  --color-on-secondary: #f6f9fc;
  --color-tertiary: #2e4c46;
  --color-on-tertiary: #f6f9fc;
  --color-background: #e9eff5;
  --color-surface: #f6f9fc;
  --color-tile: #ffffff;
  --color-ink: #14304f;
  --color-text: #14304f;
  --color-text-muted: #4f6478;
  --color-shadow: #706993;
  --color-grid: #9db8d6;
  --color-deep: #173b6c;
  --color-mid: #2c5a93;
  --color-error: #a6382b;
  --font-display: "Gloock";
  --font-display-section: "Gloock";
  --font-display-digital: "Silkscreen";
  --font-headline: "Gloock";
  --font-title: "Instrument Sans";
  --font-body-md: "Instrument Sans";
  --font-body-sm: "Instrument Sans";
  --font-label: "Instrument Sans";
  --font-data-lg: "JetBrains Mono";
  --font-data-md: "JetBrains Mono";
  --text-display: 15.625rem;
  --text-display-section: 5.75rem;
  --text-display-digital: 6.5rem;
  --text-headline: 2.5rem;
  --text-title: 1.25rem;
  --text-body-md: 1rem;
  --text-body-sm: 0.875rem;
  --text-label: 0.75rem;
  --text-data-lg: 2.5rem;
  --text-data-md: 0.875rem;
  --tracking-display-digital: 0.02em;
  --tracking-label: 0.24em;
  --tracking-data-lg: -0.01em;
  --font-weight-display: 400;
  --font-weight-display-section: 400;
  --font-weight-display-digital: 400;
  --font-weight-headline: 400;
  --font-weight-title: 600;
  --font-weight-body-md: 400;
  --font-weight-body-sm: 400;
  --font-weight-label: 700;
  --font-weight-data-lg: 400;
  --font-weight-data-md: 400;
  --radius-none: 0px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-full: 9999px;
  --spacing-hairline: 1px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-xxl: 64px;
  --spacing-module: 120px;
  --spacing-gutter: 24px;
  --spacing-margin-desktop: 80px;
  --spacing-margin-mobile: 20px;
  --spacing-rail: 320px;
  --spacing-shadow-sm: 4px;
  --spacing-shadow-md: 6px;
  --spacing-shadow-lg: 10px;
}

/* Deep and Mid colour modes for Tender Tectonics v2 (see DESIGN.md › Colors).
   theme.css (exported from DESIGN.md) holds the Sheet mode; these classes redefine the
   same tokens on a band. Hand-written: DESIGN.md front matter holds one mode only. */

.mode-deep {
  --color-background: #173b6c;
  --color-surface: #1f4a82;
  --color-tile: #f6f9fc;
  --color-text: #f3f6fa;
  --color-text-muted: #b9cbe0;
  --color-secondary-text: #d2cdf0;
  --color-tertiary: #7fd1c0;
  --color-shadow: #9c95c4;
  --color-grid: #4c77ac;
  --color-error: #ffa08f;
}

.mode-mid {
  --color-background: #2c5a93;
  --color-surface: #30609c;
  --color-tile: #f6f9fc;
  --color-text: #f3f6fa;
  --color-text-muted: #d6e2f0;
  --color-secondary-text: #e4e0f7;
  --color-tertiary: #a8e8da;
  --color-shadow: #b3ade0;
  --color-grid: #6e94c4;
  --color-error: #ffd2ca;
}
