:root {
  --paper: #f4f3ed;
  --surface: #ffffff;
  --ink: #171916;
  --muted: #62655d;
  --line: #d7d8d0;
  --forest: #234b3b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; }
a { color: inherit; }

.legal-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 14px clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-brand { display: flex; align-items: center; gap: 11px; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.legal-brand img { width: 31px; height: 31px; }
.support-link { font-size: 0.76rem; font-weight: 700; }

main { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.legal-intro { padding: 76px 0 54px; border-bottom: 1px solid var(--ink); }
.eyebrow, .section-number, .effective-date { color: var(--muted); font-family: "Courier New", monospace; font-size: 0.68rem; text-transform: uppercase; }
.legal-intro h1 { max-width: 760px; margin: 12px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 500; line-height: 0.95; }
.legal-intro > p:not(.eyebrow):not(.effective-date) { max-width: 620px; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; line-height: 1.5; }
.effective-date { margin-top: 30px; }

.legal-nav { display: flex; gap: 8px 22px; padding: 18px 0; border-bottom: 1px solid var(--line); overflow-x: auto; white-space: nowrap; }
.legal-nav a { font-size: 0.72rem; font-weight: 700; text-decoration: none; }
.legal-nav a:hover, .legal-nav a:focus-visible { text-decoration: underline; }

.legal-layout { display: grid; grid-template-columns: minmax(190px, 270px) minmax(0, 760px); justify-content: space-between; gap: clamp(42px, 8vw, 110px); padding: 60px 0 100px; }
.legal-layout aside { align-self: start; position: sticky; top: 24px; color: var(--muted); font-size: 0.75rem; line-height: 1.55; }
.legal-layout aside a { color: var(--ink); font-weight: 700; }
.legal-content section { scroll-margin-top: 24px; padding: 0 0 70px; }
.legal-content section + section { padding-top: 64px; border-top: 1px solid var(--line); }
.section-number { display: block; margin: 0 0 12px; }
.legal-content h2 { margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 500; line-height: 1; }
.legal-content h3 { margin: 30px 0 9px; font-size: 0.82rem; text-transform: uppercase; }
.legal-content p, .legal-content li { color: #343730; font-size: 0.9rem; line-height: 1.7; }
.legal-content ul { margin: 12px 0 0; padding-left: 20px; }
.legal-content li + li { margin-top: 8px; }
.contact-button { display: inline-flex; min-height: 48px; align-items: center; padding: 0 18px; background: var(--forest); color: #fff; font-size: 0.76rem; font-weight: 700; text-decoration: none; }

.legal-footer { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 28px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; }
.legal-footer span { margin-right: auto; }

@media (max-width: 700px) {
  main { width: min(100% - 32px, 1160px); }
  .legal-header { min-height: 64px; padding-inline: 16px; }
  .legal-intro { padding: 52px 0 38px; }
  .legal-nav { flex-wrap: wrap; gap: 12px 20px; overflow-x: visible; white-space: normal; }
  .legal-layout { grid-template-columns: 1fr; gap: 42px; padding-top: 42px; }
  .legal-layout aside { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .legal-content section { padding-bottom: 52px; }
  .legal-content section + section { padding-top: 48px; }
  .legal-footer span { width: 100%; }
}

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