:root {
  --green: #1d442b;
  --deep: #071d10;
  --gold: #b88839;
  --cream: #f4efe3;
  --paper: #fffdf8;
  --ink: #17261d;
  --muted: #5e6d63;
  --line: #d8d1c2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Assistant, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.container { width: min(920px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; inset: 10px auto auto 10px; z-index: 50; padding: 10px 14px; color: white; background: var(--deep); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.legal-header { border-bottom: 1px solid rgba(216,209,194,.35); background: var(--deep); }
.legal-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-nav img { width: 190px; height: auto; display: block; }
.legal-nav a:last-child { color: white; font-size: 14px; font-weight: 800; text-decoration: none; }

.legal-hero { padding: 72px 0 58px; color: white; background: var(--green); }
.legal-kicker { margin: 0 0 12px; color: #e0c58f; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.legal-hero h1 { margin: 0; font: 700 clamp(42px, 7vw, 68px)/1 "Frank Ruhl Libre", Georgia, serif; }
.legal-hero p:last-child { max-width: 690px; margin: 20px 0 0; color: #d8e1da; font-size: 16px; line-height: 1.75; }

.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 54px; align-items: start; padding-block: 52px 84px; }
.legal-toc { position: sticky; top: 24px; display: grid; gap: 9px; padding: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.5); }
.legal-toc strong { margin-bottom: 5px; color: var(--green); }
.legal-toc a { color: var(--muted); font-size: 13px; line-height: 1.4; text-decoration: none; }
.legal-toc a:hover, .legal-toc a:focus { color: var(--green); text-decoration: underline; }
.legal-content { min-width: 0; }
.legal-summary { margin: 0 0 30px; padding: 20px 22px; border-right: 4px solid var(--gold); background: var(--paper); color: var(--green); font-weight: 700; line-height: 1.75; }
.legal-content section { scroll-margin-top: 24px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.legal-content section:first-of-type { padding-top: 0; }
.legal-content h2 { margin: 0 0 13px; color: var(--green); font: 700 30px/1.2 "Frank Ruhl Libre", Georgia, serif; }
.legal-content h3 { margin: 22px 0 8px; color: var(--green); font-size: 18px; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 15px; line-height: 1.85; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul, .legal-content ol { margin: 10px 0 0; padding-right: 22px; }
.legal-content li + li { margin-top: 6px; }
.legal-content a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.legal-callout { padding: 18px 20px; border: 1px solid #d5c39e; background: #fbf4e5; }
.legal-meta { margin-top: 34px; color: var(--muted); font-size: 13px; }

.legal-footer { padding: 35px 0; color: #c5d0c8; background: var(--deep); }
.legal-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-footer p { margin: 0; font-size: 13px; line-height: 1.7; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.legal-footer a { color: white; font-size: 13px; font-weight: 700; }

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 920px); }
  .legal-nav { min-height: 70px; }
  .legal-nav img { width: 155px; }
  .legal-hero { padding: 52px 0 44px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-block: 30px 60px; }
  .legal-toc { position: static; }
  .legal-content h2 { font-size: 27px; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; }
}
