/* ── Legal pages — shared prose styles ─────────────────────────────────── */

/* Page hero ── */
.legal-hero {
  padding-block: clamp(52px, 9vw, 96px) clamp(40px, 6vw, 64px);
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%,
      rgba(232, 243, 237, 0.72),
      rgba(232, 243, 237, 0) 70%),
    var(--cream);
  border-bottom: 1px solid var(--border);
}

.legal-hero-inner {
  max-width: 720px;
}

.legal-page-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.legal-page-title {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 14px;
}

.legal-page-meta {
  font-size: 13px;
  color: var(--muted);
}

/* Prose section ── */
.legal-section {
  padding-block: clamp(52px, 9vw, 96px);
  background: var(--surface);
}

.legal-article {
  max-width: 720px;
}

/* Prose typography ── */
.legal-article h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-top: 44px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-article p {
  font-size: clamp(14px, 1.8vw, 15.5px);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

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

.legal-article ul,
.legal-article ol {
  list-style: none;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-article li {
  font-size: clamp(14px, 1.8vw, 15.5px);
  color: var(--muted);
  line-height: 1.7;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.legal-article ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--border);
  position: relative;
  top: -1px;
  flex-shrink: 0;
}

.legal-article ol {
  counter-reset: ol-counter;
}

.legal-article ol li {
  counter-increment: ol-counter;
}

.legal-article ol li::before {
  content: counter(ol-counter) '.';
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  min-width: 18px;
  flex-shrink: 0;
}

.legal-article a {
  color: var(--green-d);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast);
}

.legal-article a:hover {
  color: var(--green);
}

.legal-article strong {
  color: var(--text);
  font-weight: 600;
}

/* Contact callout ── */
.legal-contact-box {
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--green-l);
  border: 1px solid rgba(58, 125, 93, 0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-contact-box p {
  margin-bottom: 0;
  color: var(--green-d);
}

.legal-contact-box a {
  color: var(--green-d);
  font-weight: 600;
}

/* Steps (for delete-account) ── */
.legal-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 14px;
}

.legal-steps li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.legal-steps li:last-child {
  border-bottom: none;
}

.legal-step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-step-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.legal-step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* FAQ (for support) ── */
.legal-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 14px;
}

.faq-item {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 0 !important;
}
