/* Final landing-page responsive overrides.
   Loaded last so mobile fixes win over older reinvention layers. */

html {
  scroll-padding-top: 96px;
}

.mcube-landing-body .mcube-hero,
.mcube-social-proof,
.mcube-how-it-works,
.mcube-why-section,
.mcube-footer {
  overflow-x: hidden;
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 84px;
  }

  .mcube-landing-body .mcube-nav-main .container,
  .mcube-landing-body .mcube-topbar .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mcube-landing-body .mcube-nav-inner {
    min-height: 56px;
    gap: 10px;
  }

  .mcube-landing-body .mcube-nav-logo img {
    height: 32px;
    max-width: min(44vw, 148px);
  }

  .mcube-landing-body .mcube-nav-actions {
    gap: 8px;
  }

  .mcube-landing-body .mcube-nav-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .mcube-landing-body .mcube-nav-btn-primary {
    white-space: nowrap;
  }

  .mcube-mobile-drawer {
    width: min(88vw, 340px);
    max-width: 340px;
  }

  .mcube-drawer-body {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .mcube-drawer-nav .menu-outer ul ul {
    list-style: none;
    margin: 0 0 8px 12px;
    padding: 0 0 0 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mcube-drawer-nav .menu-outer ul ul li a {
    font-size: 14px;
    padding: 10px 0;
  }

  [data-theme="light"] .mcube-drawer-nav .menu-outer ul ul {
    border-left-color: #E5E7EB;
  }
}

@media (max-width: 767px) {
  .mcube-landing-body .mcube-nav-main .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mcube-landing-body .mcube-nav-btn-primary {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }

  .mcube-landing-body .mcube-profile-trigger {
    padding-right: 10px;
  }

  .mcube-landing-body .mcube-hero {
    min-height: auto;
    align-items: flex-start;
    padding: 88px 16px 48px !important;
  }

  .mcube-hero-bg {
    opacity: 0.92;
  }

  .mcube-hero-orb--gold {
    width: 300px;
    height: 300px;
    top: -8%;
    right: -18%;
  }

  .mcube-hero-orb--teal {
    width: 240px;
    height: 240px;
    bottom: -6%;
    left: -14%;
  }

  .mcube-hero-route {
    opacity: 0.75;
  }

  .mcube-hero-container {
    gap: 28px !important;
  }

  .mcube-hero-content,
  .mcube-hero-calc-col,
  .mcube-calculator,
  .mcube-calculator--premium {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .mcube-hero-eyebrow {
    flex-wrap: wrap;
    row-gap: 6px;
    font-size: 11px;
    padding: 8px 12px;
    margin-bottom: 16px;
  }

  .mcube-hero-content h1,
  .mcube-hero .mcube-hero-content h1 {
    font-size: clamp(32px, 9vw, 42px) !important;
    line-height: 1.08;
  }

  .mcube-hero-sub,
  .mcube-hero .mcube-hero-content p {
    max-width: none;
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 22px !important;
  }

  .mcube-hero-stats {
    gap: 8px;
    margin-bottom: 22px;
  }

  .mcube-hero-stat {
    width: 100%;
    justify-content: center;
  }

  .mcube-trust-strip {
    gap: 10px !important;
  }

  .mcube-trust-strip--nowrap {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .mcube-trust-strip--nowrap .mcube-trust-item {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
  }

  .mcube-trust-strip--nowrap .mcube-trust-item span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .mcube-app-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  .mcube-app-btn {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
    padding: 14px 18px;
  }

  .mcube-app-btn-icon {
    width: 3rem;
    height: 3rem;
  }

  .mcube-app-btn-icon i {
    font-size: 1.7rem;
  }

  .mcube-app-btn--apple .mcube-app-btn-icon i {
    font-size: 2.2rem;
  }

  .mcube-app-btn-name {
    font-size: 1.1rem;
  }

  .mcube-hero-actions {
    margin-top: 20px;
  }

  .mcube-calculator--premium {
    border-radius: 18px !important;
  }

  .mcube-calculator-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 18px 14px;
  }

  .mcube-calculator-live {
    align-self: flex-start;
  }

  .mcube-calculator-rate-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 18px;
    text-align: left;
  }

  .mcube-calculator-rate-bar .mcube-calculator-rate {
    font-size: clamp(18px, 7vw, 22px) !important;
  }

  .mcube-calculator-body {
    padding: 18px !important;
  }

  .mcube-input-group {
    margin-bottom: 16px;
  }

  .mcube-input-group label {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .mcube-input-wrapper {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .mcube-input-wrapper input {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    font-size: 20px !important;
  }

  .mcube-currency-btn {
    width: 100%;
    justify-content: space-between;
    border-left: none !important;
    border-top: 1px solid #E5E7EB !important;
    padding: 12px 16px;
  }

  .mcube-fee-strip {
    padding: 12px 14px;
  }

  .mcube-fee-row {
    gap: 12px;
    align-items: flex-start;
  }

  .mcube-fee-label,
  .mcube-fee-value {
    font-size: 12px;
  }

  .mcube-btn-full {
    width: 100%;
  }

  .mcube-calculator-trust {
    justify-content: flex-start;
    text-align: left;
  }

  .mcube-calculator-partners {
    justify-content: flex-start;
  }

  .mcube-how-it-works {
    padding: 72px 16px;
  }

  .mcube-hiw-header,
  .mcube-sp-header,
  .mcube-why-header {
    margin-bottom: 32px;
  }

  .mcube-hiw-panel {
    padding: 24px 16px;
    border-radius: 22px;
    margin-bottom: 36px;
  }

  .mcube-hiw-showcase {
    gap: 28px;
  }

  .mcube-phone-mockup {
    width: min(100%, 220px);
  }

  .mcube-hiw-step {
    padding: 16px 14px;
  }

  .mcube-hiw-step-body h3,
  .mcube-editorial-card h3 {
    font-size: 20px;
  }

  .mcube-hiw-step-body p,
  .mcube-editorial-card p,
  .mcube-sp-card-text {
    font-size: 14px;
    line-height: 1.65;
  }

  .mcube-social-proof {
    padding: 72px 16px 0 !important;
  }

  .mcube-testimonials-grid {
    gap: 16px;
    margin-bottom: 32px;
  }

  .mcube-sp-card {
    padding: 20px;
    border-radius: 18px;
  }

  .mcube-why-section {
    padding: 72px 16px 84px !important;
  }

  .mcube-editorial-grid {
    gap: 16px;
  }

  .mcube-editorial-card,
  .mcube-card-detail {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .mcube-detail-content h4 {
    padding-right: 32px;
    font-size: 18px;
  }

  .mcube-hiw-title,
  .mcube-sp-title,
  .mcube-why-title,
  .mcube-section-title {
    font-size: clamp(26px, 8vw, 34px) !important;
  }

  .mcube-hiw-subtitle,
  .mcube-sp-subtitle,
  .mcube-why-subtitle,
  .mcube-section-subtitle {
    max-width: none;
    font-size: 15px !important;
  }

  .mcube-footer {
    padding: 48px 0 28px;
  }

  .mcube-footer-grid {
    gap: 28px;
    margin-bottom: 28px;
  }

  .mcube-footer-divider {
    margin: 28px 0;
  }

  .mcube-footer-fca {
    padding: 14px 16px;
  }

  .mcube-footer-fca-text {
    font-size: 12px;
  }

  .mcube-footer-social {
    gap: 12px;
  }

  .mcube-chat-bubble {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }

  .mcube-chat-bubble i {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  html {
    scroll-padding-top: 78px;
  }

  .mcube-landing-body .mcube-nav-logo img {
    max-width: min(42vw, 132px);
  }

  .mcube-landing-body .mcube-nav-btn-primary {
    padding: 8px 10px !important;
    font-size: 11px !important;
  }

  .mcube-hero {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .mcube-hero-content h1,
  .mcube-hero .mcube-hero-content h1 {
    font-size: clamp(29px, 10vw, 36px) !important;
  }

  .mcube-hero-eyebrow-dot {
    display: none;
  }

  .mcube-hero-stat {
    justify-content: flex-start;
    padding: 8px 12px;
  }

  .mcube-app-btn {
    gap: 12px;
    padding: 13px 15px;
  }

  .mcube-app-btn-name {
    font-size: 1rem;
  }

  .mcube-calculator-top,
  .mcube-calculator-rate-bar,
  .mcube-calculator-body,
  .mcube-how-it-works,
  .mcube-social-proof,
  .mcube-why-section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .mcube-calculator-top h3 {
    font-size: 17px !important;
  }

  .mcube-input-wrapper input {
    font-size: 18px !important;
  }

  .mcube-delivery-tab {
    gap: 10px !important;
  }

  .mcube-phone-mockup {
    width: 204px;
    height: 408px;
  }

  .mcube-footer-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mcube-chat-bubble {
    width: 48px;
    height: 48px;
  }
}
