/* Hallmark · genre: atmospheric · macrostructure: multi-page (index=Stat-Led · admin/guests=Workbench/Split · pc=Bento · install=Narrative-Workflow · control=Manifesto · compare=Spec-Table · gallery=Portfolio-Grid · pricing=Conversational-FAQ · about=Letter)
 * theme: custom Midnight-indigo (vibe: "тёмный дисциплинированный tech, янтарный акцент, без неона")
 * paper oklch(13% 0.012 265) · accent oklch(80% 0.14 85) amber · axes: dark / geometric-cyrillic-sans / warm
 * fonts: Unbounded (display) + Onest (body) + JetBrains Mono (outlier: wordmark + hero stat)
 * nav: N5 floating pill · footer: Ft5 statement · enrichment: real product screenshots in figures
 * Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V5
 */

:root {
  /* — colour · midnight-indigo anchor 265, single warm amber accent — */
  --color-paper:       oklch(13% 0.012 265);
  --color-paper-2:     oklch(16.5% 0.014 265);
  --color-paper-3:     oklch(20% 0.016 265);
  --color-rule:        oklch(29% 0.016 265);
  --color-neutral:     oklch(64% 0.012 265);
  --color-muted:       oklch(78% 0.01 265);
  --color-ink:         oklch(94% 0.008 265);
  --color-accent:      oklch(80% 0.14 85);
  --color-accent-deep: oklch(58% 0.13 75);
  --color-accent-ink:  oklch(18% 0.04 85);
  --color-focus:       oklch(80% 0.14 85);
  --color-ok:          oklch(78% 0.12 155);
  --color-bad:         oklch(70% 0.14 25);
  --color-bloom:       oklch(45% 0.09 70);
  --color-band:        oklch(19% 0.014 265);

  /* — type · 2+1: Unbounded display / Onest body / JetBrains Mono outlier — */
  --font-display: "Unbounded", "Unbounded Fallback", sans-serif;
  --font-body:    "Onest", "Onest Fallback", system-ui, sans-serif;
  --font-outlier: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, monospace;

  /* — scale · 1.25 major third, display capped for wide Cyrillic face — */
  --text-sm:   0.8rem;
  --text-base: 1rem;
  --text-md:   1.25rem;
  --text-lg:   1.5625rem;
  --text-xl:   1.953rem;
  --text-2xl:  2.441rem;
  --text-display-s: clamp(1.7rem, 2.5vw + 0.8rem, 2.8rem);
  --text-display:   clamp(2.1rem, 3.4vw + 1rem, 3.8rem);
  --text-stat:      clamp(4.4rem, 11vw + 1rem, 10rem);

  /* — space · 4pt scale — */
  --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: clamp(3rem, 2.5rem + 2.4vw, 4.75rem);

  /* — motion — */
  --dur-fast:   140ms;
  --dur-normal: 260ms;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:     cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* — misc — */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;
  --rule-hair: 1px solid var(--color-rule);
  --shadow-lift: 0 12px 40px oklch(8% 0.02 265 / 0.55);
  --glow-amber: 0 0 60px oklch(58% 0.13 75 / 0.25);
  --page-max: 72rem;
  --page-pad: clamp(1rem, 4vw, 2rem);
}

/* fonts-fallback:begin (tools/site/fonts_selfhost.py, не править руками) */
@font-face { font-family: 'Unbounded Fallback'; src: local("Arial"), local("Roboto"), local("Helvetica Neue"); size-adjust: 133.06%; ascent-override: 74.78%; descent-override: 18.41%; line-gap-override: 0.00%; }
@font-face { font-family: 'Onest Fallback'; src: local("Arial"), local("Roboto"), local("Helvetica Neue"); size-adjust: 103.20%; ascent-override: 93.99%; descent-override: 29.55%; line-gap-override: 0.00%; }
@font-face { font-family: 'JetBrains Mono Fallback'; src: local("Courier New"), local("Droid Sans Mono"), local("Consolas"); size-adjust: 99.98%; ascent-override: 102.02%; descent-override: 30.00%; line-gap-override: 0.00%; }
/* fonts-fallback:end */
