/* ─── NAVBAR: get-app matches dark CTA style ─────────────────────────────── */
.navbar__get-app {
  background-color: #071738;
  color: #ffffff;
  padding: 0.625rem 1.375rem;
  border-radius: 3.125rem;
  font-weight: 600;
  font-size: clamp(0.875rem, 1.2vw, 0.9375rem);
}

.navbar__get-app:hover {
  background-color: #0e2147;
}

.navbar__app-icon {
  filter: brightness(0) invert(1);
}

/* ─── HERO OVERRIDES ─────────────────────────────────────────────────────── */
.terms-hero__container {
  background: linear-gradient(259deg, #3175DE 11.04%, #EFD3D7 74.43%, #8E9AAF 97.03%);
  border-radius: 50px;
}

.privacy-hero__container {
  background: linear-gradient(259deg, #2A568A 11.04%, #386398 58.81%, #84A59D 97.03%);
  border-radius: 50px;
}

.terms-hero__content {
  flex: 0 0 48%;
  max-width: 48%;
  gap: 1rem;
}

.terms-hero__title {
  font-size: 60px;
  line-height: 64px;
  color: #ffffff;
}

.terms-hero__sub {
  font-family: 'Urbanist', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: #ffffff;
  word-wrap: break-word;
  margin: 0;
}

.terms-hero__design {
  position: absolute;
  top: -20px;
  right: -10px;
  width: 500px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.terms-hero__img {
  position: absolute;
  bottom: 0;
  right: 60px;
  width: 420px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* ─── BODY TWO-COLUMN ────────────────────────────────────────────────────── */
.terms-body {
  padding: 4rem 3.75rem;
  background: #ffffff;
}

.terms-body__container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

/* ─── TOC SIDEBAR ────────────────────────────────────────────────────────── */
.terms-toc {
  flex: 0 0 320px;
  position: sticky;
  top: 100px;
  white-space: nowrap;
}

.terms-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-toc__item {
  padding: 6px 0 6px 16px;
  border-left: 2px solid transparent;
}

.terms-toc__item--active {
  border-left-color: #6374ED;
}

.terms-toc__link {
  font-family: 'Urbanist', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  word-wrap: break-word;
  color: #375491;
  text-decoration: none;
  transition: color 0.2s;
}

.terms-toc__item--active .terms-toc__link {
  color: rgba(7, 23, 56, 0.50);
}

.terms-toc__link:hover {
  color: rgba(7, 23, 56, 0.50);
}

/* ─── ARTICLE ────────────────────────────────────────────────────────────── */
.terms-article {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.terms-article__heading {
  font-family: 'Urbanist', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 38.40px;
  word-wrap: break-word;
  color: #071738;
  margin: 2rem 0 1rem;
}

.terms-article__heading--sub {
  font-family: 'Urbanist', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: #071738;
  margin: 1.25rem 0 0.5rem;
}

.terms-article__body {
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24.83px;
  word-wrap: break-word;
  color: #202020;
  margin: 0 0 0.75rem;
}

.terms-article__list {
  margin: 0.5rem 0 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-article__list li {
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24.83px;
  word-wrap: break-word;
  color: #202020;
}

/* ═══════════════════════════════════════════════════════════
   TERMS PAGE — RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* ─── Force hamburger up to 1301px (more nav items) ──────── */
@media (max-width: 1301px) {

  .navbar__toggle {
    display: flex !important;
  }

  .navbar__nav {
    display: none !important;
  }

  .navbar__actions {
    display: none !important;
  }

}

/* ─── Beyond 1301px: show full desktop nav ───────────────── */
@media (min-width: 1302px) {

  .navbar__toggle {
    display: none !important;
  }

  .navbar__nav {
    display: flex !important;
  }

  .navbar__actions {
    display: flex !important;
  }

}

@media (max-width: 1024px) {

  /* ─── HERO: hide decoratives, center content ──────────── */
  .terms-hero__img,
  .terms-hero__design,
  .ind-hero__spiral--1,
  .ind-hero__spiral--2 {
    display: none !important;
  }

  .terms-hero__content {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    align-items: center;
    text-align: center;
  }

  .terms-hero__title {
    font-size: 42px;
    line-height: 52px;
  }

  /* ─── BODY: reduce padding ────────────────────────────── */
  .terms-body {
    padding: 3rem 1.5rem;
  }

}

@media (max-width: 768px) {

  /* ─── HERO ─────────────────────────────────────────────── */
  .terms-hero__title {
    font-size: 34px;
    line-height: 42px;
  }

  /* ─── BODY: stack TOC above article ──────────────────── */
  .terms-body {
    padding: 2.5rem 1.25rem;
  }

  .terms-body__container {
    flex-direction: column;
    gap: 2rem;
  }

  /* ─── TOC: horizontal chips ──────────────────────────── */
  .terms-toc {
    flex: 0 0 auto;
    width: 100%;
    position: static;
    white-space: normal;
    border-bottom: 1.5px solid #ECECEC;
    padding-bottom: 1.5rem;
  }

  .terms-toc__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .terms-toc__item {
    background: #F7F5F3;
    border-radius: 10px;
    padding: 8px 14px;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .terms-toc__item--active {
    border-bottom-color: #6374ED;
    border-left-color: transparent;
  }

  .terms-toc__link {
    font-size: 14px;
    line-height: 20px;
  }

  /* ─── ARTICLE ─────────────────────────────────────────── */
  .terms-article__heading {
    font-size: 24px;
    line-height: 30px;
  }

}
