@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&display=swap');

:root {
  --bg: #f6f4ef;
  --surface: #fbfaf7;
  --text: #20211f;
  --muted: #6e706b;
  --line: #ddd9d0;
  --accent: #365c52;
  --max: 900px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246,244,239,.94);
}

.nav, .footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  letter-spacing: -.03em;
  font-size: 1.05rem;
}

nav { color: var(--muted); font-size: .92rem; }

.article {
  padding-top: 92px;
  padding-bottom: 100px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .7rem;
  font-weight: 700;
  margin: 0 0 26px;
}

.article-number {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--muted);
  font-size: clamp(5rem, 13vw, 9rem);
  line-height: .8;
  letter-spacing: -.07em;
  margin-bottom: 18px;
}

h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin: 0 0 58px;
}

.legal-text {
  border-top: 1px solid var(--line);
  padding-top: 38px;
}

.legal-text p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.65;
  margin: 0 0 34px;
  max-width: 820px;
}

.legal-text p span {
  color: var(--accent);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: .85em;
  font-weight: 600;
  margin-right: 8px;
}

.article-nav {
  margin-top: 75px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.next {
  justify-self: end;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 16px;
  align-items: center;
  text-align: right;
}

.next small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.next strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.45rem;
}

.next span {
  font-size: 1.35rem;
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.footer-inner {
  min-height: 88px;
  gap: 20px;
}

@media (max-width: 650px) {
  .article { padding-top: 65px; }
  .article-nav { grid-template-columns: 1fr; }
  .next { justify-self: start; text-align: left; }
  .footer-inner { align-items: flex-start; justify-content: center; flex-direction: column; padding: 20px 0; }
}
