/* Furrow structure, Ink & Brass colour. Values are the app's own (apps/web/src/design-system/tokens.css):
   ink #222831, slate #393E46, gold #FFD369, bone #EEEEEE. Gold is a fill with ink on it, never type. */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.875rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --font-display: "Red Hat Display", ui-sans-serif, system-ui, sans-serif; --font-body: "Red Hat Display", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Red Hat Mono", ui-monospace, monospace;
  --radius-card: 10px; --radius-entry: 14px; --radius-pill: 6px; --rule-hair: 1px;
  --tracking-display: -0.035em; --display-weight: 600;
}

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --color-paper: #222831; --color-paper-2: #2b313a; --color-paper-3: #393e46; --color-sheet: #2b313a;
  --color-ink: #eeeeee; --color-ink-2: #d9dce1; --color-muted: #b8bec7; --color-rule: #3b414a;
  --color-accent: #ffd369; --color-accent-ink: #222831; --color-accent-soft: #413e33; --color-focus: #ffd369;
  --color-green: #8cbe9f; --color-green-soft: #2d4a3b; --color-coral: #e7a19c; --color-coral-soft: #4d3032;
  --color-contour: #a88c44; --color-water: #86a9ff; --color-hedge: #8cbe9f;
  --color-grid: #2f353e; --color-grid-strong: #3b414a;
  --color-tile: #ffffff; --color-ring: #6b7480; --color-slab: #1c2129; --color-slab-ink: #eeeeee; --color-slab-muted: #b8bec7;
  --color-error: #e7a19c; --color-success: #8cbe9f;
  --shadow-card: 0 1px 2px oklch(10% 0.01 260 / 0.3), 0 14px 28px -16px oklch(10% 0.01 260 / 0.55);
  --shadow-lift: 0 1px 1px oklch(10% 0.01 260 / 0.35), 0 2px 4px -1px oklch(10% 0.01 260 / 0.35), 0 24px 44px -20px oklch(8% 0.01 260 / 0.7);
}

:root[data-theme="light"] {
  color-scheme: light;
  --color-paper: #eeeeee; --color-paper-2: #f7f7f6; --color-paper-3: #e3e4e6; --color-sheet: #fbfbfa;
  --color-ink: #222831; --color-ink-2: #393e46; --color-muted: #4d5461; --color-rule: #d3d4d5;
  --color-accent: #ffd369; --color-accent-ink: #222831; --color-accent-soft: #f3e6c6; --color-focus: #7a5a00;
  --color-green: #3f8a60; --color-green-soft: #d6e8dc; --color-coral: #c4574f; --color-coral-soft: #f0d9d6;
  --color-contour: #a8873a; --color-water: #2a55c2; --color-hedge: #3f8a60;
  --color-grid: #e0e1e2; --color-grid-strong: #d3d4d5;
  --color-tile: #ffffff; --color-ring: #222831; --color-slab: #222831; --color-slab-ink: #eeeeee; --color-slab-muted: #b8bec7;
  --color-error: #c4574f; --color-success: #3f8a60;
  --shadow-card: 0 1px 2px oklch(25% 0.02 260 / 0.1), 0 14px 28px -16px oklch(25% 0.02 260 / 0.3);
  --shadow-lift: 0 1px 1px oklch(25% 0.02 260 / 0.12), 0 2px 4px -1px oklch(25% 0.02 260 / 0.12), 0 24px 44px -20px oklch(25% 0.02 260 / 0.42);
}
