:root {
  --ink: #171714;
  --paper: #f4f0e8;
  --chalk: #fffdf8;
  --amber: #d99b2b;
  --olive: #686b55;
  --rule: rgba(23, 23, 20, 0.2);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--chalk);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.legal-header,
.legal-footer { border-bottom: 1px solid var(--rule); }

.legal-footer { border-top: 1px solid var(--rule); border-bottom: 0; }

.legal-shell { width: min(900px, calc(100% - 48px)); margin: 0 auto; }

.legal-nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.legal-nav-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.76rem; font-weight: 700; }

.legal-main { padding: clamp(70px, 10vw, 120px) 0; }

.legal-label {
  margin: 0 0 18px;
  color: var(--olive);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.04em; }

h1 { max-width: 820px; margin: 0 0 28px; font-size: clamp(3.3rem, 9vw, 6.2rem); line-height: 0.94; }

h2 { margin: 52px 0 12px; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.05; }

.legal-intro { max-width: 760px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; }

.legal-updated { margin: 24px 0 46px; color: rgba(23, 23, 20, 0.66); font-size: 0.78rem; }

.legal-content p,
.legal-content li { max-width: 760px; }

.legal-content li + li { margin-top: 8px; }

.legal-callout {
  margin: 46px 0 0;
  padding: 24px;
  border-left: 5px solid var(--amber);
  background: var(--chalk);
}

.legal-footer-inner {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: rgba(23, 23, 20, 0.66);
  font-size: 0.72rem;
}

.legal-footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 640px) {
  .legal-shell { width: calc(100% - 36px); }
  .legal-nav { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; padding: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
