/* ============================================================
   terms.css
   Styles scoped to .page--terms (terms/index.html).
   Shares the space-background layout foundation from about.css
   (html.has-space-bg rules for scrolling, dark background, and
   site-wrapper z-stacking). This file covers only the
   terms-specific hero and content sections.

   Sections:
     .terms-hero         — hero card with eyebrow, h1, body
     .terms-content__card — frosted-glass card containing all terms
     .terms-section       — individual term article blocks
   ============================================================ */

/* ── Shared card shell ─────────────────────────────────────────────────── */

.terms-hero__card,
.terms-content__card {
  background: var(--overlay-card-bg);
  border: 1px solid var(--overlay-card-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

/* ── Hero section ─────────────────────────────────────────────────────── */

.terms-hero__card {
  text-align: center;
}

.terms-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--overlay-accent);
  margin-bottom: var(--space-sm);
}

.terms-hero__heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--overlay-text);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.terms-hero__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--overlay-text-dim);
  max-width: 36rem;
  margin-inline: auto;
}

/* ── Terms content card ──────────────────────────────────────────────── */

.terms-content {
  width: 100%;
}

.terms-content__card {
  width: 100%;
}

/* ── Individual term sections ────────────────────────────────────────── */

.terms-section {
  margin-bottom: var(--space-xl);
}

.terms-section:last-of-type {
  margin-bottom: var(--space-lg);
}

.terms-section__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--overlay-text);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.terms-section__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--overlay-text-dim);
  margin-bottom: var(--space-sm);
}

.terms-section__body:last-child {
  margin-bottom: 0;
}

/* ── Bulleted list ───────────────────────────────────────────────────── */

.terms-section__list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: var(--space-sm) 0 var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.terms-section__list li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--overlay-text-dim);
}

/* ── Effective date ──────────────────────────────────────────────────── */

.terms-effective {
  font-size: 0.875rem;
  color: var(--overlay-text-dim);
  opacity: 0.7;
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--overlay-card-border);
}

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .terms-hero__card,
  .terms-content__card {
    padding: var(--space-lg);
  }
}
