/* Shared public-only interaction refinements; admin never loads this asset. */
html:not([data-theme="dark"]) body.public-site.page-home,
html:not([data-theme="dark"]) body.public-site.page-home #public-main,
html:not([data-theme="dark"]) body.public-site.page-home #public-main > :is(.home-statement, .home-built, .home-future) {
  background-color: #ffffff;
}
html:not([data-theme="dark"]) body.public-site.page-home #public-main > .home-landing-hero {
  background-color: #f5f5f2;
}
html[data-home-opening-suppressed="true"] body.public-site.page-home .home-opening {
  display: none;
}
/* Keep animated opening copy inside the viewport without changing SKIP. */
body.public-site.page-home .home-opening__title {
  width: calc(100% - 48px);
  max-width: 1200px;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
body.public-site.page-home .home-opening__title--second {
  font-size: clamp(28px, 5.2vw, 80px);
}
body.public-site.page-home .home-statement__inner {
  min-width: 0;
}
body.public-site.page-home .home-statement h2 {
  max-width: 100%;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body.public-site.page-home .home-solution-scroll-hint {
  margin: 16px 24px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.6;
}
body.public-site.page-home .home-solution-slider {
  width: 100%;
  -webkit-mask-image: none;
  mask-image: none;
}
body.public-site.page-home .home-solution-slider:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: -2px;
}
body.public-site.page-home .home-solution-slider[data-solution-mode="manual"] {
  scrollbar-width: auto;
  scrollbar-color: var(--home-blue) var(--public-surface, #fff);
}
@media (max-width: 767px) {
  body.public-site.page-home .home-statement h2 {
    font-size: clamp(28px, 7.5vw, 36px);
    line-height: 1.4;
  }
}
body.public-site [data-header-theme-slot],
body.public-site [data-footer-page-up-slot] {
  display: flex;
  align-items: center;
}

body.public-site [data-header-theme-slot]:empty,
body.public-site [data-footer-page-up-slot]:empty,
body.public-site .site-floating-controls[hidden],
body.public-site .site-floating-controls:empty {
  display: none;
}

body.public-site [data-footer-page-up-slot] {
  justify-content: flex-end;
}

body.public-site .site-header__brand {
  min-width: 0;
}

body.public-site .site-header__actions {
  flex: 0 0 auto;
}

body.public-site .site-menu-button {
  min-width: 44px;
  min-height: 44px;
}

/* Reserve the existing illustration above the number and copy in both themes. */
body.public-site.page-securepoint #vision .process-flow--illustrated > li {
  padding-top: 20rem;
}

@media (max-width: 767px) {
  body.public-site.page-securepoint #vision .process-flow--illustrated > li {
    padding-top: 16.8rem;
  }
}

body.public-site.page-home :is(.home-section-index, .home-landing-section__eyebrow),
body.public-site.page-home .home-future__copy .home-landing-section__eyebrow {
  color: #155fc7;
}

body.public-site.page-home .home-future__copy > p:last-child {
  color: #555555;
}

body.public-site.page-home .home-solution-slider:is(:hover, :focus-within) .home-solution-grid {
  animation-play-state: paused;
}

body.public-site.page-home .home-solution-card__overlay {
  background: #155fc7;
}

body.public-site.page-home .home-solution-slider[data-solution-mode="manual"] {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 24px;
  -webkit-mask-image: none;
  mask-image: none;
}

body.public-site.page-home .home-solution-slider[data-solution-mode="manual"] .home-solution-grid {
  animation: none;
  transform: none;
  padding: 8px 24px 20px;
}

body.public-site.page-home .home-solution-slider[data-solution-mode="manual"] .home-solution-card {
  scroll-snap-align: start;
}

body.public-site.page-home .home-solution-slider[data-solution-mode="manual"] [data-solution-clone] {
  display: none;
}

body.public-site.page-home .home-solution-slider[data-solution-mode="manual"] .home-solution-card__media {
  transform: none;
}

body.public-site.page-home .home-solution-slider[data-solution-mode="manual"] .home-solution-card__overlay {
  position: static;
  min-height: 180px;
  opacity: 1;
  pointer-events: auto;
}

body.public-site.page-home .home-solution-slider[data-solution-mode="manual"] .home-solution-card__overlay > * {
  opacity: 1;
  transform: none;
}

body.public-site.page-home #public-main .home-solution-card__link {
  min-height: 44px;
}

body.public-site.page-service .product-section[id] {
  scroll-margin-top: calc(var(--site-header-height) + 16px);
}

body.public-site .contact-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.public-site [data-contact-form] > .grid {
  grid-template-columns: minmax(0, 1fr);
}

body.public-site [data-contact-form] :is(input:not([type="checkbox"]):not([type="hidden"]), select, textarea) {
  min-height: 48px;
}

@media (min-width: 1024px) {
  body.public-site .contact-layout {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr);
  }
}

@media (min-width: 1280px) {
  body.public-site [data-contact-form] > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1439px) {
  body.public-site .site-header__inner {
    gap: 16px;
  }

  body.public-site .site-header__brand .site-logo {
    max-width: 100%;
    height: auto;
    max-height: 40px;
  }

  body.public-site [data-header-theme-slot] .site-floating-button {
    width: 44px;
    height: 44px;
    box-shadow: none;
  }

  body.public-site [data-footer-page-up-slot] {
    margin-top: 24px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  body.public-site .site-header__brand {
    flex: 0 1 217px;
  }

  body.public-site .site-nav-link {
    padding-inline: clamp(8px, 1.05vw, 16px);
  }
}

@media (max-width: 1023px) {
  body.public-site .site-header__brand {
    flex: 0 1 174px;
  }

  body.public-site .site-header__actions {
    gap: 8px;
  }
}
