/*
  Base reset and element defaults. Everything here reads from
  tokens.css — no hardcoded colors, spacing or radii.
*/

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  color: var(--color-text-strong);
  background: var(--color-background);
  line-height: var(--leading-normal);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-teal-ink);
  text-decoration: none;
}

a:hover {
  color: var(--color-ink);
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
