/* Cadran base element defaults — light touch, brand-correct out of the box. */

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-display-light);
  letter-spacing: var(--tracking-display);
  line-height: var(--lh-tight);
  color: var(--text-primary);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p { margin: 0 0 1em; text-wrap: pretty; }

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--link-hover); }

/* Technical footnote / eyebrow helper */
.cd-detail {
  font-family: var(--font-detail);
  font-size: var(--text-footnote);
  letter-spacing: var(--tracking-detail);
  color: var(--text-secondary);
}

::selection { background: var(--gull-mork); color: var(--brun); }
