/* Hallmark · tokens · theme: custom · vibe: "engineered, honest, precise, quiet confidence"
 * anchors from the NewWiz logo: blue (AI) + yellow (engineer judgment) on a cool navy ink
 * axes: light / geometric-sans / cool
 */

:root {
  /* paper & ink */
  --color-paper:        oklch(98%  0.006 255);
  --color-paper-2:      oklch(95.5% 0.011 255);
  --color-ink:          oklch(22%  0.035 262);
  --color-ink-2:        oklch(36%  0.030 262);
  --color-muted:        oklch(48%  0.024 262);
  --color-rule:         oklch(88%  0.012 255);
  --color-rule-strong:  oklch(22%  0.035 262);

  /* night band (dark surface) */
  --color-night:        oklch(23%  0.055 262);
  --color-night-rule:   oklch(35%  0.050 262);
  --color-on-night:     oklch(96%  0.008 255);
  --color-on-night-2:   oklch(80%  0.022 258);

  /* accents: blue = AI, yellow = engineer judgment */
  --color-accent:       oklch(53%  0.190 258);
  --color-accent-soft:  oklch(94%  0.030 255);
  --color-signal:       oklch(80%  0.165 85);
  --color-signal-edge:  oklch(60%  0.130 75);
  --color-focus:        oklch(55%  0.215 258);
  --color-shadow:       oklch(22%  0.035 262 / 0.16);
  --color-glass:        oklch(98%  0.006 255 / 0.82);

  /* type */
  --font-display: "M PLUS 1", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  --font-body:    "IBM Plex Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  --font-outlier: "JetBrains Mono", ui-monospace, monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;
  --text-2xl:  clamp(1.75rem, 2.4vw + 0.9rem, 2.5rem);
  --text-display: clamp(2.5rem, 4.6vw + 0.9rem, 4.75rem);

  /* space (4pt scale) */
  --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;

  --page-max:    72rem;
  --page-gutter: clamp(1rem, 4vw, 2.5rem);

  /* shape & rules */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-pill: 999px;
  --rule-hair:  1px;
  --rule-bold:  2px;

  /* motion */
  --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;

  /* z */
  --z-base:   1;
  --z-sticky: 200;
  --z-modal:  400;
}
