/* Keep the full-width glass navigation visible as the page scrolls. */
.product-explainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: -2px 0 32px;
  border: 2px solid #afa1c2;
  background: #f8f5fd;
  box-shadow: 4px 4px 0 #d4c9e1;
}

.product-explainer > div {
  padding: 25px 27px 27px;
  min-width: 0;
}

.product-explainer > div + div {
  border-left: 1px solid #d8cde5;
}

.product-explainer-label {
  color: #80699c;
  font: 11px var(--utility);
  letter-spacing: .04em;
}

.product-explainer h3 {
  margin-top: 10px;
  color: #504264;
  font-size: 19px;
  font-weight: 600;
}

.product-explainer p {
  margin-top: 10px;
  max-width: 48ch;
  color: #716780;
  font-size: 14px;
  line-height: 1.7;
}

.pack-details {
  margin: 0 0 19px;
  padding: 15px 18px;
  border: 1px solid #cbbddd;
  background: rgba(255, 255, 255, 0.5);
  color: #76678a;
  font-size: 13px;
  line-height: 1.7;
}

.pack-details strong {
  display: block;
  margin-bottom: 4px;
  color: #6c5c80;
  font-size: 13px;
}

.install-guide-link {
  display: block;
  width: fit-content;
  margin-top: 19px;
  color: #665184;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.install-guide-link:hover { color: #533a85; }

html {
  scroll-padding-top: 80px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  height: 68px;
  padding-inline: max(56px, calc((100vw - 1240px) / 2));
  background: rgba(227, 237, 250, 0.52);
  border-bottom: 1px solid rgba(117, 102, 147, 0.24);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
}

/* Keep the brand compact and use the remaining width for seller details. */
.site-footer {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  column-gap: 28px;
  align-items: center;
}

.footer-intro {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.footer-intro .brand {
  white-space: nowrap;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  line-height: 1.5;
}

.footer-copy small {
  font-size: 10px;
}

.site-footer .footer-business {
  flex-basis: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 20px;
  padding-top: 14px;
}

.site-footer .footer-business .footer-links {
  grid-column: 4;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

.site-footer .footer-business .footer-legal {
  width: fit-content;
  color: #665581;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  .site-header {
    padding-inline: 36px;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
    align-items: start;
  }

  .site-footer .footer-business {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer .footer-business .footer-links {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .product-explainer {
    grid-template-columns: 1fr;
    margin-bottom: 27px;
  }

  .product-explainer > div {
    padding: 20px;
  }

  .product-explainer > div + div {
    border-left: 0;
    border-top: 1px solid #d8cde5;
  }

  .product-explainer h3 {
    font-size: 17px;
  }

  .product-explainer p {
    font-size: 13px;
  }

  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    height: 60px;
    padding-inline: 20px;
  }

  .site-footer {
    row-gap: 16px;
  }

  .footer-intro {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .footer-copy {
    max-width: 180px;
  }

  .site-footer .footer-business {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-business {
    flex-basis: auto;
  }
}

@media (max-width: 420px) {
  .site-header {
    height: 60px;
  }

  .site-footer .footer-business {
    grid-template-columns: minmax(0, 1fr);
  }
}
