/**
 * Mobile Responsiveness Fixes
 * Applied via max-width media queries only - desktop layout unchanged.
 * Breakpoints aligned with existing: 768px, 599px, 480px, 391px
 */

/* === Navbar logo - height 48px, width fit-content, no max-width === */
#navbar-logo-link img {
  height: 48px !important;
  width: fit-content !important;
  max-width: none !important;
}

/* === Top banner - Register now button === */
#top-banner .banner-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: max-content;
  height: 32px;
  padding: 6px 12px;
  background-color: rgb(255, 255, 255);
  color: rgb(27, 27, 27);
  border: none;
  border-radius: 200px;
  font-family: 'Signika', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 170%;
  letter-spacing: 0.18px;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  transition: all 0.1s ease-in-out;
}
#top-banner .banner-register-btn:hover {
  background-color: rgb(243, 243, 243);
}

/* === Top banner - event badge (THE BIG AIBILITY 2026 | MARCH 19) === */
#top-banner .banner-event-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: max-content;
  padding: 8px;
  background-color: rgb(196, 177, 249);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: #1B1B1B;
  white-space: nowrap;
}

/* === Crew tab panels - paragraph text white on all devices === */
.crew-tab-panel .mui-l3tqwc,
.crew-tab-panel .text-content-secondary-on-dark,
.crew-tab-panel .text-content-on-dark-secondary {
  color: #FAF4EE !important;
}

/* === Crew tab panels - 50/50 split (text + image) on desktop === */
@media (min-width: 769px) {
  .crew-tab-panel .flex.items-stretch.justify-between.gap-md > div {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
  }
}

