.hero-scene img {
  max-width: 100%;
}
.stat-val img {
  width: 80px;
}
.logo-pill img {
  max-height: 90px;
}
.logo-pill img {
  max-height: 69px;
  max-width: 138px;
}
.logos-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}
.logo-pill {
  padding: 10px 0;
  border: none;
  border-radius: 19px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  width: 16%;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #fff; */
}
.ph-img {
  width: 30%;
}
.ph-img img {
  max-width: 100%;
}
.phocus-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 75px;
  flex-wrap: wrap;
}
.ph-img img {
  max-width: 100%;
  border-radius: 12px;
  border: 4px solid #fff;
}
.meet-team-bt {
  margin-top: 20px;
}
.trust-item img {
  max-height: 126px;
}
.trust-strip {
  background: rgba(255, 255, 255, 0.03);
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
  padding: 18px 40px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  background: #0e1d4a;
  margin-top: -5px;
  position: relative;
}
.mf-certs {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.mf-certs img {
  height: 70px;
}
.p-logo-area img {
  max-height: 41px;
  max-width: 226px;
}
/* .amex-style img{

    height: 281px;
} */
.amex-style div img {
  height: 211px;
}
.amex-style div img:nth-child(2) {
  height: 250px;
}

.amex-style div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.cp-sidebar-card {
  padding: 0;
}
.cp-sidebar-card img {
  max-width: 100%;
}
.mm-card-visual {
  padding: 0;
}
.mm-card-visual img {
  width: 100%;
}
.mm-benefit-ic img {
  width: 100%;
}

.mm-benefit-ic {
  width: auto;
  height: auto;
}
.mm-benefits-grid {
  display: flex;
  gap: 8px;
}
.mm-benefit {
  width: 25%;
  height: auto;
}
.stat-label {
  color: #fff;
  font-size: 15px;
}
.team-card {
  background: white;
  border: 0.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}
.team-av {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}
.scroll-features,
.section,
.stats-band,
.money-section,
.ai-section,
.testimonials,
.home-cta,
.logos-section {
  padding: 50px;
}
.hero {
  padding: 40px 40px 0 40px;
}
.display-md {
  font-size: 52px;
}
.sf-item p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.55;
}
.desig {
  display: flex;
  flex-direction: column;
}
.team-card-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}
.desig .team-name {
  font-size: 43px;
}
.team-card-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  /* border: 1px solid #ccc; */
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
  background: var(--off-white);
  border: 0.5px solid var(--gray-100);
  border-radius: var(--radius-xl);
}
.caric .team-av {
  width: 100px;
  height: 100px;
  margin-bottom: 0;
}
.caric .team-av img {
  width: 100%;
}
.desig .team-role,
.desig .team-av {
  margin-bottom: 0;
}

.fintech-co-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 96px 0 0;
}
@media (max-width: 1600px) {
  .amex-style div img {
    height: 211px;
  }
  .mm-benefit {
    width: 25%;
    height: 347px;
  }
  .amex-style div img:nth-child(2) {
    height: 250px;
  }
  .stat-val img {
    width: 63px;
  }
  .logo-pill img {
    max-height: 74px;
    max-width: 112px;
  }
  .trust-item img {
    max-height: 94px;
  }
}

/* CHATGPT MOBILE FIXES */
@media (max-width: 768px) {
  .mm-feat-wrap,
  .feature-layout,
  .features-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
  }
  .mm-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #eee;
  }
  .mm-panel {
    padding: 16px !important;
  }
  .mm-feat-grid {
    grid-template-columns: 1fr !important;
  }
  .mm-card-tabs {
    grid-template-columns: 1fr 1fr !important;
  }
  .nav-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 8px;
    margin-top: 12px;
  }
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary {
    width: 100%;
  }
  .stats-grid,
  .investor-grid {
    grid-template-columns: 1fr !important;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .ph-img {
    width: 100%;
  }
  .logo-pill img {
    max-width: 120px !important;
    height: auto !important;
  }
}

/* FINAL MOBILE TRUST STRIP FIX */
@media (max-width: 768px) {
  .trust-strip {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 32px !important;
    flex-wrap: wrap;
  }
  .trust-item {
    width: 40% !important;
    flex: unset;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
  }
  .trust-item img {
    max-width: 120px !important;
    height: auto !important;
  }
}

/* FINAL MOBILE FIX - NUMBERS SECTION */
@media (max-width: 768px) {
  #ms-panel-0,
  #ms-panel-1,
  #ms-panel-2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    align-items: stretch !important;
  }
  #ms-panel-0 > div,
  #ms-panel-1 > div,
  #ms-panel-2 > div {
    width: 100% !important;
    max-width: 100% !important;
  }
  .money-section .display-lg {
    font-size: 42px !important;
    line-height: 1.05 !important;
  }
  .money-section {
    overflow: hidden !important;
  }

  .mf-main {
    grid-template-columns: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
  .mf-main > div > div:first-child {
    display: flex;
    align-items: center !important;
    gap: 8px;
    justify-content: center !important;
    padding: 0;
  }
  .mf-certs img {
    height: 40px;
  }
  .mf-socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    align-items: center;
    justify-content: center;
  }
  .mf-bottom-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
  }
  .mf-copy {
    margin-bottom: 12px;
    text-align: center;
  }
  .mf-legal-links {
    padding-bottom: 12px;
  }
  .mf-currencies {
    text-align: center;
  }
  .display-md {
    font-size: 40px;
  }
  .fintech-co-wrapper {
    width: 100%;
  }

  .mm-benefit {
        width: 48%;
        height: auto;
  }
  .mm-benefits-grid {
    display: flex;
  }
  .r-grid-2[style*="max-width: 700px"] {
    max-width: 100% !important;
  }
  .r-grid-2,
  .r-grid-3,
  .r-grid-4,
  .r-grid-5 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}
