/* Shared shell and responsive corrections, loaded after the legacy theme. */
.site-footer { padding-bottom: 0; }
.footer-signature-wrap { margin-top: 40px; padding: 18px clamp(16px, 2.4vw, 56px) 38px; background: linear-gradient(110deg, #e9eaff, #f5f4f8 50%, #fce8f5); }
.footer-signature { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 23px 34px; min-height: 94px; border: 2px solid #d6d0e8; border-radius: 28px; background: #ffffffed; color: #4b4b48; }
.footer-signature-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.site-footer .signature-badge { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 6px 14px 6px 9px; border: 2px solid #e6e5e1; border-radius: 999px; background: #fff; box-shadow: 0 5px 15px #29213f06; color: #4b4b48; text-decoration: none; font-size: 19px; font-weight: 700; line-height: 1.2; }
.signature-badge svg { width: 30px; height: 30px; flex-shrink: 0; }
.site-footer a.signature-badge:hover { color: #1877f2; border-color: #1877f2; }
.signature-credit { margin: 0; font-size: 21px; line-height: 1.5; color: #4b4b48; }
.signature-credit strong { color: #3263eb; font-weight: 700; }
.signature-heart { color: #ee4653; display: inline-block; padding: 0 3px; }
.footer-copyright { display: flex; align-items: flex-start; gap: 28px; margin-top: 24px; }
.footer-copyright-mark { display: flex; align-items: center; justify-content: center; flex: 0 0 54px; height: 54px; border: 2px solid #d6d0e8; border-radius: 16px; background: #f7f5ff; color: #795bff; }
.footer-copyright p { margin: 2px 0 0; color: #73736e; font-size: 20px; font-weight: 500; line-height: 1.55; }
@media (max-width: 600px) {
  .footer-copyright { gap: 14px; margin-top: 20px; }
  .footer-copyright-mark { flex-basis: 40px; height: 40px; border-radius: 12px; }
  .footer-copyright p { font-size: 14px; }
}
@media (max-width: 1200px) {
  .footer-signature { justify-content: center; text-align: center; }
  .footer-signature-socials { justify-content: center; }
}
@media (max-width: 600px) {
  .footer-signature { padding: 20px 14px; border-radius: 22px; gap: 18px; }
  .site-footer .signature-badge { font-size: 14px; gap: 6px; padding-right: 10px; }
  .signature-badge svg { width: 24px; height: 24px; }
  .signature-credit { font-size: 16px; }
}
body { overflow-wrap: anywhere; }
img { max-width: 100%; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #a76600; outline-offset: 4px; }
.site-header { background: #fff9f0; border-bottom: 1px solid #e6deef; position: relative; z-index: 20; }
.site-header-inner { max-width: 1200px; margin: auto; padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-brand { display: block; flex-shrink: 0; }
.site-brand img { display: block; width: 160px; height: 64px; object-fit: contain; }
.desktop-navigation { display: flex; align-items: center; gap: 24px; }
.site-header nav a { color: #2f1b5f; font-weight: 700; text-decoration: none; padding: 12px 0; }
.site-header nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.site-header nav .nav-shop { background: #f5a623; color: #171321; padding: 12px 22px; border-radius: 8px; }
.mobile-navigation { display: none; }
.site-footer .footer-container { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr 1fr; gap: 28px; padding: 0 20px; }
.site-footer .footer-col { min-width: 0; max-width: none; width: auto; margin: 0; }
.site-footer .footer-apps { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .footer-apps a { margin: 0; }
.site-footer .footer-apps img { width: 140px; height: 42px; object-fit: contain; }
.hero-section { height: auto; min-height: 0; padding: 56px 0 110px; }
.hero-section .hero-container { height: auto; align-items: center; }
.hero-section .hero-details { min-width: 0; gap: 20px; padding: 0; }
.hero-section .hero-details h1 { margin: 0; font-size: clamp(2.25rem, 4.5vw, 3.4rem); }
.hero-section .hero-details p { margin: 0; line-height: 1.65; }
.hero-section .hero-image { min-width: 0; height: auto; align-self: center; }
.hero-section .hero-image img { position: static; transform: none; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.hero-section .hero-btn { position: static; align-self: flex-start; white-space: nowrap; }
.hero-section .hero-container { flex-wrap: wrap; }
.hero-section .hero-details, .hero-section .hero-image { flex: 1 1 40%; }
.hero-section .hero-btn { margin-left: 0; }
.driver-partner-page .driver-partner-hero-image img { width: 100%; height: auto; border-radius: 14px; }
.driver-download { display: grid; justify-items: start; gap: 8px; }
.driver-download small { color: #675d72; font-weight: 600; }
.play-store-link { display: inline-flex; border-radius: 10px; }
.play-store-link img { display: block; width: auto; max-height: 63px; object-fit: contain; }
.referral-banner { padding: 24px 20px; background: linear-gradient(120deg, #2f1b5f, #6a35a7); color: #fff; }
.referral-banner[hidden] { display: none; }
.referral-banner__inner { max-width: 780px; margin: auto; text-align: center; }
.referral-banner .brand-kicker { margin: 0 0 6px; color: #ffd789; }
.referral-banner h2 { margin: 0; font-size: clamp(1.55rem, 4vw, 2.35rem); }
.referral-banner h2 strong { display: inline-block; margin-left: 6px; padding: 5px 12px; border: 2px dashed #ffd789; border-radius: 10px; color: #ffd789; font-family: monospace; letter-spacing: .12em; }
.referral-banner p { margin: 12px auto; max-width: 600px; }
.copy-code-button { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 9px; background: #f5a623; color: #171321; font: inherit; font-weight: 800; cursor: pointer; }
.copy-code-status { display: inline-block; min-width: 62px; margin-left: 10px; color: #ffd789; font-weight: 700; }
.legal-card, .legal-content, .legal-wrap, .partner-faq-left, .partner-faq-accordion { min-width: 0; }
.legal-card pre { overflow-x: auto; }
@media (max-width: 1000px) {
  .site-footer .footer-container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .desktop-navigation { display: none; }
  .mobile-navigation { display: block; }
  .mobile-navigation summary { cursor: pointer; padding: 12px 16px; border: 1px solid #4b2e83; border-radius: 8px; color: #2f1b5f; font-weight: 700; }
  .mobile-navigation nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; padding: 16px 24px; background: #fff9f0; border-bottom: 1px solid #e6deef; box-shadow: 0 12px 18px #21163615; }
  .hero-section { padding: 36px 20px 50px; }
  .hero-section .hero-container { padding: 0; gap: 28px; }
  .hero-section .hero-details, .hero-section .hero-image { flex: auto; width: 100%; }
  .hero-section .hero-details h1 { margin: 0; }
  .hero-section .hero-image { margin: 0; }
  .hero-section .hero-image img { max-width: 540px; margin: auto; }
  .hero-section .hero-btn { align-self: center; }
  .driver-download { justify-items: center; }
  .hero-section .hero-legal-links, .hero-section .store-buttons { justify-content: center; flex-wrap: wrap; }
  .usp-section { margin-top: 0; }
  .legal-toc { position: static; }
}
@media (max-width: 600px) {
  .site-brand img { width: 132px; height: 54px; }
  .site-footer .footer-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .hero-section .hero-details p { margin: 0; font-weight: 400; line-height: 1.65; }
  .hero-section .hero-image img { width: 100%; height: auto; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-card { padding: 20px 16px; }
  .partner-faq-actions, .usp-cta-form { flex-wrap: wrap; }
  .usp-cta-form .phone-input { min-width: 0; max-width: 100%; }
  .driver-offer-card { min-width: 0; padding: 22px; }
}
@media (max-width: 359px) {
  .site-footer .footer-container { grid-template-columns: minmax(0, 1fr); }
}
