/* Elements — reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-white);
  padding-top: var(--age-h);
  padding-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 600;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
  color: var(--color-ink);
}

h1 { font-size: clamp(3rem, 9vw, 6.5rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); text-transform: uppercase; }

p { margin: 0 0 var(--space-4); max-width: 68ch; }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }

li + li { margin-top: var(--space-2); }

strong { font-weight: 700; }

button,
input,
textarea,
select {
  font: inherit;
  border-radius: 0;
}

button {
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th, td {
  border: var(--border);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  vertical-align: top;
}

th {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-tint);
}

figure {
  margin: 0 0 var(--space-5);
}

figcaption {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: var(--space-2);
}

hr {
  border: 0;
  border-top: 1px dashed var(--color-line);
  margin: var(--space-7) 0;
}

::selection {
  background: var(--color-magenta);
  color: var(--color-white);
}