.legal-main {
  padding: 100px 0 80px;
  min-height: 80vh;
}
.legal-header {
  text-align: center;
  margin-bottom: 56px;
}
.legal-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.legal-sub {
  color: var(--text-muted);
  font-size: 15px;
}

/* ── Legal prose ── */
.legal-body {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.legal-section h2 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}
.legal-section p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}
.legal-section ul,
.legal-section ol {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  padding-left: 20px;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-section a {
  color: var(--accent);
  text-decoration: none;
}
.legal-section a:hover { text-decoration: underline; }

.legal-note {
  max-width: 740px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Pricing cards ── */
.pricing-section {
  max-width: 900px;
  margin: 0 auto 48px;
}
.pricing-section__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.pricing-section__desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pricing-grid--single {
  grid-template-columns: 280px;
}
.pricing-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
  transition: all 0.25s;
}
.pricing-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.pricing-card--featured {
  border-color: rgba(124,109,250,0.4);
  background: rgba(124,109,250,0.04);
}
.pricing-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card__badge--green {
  background: var(--green);
  color: var(--bg);
}
.pricing-card__icon { font-size: 32px; }
.pricing-card__amount {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.pricing-card__label {
  font-size: 13px;
  color: var(--text-muted);
}
.pricing-card__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  margin-top: 4px;
}
.pricing-card__note {
  font-size: 11px;
  color: var(--text-dim);
}

/* ── Refund boxes ── */
.refund-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.refund-box {
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid transparent;
}
.refund-box--green { background: rgba(74,222,128,0.06); border-color: rgba(74,222,128,0.2); }
.refund-box--yellow { background: rgba(251,191,36,0.06); border-color: rgba(251,191,36,0.2); }
.refund-box--red { background: rgba(248,113,113,0.06); border-color: rgba(248,113,113,0.2); }
.refund-box__icon { font-size: 24px; }
.refund-box__title { font-size: 14px; font-weight: 800; }
.refund-box__desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Footer legal links ── */
.footer__legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__legal-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer__legal-links a:hover { color: var(--accent); }

@media (max-width: 680px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid--single { grid-template-columns: 1fr; }
  .refund-boxes { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; gap: 12px; }
}
