*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-heading);
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); font-family: var(--font-ui); letter-spacing: 0; }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-semibold); font-family: var(--font-ui); letter-spacing: 0; }
p { margin: 0 0 var(--space-2); max-width: var(--measure); }
a { color: var(--text-link); text-decoration-color: var(--gold-400); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-calm), text-decoration-color var(--dur-fast) var(--ease-calm); }
a:hover { color: var(--text-link-hover); text-decoration-color: var(--gold-600); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}
small { font-size: var(--fs-small); }
img { max-width: 100%; display: block; }
hr { border: 0; border-top: var(--border-hairline) solid var(--border-quiet); margin: var(--space-4) 0; }
::selection { background: var(--petrol-200); color: var(--petrol-950); }
