/* ============================================================
   LEGAL PAGES — shared styles
   Used by: privacy-policy.php, terms-of-service.php, disclaimer.php
   ============================================================ */

/* Nav brand as link (legal pages only) */
.nav__brand-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

/* Page hero banner */
.legal-page__hero {
  background: var(--navy);
  padding: 120px 0 56px;
  position: relative;
  overflow: hidden;
}

.legal-page__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(43,191,191,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.legal-page__pretag {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.8;
  margin: 0 0 16px;
}

.legal-page__h1 {
  font-family: var(--ff-serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.1;
}

.legal-page__meta {
  font-family: var(--ff-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* Page body */
.legal-page__body {
  padding-top: 64px;
  padding-bottom: 80px;
  max-width: 800px;
}

/* Notice box */
.legal-notice {
  background: rgba(43,191,191,0.07);
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 48px;
}

.legal-notice--urgent {
  background: rgba(201,168,76,0.07);
  border-left-color: var(--gold);
}

/* Sections */
.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e8e4dc;
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--ff-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
}

.legal-section p {
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.75;
  margin: 0 0 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 0;
  margin: 14px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section ul li {
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.legal-section ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}

.legal-section a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:hover {
  opacity: 0.75;
}

.legal-section address {
  font-style: normal;
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.9;
  background: var(--bg-cream);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 16px;
}

.legal-section address a {
  color: var(--teal);
}

/* Back button */
.legal-back {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e8e4dc;
}

@media (max-width: 600px) {
  .legal-page__hero {
    padding: 100px 0 40px;
  }
  .legal-page__body {
    padding-top: 40px;
    padding-bottom: 56px;
  }
}
