/* Hallmark · design-system: design.md · genre: editorial · theme: Studio-cool · designed-as-app
 * paper: cool grey · accent: teal · display: Newsreader · body: IBM Plex Sans
 */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&family=Newsreader:opsz,wght@6..72,400;6..72,700&family=Noto+Serif+SC:wght@400;700&display=swap");

:root {
  --color-paper: oklch(97% 0.004 220);
  --color-paper-2: oklch(94% 0.006 220);
  --color-paper-3: oklch(91% 0.008 220);
  --color-ink: oklch(18% 0.01 240);
  --color-ink-2: oklch(36% 0.01 240);
  --color-muted: oklch(48% 0.01 230);
  --color-rule: oklch(78% 0.008 220);
  --color-rule-strong: oklch(58% 0.012 220);
  --color-accent: oklch(42% 0.08 195);
  --color-accent-ink: oklch(97% 0.004 220);
  --color-focus: oklch(48% 0.1 195);
  --color-positive: oklch(42% 0.08 155);
  --color-warning: oklch(55% 0.09 75);
  --color-danger: oklch(48% 0.14 25);
  --color-dark-paper: oklch(14% 0.012 240);
  --color-dark-paper-2: oklch(18% 0.014 240);
  --color-dark-paper-3: oklch(22% 0.016 240);
  --color-dark-ink: oklch(94% 0.008 220);
  --color-dark-ink-2: oklch(76% 0.01 220);
  --color-dark-muted: oklch(64% 0.01 220);
  --color-dark-rule: oklch(32% 0.014 240);
  --color-dark-accent: oklch(72% 0.09 195);
  --color-signal-paper: oklch(14% 0.02 195);
  --color-signal-paper-2: oklch(18% 0.024 195);
  --color-signal-paper-3: oklch(22% 0.028 195);
  --color-signal-ink: oklch(94% 0.01 195);
  --color-signal-ink-2: oklch(76% 0.03 195);
  --color-signal-muted: oklch(62% 0.035 195);
  --color-signal-rule: oklch(34% 0.04 195);
  --color-signal-accent: oklch(78% 0.12 195);

  --font-display: "Newsreader", "Noto Serif SC", "Songti SC", serif;
  --font-body: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-outlier: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", sans-serif;

  --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;

  --text-xs: 0.72rem;
  --text-sm: 0.86rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.953rem;
  --text-2xl: 2.441rem;
  --text-3xl: 3.052rem;
  --text-display: clamp(2.4rem, 4vw + 0.8rem, 4.5rem);
  --text-display-s: clamp(2.1rem, 3.5vw + 0.6rem, 3.5rem);

  --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: 180ms;
  --dur-long: 420ms;

  --rule-hair: 1px;
  --rule-double: 3px;
  --radius-card: 0;
  --radius-input: 0;
  --radius-ui: 2px;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --shadow-whisper: none;
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;
  --page-gutter: clamp(1rem, 4vw, 4rem);
  --target-min: 44px;
  --measure: 65ch;
}
