.mobile-menu, .mobile-sign-in { display: none; }
html { overflow-x: clip; }
/* hidden creates a competing scroll container and prevents the header sticking. */
body { overflow-x: clip; }
html { scroll-padding-top: 112px; }
.site-header { position: sticky; top: 8px; z-index: 80; }
footer { padding: 44px 28px 24px; gap: 28px; }
footer .copyright { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; padding-top: 20px; color: #b5c1ce; }
footer .copyright a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: #d7e1eb; text-decoration: underline; text-underline-offset: 3px; }
footer .footer-brand p { color: #b5c1ce; }
footer a:not(.brand):not(.social-link) { min-height: 44px; }
footer .brand span { white-space: normal; }
@media (max-width: 700px) {
  footer { padding: 32px 20px 20px; gap: 24px; }
  footer .brand span { display: inline; font-size: 1rem; }
  .site-header { gap: 10px; }
  html { scroll-padding-top: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.sldemo .sl-btn { pointer-events: auto; }
.sldemo .sl-photocap { pointer-events: none; }
.sample-note, .sample-feedback { font: 500 14px/1.6 system-ui, sans-serif; padding: 12px 16px; color: var(--muted, #657080); }
.sample-feedback { color: #0c2430; background: #eaf1f5; border-radius: 8px; }
.sl-deliv-card:focus-visible, .site-header a:focus-visible, .site-header button:focus-visible { outline: 3px solid #ff7a00; outline-offset: 3px; }
@media (max-width: 980px) {
  .hero > *, .contact-grid > *, .trade-sp-hero > * { min-width: 0; }
  h1, h2, h3 { overflow-wrap: anywhere; }
  .trade-jump { contain: inline-size paint; }
  .site-header .mobile-menu { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; border: 1px solid currentColor; border-radius: 8px; color: inherit; background: transparent; font: 700 13px system-ui; cursor: pointer; }
  .site-header.menu-open nav { display: flex; grid-column: 1 / -1; flex-wrap: wrap; justify-content: flex-start; gap: 8px 18px; padding: 14px 4px 4px; order: 3; }
  .site-header.menu-open nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header .mobile-sign-in { display: inline-flex; }
  .site-header .header-actions { gap: 6px; }
}
@media (max-width: 400px) {
  .site-header .header-actions .button { padding: 10px; font-size: 11px; }
}

/* Home: keep the first decision readable and reachable on a phone. */
.home-page .hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -.025em; overflow-wrap: normal; }
.home-page .hero h1 em { color: #ff8a3a; }
.home-page .hero .eyebrow { font: 600 .875rem/1.5 system-ui, sans-serif; letter-spacing: 0; text-transform: none; margin-bottom: 14px; }
.home-page .hero .eyebrow::before { content: none; }
.home-page .hero-lede { margin-top: 20px; font-size: 1.0625rem; line-height: 1.6; }
.home-page .hero-actions .button { text-transform: none; letter-spacing: 0; gap: 10px; }
.home-page .hero-copy.reveal { opacity: 1; transform: none; }
/* Render the long feature sections only as they approach the viewport.
   The browser remembers measured heights and keeps in-page links searchable. */
.home-page main > .section {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}
.home-page .hv-top small, .home-page .hv-kpi small { color: #596575; }
.home-page a:focus-visible, .home-page button:focus-visible { outline: 3px solid #ff8a3a; outline-offset: 4px; }
@media (max-width: 700px) {
  .home-page .site-header { width: calc(100% - 20px); margin-top: 8px; min-height: 64px; padding: 8px; gap: 8px; }
  .home-page .site-header .brand-logo { width: 36px; height: 36px; }
  .home-page .site-header .button-small, .home-page .theme-toggle { min-height: 44px; }
  .home-page .brand-banner { margin-top: 12px; }
  .home-page .hero { width: calc(100% - 20px); padding: 28px 20px; gap: 28px; grid-template-columns: minmax(0, 1fr); border-radius: 14px; }
  .home-page .hero h1 { font-size: clamp(2rem, 8.5vw, 2.75rem); }
  .home-page .hero h1 em { display: inline; }
  .home-page .hero-lede { font-size: 1rem; margin-top: 16px; }
  .home-page .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .home-page .hero-actions .button { min-width: 0; min-height: 50px; padding: 10px 8px; font-size: .9375rem; }
  .home-page .hero .trust-line { display: grid; gap: 6px; margin-top: 20px; font-size: .8125rem; }
  .home-page .hero-visual { min-height: 0; padding: 0; }
  .home-page .hv-app { transform: none; box-shadow: none; }
  .home-page .hv-top { flex-wrap: wrap; gap: 4px; }
  .home-page .section { padding-top: 48px; padding-bottom: 48px; }
  .home-page .price-strip { grid-template-columns: 1fr; }
  .home-page .price-tile .button { width: 100%; }
  .home-page .faq-list summary { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; }
}
