.terms-page {
  max-width: 57rem;
  padding-block: clamp(2.5rem, 8vw, 5rem);
}

.terms-page h1 {
  font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 1.06;
}

.terms-intro {
  max-width: 37rem;
  margin-top: 1rem;
  color: var(--muted, #625a69);
  font-size: 1.12rem;
  line-height: 1.6;
}

.terms-notice {
  margin-block: 1.6rem;
  padding: 1rem 1.2rem;
  border: 1px solid #d8c8f8;
  border-radius: .85rem;
  background: var(--lavender, #ebe2ff);
  color: var(--purple-dark, #44259d);
  line-height: 1.55;
}

.terms-notice p {
  margin-top: .35rem;
}

.terms-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.25rem;
  padding-block: .55rem;
  border-block: 1px solid var(--line, #e5dde7);
  font-size: .93rem;
  font-weight: 650;
}

.terms-nav a {
  padding-block: .4rem;
}

.terms-nav a,
.terms-section a {
  color: var(--purple-dark, #44259d);
  text-decoration: underline;
  text-underline-offset: .19em;
}

.terms-section {
  margin-top: 1.25rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid var(--line, #e5dde7);
  border-radius: 1rem;
  background: var(--white, white);
  scroll-margin-top: 1rem;
}

.terms-section h2 {
  margin-bottom: .65rem;
  font-size: clamp(1.22rem, 4vw, 1.6rem);
  line-height: 1.25;
}

.terms-section p,
.terms-section li,
.terms-section dd {
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.terms-section p + p,
.terms-section li + li {
  margin-top: .65rem;
}

.terms-section ol {
  margin-block: .5rem .85rem;
  padding-inline-start: 1.35rem;
}

.terms-section .terms-reference {
  font-size: .88rem;
}

.terms-facts {
  margin: .7rem 0 0;
}

.terms-facts div {
  display: grid;
  grid-template-columns: minmax(8rem, .55fr) minmax(0, 1fr);
  gap: .2rem 1rem;
  padding-block: .65rem;
  border-bottom: 1px solid var(--line, #e5dde7);
}

.terms-facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.terms-facts dt {
  font-weight: 700;
  line-height: 1.62;
}

.terms-facts dd {
  margin: 0;
}

@media (max-width: 540px) {
  .terms-facts div {
    grid-template-columns: minmax(0, 1fr);
  }
}
