/* ─── Global ─────────────────────────────────────────────── */
/*
  Base styles that apply across every page: scroll behaviour,
  body typography, heading font stack, and the .container
  layout primitive.
*/

html {
  scroll-behavior: smooth;
  /* Matches the footer so sub-pixel layout rounding at the bottom edge
     doesn't reveal the browser's default background below it. */
  background: var(--color-accent);
}

body {
  font-family: "Geist", system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.25;
}

/* The Center — constrains content width and centres it horizontally */
.container {
  width: 100%;
  max-inline-size: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-m);
}
