:root{--bg-white:#ffffff;--bg-soft:#f6f9fd;--bg-dark:#07111f;--sb-font-sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--sb-text-primary:#111827;--sb-text-secondary:#4b5563;--sb-surface-page:var(--bg-white);--sb-surface-clean:var(--bg-white);--sb-surface-soft:var(--bg-soft);--sb-surface-dark:var(--bg-dark);--sb-border-soft:#dbe5f2;--sb-blue:#1572e8;--sb-green:#31ce36}*,::after,::before{box-sizing:border-box}html{margin:0;padding:0}body{margin:0;padding:0;color:var(--sb-text-primary);background:var(--sb-surface-page);font-family:var(--sb-font-sans)}body.sb-mobile-menu-open{overflow:hidden}a{color:inherit;text-decoration:none}a:active,a:focus,a:hover,summary:active,summary:focus,summary:hover{text-decoration:none}img,svg{display:block;max-width:100%}

/* Shared layout contract. Keep this stylesheet after component and page styles. */
:root {
  --sb-content-max: 1280px;
  --sb-content-gutter: 48px;
}

html,
body {
  min-width: 320px;
}

body .container.container,
body .sb-geo-banner-inner,
body .access-shell,
body .sb-case-layout,
body .pricing-page .shell {
  width: min(var(--sb-content-max), calc(100% - 2 * var(--sb-content-gutter)));
  max-width: 1280px;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
}

.sb-site-header {
  --sb-header-shell: min(1280px, calc(100% - 2 * var(--sb-content-gutter)));
}

.sb-site-header .sb-site-header-bar {
  flex-wrap: nowrap;
}

.sb-site-brand {
  min-width: 0;
}

.sb-geo-banner-inner {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
}

.sb-geo-banner-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
}

.sb-geo-banner-mobile-copy { display: none; }

@media (min-width: 981px) and (max-width: 1200px) {
  .sb-site-header-bar { gap: 8px; }
  .sb-site-nav { gap: 0; }
  .sb-site-nav-link { padding: 0 8px; font-size: 13px; }
  .sb-site-actions { gap: 6px; }
  .sb-site-actions .sb-site-action-button { padding: 0 12px; font-size: 13px; }
}

@media (max-width: 1200px) {
  .sb-hero-trust { flex-wrap: wrap; }
  .sb-site-mega-grid-tight {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 20px;
  }
  .sb-segment-row {
    grid-template-columns: 54px minmax(0, 0.9fr) minmax(0, 1fr) auto 44px;
    column-gap: 16px;
  }
}

@media (max-width: 980px) {
  :root { --sb-content-gutter: 32px; }
  .sb-site-header { height: 64px; }
  .sb-site-header .sb-site-header-bar {
    height: 63px;
    min-height: 63px;
    gap: 8px;
  }
  .sb-site-brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .sb-site-mobile-header-actions { margin-left: auto; gap: 8px; }
  .sb-site-mobile-header-actions .sb-site-action-button { min-height: 40px; padding: 0 12px; }
  .sb-site-mobile-header-actions .sb-site-icon-button,
  .sb-site-mobile-menu .sb-site-mobile-toggle { width: 40px; height: 40px; }
  .sb-site-mobile-panel {
    top: 64px;
    height: min(calc(100vh - 64px), var(--sb-mobile-panel-height, 100vh));
    height: min(calc(100dvh - 64px), var(--sb-mobile-panel-height, 100dvh));
    min-height: 0;
    padding: 24px 20px 32px;
  }
  .sb-site-mobile-link {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }
  .sb-segment-row { grid-template-columns: 54px minmax(0, 0.8fr) minmax(0, 1fr) 44px; }
}

@media (max-width: 700px) {
  :root { --sb-content-gutter: 20px; }
  .sb-segment-row { grid-template-columns: minmax(0, 1fr) 42px; }
  main[class][class] h1,
  .sb-hero-title { font-size: 42px; line-height: 1.18; }
  main[class][class] h2,
  .sb-segments-heading h2,
  .sb-setup-flow-heading h2,
  .sb-integrations-heading h2,
  .sb-social-proof h2,
  .sb-section-heading h2,
  .sb-proof-example h2,
  .sb-repurchase-cycle-heading h2,
  .sb-proof-compare-heading h2,
  .sb-core-band-intro h2,
  .sb-pricing-heading h2,
  .sb-faq-heading h2,
  .sb-final-cta h2 { font-size: 35px; line-height: 1.18; }
}

@media (max-width: 600px) {
  .sb-site-mobile-header-actions { gap: 4px; min-width: 0; }
  .sb-site-mobile-header-actions .sb-site-icon-button { flex-shrink: 0; }
  .sb-site-mobile-header-actions .sb-site-action-button-primary {
    min-width: 0;
    padding: 0 10px;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }
  .sb-geo-banner { background: var(--sb-surface-soft); }
  .sb-geo-banner-inner {
    grid-template-columns: minmax(0, 1fr) 40px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .sb-geo-banner-spacer,
  .sb-geo-banner-icon,
  .sb-geo-banner-text,
  .sb-geo-banner-desktop-copy { display: none; }
  .sb-geo-banner-content {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    text-align: left;
  }
  .sb-geo-banner-mobile-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .sb-geo-banner-mobile-copy i { font-size: 10px; }
  .sb-geo-banner-actions {
    flex-direction: row;
    align-items: center;
    width: auto;
    flex-wrap: nowrap;
    gap: 16px;
  }
  .sb-geo-banner-confirm,
  .sb-geo-banner-decline {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    font-size: 13px;
    line-height: 1.35;
  }
  .sb-geo-banner-confirm,
  .sb-geo-banner-confirm:hover,
  .sb-geo-banner-confirm:focus {
    border-radius: 0;
    background: transparent;
    color: var(--sb-blue);
    text-decoration: none;
  }
  .sb-geo-banner-confirm:hover,
  .sb-geo-banner-confirm:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .sb-geo-banner-decline {
    position: relative;
    padding-left: 16px;
    font-weight: 400;
  }
  .sb-geo-banner-decline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: var(--sb-border-soft);
  }
  .sb-geo-banner-close {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .sb-site-mobile-header-actions .sb-site-action-button-secondary { display: none; }
  .sb-core-band-main,
  .sb-core-band-secondary,
  .sb-core-card-grid,
  .sb-site-mobile-feature-grid { grid-template-columns: minmax(0, 1fr); }
}
