:root {
  --ink: #14110e;
  --ink-soft: #2a2520;
  --bone: #f4efe7;
  --cream: #ebe3d4;
  --bronze: #a07747;
  --bronze-deep: #7a5a35;
  --line: rgba(20,17,14,0.14);
  --line-light: rgba(244,239,231,0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

.serif {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* TOP BAR */
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,239,231,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legal-nav .brand img {
  height: 32px;
  width: auto;
  filter: invert(1);
}
.legal-nav .back {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.2s;
}
.legal-nav .back:hover { color: var(--bronze-deep); }
.legal-nav .back::before {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
  position: relative;
}

@media (max-width: 700px) {
  .legal-nav { padding: 18px 24px; }
  .legal-nav .brand { font-size: 16px; }
}

/* HEADER */
.legal-header {
  padding: 120px 48px 80px;
  border-bottom: 1px solid var(--line);
  background: var(--bone);
}
.legal-header-inner {
  max-width: 920px;
  margin: 0 auto;
}
.legal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  font-weight: 500;
}
.legal-eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--bronze);
}
.legal-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.legal-header h1 em { font-style: italic; color: var(--bronze-deep); font-weight: 400; }
.legal-header .updated {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* BODY */
.legal-body {
  max-width: 920px;
  margin: 0 auto;
  padding: 80px 48px 140px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 110px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.legal-toc h4 {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 18px;
  font-weight: 500;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
  margin-bottom: 10px;
  display: flex;
  gap: 14px;
}
.legal-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--bronze-deep);
  letter-spacing: normal;
  font-size: 14px;
  flex-shrink: 0;
}
.legal-toc a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.legal-toc a:hover { color: var(--bronze-deep); }

.legal-content {
  font-size: 16px;
  color: var(--ink-soft);
}
.legal-content .lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 18px;
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.legal-content h2 .num {
  font-style: italic;
  color: var(--bronze-deep);
  font-size: 20px;
  font-weight: 400;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.legal-content p {
  margin-bottom: 16px;
  line-height: 1.7;
}
.legal-content ul {
  margin: 8px 0 20px 0;
  padding-left: 22px;
}
.legal-content li {
  margin-bottom: 8px;
  line-height: 1.65;
}
.legal-content li::marker { color: var(--bronze); }
.legal-content a {
  color: var(--bronze-deep);
  text-decoration: underline;
  text-decoration-color: var(--bronze);
  text-underline-offset: 3px;
}
.legal-content strong { color: var(--ink); font-weight: 500; }

@media (max-width: 900px) {
  .legal-header { padding: 80px 24px 60px; }
  .legal-body {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 24px 100px;
  }
  .legal-toc { position: static; }
}

/* FOOTER */
.legal-footer {
  background: var(--ink);
  color: var(--bone);
  padding: 56px 48px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(244,239,231,0.55);
}
.legal-footer img { height: 36px; width: auto; margin-bottom: 24px; }
.legal-footer .links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
}
.legal-footer a {
  color: rgba(244,239,231,0.78);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.legal-footer a:hover { color: var(--bone); }
