/* Hallmark · pre-emit critique: P5 H4 E5 S5 R5 V4 */
/* Hallmark · genre: modern-minimal · theme: custom paper / mist / sage
 * audience: people who want a private, low-pressure answer to “when was the last time?”
 * use: understand the app and choose a store download without distraction
 * tone: soft utilitarian · macrostructure: Split Studio / Long Document
 * axes: light / humanist-sans / cool-teal
 */
:root {
  color-scheme: light;

  --color-paper: oklch(98% 0.008 180);
  --color-paper-2: oklch(95.8% 0.012 186);
  --color-surface: oklch(100% 0.002 180);
  --color-surface-muted: oklch(96.5% 0.015 176);
  --color-sage: oklch(94.8% 0.019 153);
  --color-ink: oklch(24% 0.018 240);
  --color-ink-soft: oklch(38% 0.016 226);
  --color-muted: oklch(52% 0.014 220);
  --color-rule: oklch(87% 0.011 202);
  --color-rule-strong: oklch(76% 0.018 201);
  --color-accent: oklch(48% 0.07 214);
  --color-accent-strong: oklch(39% 0.075 215);
  --color-accent-soft: oklch(92.8% 0.03 211);
  --color-accent-ink: oklch(99% 0.003 196);
  --color-focus: oklch(43% 0.1 222);
  --color-danger: oklch(51% 0.16 27);
  --color-overlay: oklch(24% 0.018 240 / 0.42);

  --font-display: "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.9531rem;
  --text-2xl: 2.4414rem;
  --text-3xl: 3.0518rem;
  --text-display: clamp(2.65rem, 5.2vw + 0.8rem, 5.25rem);
  --text-display-compact: clamp(2.15rem, 3vw + 1rem, 3.75rem);

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 7rem;
  --space-4xl: 10rem;

  --page-max: 76rem;
  --page-gutter: clamp(1rem, 4vw, 4rem);
  --content-measure: 42rem;
  --reading-measure: 65ch;

  --radius-control: 0.5rem;
  --radius-card: 0.75rem;
  --radius-media: 1.25rem;
  --radius-pill: 999px;
  --rule-thin: 1px;
  --shadow-media: 0 1.5rem 3.5rem oklch(24% 0.018 240 / 0.12);
  --shadow-dialog: 0 1.5rem 4rem oklch(24% 0.018 240 / 0.2);

  --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-instant: 100ms;
  --dur-short: 180ms;
  --dur-medium: 280ms;
}
