@media (min-width: 1600px) {
  .site-header, .hero, .site-footer { width: min(var(--content), calc(100% - 96px)); }
}
@media (max-width: 1240px) {
  .site-header { gap: 18px; padding-inline: 24px; }
  .site-header nav { gap: 18px; margin-left: 4px; }
  .header-trial { padding-inline: 17px; font-size: .88rem; }
  .hero-copy { width: 56%; padding-left: 42px; }
  .hero-phones { left: 11%; width: 58vw; }
  .hero-service-pills { right: 14px; }
  .qr-feature-copy { width: 54%; margin-left: 36%; padding-right: 104px; }
  .qr-phone { right: 8px; width: 220px; }
  .trial-cta { padding-left: 155px; grid-template-columns: 1.2fr 1fr .6fr; }
}
@media (max-width: 980px) {
  .site-header { min-height: 78px; }
  .menu-toggle { display: block; order: 2; }
  .site-header nav { width: calc(100% - 32px); padding: 12px; display: none; position: absolute; top: 70px; left: 16px; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: 13px 14px; border-radius: 10px; }
  .site-header nav a:hover { background: var(--soft); }
  .header-actions { order: 3; margin-left: 0; }
  .header-trial { display: none; }
  .hero { min-height: 800px; }
  .hero-copy { width: 100%; min-height: 800px; padding: 58px 38px 400px; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.985) 54%, rgba(255,255,255,.27) 72%, rgba(255,255,255,0) 100%); }
  .hero h1 { font-size: clamp(3.8rem, 10vw, 5.5rem); }
  .hero-visual { inset: 43% 0 0; }
  .hero-visual::after { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.08) 27%, rgba(255,255,255,0) 60%); }
  .hero-phones { left: 35%; bottom: -75px; width: min(55vw, 550px); }
  .hero-service-pills { right: 24px; bottom: 50px; }
  .quick-benefits { display: none; }
  .value-bar { width: calc(100% - 72px); grid-template-columns: repeat(3, 1fr); }
  .value-bar-label { grid-column: 1 / -1; }
  .value-item { padding-left: 0; border-left: 0; }
  .qr-feature { min-height: 720px; }
  .qr-worker { height: 47%; object-position: 44% center; }
  .qr-feature-shade { background: linear-gradient(180deg, rgba(255,255,255,0) 0 31%, rgba(235,249,241,.95) 49%, #eaf8f0 64%); }
  .qr-feature-copy { width: auto; margin: 0; padding: 360px 235px 44px 38px; }
  .qr-phone { width: 205px; right: 24px; bottom: -45px; }
  .qr-leaves { top: auto; bottom: -30px; }
  .features-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .device-card { min-height: 230px; padding-right: 300px; }
  .device-leaves { width: 240px; bottom: -75px; }
  .how-section { grid-template-columns: 1fr; gap: 35px; }
  .how-heading h2 { max-width: 700px; }
  .trial-cta { padding: 44px 38px 44px 130px; grid-template-columns: 1.25fr 1fr; }
  .cta-handwritten { display: none; }
  .faq-section { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 768px) {
  .site-header, .hero, .site-footer { width: calc(100% - 28px); }
  .site-header { margin-top: 14px; padding-inline: 18px; border-radius: 20px 20px 0 0; }
  .brand img { width: 132px; }
  .menu-toggle { order: initial; margin-left: auto; }
  .header-actions { order: initial; }
  .hero { border-radius: 0 0 22px 22px; }
  .hero-copy { padding-inline: 26px; }
  .value-bar { width: calc(100% - 46px); grid-template-columns: 1fr; gap: 17px; padding: 24px; border-radius: 0 0 18px 18px; }
  .value-bar-label { grid-column: auto; }
  .value-item { gap: 14px; }
  .value-item p { font-size: .86rem; }
  .qr-feature, .features-section, .how-section, .trial-cta, .faq-section { width: calc(100% - 28px); }
  .qr-feature { margin-bottom: 56px; }
  .qr-feature-copy { padding: 350px 180px 36px 28px; }
  .qr-feature-copy h2, .section-heading h2, .how-heading h2, .faq-intro h2 { font-size: clamp(2.2rem, 8vw, 3.6rem); }
  .qr-phone { width: 178px; right: 4px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .features-layout { gap: 14px; }
  .feature-card { min-height: 218px; }
  .how-section { padding-block: 78px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid article { min-height: 190px; }
  .how-grid article > span { margin-bottom: 28px; }
  .trial-cta { grid-template-columns: 1fr; padding: 42px 32px 40px 110px; gap: 26px; }
  .trial-cta ul { padding-left: 2px; }
  .faq-section { padding-bottom: 72px; }
  .site-footer { grid-template-columns: 1fr auto auto; }
  .site-footer nav { grid-column: 1 / -1; grid-row: 2; }
  .footer-language { grid-column: 2; grid-row: 1; }
  .social-icons { grid-column: 3; grid-row: 1; }
  .footer-bottom { grid-column: 1 / -1; }
  .modal-backdrop { padding: 0; align-items: stretch; }
  .signup-dialog { width: 100%; max-height: 100dvh; min-height: 100dvh; padding: 28px max(24px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); border-radius: 0; }
  .modal-close { top: 12px; right: 12px; }
  .modal-leaves-top { width: 125px; }
  .modal-leaves-bottom { width: 135px; }
}
@media (max-width: 600px) {
  .site-header { min-height: 70px; }
  .brand img { width: 118px; }
  .menu-toggle { width: 40px; height: 40px; padding: 8px; }
  .language-toggle button { min-width: 38px; padding: 7px 9px; font-size: .78rem; }
  .hero { min-height: 735px; }
  .hero-copy { min-height: 735px; padding: 42px 20px 340px; }
  .eyebrow { font-size: .69rem; }
  .hero h1 { font-size: clamp(3.3rem, 16.7vw, 4.25rem); }
  .hero-lead { font-size: 1rem; line-height: 1.5; }
  .hero-copy .button-large { width: 100%; padding-inline: 16px; font-size: .94rem; }
  .hero-visual { inset: 52% 0 0; }
  .hero-phones { width: min(82vw, 460px); left: 12%; bottom: -58px; }
  .hero-service-pills { display: none; }
  .price-note { text-align: center; }
  .value-bar { margin-bottom: 18px; }
  .qr-feature { min-height: 790px; }
  .qr-worker { height: 38%; object-position: 35% center; }
  .qr-feature-shade { background: linear-gradient(180deg, rgba(255,255,255,0) 0 23%, rgba(234,248,240,.98) 39%, #eaf8f0 55%); }
  .qr-feature-copy { padding: 315px 24px 225px; }
  .qr-feature-copy > p:not(.eyebrow) { font-size: .97rem; }
  .qr-feature-copy ul { gap: 7px; }
  .qr-phone { width: 148px; right: 20px; bottom: -53px; }
  .qr-leaves { width: 140px; right: -38px; bottom: -24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 22px; display: grid; grid-template-columns: 54px 1fr; column-gap: 15px; }
  .feature-card .icon-tile { grid-row: 1 / 3; width: 54px; height: 54px; margin: 0; }
  .feature-card h3 { align-self: end; }
  .feature-card p { grid-column: 2; }
  .device-card { min-height: 255px; padding: 28px 24px; }
  .device-card h3, .device-card p { max-width: 230px; }
  .device-leaves { width: 180px; right: -52px; bottom: -42px; }
  .how-section { padding-block: 68px; }
  .trial-cta { margin-bottom: 70px; padding: 40px 24px; }
  .trial-cta .cta-copy, .trial-cta ul { position: relative; z-index: 2; }
  .trial-cta h2 { font-size: 2.25rem; }
  .trial-cta .button { width: 100%; padding-inline: 14px; }
  .cta-leaf-left { width: 180px; left: -74px; opacity: .5; }
  .cta-leaf-right { width: 150px; opacity: .4; }
  .site-footer { grid-template-columns: 1fr; padding: 27px 22px 18px; }
  .footer-language, .site-footer nav, .social-icons { grid-column: auto; grid-row: auto; }
  .site-footer nav { flex-wrap: wrap; gap: 18px 26px; }
  .footer-bottom { grid-column: auto; flex-direction: column; gap: 10px; }
  .modal-heading h2 { font-size: 1.83rem; }
  .modal-heading p { font-size: .92rem; }
  .modal-logo { width: 146px; }
  .modal-trust { gap: 7px; }
  .modal-trust div { font-size: .68rem; }
}
@media (max-width: 430px) {
  .site-header, .hero, .site-footer, .qr-feature, .features-section, .how-section, .trial-cta, .faq-section { width: calc(100% - 20px); }
  .site-header { margin-top: 10px; padding-inline: 13px; }
  .header-actions { gap: 5px; }
  .hero-copy { padding-inline: 17px; }
  .hero h1 { letter-spacing: -.06em; }
  .hero-lead { margin-bottom: 23px; }
  .value-bar { width: calc(100% - 32px); padding-inline: 18px; }
  .qr-feature-copy { padding-inline: 19px; }
  .qr-feature-copy .button { width: 100%; padding-inline: 13px; font-size: .83rem; }
  .section-heading { margin-bottom: 24px; }
  .signup-dialog { padding-inline: 18px; }
  .field-group label, .field-error, .password-hint { margin-left: 12px; }
  .input-shell { padding-inline: 12px; gap: 9px; }
  .country-code { gap: 4px; padding-right: 7px; font-size: .74rem; }
  .country-code img { width: 24px; }
  .modal-trust { grid-template-columns: 1fr; }
  .modal-trust div { grid-template-columns: 28px 1fr; align-items: center; justify-items: start; text-align: left; font-size: .73rem; }
}
@media (max-width: 370px) {
  .brand img { width: 108px; }
  .menu-toggle { width: 37px; }
  .language-toggle button { min-width: 34px; padding-inline: 7px; }
  .hero { min-height: 750px; }
  .hero-copy { min-height: 750px; }
  .hero h1 { font-size: 3.2rem; }
  .modal-heading h2 { font-size: 1.65rem; }
  .oauth-buttons button { font-size: .9rem; }
}
