/* DESIGN.md §3 — reset minimal et typographie de base */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--ink-900);
  background: var(--pc-paper);
  font-feature-settings: 'tnum' 1, 'lnum' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--pc-primary);
  margin: 0 0 var(--space-3);
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4, h5, h6 {
  font-family: var(--font-display-regular);
  font-weight: 400;
  margin: 0 0 var(--space-2);
}
h4 { font-size: var(--text-h4); }

p { margin: 0 0 var(--space-3); }

a {
  color: var(--pc-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast);
}
a:hover { color: var(--pc-primary-dark); }

code, pre, .mono {
  font-family: var(--font-mono);
  font-size: 0.95em;
}

button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

::selection { background: var(--pc-peach); color: var(--ink-900); }
