/* Keep the sales header in one owned layout across desktop and narrow screens. */
.product-story.site-polish .day-hero .hero-copy h1 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.5;
  white-space: nowrap;
}
.product-story.site-polish .site-header.sapoque-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 14px 24px;
  height: auto;
  min-height: 80px;
  padding: 12px clamp(16px, 3vw, 48px);
}
.product-story.site-polish .sapoque-header .marketing-home-link {
  display: block;
  grid-area: 1 / 1;
  width: 132px;
  min-width: 0;
  margin: 0;
}
.product-story.site-polish .site-header.sapoque-header .marketing-home-link img { width: 100%; height: auto; }
.product-story.site-polish .sapoque-header .header-nav {
  display: flex !important;
  grid-area: 1 / 2;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  position: static;
  justify-self: stretch;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 1vw, 16px);
  border: 0;
}
.product-story.site-polish .site-header.sapoque-header .header-nav > a {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  font-size: 13px;
  white-space: nowrap;
}
.product-story.site-polish .sapoque-header .first-time-header-link {
  padding: 7px 12px;
  font-size: 13px;
  min-height: 40px;
}
.product-story.site-polish .sapoque-header .header-cta {
  grid-area: 1 / 3;
  justify-self: end;
  margin: 0;
  min-height: 44px;
  padding: 11px 16px;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
}
@media (max-width: 1199px) {
  .product-story.site-polish .site-header.sapoque-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 8px 16px;
    padding-block: 10px 6px;
  }
  .product-story.site-polish .sapoque-header .header-cta { grid-area: 1 / 2; }
  .product-story.site-polish .sapoque-header .header-nav {
    grid-area: 2 / 1 / 3 / -1;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .sapoque-header .header-nav::-webkit-scrollbar { display: none; }
  .product-story.site-polish .sapoque-header .header-nav > a { order: 4; }
  .product-story.site-polish .sapoque-header .header-nav > .first-time-header-link { order: 0; }
  .product-story.site-polish .sapoque-header .header-nav > .sappo-nav-link { order: 1; }
  .product-story.site-polish .sapoque-header .header-nav > a[href="#pricing"] { order: 2; }
  .product-story.site-polish .sapoque-header .header-nav > a[href="/news"] { order: 3; }
  html { scroll-padding-top: 132px; }
  .product-story.site-polish section[id] { scroll-margin-top: 132px; }
}
@media (max-width: 600px) {
  .product-story.site-polish .site-header.sapoque-header {
    padding: 8px 16px 5px;
    gap: 5px 12px;
    min-height: 0;
  }
  .product-story.site-polish .sapoque-header .marketing-home-link { width: 108px; }
  .product-story.site-polish .sapoque-header .header-cta {
    min-height: 42px;
    padding: 10px 13px;
    font-size: 12px;
  }
  .product-story.site-polish .sapoque-header .header-nav { gap: 18px; }
  .product-story.site-polish .site-header.sapoque-header .header-nav > a {
    min-height: 38px;
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .product-story.site-polish .day-hero .hero-copy h1 { font-size: clamp(25px, 8.4vw, 38px); }
}
