/* SlideCV mobile-only landing: short, clean, no footer overflow */
@media (max-width: 860px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background: #f8fbff !important;
  }

  body {
    padding-bottom: 96px !important;
  }

  body *,
  body *::before,
  body *::after {
    box-sizing: border-box !important;
    max-width: 100% !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .container {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .main-header {
    left: 14px !important;
    right: 14px !important;
    top: 14px !important;
    width: auto !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.95) !important;
    box-shadow: 0 16px 42px rgba(15,23,42,.10) !important;
    backdrop-filter: blur(18px) !important;
  }

  .hero-section {
    min-height: auto !important;
    padding: 108px 0 34px !important;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%) !important;
  }

  .hero-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    text-align: center !important;
  }

  .hero-title br,
  .hero-visual,
  .hero-visual-wrapper,
  .hero-preview,
  .resume-preview-wrapper,
  .floating-card,
  .floating-widget,
  .ats-score-floating,
  .template-floating-card,
  .side-tool-pill {
    display: none !important;
  }

  .ai-badge,
  .hero-badge,
  .eyebrow-badge {
    margin: 0 auto 14px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }

  .hero-title {
    max-width: 11ch !important;
    margin: 0 auto 14px !important;
    font-size: clamp(40px, 12vw, 54px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.055em !important;
  }

  .hero-subtext {
    max-width: 32ch !important;
    margin: 0 auto 18px !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: #334155 !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .hero-actions a,
  .hero-actions button,
  #hero-cta-build,
  #hero-cta-template {
    width: 100% !important;
    min-height: 52px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    font-weight: 850 !important;
  }

  .features-row,
  .hero-steps,
  .hero-mini-steps {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }

  .features-row > *,
  .hero-steps > *,
  .hero-mini-steps > * {
    min-height: 46px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.86) !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.05) !important;
  }

  .trust-section,
  .outcomes-section,
  .stats-section,
  .features-section,
  section:has(.stats-grid),
  section:has(.outcomes-grid) {
    display: none !important;
  }

  .templates-section,
  .pricing-section,
  .faq-section {
    padding: 44px 0 !important;
  }

  .section-title,
  .pricing-title,
  .faq-title,
  .templates-title,
  .showcase-title-main,
  .showcase-title,
  .templates-showcase-title {
    max-width: 12ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.055em !important;
    text-align: center !important;
  }

  .section-subtitle,
  .pricing-subtitle,
  .faq-subtitle,
  .templates-subtitle,
  .showcase-subtitle {
    max-width: 34ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    text-align: center !important;
  }

  .template-showcase-grid,
  .showcase-grid,
  .templates-showcase-grid,
  .templates-grid,
  .pricing-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .template-showcase-grid > *:nth-child(n+3),
  .showcase-grid > *:nth-child(n+3),
  .templates-showcase-grid > *:nth-child(n+3),
  .templates-grid > *:nth-child(n+3) {
    display: none !important;
  }

  .showcase-item,
  .template-card,
  .pricing-card,
  .faq-item {
    width: 100% !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 14px 34px rgba(15,23,42,.06) !important;
  }

  .showcase-image-box,
  .template-preview-box {
    min-height: 220px !important;
    padding: 16px !important;
    background: linear-gradient(180deg, #f8fafc, #eef4ff) !important;
  }

  .showcase-item-content,
  .template-card-content {
    padding: 18px !important;
  }

  .showcase-filter-tabs,
  .filter-tabs,
  .templates-tabs {
    display: flex !important;
    overflow-x: auto !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    scrollbar-width: none !important;
  }

  .showcase-filter-tabs::-webkit-scrollbar,
  .filter-tabs::-webkit-scrollbar,
  .templates-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .filter-tab,
  .template-filter-tab {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-height: 44px !important;
  }

  .pricing-card.popular {
    order: -1 !important;
    transform: none !important;
    background: linear-gradient(180deg, #0f172a, #172554) !important;
  }

  .pricing-card:nth-child(3) {
    display: none !important;
  }

  .pricing-card .btn {
    width: 100% !important;
    min-height: 50px !important;
    border-radius: 14px !important;
  }

  .faq-accordion-wrapper .faq-item:nth-child(n+3) {
    display: none !important;
  }

  .faq-trigger {
    min-height: 64px !important;
    padding: 18px 20px !important;
  }

  .faq-question {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .main-footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 34px 0 24px !important;
    margin-top: 0 !important;
  }

  .main-footer .container,
  .footer-top,
  .footer-brand-col,
  .footer-bottom {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .footer-top {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .footer-links-col,
  .footer-newsletter-col,
  .footer-social-icons {
    display: none !important;
  }

  .footer-brand-tagline {
    max-width: 22ch !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .footer-contact-card {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .footer-contact-pill {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-divider {
    margin: 26px 0 16px !important;
  }

  .footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    text-align: left !important;
  }

  .footer-copyright {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .footer-legal-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 16px !important;
    justify-content: flex-start !important;
  }

  .footer-legal-links a {
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .slidecv-mobile-sticky-cta {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 9998 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 44px 10px 12px !important;
    border-radius: 18px !important;
    background: rgba(15, 23, 42, .96) !important;
    color: #ffffff !important;
    box-shadow: 0 20px 52px rgba(15,23,42,.32) !important;
    backdrop-filter: blur(18px) !important;
    transition: transform .22s ease, opacity .22s ease !important;
  }

  .slidecv-mobile-sticky-cta.is-hiding {
    opacity: 0 !important;
    transform: translateY(18px) !important;
  }

  .slidecv-mobile-sticky-copy strong {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .slidecv-mobile-sticky-copy span {
    display: none !important;
  }

  .slidecv-mobile-sticky-action {
    width: auto !important;
    min-width: 116px !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: #2563eb !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 850 !important;
  }

  .slidecv-mobile-sticky-close {
    position: absolute !important;
    top: 9px !important;
    right: 9px !important;
    width: 26px !important;
    height: 26px !important;
    border: 1px solid rgba(255,255,255,.24) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    display: grid !important;
    place-items: center !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(.9) !important;
    transition: opacity .2s ease, transform .2s ease !important;
  }

  .slidecv-mobile-sticky-cta.can-close .slidecv-mobile-sticky-close {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 38px !important;
  }

  .section-title,
  .pricing-title,
  .faq-title,
  .templates-title,
  .showcase-title-main,
  .showcase-title,
  .templates-showcase-title {
    font-size: 34px !important;
  }
}