/* === Crew tab panels - Deel-style button: dark bg, white text, light border, pill shape === */
.crew-tab-panel .mui-1abx49v,
.crew-tab-panel .mui-jkbnww,
.crew-tab-panel .MuiButton-containedInverted {
  background-color: #242424 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 200px !important;
  padding: 12px 16px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  height: 51px !important;
  transition: all 0.1s ease-in-out !important;
}
.crew-tab-panel .mui-1abx49v:hover,
.crew-tab-panel .mui-jkbnww:hover,
.crew-tab-panel .MuiButton-containedInverted:hover {
  background-color: #3F3F3F !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* === PRODUCT NEEDS section - Deel-style button (dark bg, white text, light border, pill shape) === */
.bg-surface-primary .mui-jkbnww {
  background-color: #242424 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 200px !important;
  padding: 12px 16px !important;
  font-size: 16px !important;
  height: 51px !important;
  transition: all 0.1s ease-in-out !important;
}
.bg-surface-primary .mui-jkbnww:hover {
  background-color: #3F3F3F !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* === Mobile menu (Deel-style slide-in drawer) === */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}
.mobile-menu-overlay.is-open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.is-open .mobile-menu-backdrop {
  opacity: 1;
}
.mobile-menu-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
}
.mobile-menu-overlay.is-open .mobile-menu-drawer {
  transform: translateX(0);
}
.mobile-menu-header {
  padding: 0 24px 16px;
  display: flex;
  justify-content: flex-end;
}
.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #1B1B1B;
  border-radius: 50%;
  padding: 0;
}
.mobile-menu-close:hover {
  background: rgba(0, 0, 0, 0.06);
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  overflow-y: auto;
}
.mobile-menu-link {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: #1B1B1B;
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 27, 27, 0.08);
  transition: opacity 0.2s;
}
.mobile-menu-link:hover {
  opacity: 0.7;
}
.mobile-menu-cta {
  margin-top: 16px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #1B1B1B;
  text-decoration: none;
  text-align: center;
  border-radius: 100px;
  transition: background 0.2s, opacity 0.2s;
}
.mobile-menu-cta:hover {
  background: #333;
  opacity: 1;
}
@media (min-width: 1200px) {
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* === Prevent horizontal overflow === */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .bg-surface-secondary {
    overflow-x: hidden;
  }
  /* G2 reviews carousel: allow overflow so testimonials aren't clipped on the right.
   * html/body/.bg-surface-secondary sit above footer in the ancestor chain and clip
   * the carousel even when footer has overflow-x:visible. */
  html:has(#g2-reviews-688),
  body:has(#g2-reviews-688),
  .bg-surface-secondary:has(#g2-reviews-688) {
    overflow-x: visible !important;
  }
}

/* === Global key figures (150+ countries, 40,000+ customers) - stack numbers vertically on mobile === */
@media (max-width: 768px) {
  .mui-ze9kid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* === Top banner - stack vertically on mobile === */
@media (max-width: 640px) {
  #top-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 12px 16px 12px 40px !important; /* space for close btn */
  }
  #top-banner .flex-wrap {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }
  #top-banner span:not([class*="rounded-full"]) {
    white-space: normal !important;
    text-align: center;
  }
}

/* === MUI feature grids - CRITICAL: force single column + prevent vertical text bug === */
@media (max-width: 768px) {
  /* Force 1 column earlier to prevent 3 narrow columns causing letter-by-letter wrap */
  .mui-1pu0e0i {
    grid-template-columns: 1fr !important;
    min-width: 0;
    width: 100%;
  }
  .mui-1pu0e0i > * {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .mui-ti70r,
  .mui-1iutxri {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .mui-ti70r > *,
  .mui-1iutxri > * {
    min-width: 0;
    max-width: 100%;
  }
  /* Prevent vertical letter stacking - ensure normal text flow */
  .mui-1d3to3j,
  .mui-1d3to3j h6,
  .mui-1d3to3j p,
  .mui-1aos1la,
  .mui-octhuj,
  .mui-l3tqwc,
  .mui-1mnizc9 {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
  }
  .mui-ducv57,
  .mui-192i1o3 img {
    max-width: 100% !important;
    height: auto !important;
  }
  /* Navbar logo: keep 48px height, fit-content width, no max-width (override above) */
  #navbar-logo-link img {
    height: 48px !important;
    width: fit-content !important;
    max-width: none !important;
  }
}

/* === Payroll flow / Build and extend agents - stack cards vertically on mobile === */
@media (max-width: 768px) {
  .mui-1quf9mf {
    padding: 48px 24px !important;
  }
  .mui-3lz68q {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .mui-pjjft1 {
    padding-right: 0 !important;
    padding-left: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    grid-column: 1 !important;
  }
}
@media (max-width: 599px) {
  .mui-3lz68q {
    gap: 20px !important;
  }
}

/* === Integrations grid - 2 cols on small mobile === */
@media (max-width: 480px) {
  #integrations-section .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  #integrations-section .integrations-card {
    min-height: 80px !important;
    padding: 12px !important;
  }
}

/* === Meet the crew / Product needs / Tabs - fix weird underline on first tab when another is selected === */
.mui-atsldo .MuiTabs-scroller {
  overflow-y: hidden !important; /* clip indicator overflow; overflow-x stays auto for scroll */
}
/* Override default 2px indicator height - prevents thin residual line at left edge */
.mui-atsldo .MuiTabs-indicator {
  height: 4px !important;
  min-height: 4px !important;
}
.mui-atsldo .MuiTab-root:not(.Mui-selected),
.mui-atsldo .mui-1z0k4if:not(.Mui-selected),
.mui-atsldo .mui-1m7jc52:not(.Mui-selected) {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* === Meet the crew / Product needs / Tabs section - prevent overflow === */
@media (max-width: 768px) {
  .mui-atsldo {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mui-atsldo::-webkit-scrollbar {
    display: none;
  }
  .mui-atsldo .MuiTabs-scroller {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .mui-atsldo .MuiTabs-flexContainer {
    flex-wrap: nowrap !important;
  }
  .mui-1m7jc52,
  .mui-1z0k4if {
    white-space: nowrap;
    flex-shrink: 0;
  }
  /* Tab + card layout - stack vertically, fix overflow */
  .flex.w-full.flex-col.gap-lg {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  .flex.items-stretch.justify-between.gap-md {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
    min-width: 0 !important;
  }
  .flex.items-stretch.justify-between.gap-md > div.flex.bg-surface-dark-subtle,
  .flex.items-stretch.justify-between.gap-md > div:first-child.flex {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .flex.items-stretch.justify-between.gap-md > div.flex.bg-surface-dark-subtle > div,
  .flex.items-stretch.justify-between.gap-md > div:first-child.flex > div {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .bg-surface-dark-subtle h5,
  .bg-surface-dark-subtle p,
  .bg-surface-dark-subtle .MuiTypography-body1 {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }
}

/* === Hero section - ensure swiper has min height on mobile === */
@media (max-width: 792px) {
  .hero-swiper {
    min-height: 300px !important;
  }
}

/* === Global People Platform cards === */
@media (max-width: 640px) {
  .grid.grid-cols-1.tablet\:grid-cols-2.md\:\!grid-cols-3 .group {
    min-height: auto !important;
    height: auto !important;
  }
}

/* === Result preview section === */
@media (max-width: 768px) {
  .result-preview-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* === Typography - prevent text overflow === */
@media (max-width: 768px) {
  .heading-h1,
  .heading-h2,
  .heading-h5,
  h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  p, .MuiTypography-body1 {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

/* === Video carousel (TESTIMONIALS / Revolut, Cocoroco) - remove blur from items === */
.video-carousel .revamp-carousel-wrapper .items > div {
  filter: none !important;
}

/* === See what customers are saying - blurred edges + autoplay === */
.testimonials-carousel-wrap {
  position: relative;
}
.testimonials-carousel-wrap .pointer-events-none.absolute {
  top: 0;
  bottom: 0;
}

/* === See what customers are saying - fix carousel nav arrows on mobile === */
@media (max-width: 768px) {
  #nav-comparison-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: fit-content;
  }
  #nav-comparison-slider .swiper-button-prev,
  #nav-comparison-slider .swiper-button-next {
    position: static !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
  }
  /* Hide Swiper's ::after icon (we use SVG) to prevent double/broken icons */
  #nav-comparison-slider .swiper-button-prev::after,
  #nav-comparison-slider .swiper-button-next::after {
    display: none !important;
  }
  /* Ensure disabled state is visible, not broken */
  #nav-comparison-slider .swiper-button-prev.swiper-button-disabled,
  #nav-comparison-slider .swiper-button-next.swiper-button-disabled {
    opacity: 0.4;
  }
}

/* === Nav - ensure mobile menu area doesn't overflow + header background === */
@media (max-width: 1199px) {
  header.sticky {
    background: #fff !important;
  }
  .mui-8qiahu {
    padding-left: 16px !important;
    padding-right: 16px !important;
    background: #fff !important;
  }
  .mui-n9ndkr {
    min-width: 0;
  }
}

/* === Desktop: ensure full navbar shows at 1024px and up === */
@media (min-width: 1024px) {
  .mui-f5u9bk {
    display: flex !important;
  }
  .mui-efo0ec {
    display: none !important;
  }
}

/* === Mobile navbar - hide nav links, show only logo + hamburger + Start Free Assessment === */
@media (max-width: 1023px) {
  /* Hide desktop nav links (Superpowered Pro, Learn AI skills, etc.) - use hamburger menu instead */
  .mui-f5u9bk {
    display: none !important;
  }
  /* Ensure hamburger is visible (override any min-width rules) */
  .mui-efo0ec {
    display: flex !important;
  }
  /* Nav grid: logo | spacer | hamburger + Start Free Assessment */
  .mui-n9ndkr {
    grid-template-columns: auto 1fr auto !important;
    gap: 12px !important;
  }
  /* Hide Log in on mobile, keep Start Free Assessment + hamburger */
  .mui-fy11xf .mui-15k05j0 {
    display: none !important;
  }
  /* Right-side buttons: Start Free Assessment + hamburger, no wrap */
  .mui-fy11xf {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .mui-efo0ec {
    flex-shrink: 0;
  }
  /* Prevent header overflow */
  header {
    overflow-x: hidden;
  }
}

@media (max-width: 768px) {
  /* Tighter nav padding on small mobile */
  .mui-8qiahu {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  /* Ensure banner and nav don't overlap - banner full width */
  header .banner-wrapper-opt {
    width: 100%;
    overflow: hidden;
  }
  #top-banner {
    padding-left: 16px !important;
    padding-right: 40px !important; /* space for close btn */
  }
}

/* Very small screens: hide Start Free Assessment in nav to prevent overlap, keep hamburger */
@media (max-width: 480px) {
  .mui-fy11xf .mui-ma63yw {
    display: none !important;
  }
}

/* === Lang switcher dropdown - mobile positioning === */
@media (max-width: 1024px) {
  #lang-switcher-wrap .lang-switcher-dropdown {
    right: 0;
    left: auto;
  }
}

/* === Key figures (60% less time, etc.) - mobile: column layout, 32px gap === */
@media (max-width: 768px) {
  .mui-urfmae {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
}

/* === PLAN/HIRE/MANAGE/PAY/ENGAGE/MOVE cards - mobile: column layout === */
@media (max-width: 768px) {
  .mui-1eqc51d .mui-1wcep9z,
  .mui-1eqc51d .mui-mpqocb {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 48px !important;
  }
}

/* === AI Workforce / Global operations sections - mobile padding === */
@media (max-width: 768px) {
  .mui-aiaenv {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .mui-1ppwf8f {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .mui-xmi8xz {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* === HR Leaders section - 65% content / 35% image split on desktop === */
@media (min-width: 959px) {
  .mui-1djuixb .mui-1we15nw {
    gap: 80px;
  }
  .mui-1djuixb .mui-1ix64fr {
    flex: 0 0 calc((100% - 80px) * 0.65);
    max-width: calc((100% - 80px) * 0.65);
    width: calc((100% - 80px) * 0.65);
    min-width: 0;
  }
  .mui-1djuixb .mui-1x14hi7 {
    flex: 0 0 calc((100% - 80px) * 0.35);
    max-width: calc((100% - 80px) * 0.35);
    width: calc((100% - 80px) * 0.35);
    min-width: 0;
  }
}

@media (max-width: 958.95px) {
  .mui-1djuixb .mui-1ix64fr,
  .mui-1djuixb .mui-1x14hi7 {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
}

/* === HR Leaders section (Run the entire worker lifecycle) - mobile layout === */
@media (max-width: 768px) {
  .mui-1djuixb {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .mui-1we15nw {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    flex-direction: column !important;
    height: fit-content !important;
  }
}

/* === FAQs section - fix display and stacking on mobile === */
@media (max-width: 768px) {
  .mui-1gpea6v {
    padding: 48px 24px !important;
    overflow: visible !important;
  }
  .mui-1mxl44t {
    flex-direction: column !important;
    gap: 32px !important;
    align-items: stretch !important;
    overflow: visible !important;
  }
  .mui-fob8z4 {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .mui-11s2jub {
    width: 100% !important;
  }
  .mui-1ouyon7 {
    width: 100% !important;
    overflow: visible !important;
  }
  .mui-1ouyon7 .MuiAccordionSummary-root {
    padding: 16px 0 !important;
    min-height: 48px !important;
  }
  .mui-1ouyon7 .MuiAccordionDetails-root {
    display: block !important;
    overflow: visible !important;
  }
}

/* === Footer - force vertical stacking, prevent overlap === */
@media (max-width: 768px) {
  footer.mui-av51p1 {
    padding: 0 24px !important;
    overflow-x: hidden !important;
  }
  /* G2 reviews carousel must not be clipped by footer overflow */
  footer.mui-av51p1:has(#g2-reviews-688) {
    overflow-x: visible !important;
  }
  footer.mui-av51p1 .MuiBox-root {
    min-width: 0 !important;
  }
  .mui-8qgzw2 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 32px 0 !important;
  }
  .mui-1l1lj2r {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 24px 0 32px !important;
    margin-top: 32px !important;
  }
  .mui-fbunk5 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    min-width: 0 !important;
  }
  .mui-19ei76p,
  .mui-m6lfuo {
    min-width: 0 !important;
  }
  .mui-1f1std7,
  .mui-13qr5ly {
    grid-template-columns: 1fr !important;
  }
  .mui-1lajklc {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  /* Newsletter section: logo+social, text, and input stacked vertically */
  .mui-y71o3e {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    align-items: stretch !important;
  }
  /* Newsletter email input: full-width on mobile */
  .mui-y71o3e .mui-1f2o10c {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .mui-y71o3e .mui-e5d8iv {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .mui-y71o3e .mui-e5d8iv input {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* === Bottom CTA banner (pill-device-cta-v2) - mobile layout === */
@media (max-width: 768px) {
  section[__component="product.pill-device-cta-v2"] {
    min-height: auto !important;
    padding: 24px 0 !important;
  }
  section[__component="product.pill-device-cta-v2"] > div {
    min-height: auto !important;
  }
  section[__component="product.pill-device-cta-v2"] .mx-auto.h-full {
    gap: 8px !important;
    align-items: center !important;
  }
  section[__component="product.pill-device-cta-v2"] .flex.flex-col.z-10 {
    gap: 16px !important;
  }
  section[__component="product.pill-device-cta-v2"] .flex.flex-col.sm\:flex-row,
  section[__component="product.pill-device-cta-v2"] .flex.flex-col {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  /* Larger CTA button on mobile - full width, prominent */
  section[__component="product.pill-device-cta-v2"] .flex.flex-wrap.items-center.gap-3 {
    width: 100%;
    justify-content: center;
    max-width: 100%;
  }
  section[__component="product.pill-device-cta-v2"] .flex.flex-wrap.items-center.gap-3 a {
    width: 100%;
    max-width: 100%;
    display: block;
  }
  section[__component="product.pill-device-cta-v2"] .mui-hpfho5,
  section[__component="product.pill-device-cta-v2"] button.mui-hpfho5 {
    min-width: 100% !important;
    width: 100% !important;
    padding: 16px 28px !important;
    font-size: 17px !important;
    height: 56px !important;
    justify-content: center !important;
    min-height: 56px !important;
  }
  /* Phone: center it, reduce gap above */
  section[__component="product.pill-device-cta-v2"] .absolute.w-full.flex {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-top: 4px !important;
    width: 100% !important;
    max-width: 300px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
  }
  section[__component="product.pill-device-cta-v2"] .absolute.w-full.flex .MuiBox-root,
  section[__component="product.pill-device-cta-v2"] .absolute.w-full.flex img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

/* === Nav: hide "Learn AI skills" link until page exists (all pages) === */
a[href="#learn-ai"],
a[href*="learn-ai"],
.mui-1d9b0hw:has(a[href="#learn-ai"]),
.mui-1d9b0hw:has(a[href*="learn-ai"]) {
  display: none !important;
}

/* === Nav: hide Log in on all pages (desktop + mobile) === */
.mui-fy11xf .mui-15k05j0 {
  display: none !important;
}
.mobile-menu-nav a[href*="app.aibility.com/login"] {
  display: none !important;
}

/* === Footer: hide G2 reviews/references until we have any === */
footer .mui-16f0pz5 {
  display: none !important;
}

/* === Footer: hide top divider above link columns === */
footer .mui-1l1lj2r {
  border-top: none !important;
}

/* === Footer: hide links to non-existent pages === */
footer a.mui-8141xw[href="#"] {
  display: none !important;
}
footer a.mui-foocol[href="https://www.aibility.com/legal/"] {
  display: none !important;
}
footer a.mui-foocol[href="https://www.aibility.com/legal/whistleblower-policy/"] {
  display: none !important;
}

/* === Footer: hide Disclaimer link === */
footer a[href*="disclaimer" i],
footer a.mui-foocol[href*="disclaimer" i],
footer a.mui-8141xw[href*="disclaimer" i] {
  display: none !important;
}
