/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 */
/* Hallmark · genre: modern-minimal · macrostructure: Narrative Workflow · theme: Apple Product · tone: calm · anchor hue: 255 · nav: N10 · footer: Ft5 */

:root {
  --surface: oklch(100% 0 0);
  --surface-raised: oklch(97.2% 0.004 255);
  --surface-muted: oklch(93.8% 0.006 255);
  --ink: oklch(19% 0.012 255);
  --ink-secondary: oklch(27% 0.014 255);
  --ink-muted: oklch(32% 0.016 255);
  --line: oklch(88.5% 0.008 255);
  --line-strong: oklch(67% 0.012 255);
  --blue: oklch(48% 0.19 255);
  --blue-hover: oklch(43% 0.19 255);
  --blue-ink: oklch(100% 0 0);
  --blue-tint: oklch(95% 0.025 255);
  --green: oklch(43% 0.13 155);
  --warning: oklch(38% 0.16 25);
  --code: oklch(18% 0.01 255);
  --code-raised: oklch(22% 0.01 255);
  --code-ink: oklch(96% 0.004 255);
  --code-muted: oklch(84% 0.009 255);
  --focus: oklch(48% 0.19 255);
  --scrim: oklch(12% 0.01 255 / 0.38);
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 2rem;
  --text-2xl: 2.5rem;
  --text-display: clamp(2.75rem, 5.5vw, 5.25rem);
  --s-2xs: .25rem;
  --s-xs: .5rem;
  --s-sm: .75rem;
  --s-md: 1rem;
  --s-lg: 1.5rem;
  --s-xl: 2.5rem;
  --s-2xl: 4rem;
  --s-3xl: 6rem;
  --r-control: 999px;
  --r-card: 20px;
  --r-small: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fast: 120ms;
  --z-nav: 200;
}

@media (prefers-contrast: more) {
  :root { --ink-muted: oklch(26% 0.016 255); --line-strong: oklch(45% 0.016 255); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: oklch(18% 0.01 255);
    --surface-raised: oklch(22% 0.01 255);
    --surface-muted: oklch(28% 0.012 255);
    --ink: oklch(97% 0.003 255);
    --ink-secondary: oklch(91% 0.006 255);
    --ink-muted: oklch(86% 0.012 255);
    --line: oklch(34% 0.012 255);
    --line-strong: oklch(54% 0.012 255);
    --blue: oklch(69% 0.16 255);
    --blue-hover: oklch(75% 0.15 255);
    --blue-ink: oklch(18% 0.01 255);
    --blue-tint: oklch(28% 0.045 255);
    --focus: oklch(75% 0.16 255);
    --warning: oklch(78% 0.14 25);
    --scrim: oklch(8% 0.01 255 / .62);
  }
}

@media (prefers-color-scheme: dark) and (prefers-contrast: more) {
  :root { --ink-muted: oklch(93% 0.008 255); --line-strong: oklch(72% 0.012 255); }
}
