html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-size: var(--type-md);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--face-display);
  line-height: var(--lead-tight);
}

h1 {
  font-size: 6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

h2 {
  font-size: 3rem;
  font-weight: 800;
}

h3 {
  font-size: var(--type-lg);
  font-weight: 700;
}

h4 {
  font-size: var(--type-md);
  font-weight: 700;
}

p {
  font-size: 1.125rem;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration-thickness: var(--hair);
  text-underline-offset: 0.2em;
  transition: color var(--pace-quick), opacity var(--pace-quick);
}

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

ul,
ol {
  padding-left: var(--space-3);
}

strong {
  font-weight: 700;
}

small {
  font-size: var(--type-xs);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 0.75rem var(--space-1);
  border-bottom: var(--hair) solid var(--rule-line);
  font-size: var(--type-sm);
}

th {
  font-family: var(--face-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

input,
button,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

figure {
  margin: 0;
}

:focus-visible {
  outline: var(--stroke) solid var(--ink);
  outline-offset: 0.1875rem;
}

section {
  padding: var(--space-8) var(--space-4);
}
