:root {
  --cream: #F4F1EC;
  --espresso: #3D2B1F;
  --terracotta: #C67B5C;
  --sage: #8B9D83;
  --warm-white: #FAF8F5;
  --dark-cream: #E8E2D9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.legal-page {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--warm-white);
  color: var(--espresso);
  -webkit-font-smoothing: antialiased;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 241, 236, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--dark-cream);
}

.legal-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-logo {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--espresso);
  text-decoration: none;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--espresso);
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: var(--espresso);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.legal-back:hover {
  background: var(--espresso);
  color: var(--cream);
}

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.legal-chip {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(139, 157, 131, 0.15);
  color: var(--sage);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-main h1 {
  margin: 0 0 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.legal-updated {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: rgba(61, 43, 31, 0.55);
}

.legal-lead {
  margin: 0 0 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(61, 43, 31, 0.85);
}

.legal-content section {
  margin-bottom: 2rem;
}

.legal-content h2 {
  margin: 0 0 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 400;
}

.legal-content p,
.legal-content li {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(61, 43, 31, 0.82);
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-footer {
  border-top: 1px solid var(--dark-cream);
  background: var(--cream);
  padding: 2rem;
}

.legal-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: rgba(61, 43, 31, 0.55);
}

.legal-footer-links {
  display: flex;
  gap: 1.25rem;
}

.legal-footer-links a {
  color: rgba(61, 43, 31, 0.6);
  text-decoration: none;
}

.legal-footer-links a:hover {
  color: var(--espresso);
}
