/* Small additions on top of the Framer styles (the Framer runtime is not used). */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Skip link: hidden until focused with the keyboard */
.ibx-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font: 500 15px/1.2 "Suisse Intl Medium", system-ui, sans-serif;
  text-decoration: none;
}
.ibx-skip:focus { top: 16px; }

/* Keyboard focus for Framer elements that act as buttons */
[data-ibx-dd]:focus-visible,
[data-ibx-menu]:focus-visible,
[data-ibx-faq]:focus-visible,
[data-ibx-period]:focus-visible,
[data-ibx-stepper] [role="button"]:focus-visible,
[data-ibx-check] [role="checkbox"]:focus-visible,
[data-ibx-video] button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
[data-ibx-dd], [data-ibx-menu], [data-ibx-modal], [data-ibx-menu-close],
[data-ibx-faq], [data-ibx-period], [data-ibx-stepper] [role="button"],
[data-ibx-modal-close] { cursor: pointer; }
[data-ibx-stepper] [data-ibx-min] { cursor: default; }

/* ---------- Appear effect (Framer spring, approximated) ---------- */
.ibx-appear {
  animation: ibx-appear 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes ibx-appear {
  from { opacity: 0; transform: var(--ibx-from, none); }
  to { opacity: 1; transform: none; }
}

/* ---------- FAQ: answers of closed items are hidden ---------- */
.framer-CzypN.framer-v-1qmeywr [data-framer-name="Desc"] { display: none !important; }

/* ---------- Rotating word ---------- */
[data-ibx-rotate] { transition: opacity 0.3s ease; }
[data-ibx-rotate].is-out { opacity: 0; }

/* ---------- Logo ticker ---------- */
.ibx-ticker {
  width: max-content !important;
  max-width: none !important;
  animation: ibx-ticker var(--ibx-ticker-time, 30s) linear infinite;
}
@keyframes ibx-ticker {
  to { transform: translateX(calc(-1 * var(--ibx-ticker-shift, 50%))); }
}

/* ---------- Review sliders ---------- */
.ibx-track {
  overflow-x: auto !important;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.ibx-track::-webkit-scrollbar { display: none; }
.framer-slideshow .ibx-track { scroll-snap-type: x mandatory; }
.framer-slideshow .ibx-track > li > div {
  scroll-snap-align: start;
  width: 220px !important;
}
/* Slideshow arrows are hidden in the SSR HTML until Framer runs */
.framer--slideshow-controls > div { opacity: 1 !important; }
.ibx-slider-wrap { width: 100% !important; }
[data-ibx-video] iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Overlay (dropdowns, mobile menu, modal) ---------- */
body.ibx-lock { overflow: hidden; }
#overlay [data-ibx-anim] {
  animation: ibx-pop 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#overlay .framer-cdzns1,
#overlay .framer-5q2d2n {
  animation: ibx-fade 0.2s ease both;
}
@keyframes ibx-pop {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
}
@keyframes ibx-fade {
  from { opacity: 0; }
}

/* ---------- Pricing tooltip (same look as the live site) ---------- */
.ibx-tip {
  position: fixed;
  z-index: 20;
  padding: 8px 16px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font: 400 15px/1.2 "Suisse Intl Regular", "Inter", system-ui, sans-serif;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
}
.ibx-tip::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  margin-top: -6px;
  border: 6px solid transparent;
  border-left: 0;
  border-right-color: #000;
}

/* ---------- Phone country picker ---------- */
.ibx-cc-list [role="option"][aria-selected="true"],
.ibx-cc-list [role="option"]:hover,
.ibx-cc-list [role="option"].is-active {
  background-color: #f1f5f9 !important;
}

/* ---------- Lead form ---------- */
.ibx-form-status {
  margin: 12px 0 0;
  font: 500 14px/1.4 "Suisse Intl Medium", "Inter", system-ui, sans-serif;
  color: #15803d;
}
.ibx-form-status.is-error { color: #dc2626; }
[data-ibx-form] .ibx-invalid {
  box-shadow: inset 0 0 0 1px #dc2626 !important;
  border-radius: 8px;
}
[data-ibx-form] button[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Team page: "About ibox" section (not on the live site; matches its section style) ---------- */
.ibx-sabout {
  position: relative;
  flex: none;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: 0 32px;
  background-color: #fff;
  border-bottom: 1px solid var(--token-a99dc0d0-4e67-49eb-b70f-e92c6fbc54b9, rgb(226, 232, 240));
}
.ibx-sabout-max {
  display: flex;
  align-items: center;
  gap: 100px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  padding: 72px 44px;
  border-left: 1px solid var(--token-a99dc0d0-4e67-49eb-b70f-e92c6fbc54b9, rgb(226, 232, 240));
  border-right: 1px solid var(--token-a99dc0d0-4e67-49eb-b70f-e92c6fbc54b9, rgb(226, 232, 240));
}
.ibx-sabout-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ibx-sabout-eyebrow {
  margin: 0 0 16px;
  font: 700 16px/1 "Suisse Intl Bold", "Suisse Intl Bold Placeholder", sans-serif;
  text-transform: uppercase;
  color: var(--token-dd6f51f2-409b-4bb3-ad5a-f25caf1cc841, rgb(37, 99, 235));
}
.ibx-sabout-h {
  margin: 0 0 28px;
  font: 700 36px/1.1 "Suisse Intl Bold", "Suisse Intl Bold Placeholder", sans-serif;
  letter-spacing: -0.05em;
  color: var(--token-4753e322-e587-4b2f-adab-53b1725fcc82, rgb(30, 30, 30));
}
.ibx-sabout-h span { color: var(--token-dd6f51f2-409b-4bb3-ad5a-f25caf1cc841, rgb(37, 99, 235)); }
.ibx-sabout-p {
  margin: 0;
  font: 400 16px/1.4 "Suisse Intl Regular", "Suisse Intl Regular Placeholder", sans-serif;
  letter-spacing: -0.05em;
  color: rgb(100, 116, 139);
  max-width: 640px;
}
.ibx-sabout-list {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ibx-sabout-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--token-a99dc0d0-4e67-49eb-b70f-e92c6fbc54b9, rgb(226, 232, 240));
  border-radius: 12px;
  background-color: #fff;
}
.ibx-sabout-num {
  font: 500 13px/1.2 "Suisse Intl Medium", "Suisse Intl Medium Placeholder", sans-serif;
  color: var(--token-dd6f51f2-409b-4bb3-ad5a-f25caf1cc841, rgb(37, 99, 235));
}
.ibx-sabout-t {
  font: 600 16px/1.4 "Suisse Intl SemiBold", "Suisse Intl SemiBold Placeholder", sans-serif;
  color: var(--token-4753e322-e587-4b2f-adab-53b1725fcc82, rgb(30, 30, 30));
}
@media (max-width: 1024.98px) {
  .ibx-sabout { padding: 0 24px; }
  .ibx-sabout-max { flex-direction: column; align-items: stretch; gap: 48px; padding: 64px 32px; }
  .ibx-sabout-h { font-size: 32px; }
  .ibx-sabout-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .ibx-sabout { padding: 0 12px; }
  .ibx-sabout-max { padding: 64px 16px; }
  .ibx-sabout-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ibx-sabout-card { padding: 16px; }
}
