/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5
 * Hallmark · genre: modern-minimal · macrostructure: Feature Stack · theme: Coral
 * nav: N5 Floating pill · footer: Ft5 Statement · enrichment: real App Store screenshots (no chrome)
 * context: audience=day-block planners / freelancers / students · use=App Store download · tone=sharp premium calm
 * diversification: vs HabitTracker Workbench/Cobalt — differs on macrostructure + accent hue (warm) + nav + footer
 * contrast: pass (40–41) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · mobile: pass (34, 49, 50–57)
 * date: 2026-08-26
 */

:root {
  /* Paper — warm grey (Coral), never pure white */
  --color-paper:   oklch(97.5% 0.006 55);
  --color-paper-2: oklch(95% 0.008 52);
  --color-paper-3: oklch(92% 0.01 50);

  /* Ink — warm charcoal */
  --color-ink:     oklch(22% 0.012 50);
  --color-ink-2:   oklch(38% 0.014 48);
  --color-muted:   oklch(52% 0.012 50);
  --color-faint:   oklch(68% 0.01 52);

  /* Rules */
  --color-rule:    oklch(88% 0.008 52);
  --color-rule-2:  oklch(82% 0.01 50);

  /* Accent — single restrained coral */
  --color-accent:      oklch(62% 0.15 32);
  --color-accent-deep: oklch(52% 0.14 32);
  --color-accent-soft: oklch(62% 0.15 32 / 0.12);
  --color-accent-ink:  oklch(98% 0.006 55);
  --color-focus:       oklch(55% 0.16 32);

  /* One dark band */
  --color-ink-band:        oklch(20% 0.012 48);
  --color-ink-band-2:      oklch(26% 0.014 48);
  --color-on-dark:         oklch(96% 0.006 55);
  --color-on-dark-muted:   oklch(74% 0.01 52);

  /* Elevation */
  --shadow-pill:  0 8px 24px -12px oklch(22% 0.012 50 / 0.18);
  --shadow-shot:  0 24px 48px -28px oklch(22% 0.012 50 / 0.28);
  --overlay-nav:  color-mix(in oklch, var(--color-paper) 78%, transparent);

  /* Fonts — Geist display+body · mono outlier for labels */
  --font-display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.75rem;
  --text-display: clamp(2.25rem, 4.5vw + 0.75rem, 4rem);
  --text-display-s: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  --lh-tight: 1.05;
  --lh-display: 1.06;
  --lh-body: 1.6;

  /* Spacing — 4pt */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  /* Layout */
  --page-max: 72rem;
  --page-gutter: clamp(1rem, 4vw, 2.5rem);
  --shell: var(--page-max);
  --measure: 62ch;
  --banner-height: 4.5rem;

  /* Radius — soft Coral pills */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --rule-hair: 1px;

  /* Motion */
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long:  420ms;
  --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);

  /* Z */
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 200;
  --z-sticky-nav: 300;
  --z-modal: 400;
}
