/* ==========================================================================
   RouteBase landing overrides
   Loaded after Framer base CSS. Critical layout also re-injected after
   hydration via #rb-header-fix so Framer's late <style> tags can't win.
   ========================================================================== */

/* Kill Framer will-change thrash */
.framer-c1l9d * {
  will-change: auto !important;
}

/* --------------------------------------------------------------------------
   Fixed header (reliable across all breakpoints; sticky fails under Framer
   overflow:clip on ancestors even with !important race conditions)
   -------------------------------------------------------------------------- */
html {
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden !important;
  overflow-y: scroll !important;
}

#main,
.framer-c1l9d,
.framer-c1l9d.framer-72rtr7 {
  overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
}

.framer-c1l9d.framer-72rtr7 {
  /* Space for fixed header — height set by JS as --rb-header-h */
  padding-top: var(--rb-header-h, 84px) !important;
  box-sizing: border-box !important;
  gap: 0 !important;
}

.framer-c1l9d .framer-muoi2q {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 1000 !important;
  background-color: #ffffff !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

/* Logo stays left */
.framer-c1l9d .framer-rb-logo-link,
.framer-c1l9d .framer-muoi2q > a.framer-rb-logo-link {
  order: 1 !important;
  flex: none !important;
  margin-right: auto !important;
}

/* App Store CTA + actions sit just left of the menu (right side) */
.framer-c1l9d .framer-fk1awh {
  order: 2 !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  flex: none !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: flex-end !important;
}

.framer-c1l9d .framer-1lh52co {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: auto !important;
  max-width: none !important;
}

.rb-menu-toggle {
  order: 3 !important;
  margin-left: 4px !important;
}

/* Desktop: restore inline nav links between logo and CTA */
@media (min-width: 1200px) {
  .framer-c1l9d .framer-rb-logo-link {
    margin-right: 0 !important;
  }

  .framer-c1l9d .framer-c3ttch {
    order: 2 !important;
    display: flex !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
  }

  .framer-c1l9d .framer-fk1awh {
    order: 3 !important;
    margin-left: auto !important;
  }

  .rb-menu-toggle,
  .rb-mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Wide desktop: stretch section shells + inners to viewport (hero already 100%).
   Only touch max-width — never force width:100% on Framer flex children.
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .framer-c1l9d .framer-oj7l4u,
  .framer-c1l9d .framer-xzfjke,
  .framer-c1l9d .framer-1x51v3,
  .framer-c1l9d .framer-kqpz5f,
  .framer-c1l9d .framer-16zt3x5,
  .framer-c1l9d .framer-l527x1,
  .framer-c1l9d .framer-49sfyf {
    max-width: 100% !important;
  }

  .framer-c1l9d .framer-reimge,
  .framer-c1l9d .framer-9etr5i,
  .framer-c1l9d .framer-8ik997,
  .framer-c1l9d .framer-1qsqoek,
  .framer-c1l9d .framer-4hae20,
  .framer-c1l9d .framer-pam407,
  .framer-c1l9d .framer-go40av,
  .framer-c1l9d .framer-zoytdp,
  .framer-c1l9d .framer-rb-hero-cta {
    max-width: 100% !important;
  }
}

/* --------------------------------------------------------------------------
   Hero full-bleed + sharp asset (prefer <img> over CSS background)
   -------------------------------------------------------------------------- */
.framer-c1l9d .framer-1lihw8h {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 36px !important;
  margin-top: 0 !important;
  overflow: hidden !important;
}

.framer-c1l9d .framer-z7mel9 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Tablet + desktop hero — full-res asset, original Framer crop ratio */
@media (min-width: 768px) {
  .framer-c1l9d .framer-z7mel9 {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3840 / 2160 !important;
    background-color: #f1f5f9 !important;
    background-image: none !important;
  }

  .framer-c1l9d .framer-z7mel9 [data-framer-background-image-wrapper] {
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .framer-c1l9d .framer-z7mel9 img {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

.framer-c1l9d .framer-rb-hero-cta {
  width: calc(100% - 48px) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 1200px) {
  .framer-c1l9d .framer-rb-hero-cta {
    max-width: 100% !important;
  }
}

.framer-c1l9d .framer-reimge {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Features — borderless cards */
.framer-c1l9d section[data-framer-name="Features"] [data-border="true"] {
  --border-top-width: 0 !important;
  --border-right-width: 0 !important;
  --border-bottom-width: 0 !important;
  --border-left-width: 0 !important;
}

.framer-c1l9d section[data-framer-name="Features"] [data-border="true"]::after {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Menu toggle — clean icon, no box border
   -------------------------------------------------------------------------- */
.rb-menu-toggle {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  color: #0f172a;
  -webkit-tap-highlight-color: transparent;
}

.rb-menu-toggle:focus-visible {
  outline: 2px solid #2176ff;
  outline-offset: 2px;
}

.rb-menu-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}

.rb-menu-toggle .rb-icon-close {
  display: none;
}

.rb-menu-toggle[aria-expanded="true"] .rb-icon-menu {
  display: none;
}

.rb-menu-toggle[aria-expanded="true"] .rb-icon-close {
  display: block;
}

.rb-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1001;
  flex-direction: column;
  gap: 0;
  padding: 8px 16px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.rb-mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-family: "Figtree", "Figtree Placeholder", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: #334155;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
}

.rb-mobile-menu a:last-child {
  border-bottom: none;
}

.rb-mobile-menu a:hover,
.rb-mobile-menu a:focus-visible {
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   Tablet (768–1199.98px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .framer-c1l9d .framer-muoi2q {
    padding: 16px 24px !important;
  }

  .framer-c1l9d .framer-c3ttch {
    display: none !important;
  }

  .rb-menu-toggle {
    display: flex !important;
  }

  .rb-mobile-menu.is-open {
    display: flex;
  }

  .framer-c1l9d .framer-z7mel9 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .framer-c1l9d .framer-rb-hero-cta {
    width: calc(100% - 48px) !important;
    max-width: 100% !important;
  }

  .framer-c1l9d .framer-go40av {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 36px !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile (<= 767.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .framer-c1l9d .framer-muoi2q {
    padding: 12px 12px !important;
    /* Kill Framer's 1px border-gap under the bar */
    border-bottom-width: 0 !important;
    box-shadow: 0 1px 0 #e2e8f0 !important;
  }

  .framer-c1l9d .framer-muoi2q[data-border="true"]::after {
    display: none !important;
  }

  .framer-c1l9d .framer-c3ttch {
    display: none !important;
  }

  .rb-menu-toggle {
    display: flex !important;
  }

  .rb-mobile-menu.is-open {
    display: flex;
  }

  /* Hero flush under fixed header — no top gap */
  .framer-c1l9d .framer-1lihw8h {
    gap: 20px !important;
    height: min-content !important;
    padding: 0 0 32px !important;
    margin-top: 0 !important;
    border-top: none !important;
  }

  .framer-c1l9d .framer-1lihw8h[data-border="true"]::after {
    border-top-width: 0 !important;
  }

  .framer-c1l9d .framer-z7mel9 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    aspect-ratio: 608 / 1024 !important;
    background: #f1f5f9
      url("assets/images/hero-mobile.jpg") center center / cover no-repeat !important;
  }

  .framer-c1l9d .framer-z7mel9 [data-framer-background-image-wrapper],
  .framer-c1l9d .framer-z7mel9 img {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .framer-c1l9d .framer-rb-hero-cta {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  .framer-c1l9d .framer-reimge {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .framer-c1l9d .framer-1lh52co {
    min-height: 36px !important;
    padding: 10px 14px !important;
    white-space: nowrap !important;
  }

  .framer-c1l9d .framer-1lh52co .framer-text {
    font-size: 12px !important;
  }

  .framer-c1l9d .framer-rb-logo-link {
    width: 110px !important;
    height: 39px !important;
  }
}
