main.terms-page {
  background: var(--color-alabaster);
}

.terms-page .terms-hero {
  padding: var(--space-9) 0 var(--space-8);
}

.terms-page .terms-hero__copy {
  width: 100%;
  max-width: 42.5rem;
  min-width: 0;
}

.terms-page .terms-hero__lead {
  max-width: 42.5rem;
  font-size: var(--text-lead);
}

.terms-page .terms-hero__note {
  max-width: 42.5rem;
  color: var(--color-muted-text);
}

.terms-page .terms-hero__rule,
.terms-page .terms-section__gold-rule {
  width: 3rem;
  height: 1px;
  margin: var(--space-5) 0;
  border: 0;
  background: var(--color-gold);
}

.terms-page .terms-toc {
  padding: var(--section-padding) 0;
  background: var(--color-ivory);
}

.terms-page .terms-toc__inner {
  width: 100%;
  max-width: 56.25rem;
  min-width: 0;
}

.terms-page .terms-toc__intro {
  max-width: 35rem;
}

.terms-page .terms-toc__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: var(--space-5);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.terms-page .terms-toc__card > * {
  min-width: 0;
}

.terms-page .terms-toc__card h2,
.terms-page .terms-toc__card p {
  margin: 0;
}

.terms-page .terms-toc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2) var(--space-5);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.terms-page .terms-toc__item {
  min-width: 0;
}

.terms-page .terms-toc__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: var(--space-2) 0;
  color: var(--color-graphite);
  font-size: var(--text-nav);
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.terms-page .terms-toc__number,
.terms-page .terms-section__number,
.terms-page .terms-step__number {
  flex: 0 0 auto;
  color: var(--color-burgundy);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.terms-page .terms-toc__link:hover {
  color: var(--color-burgundy);
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
}

.terms-page .terms-toc__link:focus-visible,
.terms-page .terms-inline-link:focus-visible {
  outline: 2px solid var(--color-burgundy);
  outline-offset: 3px;
}

.terms-page .terms-section {
  padding: var(--section-padding) 0;
  scroll-margin-top: 6rem;
}

.terms-page .terms-section--ivory {
  background: var(--color-ivory);
}

.terms-page .terms-section--alabaster {
  background: var(--color-alabaster);
}

.terms-page .terms-section--closing {
  padding-bottom: var(--space-9);
}

.terms-page .terms-section__copy {
  width: 100%;
  min-width: 0;
}

.terms-page .terms-section__copy--740 {
  max-width: 46.25rem;
}

.terms-page .terms-section__copy--760 {
  max-width: 47.5rem;
}

.terms-page .terms-section__copy--720 {
  max-width: 45rem;
}

.terms-page .terms-section__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  width: 100%;
  min-width: 0;
  margin-bottom: var(--space-6);
}

.terms-page .terms-section__header > * {
  min-width: 0;
}

.terms-page .terms-section__header h2 {
  margin: 0;
}

.terms-page .terms-section__kicker {
  margin: 0 0 var(--space-2);
}

.terms-page .terms-definition-card,
.terms-page .terms-callout,
.terms-page .terms-summary-panel,
.terms-page .terms-final-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
  margin: var(--space-5) 0;
  padding: var(--space-5);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.terms-page .terms-definition-card > *,
.terms-page .terms-callout > *,
.terms-page .terms-summary-panel > *,
.terms-page .terms-final-panel > * {
  min-width: 0;
  margin: 0;
}

.terms-page .terms-definition-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
  margin: 0;
}

.terms-page .terms-definition-list > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.28fr) minmax(0, 1fr);
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
}

.terms-page .terms-definition-list dt,
.terms-page .terms-definition-list dd {
  min-width: 0;
  margin: 0;
}

.terms-page .terms-definition-list dd {
  color: var(--color-muted-text);
}

.terms-page .terms-interpretation {
  margin: var(--space-5) 0 0;
  padding: var(--space-3) 0 var(--space-3) var(--space-5);
  border-left: 1px solid var(--color-gold);
  color: var(--color-muted-text);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.35;
}

.terms-page .terms-service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
  margin: var(--space-5) 0;
  padding: 0;
}

.terms-page .terms-service-list li {
  width: 100%;
  min-width: 0;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-gold);
}

.terms-page .terms-service-list li:last-child {
  border-bottom: 1px solid var(--color-gold);
}

.terms-page .terms-service-list strong {
  display: block;
  margin-bottom: var(--space-1);
}

.terms-page .terms-callout__label,
.terms-page .terms-summary-panel__label {
  color: var(--color-burgundy);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.terms-page .terms-callout h3,
.terms-page .terms-summary-panel h3,
.terms-page .terms-final-panel h3 {
  margin: 0;
}

.terms-page .terms-process {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.terms-page .terms-step {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
  padding: var(--space-5) 0;
  border-top: var(--border-subtle);
}

.terms-page .terms-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.terms-page .terms-step__content {
  min-width: 0;
}

.terms-page .terms-step__content h3 {
  margin-bottom: var(--space-2);
}

.terms-page .terms-step__content p {
  margin-bottom: 0;
}

.terms-page .terms-provision {
  width: 100%;
  min-width: 0;
  padding: var(--space-5) 0;
  border-top: var(--border-subtle);
}

.terms-page .terms-provision:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.terms-page .terms-provision h3 {
  margin-bottom: var(--space-2);
}

.terms-page .terms-provision p:last-child {
  margin-bottom: 0;
}

.terms-page .terms-inline-link {
  color: var(--color-burgundy);
  font-weight: 600;
  text-decoration-color: var(--color-gold);
}

.terms-page .terms-offline-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
  margin: 0 0 var(--space-5);
  padding: var(--space-5);
  background: var(--color-graphite);
  color: var(--color-ivory);
}

.terms-page .terms-offline-panel > * {
  min-width: 0;
  margin: 0;
}

.terms-page .terms-offline-panel h3 {
  color: var(--color-white);
}

.terms-page .terms-offline-panel__label {
  color: #f2c766;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.terms-page .terms-exclusion {
  margin: var(--space-5) 0 0;
  padding: var(--space-5);
  border: var(--border-subtle);
  background: var(--color-white);
  font-size: var(--text-lead);
  line-height: 1.55;
}

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

.terms-page .terms-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  width: 100%;
  min-width: 0;
  margin: var(--space-3) 0 0;
}

.terms-page .terms-related-links > a {
  min-width: 0;
}

@media (max-width: 56.25rem) {
  .terms-page .terms-toc__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 43.75rem) {
  .terms-page .terms-hero {
    padding: var(--space-8) 0 var(--section-padding);
  }

  .terms-page .terms-hero__lead {
    font-size: 1.0625rem;
  }

  .terms-page .terms-section--closing {
    padding-bottom: var(--space-8);
  }

  .terms-page .terms-toc__card,
  .terms-page .terms-definition-card,
  .terms-page .terms-callout,
  .terms-page .terms-summary-panel,
  .terms-page .terms-final-panel,
  .terms-page .terms-offline-panel,
  .terms-page .terms-exclusion {
    padding: var(--space-5);
  }

  .terms-page .terms-section__header {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
  }

  .terms-page .terms-section__header h2 {
    font-size: 1.875rem;
  }

  .terms-page .terms-definition-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }

  .terms-page .terms-step {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }

  .terms-page .terms-step__number {
    width: 100%;
  }

  .terms-page .terms-related-links {
    align-items: stretch;
    flex-direction: column;
    gap: var(--space-2);
  }

  .terms-page .terms-related-links > a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
}

ul { list-style: none !important; }
.nav-toggle { flex-direction: column; }
