.terms-page { background: var(--cream); }
.terms-content { max-width: 960px; padding-block: clamp(28px, 5vw, 64px); }
.terms-hero {
  padding: clamp(22px, 5vw, 48px);
  border-radius: 24px;
  background: #0b4039;
  color: #fff;
}
.terms-hero h1 { margin: 0 0 14px; font-size: clamp(1.85rem, 5vw, 3.25rem); line-height: 1.15; }
.terms-hero p { max-width: 65ch; margin: 0; line-height: 1.7; }
.terms-panels { display: grid; gap: 18px; margin-top: 22px; }
.terms-panel {
  min-width: 0;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.terms-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.25;
  color: #0b4039;
  scroll-margin-top: 110px;
}
.terms-panel p, .terms-panel li { line-height: 1.7; }
.terms-panel p:last-child, .terms-panel ul, .terms-panel ol { margin-bottom: 0; }
.terms-panel ul, .terms-panel ol { margin-top: 0; padding-inline-start: 1.5em; }
.terms-panel li + li { margin-top: 8px; }
.terms-panel a { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.terms-index ol { columns: 2; column-gap: 2.5rem; }
.terms-index li { margin-block: 0 8px; break-inside: avoid; }
.terms-index li + li { margin-top: 0; }
.terms-back { justify-self: start; }
@media (max-width: 650px) {
  .terms-index ol { columns: 1; }
}
