:root {
  --sand: #f6efe4;
  --cream: #fbf8f2;
  --sea: #8bb8c4;
  --deep-sea: #3f6473;
  --navy: #22384a;
  --coral: #e09b82;
  --ink: #2b2d2f;
  --muted: #6b7480;
  --line: #e6ddd0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 2.85rem); margin-bottom: 0.25rem; }
h2 {
  font-size: 1.55rem;
  margin-top: 2.75rem;
  margin-bottom: 0.9rem;
}
h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--deep-sea);
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

p { margin-bottom: 1rem; color: var(--ink); }
ul, ol { margin: 0.25rem 0 1.25rem 1.5rem; }
li { margin-bottom: 0.4rem; }
a {
  color: var(--deep-sea);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
a:hover { color: var(--coral); }
strong { color: var(--navy); font-weight: 600; }
em { color: var(--muted); }

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
nav.legal-nav {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
nav.legal-nav .container {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span {
  color: var(--coral);
  font-style: italic;
}
nav.legal-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
nav.legal-nav li { margin: 0; }
nav.legal-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 400;
}
nav.legal-nav a:hover,
nav.legal-nav a.active {
  color: var(--coral);
}
nav.legal-nav a.active { font-weight: 500; }

/* Main */
main { padding: 3rem 0 4rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--deep-sea);
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.last-updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}

.box {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0 1.5rem;
}
.box p { margin-bottom: 0.5rem; }
.box p:last-child { margin-bottom: 0; }

/* Footer */
footer.legal-footer {
  background: var(--navy);
  color: rgba(251,248,242,0.75);
  padding: 2.5rem 0;
  margin-top: 4rem;
  font-size: 0.85rem;
}
footer.legal-footer .container {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
footer.legal-footer a {
  color: rgba(251,248,242,0.85);
  text-decoration: none;
}
footer.legal-footer a:hover { color: var(--coral); }
footer.legal-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-end;
}
footer.legal-footer li { margin: 0; }

@media (max-width: 640px) {
  footer.legal-footer .container { grid-template-columns: 1fr; }
  footer.legal-footer ul { justify-content: flex-start; }
  nav.legal-nav ul { gap: 1rem; }
  nav.legal-nav a { font-size: 0.82rem; }
}
