/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* ── Page ────────────────────────────────────────────────── */

body.legal-page {
  background: #0d0d0d;
  color: #e8e8e8;
  font-family: 'Mulish', sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-text-size-adjust: 100%;
}

/* ── Header ─────────────────────────────────────────────── */

.lp-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(13,13,13,0.96);
  position: sticky;
  top: 0;
  z-index: 50;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lp-logo span:first-child {
  font-size: 20px;
}

.lp-menu-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  padding: 6px 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ── Main content ────────────────────────────────────────── */

.lp-main {
  flex: 1;
  padding: 40px 20px 60px;
}

.lp-container {
  max-width: 720px;
  margin: 0 auto;
}

.lp-container--termly {
  max-width: 800px;
}

/* Override Termly's !important rules via higher specificity */
.lp-container--termly [data-custom-class='title'],
.lp-container--termly [data-custom-class='title'] * {
  color: #fff !important;
  font-family: 'Mulish', sans-serif !important;
}

.lp-container--termly [data-custom-class='subtitle'],
.lp-container--termly [data-custom-class='subtitle'] * {
  color: rgba(255,255,255,0.5) !important;
  font-family: 'Mulish', sans-serif !important;
}

.lp-container--termly [data-custom-class='heading_1'],
.lp-container--termly [data-custom-class='heading_1'] * {
  color: rgba(255,255,255,0.92) !important;
  font-family: 'Mulish', sans-serif !important;
}

.lp-container--termly [data-custom-class='heading_2'],
.lp-container--termly [data-custom-class='heading_2'] * {
  color: rgba(255,255,255,0.75) !important;
  font-family: 'Mulish', sans-serif !important;
}

.lp-container--termly [data-custom-class='body_text'],
.lp-container--termly [data-custom-class='body_text'] * {
  color: rgba(255,255,255,0.72) !important;
  font-family: 'Mulish', sans-serif !important;
}

.lp-container--termly [data-custom-class='link'],
.lp-container--termly [data-custom-class='link'] * {
  color: #c9a227 !important;
  font-family: 'Mulish', sans-serif !important;
}

/* CCPA table borders */
.lp-container--termly table td,
.lp-container--termly table th {
  border-color: rgba(255,255,255,0.15) !important;
}

/* ── Page title ─────────────────────────────────────────── */

.lp-page-title {
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 8px;
}

.lp-effective {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 40px;
}

/* ── Sections ───────────────────────────────────────────── */

.lp-section {
  margin-bottom: 36px;
}

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

.lp-h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 10px;
}

.lp-p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}

.lp-p + .lp-p {
  margin-top: 14px;
}

.lp-ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-li {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  padding-left: 20px;
  position: relative;
}

.lp-li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

/* ── How It Works steps ─────────────────────────────────── */

.lp-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 8px;
}

.lp-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.lp-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(201,162,39,0.14);
  border: 1px solid rgba(201,162,39,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #c9a227;
  margin-top: 1px;
}

.lp-step-body {
  flex: 1;
}

.lp-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.lp-step-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

/* ── Audience cards (how-it-works) ──────────────────────── */

.lp-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

@media (max-width: 480px) {
  .lp-audience-grid {
    grid-template-columns: 1fr;
  }
}

.lp-audience-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
}

.lp-audience-card h3 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.lp-audience-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
}

/* ── Divider ────────────────────────────────────────────── */

.lp-inline-link {
  color: #c9a227;
  text-decoration: none;
}

.lp-inline-link:hover { text-decoration: underline; }

.lp-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 40px 0;
}

/* ── CTA banner (how-it-works) ──────────────────────────── */

.lp-cta {
  background: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  margin-top: 40px;
}

.lp-cta p {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.lp-cta-btn {
  display: inline-block;
  padding: 13px 32px;
  background: #fff;
  color: #0d0d0d;
  font-family: 'Mulish', sans-serif;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.lp-cta-btn:active { opacity: 0.8; }

/* ── Footer ─────────────────────────────────────────────── */

.lp-footer {
  flex-shrink: 0;
  background: #080810;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 20px 0;
}

.lp-footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.lp-footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
}

@media (min-width: 640px) {
  .lp-footer-top {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }
}

.lp-footer-brand {
  flex-shrink: 0;
}

.lp-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.lp-footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  font-weight: 400;
  max-width: 180px;
  line-height: 1.5;
}

.lp-footer-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}

@media (min-width: 640px) {
  .lp-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lp-footer-col h4 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}

.lp-footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.lp-footer-col a:last-child { margin-bottom: 0; }

.lp-footer-col a:hover { color: #fff; }

.lp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0 calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lp-footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  line-height: 1.6;
}
