/* Cross-page corrections for tracking update: keep mobile layouts inside the viewport. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
p,
li,
a,
button,
span,
label,
input,
select,
textarea {
  overflow-wrap: anywhere;
}

.sgu-header,
.site-header,
.sg-header,
.nav-wrap,
.sgu-header-inner,
.sg-header__inner,
.sg-container,
.container,
.sgu-container {
  max-width: 100%;
}

.sgu-nav a,
.main-nav a,
.sg-nav a,
.nav-links a {
  overflow-wrap: normal;
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
  }

  body,
  main,
  section,
  header,
  footer,
  div,
  article,
  aside {
    min-width: 0 !important;
  }

  .sgu-container,
  .container,
  .sg-container,
  .nav-wrap,
  .hero-inner {
    width: min(100% - 28px, 1180px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .sgu-header-inner,
  .sg-header__inner,
  .nav,
  .nav-wrap {
    gap: 10px !important;
    min-width: 0;
  }

  .sgu-header-inner {
    justify-content: space-between !important;
  }

  .sgu-brand,
  .sg-brand,
  .brand {
    min-width: 0;
    flex: 0 1 auto;
  }

  .sg-header .sg-brand {
    flex: 0 0 auto;
  }

  .sgu-brand img,
  .sg-brand img,
  .brand img {
    width: clamp(132px, 42vw, 178px) !important;
    max-width: 46vw !important;
  }

  .sgu-cta,
  .nav-cta,
  .sg-header .sg-cta,
  .sg-header__inner > .sg-cta,
  .sg-cta-primary {
    max-width: 100%;
    white-space: normal !important;
    text-align: center;
  }

  .sgu-header .sgu-cta {
    display: none !important;
  }

  .sg-header__inner > .sg-cta,
  .site-header .nav-cta {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 0.7rem 0.8rem !important;
    font-size: 0.88rem !important;
    line-height: 1.1;
  }

  .site-header .main-nav,
  .sg-header .sg-nav {
    min-width: 0;
  }

  .site-header .main-nav {
    display: none !important;
  }

  .site-header .main-nav:not(.is-open) a:not(.nav-cta),
  .sg-header .sg-nav a:not(.sg-cta) {
    display: none;
  }

  .hero-grid,
  .sg-hero__grid,
  .sg-hero-grid,
  .hero-inner,
  .quote-hero-grid,
  .sg-short-form-wrap,
  .sg-form-wrap,
  .split,
  .grid,
  .sg-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .hero,
  .sg-hero,
  .page-hero,
  .quote-hero {
    overflow: hidden !important;
  }

  .hero-copy,
  .hero-content,
  .hero-left,
  .hero-text,
  .sg-hero__copy,
  .quote-hero-copy,
  .form-card,
  .sg-form-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-copy > *,
  .hero-content > *,
  .hero-left > *,
  .sg-hero__copy > *,
  .quote-hero-copy > *,
  .sg-form-panel > *,
  .form-card > * {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero *,
  .sg-hero *,
  .page-hero *,
  .quote-hero * {
    max-width: 100%;
  }

  h1,
  .hero h1,
  .sg-hero h1,
  .sg-hero-grid h1,
  .sg-hero__copy h1,
  .hero-inner h1,
  .hero-title {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.9rem) !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
  }

  .lead,
  .hero-lede,
  .sg-lede,
  .sg-muted,
  .form-note {
    width: 100%;
    max-width: calc(100vw - 28px) !important;
  }

  .hero p,
  .sg-hero p,
  .page-hero p,
  .quote-hero p,
  .hero-copy p,
  .hero-content p,
  .hero-left p,
  .sg-hero__copy p {
    width: 100%;
    max-width: calc(100vw - 28px) !important;
  }

  .eyebrow,
  .section-kicker,
  .sg-kicker,
  .sg-pill {
    width: auto !important;
    max-width: 100%;
    white-space: normal !important;
  }

  .hero-actions,
  .cta-actions,
  .cta-row,
  .sg-hero__actions,
  .sg-hero-actions,
  .final-cta__actions,
  .sg-final__actions,
  .final-cta-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .cta-row .btn,
  .sg-hero__actions .sg-cta,
  .sg-hero-actions .sg-cta,
  .final-cta__actions .btn,
  .sg-final__actions .sg-cta,
  .final-cta-actions .btn {
    width: 100%;
  }

  .sg-coverage,
  .proof-row,
  .trust-row,
  .slide-dots {
    max-width: 100%;
    overflow: hidden;
  }

  .sg-cookie-banner,
  .cookie-banner,
  [data-cookie-banner] {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
    max-height: 34vh !important;
    overflow: auto !important;
    border-radius: 18px !important;
  }

  .sg-cookie-banner p,
  .cookie-banner p,
  [data-cookie-banner] p {
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
  }

  .sg-cookie-banner button,
  .cookie-banner button,
  [data-cookie-banner] button {
    min-height: 40px !important;
    padding-block: 0.55rem !important;
  }
}

@media (max-width: 420px) {
  .sgu-container,
  .container,
  .sg-container,
  .nav-wrap,
  .hero-inner {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
  }

  h1,
  .hero h1,
  .sg-hero h1,
  .sg-hero-grid h1,
  .sg-hero__copy h1,
  .hero-inner h1,
  .hero-title {
    font-size: clamp(1.55rem, 6vw, 2rem) !important;
  }

  .sgu-brand img,
  .sg-brand img,
  .brand img {
    width: clamp(112px, 35vw, 150px) !important;
    max-width: 38vw !important;
  }

  .sg-header__inner > .sg-cta {
    max-width: calc(100vw - 210px) !important;
    padding-inline: 0.65rem !important;
    font-size: 0.72rem !important;
  }

  .sg-header .sg-nav,
  .site-header .main-nav {
    display: none !important;
  }

  .sg-header__inner {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  .sg-header .sg-cta,
  .site-header .nav-cta {
    display: none !important;
  }

  .sg-hero__actions,
  .hero-actions,
  .cta-actions,
  .cta-row {
    gap: 10px !important;
  }

  .sg-cta,
  .btn {
    min-width: 0 !important;
    white-space: normal !important;
  }

  .sg-cookie-banner,
  .cookie-banner,
  [data-cookie-banner] {
    max-height: 30vh !important;
  }
}
