/* Homepage refinements. Load after the existing storefront styles. */
.site-shell .hero {
  min-height: 560px;
}

.site-shell .hero-copy {
  min-width: 0;
  padding-block: 64px 76px;
}

.site-shell .hero h1 {
  max-width: 100%;
  margin-block: 20px;
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.site-shell .hero-lead {
  max-width: 47ch;
  color: #aeb7c6;
  font-size: 16px;
  line-height: 1.75;
}

.site-shell .hero-actions {
  margin-top: 26px;
}

.site-shell .hero-trust {
  margin-top: 24px;
  font-size: 12px;
}

.site-shell .hero-visual {
  min-height: 440px;
}

.site-shell .hero-product-photo {
  animation: none;
  box-shadow: 0 16px 34px rgb(0 0 0 / 24%);
}

.site-shell::before,
.site-shell .site-header::after,
.site-shell .brand-mark,
.site-shell .hero-product-photo::before,
.site-shell .hero-visual-glow {
  animation: none;
}

.site-shell::after {
  display: none;
}

.site-shell .site-header {
  box-shadow: 0 8px 24px rgb(0 0 0 / 16%);
}

.site-shell .site-nav {
  font-size: 13px;
}

.site-shell .site-nav :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-shell .menu-button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.site-shell :is(a, button, summary):focus-visible {
  outline: 3px solid #ffc34d;
  outline-offset: 4px;
}

.site-shell :is(a, button, summary) {
  touch-action: manipulation;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 16px;
  padding: 12px 18px;
  border-radius: 8px;
  color: #080b10;
  background: #ffc34d;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell :is(main, section[id]) {
  scroll-margin-top: 110px;
}

.site-shell .models-section {
  padding-block: 84px 76px;
}

.site-shell .compare-section {
  padding-block: 72px;
  gap: 40px;
}

.site-shell :is(.section-heading, .compare-intro, .final-section) h2 {
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.site-shell :is(.section-heading, .compare-intro, .final-section) > p,
.site-shell .product-title-row p {
  font-size: 14px;
  line-height: 1.75;
}

.site-shell .promise-row b {
  font-size: 13px;
}

.site-shell .promise-row small {
  font-size: 12px;
  line-height: 1.6;
}

/* The legacy mobile header override is important; all real rows must match. */
.site-shell .compare-list > div {
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)) !important;
  gap: 12px !important;
  min-height: 72px;
  padding-block: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.site-shell .compare-list > div > * {
  min-width: 0;
}

.site-shell .compare-list-head {
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
}

.site-shell .compare-list-head b {
  /* Override the existing 10px mobile column labels. */
  font-size: 12px !important;
  overflow-wrap: normal;
}

@media (min-width: 801px) and (max-width: 1050px) {
  .site-shell .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }

  .site-shell .site-nav {
    gap: 14px;
    font-size: 12px;
  }
}

@media (max-width: 800px) {
  .site-shell .hero {
    min-height: 0;
    padding-bottom: 24px;
  }

  .site-shell .hero-copy {
    padding-block: 40px 18px;
  }

  .site-shell .hero h1 {
    font-size: clamp(34px, 8.8vw, 52px);
    letter-spacing: -.04em;
  }

  .site-shell .hero-lead {
    font-size: 15px;
  }

  .site-shell .hero-visual {
    min-height: 300px;
    margin-top: 0;
  }

  .site-shell .hero-product-pair {
    height: 280px;
  }

  .site-shell .hero-bottom {
    position: static;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 12px;
    font-size: 9px;
  }

  .site-shell .models-section {
    padding-block: 52px;
  }

  .site-shell .compare-section {
    padding-block: 48px;
  }

  .site-shell .compare-intro {
    margin-bottom: 24px;
  }

  .site-shell .product-title-row p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Framer Motion sets inline styles, so reduce its decorative transforms too. */
  .site-shell :is(.hero-kicker, .hero h1, .hero-lead, .hero-actions,
    .hero-trust, .hero-visual, .product-card, .mobile-buy-bar) {
    transform: none !important;
    opacity: 1 !important;
  }
}
