/* Hallmark · tokens · theme: Coral · site: status.fanbinit.us
 * axes: paper-band light(warm grey, L97.5) / display geometric-sans (Geist + SUIT) / accent warm (coral 40)
 * differs from status.occm.cc (Cobalt) on all three axes
 */
:root {
  color-scheme: light dark;

  --color-paper:    oklch(97.6% 0.006 70);
  --color-paper-2:  oklch(95%   0.009 65);
  --color-card:     oklch(99%   0.004 70);
  --color-rule:     oklch(90%   0.010 60);
  --color-rule-2:   oklch(83%   0.012 60);
  --color-muted:    oklch(50%   0.014 55);
  --color-ink-2:    oklch(35%   0.014 50);
  --color-ink:      oklch(22%   0.012 45);

  --color-accent:     oklch(66% 0.16 40);
  --color-accent-ink: oklch(99% 0.004 70);
  --color-accent-2:   oklch(94% 0.03 45);
  --color-accent-text: oklch(52% 0.16 38);   /* 본문 크기 텍스트용 — 4.5:1 이상 */
  --color-focus:      oklch(58% 0.17 40);

  /* state — always with glyph + words; down is deeper/cooler than the coral accent */
  --color-up:       oklch(60% 0.13 155);
  --color-degraded: oklch(68% 0.14 75);
  --color-down:     oklch(50% 0.19 18);
  --color-maint:    oklch(56% 0.12 290);
  --color-unknown:  oklch(84% 0.010 60);

  --font-display: "Geist", "SUIT Variable", SUIT, ui-sans-serif, sans-serif;
  --font-body:    "SUIT Variable", SUIT, ui-sans-serif, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.25rem;
  --text-lg:   1.5625rem;
  --text-xl:   clamp(1.75rem, 2.4vw + 1rem, 2.5rem);
  --text-figure: clamp(4.25rem, 15vw, 9.5rem);

  --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: 6.5rem;
  --page-gutter: clamp(1rem, 5vw, 3.5rem);
  --page-max: 64rem;

  --radius-card: 18px;
  --radius-pill: 999px;
  --rule-hair: 1px;
  --shadow-pill: 0 8px 24px -12px oklch(22% 0.012 45 / 0.22);

  --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:  500ms;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-paper:    oklch(18%  0.010 50);
    --color-paper-2:  oklch(21.5% 0.011 50);
    --color-card:     oklch(22.5% 0.011 50);
    --color-rule:     oklch(30%  0.011 50);
    --color-rule-2:   oklch(38%  0.012 50);
    --color-muted:    oklch(71%  0.012 60);
    --color-ink-2:    oklch(85%  0.010 65);
    --color-ink:      oklch(95%  0.007 70);
    --color-accent:     oklch(74% 0.13 40);
    --color-accent-ink: oklch(18% 0.010 50);
    --color-accent-2:   oklch(30% 0.05 40);
    --color-accent-text: oklch(78% 0.12 40);
    --color-focus:      oklch(76% 0.13 40);
    --color-up:       oklch(72% 0.13 155);
    --color-degraded: oklch(80% 0.13 78);
    --color-down:     oklch(66% 0.17 18);
    --color-maint:    oklch(72% 0.10 290);
    --color-unknown:  oklch(38% 0.010 50);
    --shadow-pill: 0 8px 24px -12px oklch(5% 0.01 50 / 0.6);
  }
}
