/* ============================================================
   TERMS OF SERVICE PAGE
   ============================================================ */

html,
body,
.terms-page,
.terms-header,
.terms-content {
  background: #08080A;
}

.terms-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-header__inner {
  width: min(100%, 112rem);
  margin: 0 auto;
  padding: clamp(6rem, 11vw, 11rem) clamp(1.25rem, 6.25vw, 8rem) clamp(5rem, 9vw, 8rem);
}

.terms-header__eyebrow {
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
  color: #77777f;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.terms-header h1 {
  max-width: 12ch;
  color: #f4f4f4;
  font-size: clamp(3.25rem, 8vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-wrap: balance;
}

.terms-header__updated {
  margin-top: clamp(2rem, 4vw, 3.75rem);
  color: #8f8f96;
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.5;
}

.terms-content {
  padding: clamp(1rem, 3vw, 3rem) clamp(1.25rem, 6.25vw, 8rem) clamp(6rem, 10vw, 10rem);
}

.terms-content__inner {
  width: min(100%, 88rem);
  margin: 0 auto;
}

.terms-clause {
  display: grid;
  grid-template-columns: clamp(2.5rem, 5vw, 5rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(2.75rem, 5vw, 5rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-clause__number {
  padding-top: 0.35rem;
  color: #616168;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.terms-clause h2 {
  color: #f4f4f4;
  font-size: clamp(1.55rem, 2.65vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.terms-clause h2 + p,
.terms-clause address {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

.terms-clause p + p {
  margin-top: 1rem;
}

.terms-clause p:not(.terms-clause__number),
.terms-clause address {
  max-width: 64rem;
  color: #a3a3aa;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-style: normal;
  line-height: 1.75;
}

.terms-clause address {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.terms-clause address span {
  color: #d5d5d8;
}

.terms-clause address a {
  width: fit-content;
  color: #f4f4f4;
  text-decoration: underline;
  text-decoration-color: #65656c;
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.2s ease;
}

.terms-clause__inline-link {
  color: #f4f4f4;
  text-decoration: underline;
  text-decoration-color: #65656c;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s ease;
}

.terms-clause address a:hover,
.terms-clause address a:focus-visible,
.terms-clause__inline-link:hover,
.terms-clause__inline-link:focus-visible {
  text-decoration-color: #f4f4f4;
}

.terms-clause--contact {
  border-bottom: 0;
}

@media (max-width: 639px) {
  .terms-header__inner {
    padding-top: 5rem;
  }

  .terms-clause {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .terms-clause__number {
    padding-top: 0;
  }
}
