/* Collection and editorial preview polish, 2026-09-25 */
/* Keep the header's top margin inside the page background. */
main.blog-page{display:flow-root!important;height:auto!important;min-height:100vh!important;overflow:visible!important}
/* Cover the card edge and use a dark fade for legibility without blurring the art. */
.home-page .category-link-card img{inset:0!important;width:100%!important;height:100%!important;transform:none!important;object-fit:cover!important}
.home-page .category-link-card:before{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:linear-gradient(to bottom,rgba(7,25,55,0) 56%,rgba(7,25,55,.72) 100%)!important}
/* Allow the description and call to action to set the detail page height. */
.category-landing-page .category-landing-hero{height:auto!important;min-height:0!important}
.category-landing-page .category-preview-featured img{filter:none!important;transform:none!important}
/* The filters are temporarily hidden until their destinations are ready. */
.categories-page .category-filter-list{display:none!important}
/* The blog's fixed minimum height leaves a large empty area after the CTA. */
.blog-page:not(.categories-page):not(.category-landing-page):not(.article-page) .blog-library{height:auto!important;min-height:0!important;padding-bottom:64px!important}

/* Close the space left by the hidden category filters. */
.categories-page .categories-hero{height:auto!important;min-height:0!important;padding-bottom:48px!important}

/* The base stylesheet sets minimum blog heights with a more specific selector. */
body main.blog-page:not(.article-page):not(.categories-page):not(.category-landing-page){min-height:0!important}
body main.blog-page:not(.article-page) .blog-library{min-height:0!important}

/* Match the page canvas to the footer beneath the final pixel row. */
html:has(>body>main.blog-page),body:has(>main.blog-page){background-color:#14224c!important}

/* A/B preview responsive repair, 2026-09-28. Preserve the approved Figma appearance. */

@media (min-width: 621px) and (max-width: 1040px) {
  .home-page-017 .store-strip .store-list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px 16px !important;
    width: 100% !important;
  }
  .home-page-017 .store-strip .store-badge,
  .home-page-017 .store-strip .store-badge:last-child {
    flex: 0 1 167px !important;
    width: 167px !important;
    max-width: 167px !important;
    min-width: 0 !important;
  }
  .home-page-017 .benefits-section {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 64px !important;
    overflow: visible !important;
  }
  .home-page-017 .collection-showcase.category-showcase {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }
  .home-page-017 .category-showcase .collection-card {
    display: block !important;
    width: 100% !important;
    height: 180px !important;
    min-width: 0 !important;
    scroll-snap-align: none !important;
  }
  .home-page-017 .category-link-card .category-card-text > strong {
    font-size: clamp(19px, 2.7vw, 23px) !important;
    line-height: 1.05 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .home-page-017 .category-all-card .category-card-text > small {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
  .home-page-017 .category-all-card .category-card-text > strong {
    font-size: clamp(20px, 3vw, 27px) !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }
  .home-page-017 .category-all-card .category-card-arrow { display: none !important; }
  .home-page-017 .trust-section { height: auto !important; min-height: 0 !important; }
  .home-page-017 .app-section,
  .home-page-017 .app-layout { height: auto !important; min-height: 0 !important; }
  .home-page-017 .app-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
    align-items: stretch !important;
  }
  .home-page-017 .app-visual,
  .home-page-017 .app-visual picture { height: 100% !important; min-height: 0 !important; }
  .home-page-017 .mobile-app-lifestyle { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .home-page-017 .app-copy {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 36px 24px 42px !important;
  }
  .home-page-017 .app-copy h2 { font-size: clamp(29px, 4vw, 40px) !important; }
  .home-page-017 .app-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .home-page-017 .app-feature-list article { min-width: 0 !important; min-height: 126px !important; padding: 18px !important; }
}

@media (max-width: 620px) {
  /* The phone intentionally shows only the All Categories entry point. */
  .home-page-017 .category-showcase .category-link-card { display: none !important; }
  .home-page-017 .benefits-section {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
  .home-page-017 .collection-showcase.category-showcase {
    width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .home-page-017 .category-showcase .category-all-card {
    width: 100% !important;
    min-width: 0 !important;
    height: 180px !important;
  }
  .home-page-017 .category-all-card .category-card-text > strong { font-size: clamp(24px, 8vw, 30px) !important; }
  .home-page-017 .category-all-card .category-card-arrow { display: none !important; }
  .home-page-017 .store-strip .store-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .home-page-017 .store-strip .store-badge,
  .home-page-017 .store-strip .store-badge:last-child {
    width: 100% !important;
    max-width: 150px !important;
    min-width: 0 !important;
  }
  .home-page-017 .store-strip .store-badge:last-child { grid-column: 1 / -1; }
  .home-page-017 .trust-section { height: auto !important; min-height: 0 !important; padding-bottom: 44px !important; }
  .home-page-017 .scale-proof-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; background: none !important; box-shadow: none !important; overflow: visible !important; }
  .home-page-017 .scale-proof-grid .scale-proof {
    grid-column: auto !important;
    min-height: 92px !important;
    border-radius: 16px !important;
    padding: 18px 16px !important;
  }
  .home-page-017 .scale-proof-grid .scale-proof::before,
  .home-page-017 .scale-proof-grid .scale-proof::after { content: none !important; }
  /* A store-install pitch adds no value on a phone; the store badges remain above. */
  .home-page-017 .app-section { display: none !important; }
}

@media (max-width: 1040px) {
  .home-page-017 .home-play-cta { height: auto !important; min-height: 0 !important; padding: 28px 24px 44px !important; }
  .home-page-017 .home-play-cta::before,
  .home-page-017 .home-play-cta-inner::after { content: none !important; }
  .home-page-017 .home-play-cta-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    padding: 32px 24px !important;
    text-align: center !important;
  }
  .home-page-017 .site-play-cta-copy { width: 100% !important; text-align: center !important; }
  .home-page-017 .site-play-cta-button {
    align-self: center !important;
    width: min(100%, 230px) !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  html body .back-to-top,html body .back-to-top:hover,html body .back-to-top:focus-visible {
    width: 46px !important; min-width: 46px !important; max-width: 46px !important;
    height: 46px !important; min-height: 46px !important; max-height: 46px !important;
    right: 14px !important; bottom: 14px !important;
    padding: 3px !important; gap: 0 !important; border-width: 2px !important;
    border-radius: 50% !important; justify-content: center !important;
    background: #ffd45b !important; box-shadow: 0 5px 16px rgba(20, 34, 76, .25) !important;
  }
  html body .back-to-top-icon { width: 36px !important; height: 36px !important; flex-basis: 36px !important; }
  html body .back-to-top-label { display: none !important; }
}

@media (max-width: 620px) {
  .home-page-017 .home-play-cta { padding: 20px 14px 36px !important; }
  .home-page-017 .home-play-cta-inner { min-height: 205px !important; padding: 28px 18px !important; }
  html body .back-to-top,html body .back-to-top:hover,html body .back-to-top:focus-visible { width: 42px !important; min-width: 42px !important; max-width: 42px !important; height: 42px !important; min-height: 42px !important; max-height: 42px !important; right: 10px !important; bottom: 10px !important; }
  html body .back-to-top-icon { width: 34px !important; height: 34px !important; flex-basis: 34px !important; }
}

/* Keep the service-page header margin inside its gradient canvas. */
.home-page.service-shell { display: flow-root; }
