:root {
  --page-inset: 24px;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --text-caption: .75rem;
  --text-small: .875rem;
  --text-body: 1rem;
  --text-section: 1.25rem;
  --text-heading: clamp(1.625rem, 1.4rem + .65vw, 2rem);
  --text-title: clamp(2.25rem, 1.6rem + 2.65vw, 4rem);
  font: var(--text-body)/1.5 var(--font-body);
  font-synthesis: none;
}

html { overflow: hidden; }
body {
  box-sizing: border-box;
  height: 100dvh;
  margin: 0;
  border-block: var(--page-inset) solid transparent;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scroll-padding-block: 6px;
}

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

h1 {
  font-size: var(--text-title);
  letter-spacing: -.035em;
}

h2 {
  font-size: var(--text-heading);
  letter-spacing: -.02em;
}
