/* ── Legal pages shared styles (waiver.html, privacy.html, terms.html) ── */

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.legal-date {
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: .82rem;
  color: #6b7280;
  margin-top: 4px;
}

/* ── Section ── */
.legal-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 14px;
}

.legal-section p {
  font-size: .95rem;
  line-height: 1.85;
  color: #374151;
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 8px 0 12px 20px;
}

.legal-section ul li {
  font-size: .95rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 8px;
}

.legal-section ul li:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: #111827;
  font-weight: 600;
}

.legal-section a {
  color: #2c4a3e;
  text-decoration: underline;
}

/* ── Waiver: red notice box ── */
.waiver-notice {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-left: 4px solid #dc2626;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 36px;
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: .85rem;
  color: #991b1b;
  line-height: 1.65;
}

.waiver-notice strong {
  font-weight: 700;
}

/* ── Waiver: agreement box ── */
.waiver-agreement {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 28px 32px;
  margin-top: 16px;
}

.waiver-check-label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
  cursor: pointer;
}

.waiver-check-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #2c4a3e;
  cursor: pointer;
}

.waiver-check-text {
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: .88rem;
  color: #374151;
  line-height: 1.7;
}

.waiver-check-text strong {
  color: #111827;
}

/* Waiver CTA button states */
.btn-waiver-disabled {
  display: inline-block;
  padding: 14px 32px;
  background: #d1d5db;
  color: #9ca3af;
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: not-allowed;
  border: none;
  pointer-events: none;
  transition: background .2s, color .2s;
}

.waiver-note {
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: .75rem;
  color: #9ca3af;
  margin-top: 12px;
  line-height: 1.5;
}

/* ── Medical disclaimer banner (used in service pages) ── */
.medical-disclaimer {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 6px;
  padding: 14px 20px;
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: .83rem;
  color: #78350f;
  line-height: 1.65;
  margin: 24px auto;
  max-width: 760px;
}

.medical-disclaimer a {
  color: #92400e;
  font-weight: 600;
  text-decoration: underline;
}

/* ── Back link ── */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', 'Arial', sans-serif;
  font-size: .82rem;
  color: #6b7280;
  text-decoration: none;
  margin: 0 auto 0;
  max-width: 760px;
  padding: 28px 24px 0;
  display: block;
}

.legal-back:hover {
  color: #2c4a3e;
}

/* Medical disclaimer when used inside page sections (wider than legal-body) */
.medical-disclaimer--page {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 20px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .legal-body { padding: 0 16px 60px; }
  .waiver-agreement { padding: 20px; }
}
