:root {
  --paper: #f3ecdd;
  --cream: #fbf6ec;
  --ink: #211c16;
  --muted: #746a59;
  --line: #d3c5a8;
  --stamp: #e0492c;
  --teal: #2f6f61;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgb(255 255 255 / 6%) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 71%, rgb(255 255 255 / 4%) 0 1px, transparent 2px),
    var(--ink);
  background-size: 22px 22px, 29px 29px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--teal);
}

.doc {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 6vw, 56px) clamp(40px, 8vw, 96px);
  background:
    linear-gradient(105deg, transparent 0 49%, rgb(33 28 22 / 3%) 50%, transparent 51%),
    var(--paper);
  min-height: 100vh;
}

.eyebrow {
  color: var(--stamp);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wordmark {
  margin: 2px 0 28px;
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

h1 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 6px;
}

h2 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 40px 0 8px;
}

.updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 8px;
}

p,
li {
  font-size: 1rem;
  color: #2f281f;
}

ul {
  padding-left: 1.2em;
}

li {
  margin: 6px 0;
}

hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px dashed var(--line);
}

.back {
  display: inline-block;
  margin-top: 40px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
