/* Mobile-first correction layer. Loaded last on purpose. */
@media(max-width:820px){
  .container{width:min(100% - 32px,1180px)}
  .nav{height:66px}.nav nav{top:65px;left:16px;right:16px}
  .section{padding:64px 0}
  .section-head{margin-bottom:30px}
  .lead-shell{padding:28px}
}

@media(max-width:680px){
  html{scroll-padding-top:74px}
  body{font-size:15px;line-height:1.55;padding-bottom:74px}
  body.menu-open{overflow:hidden}
  .container{width:calc(100% - 32px)}
  .section{padding:54px 0}
  .header{backdrop-filter:blur(12px)}
  .nav{height:62px;gap:12px}
  .header .brand{gap:7px}.header .brand span{font-size:24px}.header .brand b{font-size:18px}
  .burger{width:44px;height:44px;padding:9px;border-radius:12px}
  .nav nav{position:fixed;top:62px;left:10px;right:10px;max-height:calc(100dvh - 76px);overflow:auto;padding:8px;border-radius:15px;background:rgba(10,15,23,.98)}
  .nav.open nav{display:grid;gap:2px}
  .nav nav a{display:flex;align-items:center;min-height:48px;padding:10px 12px;border-radius:9px;color:#eef2f7;font-size:15px;font-weight:700}
  .nav nav a:active{background:#151e2a}

  .hero{padding:44px 0 58px}
  .hero-grid{gap:34px}
  .eyebrow,.kicker{font-size:11px;letter-spacing:1.15px}
  .hero h1{margin:14px 0 18px;font-size:clamp(38px,12vw,47px);line-height:1.02;letter-spacing:-2px}
  .hero h1 em{margin-top:9px}
  .hero-copy>p{margin-bottom:23px;font-size:16px;line-height:1.5}
  .hero-actions{gap:10px}.hero-actions .btn{width:100%;min-height:50px}
  .hero-trust{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:26px}
  .hero-trust span{width:auto;min-width:0;font-size:12px}.hero-trust span:last-child{grid-column:1/-1}
  .hero-trust i{flex:0 0 30px;width:30px;height:30px}
  .hero-showcase{margin-top:0}.showcase-browser{border-radius:14px}
  .showcase-top{height:36px;padding-inline:9px}.showcase-top small{font-size:8px}.showcase-top>b{font-size:9px}
  .showcase-grid{gap:5px;padding:6px}.showcase-project{border-radius:6px}.showcase-project>span{left:4px;right:4px;bottom:4px;padding:4px 5px;font-size:8px}
  .showcase-features{flex-wrap:wrap;justify-content:center;gap:4px 12px;padding:8px;font-size:8px}

  .section-head{display:block;margin-bottom:24px}.section-head h2{margin-top:7px;font-size:clamp(30px,9vw,36px);line-height:1.08;letter-spacing:-1.2px}.section-head>p,.section-head>.plain-link{margin-top:10px}
  .service-directory{padding-top:54px}.service-directory-grid,.price-grid,.work-grid,.process-grid,.knowledge-grid,.feature-grid,.blog-grid,.related-grid,.article-related-grid{gap:14px}
  .service-directory-card,.related-grid>a{min-height:0;padding:20px;border-radius:15px}.service-directory-card h3,.related-grid h3{font-size:21px}
  .service-directory-card p,.related-grid p{margin-bottom:15px}

  .price-card{min-height:0!important;padding:18px 18px 76px;border-radius:16px}
  .price-visual{height:auto!important;aspect-ratio:16/9;margin:-7px -7px 18px;border-radius:11px}
  .price-card h3{font-size:22px}.price-card strong{font-size:25px;margin-bottom:12px}.price-card li{padding:7px 0 7px 20px}
  .card-link{left:18px;right:18px;bottom:18px;padding-top:14px}
  .project-note{padding:15px;margin-top:14px;text-align:left}

  .work-preview{border-radius:14px;aspect-ratio:16/10}.work-preview .browser-top{height:30px}.work-preview img,.work-preview iframe{height:calc(100% - 30px)}.work-open{right:9px;bottom:9px;padding:6px 9px}
  .work-card>div{padding:13px 2px}.work-card h3{font-size:20px}.work-card p{font-size:14px}
  .process-grid article{min-height:0;padding:22px;border-radius:16px}.process-grid article>i{margin:17px 0 15px}
  .direct-card{grid-template-columns:1fr;gap:18px;margin-top:16px;padding:22px;border-radius:16px}.direct-card h2{font-size:27px}
  .knowledge-card{padding-bottom:20px;border-radius:16px}.knowledge-visual{height:auto!important;aspect-ratio:16/9}.knowledge-card>small,.knowledge-card>h3,.knowledge-card>p,.knowledge-card>b{margin-left:20px;margin-right:20px}.knowledge-card>small{margin-top:18px}.knowledge-card h3{font-size:21px}

  .hosting-recommendation{padding-top:8px}.hosting-card{padding:20px;border-radius:18px}.hosting-copy h2{font-size:31px}.hosting-action{padding:18px}
  .local-grid{gap:25px}.local-copy h2{font-size:33px}.local-copy p{font-size:16px}.local-points article{grid-template-columns:40px 1fr;padding:18px}.local-points b{font-size:21px}.local-points h3{font-size:18px}

  .faq-layout{gap:16px}.faq-list summary{min-height:54px;padding:16px 0;font-size:16px;line-height:1.35}.faq-list details p{padding:0 20px 17px 0}
  .lead-section{padding-bottom:58px}.lead-shell{gap:20px;padding:18px;border-radius:19px}.lead-copy h2{font-size:30px}.lead-direct{margin-top:18px}
  .lead-form{gap:12px;padding:15px;border-radius:14px}.lead-form input,.lead-form select,.lead-form textarea{min-height:48px;padding:12px}.lead-form textarea{min-height:92px}.form-submit{min-height:50px}

  .simple,.service-hero{min-height:0;padding:28px 0 54px}
  .breadcrumbs{gap:7px;margin:2px 0 22px;font-size:12px}
  .simple .section-title h1,.service-hero h1{font-size:clamp(33px,10vw,42px);letter-spacing:-1.4px}
  .simple .section-title p,.service-hero .hero-text{font-size:16px}
  .service-hero-grid{gap:24px}.service-offer{padding:20px;border-radius:16px}.service-offer strong{font-size:30px}
  .compact{padding-top:10px}.feature-grid article{padding:15px}
  .service-context-grid{gap:25px}.service-context-copy>p{font-size:15px}.service-context-copy .service-detail-list{grid-template-columns:1fr;gap:8px;margin-top:18px}.service-context-copy .service-detail-list span{min-height:52px;padding:14px}
  .service-visual{border-radius:14px}.service-visual .browser-top{height:32px}.service-visual figcaption{padding:12px}
  .two-col{grid-template-columns:1fr;gap:28px;padding:0}.number-list li{grid-template-columns:1fr;gap:3px;padding:14px 0}.service-copy h2{font-size:28px}

  .content-grid{gap:0}.article-content{padding:16px;border-radius:16px}.article-cover{margin-bottom:21px;border-radius:11px}.article-content h1{font-size:clamp(31px,9vw,38px);letter-spacing:-1px}.article-content h2{margin-top:29px;font-size:25px}.article-content h3{font-size:19px}.article-content p,.article-content li{font-size:15px}.article-meta{gap:6px 14px;margin-bottom:20px}
  .article-supplement section{padding:18px;border-radius:12px}.notice{padding:15px 16px!important}
  .article-related{margin-top:40px;padding-top:28px}.article-related .section-head h2{font-size:30px}.article-related-grid>a{padding:12px}
  .blog-card{padding:13px!important;border-radius:15px}.blog-cover{margin-bottom:15px}.blog-card-footer{align-items:center}.blog-card-footer time{font-size:10px}

  footer{padding:46px 0 24px}.footer-grid{grid-template-columns:1fr;gap:26px}.footer-about,.footer-grid>div:last-child{grid-column:auto}.footer-grid>div{gap:7px}.copyright{gap:7px;margin-top:30px}
  .mobile-cta{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));grid-template-columns:.9fr 1.1fr;gap:6px;padding:6px;border-radius:14px;box-shadow:0 10px 35px rgba(0,0,0,.45)}
  .mobile-cta>a{min-height:44px;padding:8px 10px;font-size:13px}.mobile-cta>a:first-child{border:1px solid #313c4c;background:#111824}.mobile-cta .btn{min-height:44px;box-shadow:none}
  .to-top{right:10px;bottom:76px;width:42px;height:42px}
}

@media(max-width:370px){
  .container{width:calc(100% - 24px)}
  .hero h1{font-size:37px}.section-head h2{font-size:29px}
  .showcase-features span:nth-child(3){display:none}
  .mobile-cta{grid-template-columns:.75fr 1.25fr}.mobile-cta>a{font-size:12px}
}
