/* ============================================================
   legal.css — Legal pages (Terms, SLA, Refund) + shared prose
   Uses design tokens from global.css
   ============================================================ */

.legal-hero {
  background: var(--c-slate-950);
  color: var(--c-slate-300);
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.legal-hero .bg-grid-dark { position: absolute; inset: 0; opacity: 0.5; pointer-events: none; }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; letter-spacing: -0.03em; }
.legal-hero .updated {
  font-family: var(--ff-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-orange-400); font-weight: 700; margin-top: 0.75rem;
}
.legal-hero p { color: var(--c-slate-400); font-size: 1rem; margin-top: 0.75rem; max-width: 44rem; }

.legal-body { max-width: 46rem; margin: 0 auto; }
.legal-note {
  background: var(--c-slate-50); border: 1px solid var(--c-slate-200);
  border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 2rem;
  font-size: 0.8125rem; color: var(--c-slate-600); line-height: 1.6;
}
.legal-note strong { color: var(--c-slate-800); }

.prose h2 {
  font-family: var(--ff-display); font-weight: 800; font-size: 1.375rem; color: var(--c-slate-900);
  margin: 2.25rem 0 0.85rem; letter-spacing: -0.01em; scroll-margin-top: 6rem;
}
.prose h2 .sec-n { color: var(--c-orange-600); font-family: var(--ff-mono); font-size: 0.9rem; margin-right: 0.5rem; }
.prose h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.0625rem; color: var(--c-slate-900); margin: 1.5rem 0 0.5rem; }
.prose p { color: var(--c-slate-600); font-size: 0.95rem; line-height: 1.75; margin-bottom: 0.85rem; }
.prose ul, .prose ol { margin: 0 0 1rem 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; }
.prose li { color: var(--c-slate-600); font-size: 0.95rem; line-height: 1.65; }
.prose ul li { list-style: none; padding-left: 1.15rem; position: relative; }
.prose ul li::before { content: "\2022"; position: absolute; left: 0; color: var(--c-orange-600); font-weight: 800; }
.prose ol { list-style: decimal; }
.prose strong { color: var(--c-slate-800); }
.prose a { color: var(--c-orange-600); font-weight: 600; }

/* Simple data table (SLA credits) */
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--c-slate-200); border-radius: 0.75rem; margin: 1.25rem 0; }
table.legal-table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 0.875rem; }
table.legal-table th, table.legal-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--c-slate-100); }
table.legal-table thead th { background: var(--c-slate-50); font-family: var(--ff-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-slate-600); }
table.legal-table td:first-child { font-weight: 600; color: var(--c-slate-800); }
table.legal-table tbody tr:last-child td { border-bottom: none; }

.legal-contact {
  margin-top: 2.5rem; padding: 1.5rem 1.75rem; border-radius: 1rem;
  background: var(--c-slate-50); border: 1px solid var(--c-slate-200);
}
.legal-contact h3 { font-family: var(--ff-display); font-weight: 800; font-size: 1.0625rem; color: var(--c-slate-900); }
.legal-contact p { font-size: 0.9rem; color: var(--c-slate-600); margin-top: 0.4rem; }
