.gleam-terms,
.gleam-terms * {
  box-sizing: border-box;
  line-height: 1.5;
}

.gleam-terms {
  position: relative;
  overflow: hidden;
  color: #111827;
  background:
    radial-gradient(circle at 13% 7%, rgba(125, 77, 255, 0.1), transparent 26%),
    radial-gradient(
      circle at 91% 9%,
      rgba(34, 212, 255, 0.14),
      transparent 22%
    ),
    linear-gradient(180deg, #f7f9ff 0%, #fff 34%, #f8faff 100%);
}

.gleam-terms a {
  color: inherit;
}

.gleam-terms__hero {
  position: relative;
  z-index: 1;
  padding: 84px 0 26px;
  text-align: center;
}

.gleam-terms__title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: #101522;
}

.gleam-terms__content {
  position: relative;
  z-index: 1;
  padding: 0 0 128px;
}

.gleam-terms__container {
  width: min(calc(100% - 48px), 1278px);
  margin: 0 auto;
}

.gleam-terms__intro,
.gleam-terms__section {
  margin: 0;
}

.gleam-terms__intro {
  padding-top: 6px;
}

.gleam-terms__section {
  padding-top: 29px;
}

.gleam-terms__section-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.gleam-terms__paragraph,
.gleam-terms__list,
.gleam-terms__contact {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #111827;
}

.gleam-terms__paragraph + .gleam-terms__paragraph,
.gleam-terms__paragraph + .gleam-terms__table-wrap,
.gleam-terms__table-wrap + .gleam-terms__paragraph,
.gleam-terms__list + .gleam-terms__paragraph {
  margin-top: 10px;
}

.gleam-terms__list {
  padding-left: 24px;
}

.gleam-terms__list li + li {
  margin-top: 4px;
}

.gleam-terms__table-wrap {
  width: 100%;
  margin-top: 10px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e6eaf4;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

.gleam-terms__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.gleam-terms__table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gleam-terms__table th,
.gleam-terms__table td {
  padding: 13px 18px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid #e6eaf4;
}

.gleam-terms__table th {
  font-weight: 500;
  color: #647084;
}

.gleam-terms__table td {
  font-weight: 400;
  color: #111827;
}

.gleam-terms__table tbody tr:last-child td {
  border-bottom: 0;
}

.gleam-terms__table td:first-child {
  font-weight: 700;
}

.gleam-terms__contact {
  font-style: normal;
}

.gleam-terms__contact a {
  color: #2563eb;
  text-decoration: none;
}

.gleam-terms__contact a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .gleam-terms__hero {
    padding: 64px 0 22px;
  }

  .gleam-terms__content {
    padding-bottom: 96px;
  }

  .gleam-terms__section {
    padding-top: 26px;
  }
}

@media (max-width: 640px) {
  .gleam-terms__hero {
    padding: 30px 0 18px;
  }

  .gleam-terms__container {
    width: min(calc(100% - 40px), 1278px);
  }

  .gleam-terms__content {
    padding-bottom: 35px;
  }

  .gleam-terms__section-title {
    font-size: 18px;
  }

  .gleam-terms__paragraph,
  .gleam-terms__list,
  .gleam-terms__contact {
    font-size: 14px;
  }

  .gleam-terms__list {
    padding-left: 20px;
  }

  .gleam-terms__table th,
  .gleam-terms__table td {
    padding: 12px 14px;
  }
}

/* Mobile terms of service page. */
@media (max-width: 767px) {
  .gleam-terms {
    background: linear-gradient(180deg, #f5f7ff 0%, #fff 18%, #fff 100%);
  }

  .gleam-terms__container {
    width: 100%;
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
  }

  .gleam-terms__hero {
    padding: 18px 0 15px;
    text-align: left;
  }

  .gleam-terms__title {
    font-size: 22px;
  }

  .gleam-terms__content {
    padding-bottom: 64px;
  }

  .gleam-terms__intro {
    padding-top: 0;
  }

  .gleam-terms__section {
    padding-top: 25px;
  }

  .gleam-terms__section-title {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .gleam-terms__paragraph,
  .gleam-terms__list,
  .gleam-terms__contact {
    overflow-wrap: anywhere;
    font-size: 14px;
  }

  .gleam-terms__list {
    padding-left: 20px;
  }

  .gleam-terms__list li + li {
    margin-top: 6px;
  }

  .gleam-terms__table-wrap {
    border-radius: 8px;
  }

  .gleam-terms__table {
    min-width: 680px;
  }

  .gleam-terms__table th,
  .gleam-terms__table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}
