:root {
  color-scheme: light;
  --paper: #f1e8d3;
  --paper-light: #f8f1e3;
  --ink: #171611;
  --muted: #746f64;
  --line: rgba(23, 22, 17, 0.2);
  --accent: #9f4529;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  width: min(100% - 36px, 900px);
  margin: 0 auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

header,
main,
footer {
  padding: 32px 0;
}

header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

header a {
  color: inherit;
  text-decoration: none;
}

header strong {
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  font-weight: 400;
}

header span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

main {
  min-height: 65vh;
}

h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin: 28px 0 56px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
}

h2 {
  margin: 42px 0 12px;
  font-size: 1.5rem;
}

p,
li {
  max-width: 720px;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

dl {
  display: grid;
  grid-template-columns: minmax(130px, 190px) 1fr;
  gap: 12px 24px;
  max-width: 720px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 620px) {
  header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  dd + dt {
    margin-top: 12px;
  }
}
