/* Hallmark · genre: editorial · macrostructure: Split Studio · H2 knobs: ratio=7/5, proof=form, divider=negative-space
 * theme: custom · vibe: "ciepły modernizm, redakcyjny, konkretny" · paper: oklch(96% 0.016 82) · accent: oklch(67% 0.16 36)
 * display: Newsreader · body: IBM Plex Sans · axes: light / roman-serif / warm-coral
 * enrichment: E8 local placeholders · nav: N1b compact · footer: Ft2 · studied: no · context: user-provided · v1.1.0
 * Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4
 * contrast: pass (40–41) · slop: pass (42–45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (34, 49–57) · icons: pass (30)
 */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-paper: oklch(96% 0.016 82);
  --color-paper-2: oklch(93% 0.018 82);
  --color-paper-3: oklch(89% 0.019 82);
  --color-ink: oklch(23% 0.018 174);
  --color-ink-2: oklch(38% 0.016 170);
  --color-muted: oklch(48% 0.014 150);
  --color-neutral: oklch(58% 0.012 100);
  --color-rule: oklch(84% 0.016 82);
  --color-rule-2: oklch(89% 0.014 82);
  --color-control: oklch(60% 0.016 82);
  --color-sage: oklch(66% 0.055 145);
  --color-accent: oklch(67% 0.16 36);
  --color-accent-dark: oklch(56% 0.15 34);
  --color-accent-soft: oklch(91% 0.04 40);
  --color-accent-ink: oklch(20% 0.02 34);
  --color-focus: oklch(32% 0.20 31);
  --color-tech: oklch(18% 0.055 255);
  --color-tech-2: oklch(23% 0.052 250);
  --color-tech-ink: oklch(94% 0.014 230);
  --color-tech-muted: oklch(77% 0.025 230);
  --color-cyan: oklch(79% 0.13 220);
  --color-error: oklch(52% 0.19 26);
  --color-success: oklch(48% 0.11 150);
  --color-shadow: oklch(20% 0.014 60 / 0.12);
  --color-overlay: oklch(15% 0.02 160 / 0.62);

  --font-display: "Newsreader", ui-serif, serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, 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.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.953rem;
  --text-2xl: 2.441rem;
  --text-3xl: 3.052rem;
  --text-4xl: 3.815rem;
  --text-display-s: clamp(2.5rem, 7vw, 4.25rem);
  --text-display: clamp(3rem, 6vw, 5.25rem);

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

  --rule-hair: 1px;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;

  --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);
  --page-max: 90rem;
  --content-max: 80rem;
  --control-height: 3.25rem;
}
