/* Cross-browser fallbacks for Safari, iPadOS and older WebKit releases. */
html {
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body,
main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.section-shell {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  padding-right: 24px;
  padding-left: 24px;
}

@media (min-width: 1228px) {
  .site-header {
    padding-right: calc((100vw - 1180px) / 2);
    padding-left: calc((100vw - 1180px) / 2);
  }
}

.faq-intro {
  position: -webkit-sticky;
  position: sticky;
}

.hero-visual > img,
.gallery-card img,
.compare-stage > img,
.after-layer img,
.lightbox-content img {
  height: auto;
}

.gallery-card img,
.compare-stage > img,
.after-layer img {
  height: 100%;
}

.compare-stage {
  min-height: 1px;
}

.after-layer {
  -webkit-clip-path: inset(0 48% 0 0);
  clip-path: inset(0 48% 0 0);
}

.compare-stage input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  touch-action: none;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.quote-form button {
  -webkit-appearance: none;
  appearance: none;
}

@supports not (aspect-ratio: 4 / 3) {
  .compare-stage {
    height: 0;
    padding-bottom: 75%;
  }

  .hero-visual > img {
    height: auto;
  }
}

@supports not (gap: 1rem) {
  .site-header nav > * + * {
    margin-right: 34px;
  }

  .hero-assurances > * {
    margin: 0 0 10px 20px;
  }

  .proof-items > * + *,
  .tick-list > * + *,
  .design-steps > * + *,
  .quote-copy ul > * + * {
    margin-top: 13px;
  }
}

@media (max-width: 960px) {
  .faq-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: calc(100% - 32px);
    max-width: none;
  }

  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    min-height: 0;
  }

  .hero h1,
  .feature-copy h2,
  .section-heading h2,
  .trust-grid h2,
  .quote-copy h2 {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .quote-row {
    min-width: 0;
  }

  .quote-row > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    min-width: 0;
  }
}
