/* ============================================================
   TERMS — Self-Care AMRun 5K 2026
   ============================================================ */

.terms-page {
  padding: calc(78px + clamp(48px, 8vw, 96px)) 0 clamp(64px, 8vw, 120px);
  min-height: 70svh;
}

.terms-inner {
  max-width: 820px;
}

.terms-page .kicker {
  display: inline-block;
  margin-bottom: 14px;
}

.terms-page .section-title {
  margin-bottom: 22px;
  font-size: clamp(28px, 4vw, 42px);
}

.terms-intro {
  text-align: justify;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.terms-sections {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.terms-block h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.terms-block > ol {
  list-style: decimal;
  padding-left: 1.35em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terms-block > ol > li,
.terms-block > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  text-align: justify;
}

.terms-alpha {
  list-style: lower-alpha;
  padding-left: 1.4em;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terms-block a {
  color: var(--aqua);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-block a:hover {
  color: var(--green-bright);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"]::after {
  width: 100%;
}

@media (max-width: 900px) {
  .terms-page {
    padding-top: calc(78px + 36px);
  }

  .terms-intro,
  .terms-block > ol > li,
  .terms-block > p {
    text-align: left;
  }
}
