/* Terms page additions. Loaded after styles.css. */

.hero--terms {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  background: #eef4fa;
}

.hero--terms picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero--terms .hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero__shade--terms {
  background:
    linear-gradient(
      0deg,
      rgba(246,249,252,0.96) 0%,
      rgba(246,249,252,0.18) 28%,
      rgba(246,249,252,0) 55%
    );
}

.page--terms {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: 80px;
}

.article--terms {
  max-width: 1020px;
}

.article--terms h1 {
  margin-bottom: 10px;
}

.terms-updated {
  margin: 0 0 28px;
  color: #6b7682;
  font-size: 1rem;
}

.terms-actions {
  margin: 0 0 40px;
}

.terms-download {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid #c9d6e2;
  border-radius: 999px;
  background: #fff;
  color: #17466f;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(34,68,100,.08);
}

.article--terms section {
  padding: 30px 0;
  border-top: 1px solid #dce3ea;
}

.article--terms section h2 {
  margin: 0 0 18px;
  color: #193451;
  font-size: 1.35rem;
}

.article--terms section p {
  margin: 0 0 12px;
  color: #3f4b57;
  line-height: 1.68;
}

.terms-full-note {
  padding: 26px 28px !important;
  border: 1px solid #d9e3ec !important;
  border-radius: 14px;
  background: #f7f9fb;
}

.terms-contact a {
  color: #0563C1;
  text-decoration: underline;
}

.next-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 48px;
  padding-bottom: 10px;
  border-bottom: 1px solid #7c8995;
  color: #173552;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 720px) {
  .hero--terms {
    min-height: 430px;
  }

  .hero--terms .hero__background {
    object-fit: cover;
    object-position: center top;
  }

  .page--terms {
    padding-top: 62px;
  }

  .article--terms {
    width: auto;
    margin-left: 40px;
    margin-right: 40px;
  }

  .terms-download {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 420px) {
  .article--terms {
    margin-left: 26px;
    margin-right: 26px;
  }
}
@media (max-width: 720px) {
  .hero--terms .brand {
    display: none;
  }
}
