/* ============================================================= */
/* SITEMAP (v2) — no Figma frame; built from the legal pages'      */
/* hero band and card style so it sits with the other v2 pages.    */
/* ============================================================= */
.sm-v2 {
  font-family: Poppins, sans-serif;
  color: var(--c-text);
}

/* style-v2.css capitalizes every heading and greys every <p>. */
.sm-v2 h1,
.sm-v2 h2 {
  text-transform: none;
}

.sm-v2 p {
  color: var(--c-text);
}

/* ============================================================= */
/* HERO — same band, pill and title as the legal pages, on the     */
/* Terms page artwork. The BH hero gradient shows until it loads.  */
/* ============================================================= */
.sm-hero {
  position: relative;
  padding: 60px 0 48px;
  overflow: hidden;
  background: linear-gradient(to left, rgba(239, 242, 255, 0.6) 0%, #f9faff 48.866%, rgba(239, 242, 255, 0.3) 98.681%);
}

.sm-hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sm-hero-bg,
.sm-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-hero-overlay {
  opacity: 0.6;
}

.sm-hero .container-page {
  position: relative;
}

.sm-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.sm-hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 9.069px;
  background: rgba(39, 55, 117, 0.1);
  color: var(--c-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 9.976px;
}

.sm-hero-title {
  margin: 0;
  color: var(--c-blue);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.8922px;
}

.sm-hero-lead {
  max-width: 640px;
  margin: 0;
  font-size: 16px;
  line-height: 1.56;
}

/* Section shortcuts with each group's page count. */
.sm-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.sm-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: var(--c-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sm-jump a:hover,
.sm-jump a:focus-visible {
  border-color: var(--c-blue);
  box-shadow: 0 0 7.8px rgba(0, 0, 0, 0.12);
}

.sm-jump span {
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--c-bg-blue);
  font-size: 12px;
  text-align: center;
}

/* ============================================================= */
/* GROUPS — the legal-page card: white, 8px radius, M3 elevation   */
/* 3, 3px blue-to-orange top border.                               */
/* ============================================================= */
.sm-body {
  padding: 60px 0;
}

.sm-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sm-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-top: 3px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--c-blue) 0%, var(--c-orange) 100%) border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
  scroll-margin-top: 120px;
}

.sm-group-title {
  margin: 0;
  color: var(--c-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.sm-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-links a {
  position: relative;
  display: inline-block;
  padding-left: 22px;
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.56;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Orange chevron, as in the footer link lists. */
.sm-links a::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--c-orange);
  border-right: 2px solid var(--c-orange);
  transform: rotate(45deg);
}

.sm-links a:hover,
.sm-links a:focus-visible {
  color: var(--c-blue);
  text-decoration: underline;
}

/* A group's index page leads its list in bold blue. */
.sm-links .is-hub {
  grid-column: 1 / -1;
}

.sm-links .is-hub a {
  color: var(--c-blue);
  font-weight: 600;
}

/* ============================================================= */
/* RESPONSIVE                                                      */
/* ============================================================= */
@media (max-width: 991px) {
  .sm-hero-title {
    font-size: 36px;
  }

  .sm-group-title {
    font-size: 28px;
  }

  .sm-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-body {
    padding: 48px 0;
  }
}

@media (max-width: 575px) {
  .sm-hero {
    padding: 40px 0 32px;
  }

  .sm-hero-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .sm-body {
    padding: 40px 0;
  }

  .sm-list {
    gap: 24px;
  }

  .sm-group {
    gap: 16px;
    padding: 16px;
  }

  .sm-group-title {
    font-size: 24px;
  }

  .sm-links {
    grid-template-columns: minmax(0, 1fr);
  }
}
