.mobile-menu-toggle,
.mobile-menu-panel,
.mobile-menu-backdrop{display:none}

.mobile-guides-more{display:none}

@media (max-width:850px){
  /* ===== Mobile header/navigation ===== */
  header .container.nav,
  header .container > nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
  }

  /* Hide the old desktop navigation on phones. */
  header .nav-links,
  header .links{
    display:none !important;
  }

  .mobile-menu-toggle{
    display:inline-flex;
    width:44px;
    height:44px;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(12,113,104,.16);
    border-radius:12px;
    background:#fff;
    color:#183b39;
    cursor:pointer;
    padding:0;
    flex:0 0 44px;
    box-shadow:0 2px 10px rgba(18,54,52,.05);
  }

  .mobile-menu-icon{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:4px;
    width:22px;
    height:22px;
  }

  .mobile-menu-icon span{
    display:block;
    width:22px;
    height:2px;
    border-radius:999px;
    background:currentColor;
  }

  .mobile-menu-panel{
    display:block;
    position:fixed;
    top:0;
    right:0;
    width:min(86vw,360px);
    height:100dvh;
    z-index:10001;
    background:#fff;
    padding:20px 18px 28px;
    box-shadow:-14px 0 40px rgba(18,54,52,.15);
    transform:translateX(105%);
    transition:transform .22s ease;
    overflow-y:auto;
  }

  .mobile-menu-panel.is-open{transform:translateX(0)}

  .mobile-menu-backdrop{
    display:block;
    position:fixed;
    inset:0;
    z-index:10000;
    background:rgba(16,31,31,.34);
    opacity:0;
    pointer-events:none;
    transition:opacity .22s ease;
  }

  .mobile-menu-backdrop.is-open{
    opacity:1;
    pointer-events:auto;
  }

  .mobile-menu-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:2px 2px 18px;
    border-bottom:1px solid rgba(12,113,104,.12);
  }

  .mobile-menu-title{
    font-weight:800;
    font-size:18px;
    color:#183b39;
  }

  .mobile-menu-close{
    width:40px;
    height:40px;
    border:0;
    border-radius:10px;
    background:#f2f7f6;
    font-size:28px;
    line-height:1;
    color:#345a57;
    cursor:pointer;
  }

  .mobile-menu-links{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:16px 0 0;
  }

  .mobile-menu-links a{
    display:flex;
    align-items:center;
    min-height:50px;
    padding:10px 12px;
    border-radius:12px;
    color:#203c3a;
    text-decoration:none;
    font-size:16px;
    font-weight:650;
  }

  .mobile-menu-links a:hover,
  .mobile-menu-links a:focus{
    background:#f2f8f6;
    color:#0c7168;
  }

  .mobile-menu-links a.mobile-primary{
    justify-content:center;
    margin-top:10px;
    background:#0c7168;
    color:#fff;
    font-weight:750;
  }

  body.mobile-menu-open{overflow:hidden}

  /* ===== Homepage mobile trim =====
     Desktop rendering is intentionally untouched. */
  body.home-page section{padding-top:44px;padding-bottom:44px}
  body.home-page .hero{padding-top:38px;padding-bottom:42px}
  body.home-page .head{margin-bottom:20px}
  body.home-page .head .lead{font-size:16px}

  /* Hero plan: keep the four-step logic but remove secondary copy. */
  body.home-page .hero-plan{padding:20px}
  body.home-page .hero-plan > p:first-of-type{display:none}
  body.home-page .hero-plan .plan-step{padding:10px 0}
  body.home-page .hero-plan .plan-step small{display:none}
  body.home-page .hero-plan .plan-step br{display:none}
  body.home-page .hero-plan > p:last-of-type{margin-bottom:0}

  /* Six pain points become compact 2-column labels. */
  body.home-page .mobile-compact-pains .grid3{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  body.home-page .mobile-compact-pains .card{padding:14px 13px}
  body.home-page .mobile-compact-pains .card h3{
    font-size:16px;
    margin:0;
  }
  body.home-page .mobile-compact-pains .card p{display:none}

  /* Pricing remains three clear choices, but trims duplicate bullet detail. */
  body.home-page .mobile-compact-pricing .pricing-grid{gap:14px}
  body.home-page .mobile-compact-pricing .price-card{padding:18px}
  body.home-page .mobile-compact-pricing .price-card:not(.featured) .feature-list{
    display:none;
  }
  body.home-page .mobile-compact-pricing .featured .feature-list li:nth-child(n+4){
    display:none;
  }
  body.home-page .mobile-compact-pricing .price{font-size:28px}

  /* Service area cards are already concise; only tighten spacing. */
  body.home-page .mobile-compact-area .card{padding:16px}
  body.home-page .mobile-compact-area .legal{margin-top:12px}

  /* Trust: keep all six promises, move the explanations to About. */
  body.home-page .mobile-compact-trust .grid3{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  body.home-page .mobile-compact-trust .card{padding:14px 13px}
  body.home-page .mobile-compact-trust .card h3{
    margin:0;
    font-size:15px;
    line-height:1.35;
  }
  body.home-page .mobile-compact-trust .card p{display:none}
  body.home-page .mobile-compact-trust > .container > .legal{margin-top:14px}

  /* Homepage shows two featured guides; full library stays one tap away. */
  body.home-page .mobile-compact-guides .grid4{
    grid-template-columns:1fr;
    gap:10px;
  }
  body.home-page .mobile-compact-guides .guide-card{padding:16px}
  body.home-page .mobile-compact-guides .guide-card:nth-child(n+3){display:none}
  body.home-page .mobile-guides-more{
    display:block;
    margin:14px 0 0;
  }

  /* Two top FAQs are enough on home; full FAQ remains linked. */
  body.home-page .mobile-compact-faq details:nth-of-type(n+3){display:none}
  body.home-page .mobile-compact-faq details{padding:12px 0}

  body.home-page .final-cta{padding-top:42px;padding-bottom:42px}
}

@media (max-width:420px){
  body.home-page .mobile-compact-pains .card,
  body.home-page .mobile-compact-trust .card{
    min-width:0;
  }
}

@media (min-width:851px){
  .mobile-menu-toggle,
  .mobile-menu-panel,
  .mobile-menu-backdrop{
    display:none !important;
  }
}