/* ==========================================================================
   Legal pages (page-legal.php): Privacy, Terms, Cancellation / Refund.
   Long-form policy typography on the shared base tokens.
   ========================================================================== */

.legal-head {
  border-bottom: 1px solid var(--line);
}

.legal-breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  font-family: "Archivo Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: rgba(36, 36, 33, 0.6);
}

.legal-breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(36, 36, 33, 0.35);
}

.legal-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.legal-breadcrumbs a:hover {
  color: var(--charcoal);
}

.legal-title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.02;
  color: var(--ink);
}

/* Readable measure for policy text. */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--charcoal);
}

.legal-content h2,
.legal-content h3 {
  font-family: "Archivo Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 2.2em 0 0.6em;
  color: var(--ink);
}

.legal-content h2 { font-size: 1.5rem; }
.legal-content h3 { font-size: 1.2rem; }

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin: 0 0 1.1em;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.4em;
}

.legal-content li {
  margin-bottom: 0.4em;
}

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

.legal-content a:hover {
  opacity: 0.7;
}

.legal-empty {
  font-style: italic;
  color: rgba(36, 36, 33, 0.7);
}

/* Liability-waiver download card (shown at the top of the Terms page). */
.legal-waiver-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 2px;
}

.legal-waiver-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.legal-waiver-heading {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}

.legal-waiver-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(242, 240, 232, 0.72);
  max-width: 52ch;
}

.legal-waiver-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

