/* Site overrides — plain CSS (no Tailwind compiler required) */

/* ------------------------------------------------------------------ */
/* Mobile trade page padding                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 767.98px) {
  section.hero.trade-page-hero .container,
  section.trade-why-section .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  section.hero.trade-page-hero .hero-centered-stack {
    padding-left: 0;
    padding-right: 0;
  }

  section.hero.trade-page-hero .quote-form-footer-note {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-top: 0.875rem;
  }

  section.hero.trade-page-hero .hero-trust-badges {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-top: 1rem;
  }

  section.hero.trade-page-hero .trade-hero-breadcrumb {
    padding-bottom: 1.5rem;
  }

  section.trade-why-section {
    padding-top: 0.5rem;
  }

  section.trade-why-section .section-tagline,
  section.trade-why-section h2,
  section.trade-why-section .trade-page-why-list {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ------------------------------------------------------------------ */
/* Mobile navigation menu                                             */
/* ------------------------------------------------------------------ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 111111;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0 !important;
  padding-inline: 0 !important;
  border-radius: 0;
  background: var(--color-primary, #b1e346);
  box-shadow: none;
  backdrop-filter: none;
  translate: none;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
  overflow-y: auto;
}

.mobile-menu.open {
  translate: none;
  transform: translateX(0);
}

.dark .mobile-menu {
  background: var(--color-primary, #b1e346);
}

.mobile-menu__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 1.25rem 0 1.75rem;
  box-sizing: border-box;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-bottom: 2rem;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.mobile-menu__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mobile-menu__logo img {
  display: block;
  height: 44px;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.dark .mobile-menu__logo img {
  mix-blend-mode: lighten;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-paragraph, #18181b);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-menu__close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu__link {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: none;
  border-radius: 0;
  color: var(--color-paragraph, #18181b);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.15s ease;
}

.mobile-menu__link:last-child {
  border-bottom: none;
}

.mobile-menu__link:hover {
  opacity: 0.72;
}

.mobile-menu__link--active {
  font-weight: 600;
}

.mobile-menu__footer {
  margin-top: auto;
  padding: 2rem 1.25rem 0;
  box-sizing: border-box;
}

.mobile-menu__cta {
  display: block;
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 9999px;
  background: #fff;
  color: var(--color-paragraph, #18181b);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mobile-menu__cta:hover {
  background: rgba(255, 255, 255, 0.92);
}

.mobile-menu__tagline {
  margin: 0 0 1rem;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.55);
  text-align: left;
}

/* Hamburger button — subtle polish on mobile */
@media (max-width: 1023.98px) {
  .mobile-menu-button {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  .dark .mobile-menu-button {
    border-color: rgba(255, 255, 255, 0.08);
  }
}
