/* Legal site pages + printable documents */
.legal-page {
  background: var(--cream);
  padding: 4.5rem 1.5rem 5rem;
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.legal-wrap .section-title {
  margin-bottom: 0.75rem;
}

.legal-updated {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.legal-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin: 2rem 0 0.85rem;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal-wrap ul {
  margin: 0 0 1.25rem 1.15rem;
  padding: 0;
}

.legal-wrap a {
  color: var(--gold-dark);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 2.5rem;
}

.docs-band {
  background: var(--cream-deep);
  padding: 4rem 1.5rem;
  scroll-margin-top: 6rem;
}

.docs-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.docs-band-inner .section-body {
  margin-left: auto;
  margin-right: auto;
}

.docs-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-top: 0.35rem;
}

.footer-legal a {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-bottom {
  flex-wrap: wrap;
}

/* Printable contract / agreement documents */
.doc-page {
  margin: 0;
  background: #ebe6dc;
  color: #1a1a1a;
  font-family: "Montserrat", system-ui, sans-serif;
}

.doc-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 0.85rem 1rem;
  background: #121212;
  border-bottom: 1px solid rgba(197, 160, 89, 0.35);
}

.doc-toolbar a,
.doc-toolbar button {
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(197, 160, 89, 0.55);
  background: transparent;
  color: #c5a059;
  padding: 0.7rem 1.15rem;
  cursor: pointer;
}

.doc-toolbar .doc-btn-primary {
  background: #c5a059;
  color: #fff;
  border-color: #c5a059;
}

.doc-sheet {
  max-width: 816px;
  margin: 1.75rem auto 3rem;
  background: #fff;
  padding: 2.75rem 2.5rem 3rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.doc-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 1.35rem;
  border-bottom: 2px solid #c5a059;
  margin-bottom: 1.75rem;
}

.doc-header img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: #f5f2ed;
  box-shadow: 0 0 0 2px #c5a059;
}

.doc-header-text h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 0.35rem;
  color: #121212;
}

.doc-header-text p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c5a059;
}

.doc-meta {
  font-size: 0.78rem;
  color: #6b6560;
  margin-bottom: 1.5rem;
}

.doc-sheet h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  margin: 1.6rem 0 0.65rem;
  color: #121212;
}

.doc-sheet p,
.doc-sheet li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #3a3a3a;
  margin: 0 0 0.85rem;
}

.doc-sheet ul,
.doc-sheet ol {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

.doc-sign {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.doc-sign .line {
  border-top: 1px solid #121212;
  margin-top: 2.5rem;
  padding-top: 0.45rem;
  font-size: 0.78rem;
  color: #6b6560;
}

.doc-footer-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.35);
  font-size: 0.75rem;
  color: #6b6560;
}

@media (max-width: 700px) {
  .doc-sheet {
    margin: 0;
    padding: 1.5rem 1.15rem 2rem;
    box-shadow: none;
  }

  .doc-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .doc-sign {
    grid-template-columns: 1fr;
  }
}

@media print {
  .doc-toolbar,
  .site-header,
  .site-footer,
  .nav-overlay,
  .page-hero,
  .docs-band,
  .legal-actions {
    display: none !important;
  }

  .doc-page {
    background: #fff;
  }

  .doc-sheet {
    margin: 0;
    max-width: none;
    box-shadow: none;
    padding: 0;
  }

  .legal-page {
    padding: 0;
  }

  a[href]::after {
    content: none !important;
  }
}

@media (max-width: 640px) {
  .legal-page,
  .docs-band {
    padding: 3.5rem 1.15rem;
  }
}
