/* VBK-2285 — design tokens for the "technical-minimal" art direction.
   texture: dot-grid | motion: fade-up, underline-sweep
   Compose with var(--…). Do not restate these values as literals. */
:root {
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --step--1: clamp(0.833rem, 0.852rem + -0.078vw, 0.781rem);
  --step-0: clamp(1.000rem, 1.000rem + 0.000vw, 1.000rem);
  --step-1: clamp(1.200rem, 1.104rem + 0.409vw, 1.472rem);
  --step-2: clamp(1.440rem, 1.284rem + 0.667vw, 1.884rem);
  --step-3: clamp(1.728rem, 1.487rem + 1.027vw, 2.412rem);
  --step-4: clamp(2.074rem, 1.717rem + 1.522vw, 3.087rem);
  --leading-tight: 1.15;
  --leading-body: 1.6;
  --tracking-display: -0.02em;
  --space-3xs: 0.247rem;
  --space-2xs: 0.370rem;
  --space-xs: 0.556rem;
  --space-s: 0.833rem;
  --space-m: 1.250rem;
  --space-l: 1.875rem;
  --space-xl: 2.813rem;
  --space-2xl: 4.219rem;
  --space-3xl: 6.328rem;
  --measure: 72ch;
  --container: 76rem;
  --surface: #ffffff;
  --surface-raised: #f7f8fa;
  --ink: #0d1117;
  --ink-muted: #5a6472;
  --accent: #1559d6;
  --accent-ink: #ffffff;
  --border: #e4e8ee;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 12px;
  --shadow-s: 0 1px 2px rgba(13,17,23,.05);
  --shadow-m: 0 4px 12px rgba(13,17,23,.07);
  --shadow-l: 0 16px 40px rgba(13,17,23,.09);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  margin: 0 0 var(--space-s);
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p, li { max-width: var(--measure); }
p { margin: 0 0 var(--space-s); }

a { color: var(--accent); }

.container {
  width: min(100% - var(--space-l) * 2, var(--container));
  margin-inline: auto;
}

section { padding-block: var(--space-2xl); }
