:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  --text-max: 42rem;
  --step--1: 0.9375rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.35rem;
  --step-3: 1.65rem;
  --step-4: 2rem;
}

html {
  font-family: var(--font-sans);
  font-size: 100%;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-size: var(--step-0);
  color: var(--light-text, #1a2530);
  background: var(--light-bg, #eae6de);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--step-2);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: var(--step-1);
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  max-width: var(--text-max);
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  max-width: var(--text-max);
}

li {
  margin-bottom: 0.35rem;
}

a {
  color: var(--accent, #3a6b56);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover, #2d5443);
}

small {
  font-size: var(--step--1);
}
