:root {
  --cream: #F7F2EA;
  --cream-soft: #FAF6EF;
  --cream-deep: #F0E9DD;
  --border: #DDD2C4;
  --border-soft: #E6DCCB;
  --sage: #365C49;
  --sage-deep: #2A4A3A;
  --clay: #B8644A;
  --graphite: #1F2421;
  --graphite-muted: #4A524C;
  --graphite-light: #6B7268;

  --font-display: 'Geist', -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--graphite); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* --- nav --- */
.nav {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 720px) { .nav-inner { padding: 14px 20px; } }
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 200px;
}
@media (max-width: 540px) { .brand-logo { height: 30px; } }
.back-link {
  font-size: 14px;
  color: var(--graphite-muted);
  font-weight: 500;
}
.back-link:hover { color: var(--graphite); }

/* --- legal content --- */
.legal {
  padding: 72px 0 96px;
}
@media (max-width: 720px) {
  .legal { padding: 48px 0 72px; }
}
.legal .container {
  max-width: 760px;
}
.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-eyebrow {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.legal-header h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.1;
  color: var(--graphite);
  margin-bottom: 16px;
  text-wrap: balance;
}
.legal-updated {
  font-size: 13.5px;
  color: var(--graphite-light);
}
.legal-content section + section { margin-top: 40px; }
.legal-content h2 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--graphite);
  margin-bottom: 14px;
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--graphite);
  margin: 22px 0 10px;
}
.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--graphite-muted);
  margin-bottom: 14px;
}
.legal-content p strong { color: var(--graphite); font-weight: 600; }
.legal-content a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--sage-deep); }
.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-content ul li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--graphite-muted);
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 12px; height: 2px;
  background: var(--clay);
}
.legal-content ul li strong { color: var(--graphite); font-weight: 600; }
.legal-callout {
  background: var(--cream-soft);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--sage);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--graphite);
}
.legal-callout strong { font-weight: 600; }

/* --- footer (mirrors index) --- */
footer {
  border-top: 1px solid var(--border);
  background: var(--cream);
  padding: 44px 0 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tagline {
  font-size: 13.5px;
  color: var(--graphite-muted);
  margin-top: 12px;
  font-style: italic;
}
.footer-links {
  display: flex; gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--graphite-muted);
}
.footer-links a:hover { color: var(--graphite); }
.footer-seals {
  display: flex; gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--graphite-light);
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.footer-cr {
  font-size: 12.5px;
  color: var(--graphite-light);
  margin-top: 14px;
}
.footer-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--graphite-light);
  line-height: 1.55;
  max-width: 880px;
  font-style: italic;
}
