/* Privacy page additions. Loaded after styles.css.
   Intentionally mirrors the Terms page. */

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

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

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

.hero__shade--privacy {
  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--privacy {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: 80px;
}

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

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

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

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

.privacy-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--privacy section {
  padding: 30px 0;
  border-top: 1px solid #dce3ea;
}

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

.article--privacy section h3 {
  margin: 22px 0 12px;
  color: #284a69;
  font-size: 1.05rem;
}

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

.article--privacy a {
  color: #0563C1;
}

.contact-line a {
  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 !important;
  font-weight: 700;
  text-decoration: none;
}

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

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

  /* Same mobile decision already adopted on Terms:
     hide the HTML GRIP brand to keep the banner uncluttered. */
  .hero--privacy .brand {
    display: none;
  }

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

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

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

@media (max-width: 420px) {
  .article--privacy {
    margin-left: 26px;
    margin-right: 26px;
  }
}