@media (max-width: 430px) {
  .money-section .display-lg {
    font-size: 34px !important;
    line-height: 1.05 !important;
  }
}

/* ─── RESPONSIVE OVERRIDES FOR INVESTOR PAGE ─── */

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

/* ── TABLET  (≤ 900px) ── */
@media (max-width: 900px) {
  /* Hero section: stack left content + metric cards vertically */
  #page-investors > section:first-child > .fintech-co-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
    padding-top: 48px !important;
    padding-bottom: 0 !important;
  }

  /* Opportunity section: 1-col */
  #page-investors section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Revenue model section: 1-col */
  #page-investors
    section
    [style*="grid-template-columns: 1fr 1fr"][style*="align-items: start"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* "Why now" 4-col → 2-col */
  #page-investors section [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Traction section: 3-col traction cards → 2-col */
  #page-investors section [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Milestone timeline: 5-col → 3-col */
  #page-investors section [style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }

  /* Founder / Team section: 1-col */
  #page-investors
    section
    [style*="grid-template-columns: 1fr 1fr"][style*="align-items: center"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* IR CTA footer: stack buttons below text */
  #page-investors section [style*="grid-template-columns: 1fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Comp table: reduce column widths */
  #page-investors
    section
    [style*="grid-template-columns: 2fr 1fr 1fr 1fr 1fr"] {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr !important;
    font-size: 11px !important;
  }

  /* Hero backed-by bar: wrap */
  #page-investors section > div[style*="display: flex"][style*="gap: 48px"] {
    gap: 20px !important;
    flex-wrap: wrap !important;
  }
}

/* ── MOBILE  (≤ 600px) ── */
@media (max-width: 600px) {
  /* Global section padding */
  #page-investors > section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  #page-investors > section[style*="padding: 96px 40px"],
  #page-investors > section[style*="padding: 80px 40px"] {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  /* Hero metric cards: force 1-col */
  #page-investors
    > section:first-child
    [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero buttons: stack */
  #page-investors
    > section:first-child
    [style*="display: flex"][style*="gap: 12px"][style*="flex-wrap: wrap"] {
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* 4-col → 1-col on mobile */
  #page-investors section [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* 3-col → 1-col on mobile */
  #page-investors section [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* 2-col → 1-col on mobile */
  #page-investors section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Milestone timeline: 5-col → 2-col on mobile (with a straggler handled by grid-auto) */
  #page-investors section [style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  /* Hide the horizontal connector line on mobile */
  #page-investors
    section
    [style*="position: absolute"][style*="top: 16px"][style*="height: 0.5px"] {
    display: none !important;
  }

  /* Comp table: make scrollable on mobile */
  #page-investors
    section
    > div
    > div[style*="border: 0.5px solid var(--gray-100)"][style*="border-radius"] {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  #page-investors
    section
    [style*="grid-template-columns: 2fr 1fr 1fr 1fr 1fr"] {
    min-width: 480px !important;
  }

  /* IR CTA contact row: stack email/phone */
  #page-investors
    section
    [style*="margin-top: 16px"][style*="font-size: 13px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  #page-investors
    section
    [style*="margin-top: 16px"][style*="font-size: 13px"]
    span[style*="margin-left: 20px"] {
    margin-left: 0 !important;
  }

  /* CTA buttons column */
  #page-investors
    section
    [style*="display: flex; flex-direction: column"][style*="flex-shrink: 0"] {
    width: 100% !important;
  }

  /* Problem-in-numbers rows: keep flex but shrink text */
  #page-investors section [style*="justify-content: space-between"] span {
    font-size: 12px !important;
  }

  /* Revenue flow diagram: full width */
  #page-investors
    section
    [style*="background: var(--teal-deep)"][style*="border-radius: var(--radius-xl)"] {
    width: 100% !important;
  }

  /* Backed-by bar */
  #page-investors section > div[style*="gap: 48px"] {
    gap: 12px !important;
    flex-wrap: wrap !important;
    padding-left: 0 !important;
  }

  /* Hero heading letter-spacing tweak */
  #page-investors > section:first-child h1 {
    letter-spacing: -1px !important;
  }

  /* Disclaimer padding */
  #page-investors > section:last-child {
    padding: 28px 20px !important;
  }
}


/* ── PARTNERS GRID SECTION ── */
.partners-grid-section {
  padding: 64px 40px;
}

.partners-grid-section .r-grid-2 {
  max-width: 860px;
}

@media (max-width: 768px) {
  .partners-grid-section {
    padding: 48px 20px;
  }

  .partners-grid-section .r-grid-2 {
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .brief-bt{
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .partners-grid-section {
    padding: 40px 16px;
  }
}