:root {
  --paper: #F7F3EC;
  --surface: #FBF8F2;
  --ink: #2B2722;
  --muted: #6B6358;
  --border: #E5DDCF;
  --accent: #8C5A3C;
  --accent-deep: #744A3060;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --measure: 38rem;
  --page: 64rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.72 var(--sans);
}
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-deep); }
a:hover { color: var(--ink); border-color: var(--ink); }
.topbar { border-bottom: 1px solid var(--border); }
.topbar-inner, .page, footer { width: min(100% - 3.2rem, var(--page)); margin: 0 auto; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 1.05rem 0; }
.brand { border: 0; color: var(--ink); font: 500 1rem var(--serif); letter-spacing: .04em; }
.brand:hover { color: var(--accent); }
.brand-mark { color: var(--accent); margin-right: .5rem; }
.topbar nav { display: flex; gap: 1.4rem; font-size: .85rem; }
.topbar nav a { border: 0; }
.page { padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(4rem, 9vw, 6.5rem); }
.eyebrow { margin: 0 0 1.2rem; color: var(--accent); font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.2; }
h1 { max-width: 16ch; margin: 0 0 1.5rem; font-size: clamp(2.4rem, 7vw, 4rem); }
h2 { margin: 2.8rem 0 .75rem; font-size: clamp(1.45rem, 3.5vw, 2rem); }
p { max-width: var(--measure); margin: 0 0 1.2rem; }
/* The Terms page (issue #583) is the first of these documents to set a clause
   as a list. Lists share the paragraph measure so a bulleted clause reads on
   the same column as the prose it belongs to. */
ul { max-width: var(--measure); margin: 0 0 1.2rem; padding-left: 1.35rem; }
li { margin-bottom: .45rem; }
li:last-child { margin-bottom: 0; }
.lede { max-width: 34rem; color: var(--muted); font: 1.15rem/1.65 var(--serif); }
.note { margin-top: 2.5rem; padding: 1rem 1.2rem; border-left: 1px solid var(--accent); color: var(--muted); font-size: .9rem; }
footer { border-top: 1px solid var(--border); padding: 2.5rem 0 4rem; color: var(--muted); font-size: .82rem; }
footer p { margin-bottom: .65rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .9rem 1.3rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 720px) {
  .topbar-inner, .page, footer { width: min(100% - 2.2rem, var(--page)); }
  .topbar-inner { flex-wrap: wrap; gap: .45rem 0; }
  .topbar nav { flex-basis: 100%; flex-wrap: wrap; gap: .2rem 1rem; }
  .topbar nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
