/* ============================================================
 * css/legal.css  —  shared styles for the three legal pages
 * (terms-and-conditions, privacy-policy, refund-policy).
 * Reuses tokens from style.css; class prefix: lp-* (legal-page).
 * ============================================================ */

.legal-page-wrapper {
  max-width: 920px;
  margin: 0 auto;
  /* extra top padding so content clears the fixed site header */
  padding: 120px 22px 60px;
  color: #1e293b;
  line-height: 1.78;
}
@media (max-width: 768px) {
  .legal-page-wrapper { padding: 100px 16px 50px; }
}

.legal-page-wrapper .lp-breadcrumb {
  font-size: .85rem;
  color: #64748b;
  margin: 0 0 16px;
}
.legal-page-wrapper .lp-breadcrumb a { color: #2563eb; text-decoration: none; }
.legal-page-wrapper .lp-breadcrumb a:hover { text-decoration: underline; }
.legal-page-wrapper .lp-breadcrumb span { color: #475569; }

.legal-header {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.legal-header h1 {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.25;
}
.legal-header .last-updated {
  color: #64748b;
  font-size: .85rem;
  margin: 0 0 14px;
}
.legal-header .last-updated i { margin-right: 5px; }
.legal-header .legal-intro {
  font-size: 1rem;
  color: #334155;
  margin: 0 0 22px;
}

.legal-quick-nav {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  border: 1px solid #c7d2fe;
  padding: 16px 20px;
  border-radius: 12px;
  margin: 16px 0 0;
  font-size: .9rem;
  line-height: 1.85;
}
.legal-quick-nav strong {
  display: block;
  margin-bottom: 6px;
  color: #1e40af;
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-quick-nav a {
  display: inline-block;
  margin: 2px 4px;
  padding: 3px 9px;
  background: #fff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  font-size: .82rem;
  color: #2563eb;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.legal-quick-nav a:hover { background: #2563eb; color: #fff; }

.legal-content section { margin-bottom: 38px; scroll-margin-top: 100px; }
.legal-content h2 {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 800;
  color: #0f172a;
  border-left: 4px solid #2563eb;
  padding-left: 14px;
  margin: 0 0 14px;
  line-height: 1.35;
}
.legal-content h3 {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: #1e293b;
  margin: 20px 0 8px;
}
.legal-content p {
  margin: 0 0 1em;
  color: #1e293b;
}
.legal-content ul, .legal-content ol {
  margin: 6px 0 1.1em 1.4em;
  padding: 0;
}
.legal-content li { margin: 0 0 .45em; }
.legal-content strong { color: #0f172a; font-weight: 700; }
.legal-content a { color: #2563eb; text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: #1d4ed8; }

/* Strong-warning callout (used in liability / no-refund / cancellation sections) */
.lp-callout {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-left: 4px solid #e11d48;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 16px 0;
  color: #1e293b;
}
.lp-callout strong {
  display: block;
  color: #9f1239;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.lp-callout p { margin: 0; }

.lp-callout--info {
  background: #eff6ff;
  border-color: #c7d2fe;
  border-left-color: #2563eb;
}
.lp-callout--info strong { color: #1d4ed8; }

.lp-callout--note {
  background: #f0fdf4;
  border-color: #bbf7d0;
  border-left-color: #16a34a;
}
.lp-callout--note strong { color: #047857; }

/* Table-style mini grid for refund-eligible scenarios */
.lp-table-wrap { overflow-x: auto; margin: 14px 0 18px; }
.lp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .9rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  min-width: 480px;
}
.lp-table th, .lp-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  vertical-align: top;
}
.lp-table th { background: #f8fafc; font-weight: 800; color: #0f172a; }
.lp-table tr:last-child td { border-bottom: none; }

/* Footer block on legal pages — cross-links to the other 2 pages */
.legal-footer-links {
  border-top: 1px solid #e2e8f0;
  padding-top: 22px;
  margin-top: 40px;
  text-align: center;
  font-size: .92rem;
  color: #475569;
}
.legal-footer-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  margin: 0 6px;
}
.legal-footer-links a:hover { text-decoration: underline; }
