/* App screens progressively enhance the existing landing page below 768px. */
.app-only,.app-title,.app-location,.app-city,.app-navigation{display:none}
@media(max-width:767px){
  html{scroll-padding-top:88px}
  body.app-mode{background:#f4f7fc;padding-bottom:calc(92px + env(safe-area-inset-bottom,0px));min-height:100dvh}
  body.app-mode .wrap{width:calc(100% - 32px);max-width:600px}
  body.app-mode .header{position:sticky;top:0;z-index:30;background:#f4f7fcf5;backdrop-filter:blur(18px);padding-top:env(safe-area-inset-top,0px)}
  body.app-mode .header-inner{height:76px;gap:12px}
  body.app-mode .header .brand{font-size:20px;letter-spacing:-.8px;gap:9px;min-width:0}
  body.app-mode .header .brand svg{width:31px;height:31px}
  body.app-mode .header .brand>span{line-height:1.2}
  body.app-mode .app-location{display:block;font-size:10px;color:#7b8798;font-weight:500;letter-spacing:0;margin-top:5px}
  body.app-mode .app-city{display:flex;align-items:center;gap:6px;flex:none;background:white;padding:8px 10px;border:1px solid #e4ebf5;border-radius:30px;font-size:10px;font-weight:600;color:#647087}
  .app-city i{width:5px;height:5px;border-radius:50%;background:var(--blue)}
  body.app-mode .header nav,body.app-mode .header-cta{display:none}
  body.app-mode .app-only{display:block}
  body.app-mode .hero{width:calc(100% - 32px);max-width:600px;margin:6px auto 0;min-height:0;border-radius:23px;background:white;box-shadow:0 6px 22px #21559a08;border:1px solid #e6edf6}
  body.app-mode .hero-image{position:static;width:100%;height:174px;display:block;object-fit:cover;object-position:70% 55%}
  body.app-mode .hero-shade{display:none}
  body.app-mode .hero-inner{width:100%;min-height:0;display:block;padding:20px}
  body.app-mode .hero-copy{max-width:none;padding:0}
  body.app-mode .hero-copy .eyebrow,body.app-mode .hero-copy p,body.app-mode .desktop-title{display:none}
  body.app-mode .app-title{display:block}
  body.app-mode .hero h1{font-size:27px;line-height:1.15;letter-spacing:-1px;margin:0 0 17px}
  body.app-mode .hero-cta{width:100%;min-width:0;min-height:49px;border-radius:13px;font-size:12px;justify-content:space-between;padding:14px 18px}
  body.app-mode .app-home-content{padding:25px 0 0}
  .app-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
  .app-section-heading h2{font-size:18px;line-height:1.4;letter-spacing:-.5px}
  .app-section-heading>a{display:flex;align-items:center;gap:5px;min-height:36px;font-size:11px;font-weight:700;color:var(--blue);white-space:nowrap}
  .app-section-heading>a svg{width:16px;height:16px}
  .app-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .app-quick-grid>button{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:0;background:white;border:1px solid #e2eaf5;border-radius:19px;padding:16px;color:var(--ink);min-height:145px}
  .app-quick-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;background:#eaf2ff;color:var(--blue);border-radius:13px}
  .app-quick-icon svg{width:26px;height:26px;stroke-width:1.8}
  .app-quick-grid strong{font-size:15px;font-weight:800;margin-top:12px;letter-spacing:-.3px}
  .app-quick-grid>button>span:last-of-type{font-size:10px;line-height:1.6;color:#798596;margin-top:3px}
  .app-quick-grid .quick-arrow{position:absolute;right:13px;top:18px;color:#97abc5;width:18px;height:18px}
  .app-info-card{display:flex;align-items:center;gap:12px;margin-top:16px;background:#e8f1ff;border:1px solid #dce8fc;border-radius:19px;padding:16px;min-height:95px}
  .app-info-card .app-quick-icon{background:#fff;align-self:center;width:38px;height:38px;border-radius:12px}
  .app-info-card>div{min-width:0}
  .app-info-card strong{display:block;font-size:12px;font-weight:800;line-height:1.5;letter-spacing:-.1px}
  .app-info-card p{font-size:10px;color:#6f8097;line-height:1.7;margin-top:4px}
  .app-info-card>svg{width:18px;height:18px;color:var(--blue);margin-left:auto}
  body.app-mode .app-page-heading{padding:17px 0 22px}
  .app-page-heading .eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:10px}
  .app-page-heading h2{font-size:29px;letter-spacing:-1px}
  .app-page-heading p{font-size:12px;color:#7a8798;margin-top:8px}
  body.app-mode .services{padding-top:16px;padding-bottom:0}
  body.app-mode .services .section-heading{text-align:left;margin-bottom:22px}
  body.app-mode .services h2{font-size:29px;letter-spacing:-1px}
  body.app-mode .services .section-heading p{font-size:12px;line-height:1.8;margin-top:8px;color:#7a8798}
  body.app-mode .service-grid{display:grid;grid-template-columns:1fr;gap:13px}
  body.app-mode .service-card{display:grid;grid-template-columns:clamp(86px,26vw,128px) minmax(0,1fr);gap:14px;padding:13px;border-radius:19px;border:1px solid #e2eaf5;box-shadow:0 4px 14px #183b7504;align-items:start}
  body.app-mode .service-card:hover{transform:none}
  body.app-mode .service-image{width:100%;aspect-ratio:1;height:auto;border-radius:12px;align-self:start}
  body.app-mode .card-body{padding:0;min-width:0;display:block}
  body.app-mode .card-body h3{font-size:14px;line-height:1.45;letter-spacing:-.3px;min-height:0}
  body.app-mode .card-body p{font-size:11px;line-height:1.65;min-height:0;margin:7px 0 8px;color:#7b8696}
  body.app-mode .card-body button{font-size:11px;min-height:44px;width:100%;padding:9px 0;white-space:normal;text-align:left;gap:8px}
  body.app-mode .card-body button svg{width:18px;height:18px}
  body.app-mode .pricing-note{text-align:left;font-size:11px;line-height:1.85;padding:17px 17px;margin:18px 0 0;border-radius:16px;background:#eaf2ff;color:#6c809a}
  body.app-mode .request-section{display:block;padding:16px 0 0}
  body.app-mode .request-copy .eyebrow,body.app-mode .request-info{display:none}
  body.app-mode .request-copy h2{font-size:29px;letter-spacing:-1px;margin-bottom:10px;line-height:1.25}
  body.app-mode .request-copy h2 br{display:none}
  body.app-mode .request-copy>p{font-size:12px;line-height:1.8;color:#7b8798;max-width:none}
  body.app-mode .request-copy>p br{display:none}
  body.app-mode .form-card{padding:21px 18px;border-radius:21px;margin-top:22px;background:white;border:1px solid #e2eaf5;box-shadow:0 4px 18px #183b7505}
  body.app-mode form>label,body.app-mode .form-row>label{font-size:11px;font-weight:700;color:#546175;min-width:0}
  body.app-mode .form-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}
  body.app-mode input,body.app-mode select,body.app-mode textarea{font-size:16px;min-height:51px;padding:13px 12px;border-radius:11px;border:1px solid #e1e8f2;background:#f7f9fd;min-width:0;max-width:100%;color:#233044;scroll-margin-top:100px;scroll-margin-bottom:110px}
  body.app-mode select{font-size:14px;padding-right:24px;white-space:normal}
  body.app-mode textarea{min-height:115px;font-size:16px;line-height:1.65}
  body.app-mode .form-button{min-height:52px;border-radius:12px;font-size:12px;margin-top:2px;gap:8px;padding:14px 15px;white-space:normal;text-align:left}
  body.app-mode .form-helper{font-size:10px;line-height:1.8;margin-top:14px}
  body.app-mode .preview-note{font-size:10px;line-height:1.8;background:#f3f7fd;border:0;border-radius:11px;padding:12px;margin-top:16px}
  body.app-mode .feature-strip{background:transparent}
  body.app-mode .strip-inner{padding:18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 16px;background:white;border:1px solid #e2eaf5;border-radius:19px}
  body.app-mode .strip-inner>div{justify-content:flex-start;gap:9px}
  body.app-mode .strip-inner span{font-size:10px}
  body.app-mode .strip-inner svg{width:27px;height:27px}
  body.app-mode .interior-banner{width:calc(100% - 32px);max-width:600px;margin:17px auto 0;border-radius:19px;border:1px solid #e2eaf5;height:auto;background:white}
  body.app-mode .banner-photo,body.app-mode .banner-shade{display:none}
  body.app-mode .banner-inner{padding:23px 19px;width:100%;display:block}
  body.app-mode .banner-inner h2{font-size:24px;line-height:1.25;margin-bottom:13px;letter-spacing:-.7px}
  body.app-mode .banner-inner p{font-size:12px;line-height:1.85;margin-bottom:18px;max-width:none;color:#7b8798}
  body.app-mode .banner-inner p br{display:none}
  body.app-mode .banner-inner .button{min-height:46px;border-radius:11px;font-size:11px}
  body.app-mode .benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 15px;padding:25px 10px}
  body.app-mode .benefits svg{width:29px;height:29px;margin-bottom:9px}
  body.app-mode .benefits h3{font-size:11px}
  body.app-mode .benefits p{font-size:10px;color:#7b8798}
  body.app-mode .approach-section{background:transparent;border:0}
  body.app-mode .approach-section>.section{padding:23px 19px;background:white;border:1px solid #e2eaf5;border-radius:19px}
  body.app-mode .approach-section .section-heading{text-align:left;margin-bottom:20px}
  body.app-mode .approach-section h2{font-size:23px;letter-spacing:-.7px}
  body.app-mode .approach-section .section-heading p{font-size:11px}
  body.app-mode .steps{margin-top:0;grid-template-columns:1fr;gap:24px}
  body.app-mode .steps article{gap:12px}
  body.app-mode .steps article>span{width:32px;height:32px;font-size:14px;border-radius:11px}
  body.app-mode .steps h3{font-size:13px;line-height:1.5;margin-bottom:6px}
  body.app-mode .steps p{font-size:11px;line-height:1.8;color:#7b8798;max-width:none}
  body.app-mode .faq-section{background:transparent}
  body.app-mode .faq{display:block;padding:28px 0 0}
  body.app-mode .faq h2{font-size:24px;letter-spacing:-.7px}
  body.app-mode .faq>div>p{font-size:11px;color:#7b8798;margin-top:8px}
  body.app-mode .faq-list{border:0;margin-top:18px;background:white;border-radius:18px;border:1px solid #e2eaf5;padding:0 17px}
  body.app-mode .faq-list details:last-child{border-bottom:0}
  body.app-mode summary{min-height:58px;font-size:12px;line-height:1.65;gap:14px;padding:17px 0}
  body.app-mode details p{font-size:11px;line-height:1.85;color:#7b8798;padding-right:0}
  body.app-mode footer{background:transparent;padding-top:28px}
  body.app-mode .footer-top{padding:0 0 19px;justify-content:center}
  body.app-mode .footer-top .brand{font-size:17px;color:#72839b}
  body.app-mode .footer-top .brand svg{width:27px;height:27px}
  body.app-mode .footer-top .button{display:none}
  body.app-mode .footer-bottom{display:block;text-align:center;padding:15px 0 0;border-top:1px solid #e1e9f4;font-size:9px;color:#98a3b1;line-height:1.8}
  body.app-mode .footer-bottom span{display:block}
  body.app-mode .app-navigation{position:fixed;bottom:0;left:0;right:0;z-index:40;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:9px max(12px,calc((100vw - 620px)/2)) calc(9px + env(safe-area-inset-bottom,0px));background:#ffffffed;backdrop-filter:blur(24px);border-top:1px solid #e5edf7;box-shadow:0 -4px 25px #294b7c06}
  .app-navigation button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:57px;min-width:0;padding:7px 2px;border:0;border-radius:15px;background:transparent;color:#9ba6b7;font-size:10px;font-weight:600;line-height:1.4}
  .app-navigation button svg{width:24px;height:24px;stroke-width:1.8}
  .app-navigation button.is-active{color:var(--blue);background:#edf4ff;font-weight:800}
  body.app-mode.keyboard-open{padding-bottom:24px}
  body.app-mode.keyboard-open .app-navigation{display:none}
  body.app-mode dialog{width:calc(100% - 24px);max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px));overflow-y:auto;overscroll-behavior:contain;border-radius:23px;padding:30px 22px 24px}
  body.app-mode dialog h2{font-size:24px;letter-spacing:-.7px;margin-bottom:13px}
  body.app-mode dialog .eyebrow{font-size:8px;margin-bottom:20px}
  body.app-mode dialog>p{font-size:11px;line-height:1.8}
  body.app-mode dialog textarea{font-size:14px;line-height:1.8;min-height:220px;max-height:40dvh;padding:13px;border-radius:12px}
  body.app-mode .dialog-close{width:44px;height:44px;top:8px;right:9px}
  body.app-mode .dialog-actions{flex-direction:column}
  body.app-mode .dialog-actions .button{min-height:50px;border-radius:12px;font-size:12px;white-space:normal}
  body.app-mode #copy-status{font-size:10px}
}
@media(max-width:359px){
  body.app-mode .header .brand{font-size:18px;gap:7px}
  body.app-mode .header .brand svg{width:28px;height:28px}
  body.app-mode .app-city{font-size:9px;padding:7px 8px}
  body.app-mode .hero-inner{padding:18px}
  body.app-mode .hero h1{font-size:25px}
  body.app-mode .hero-image{height:155px}
  .app-quick-grid>button{padding:13px;min-height:141px}
  .app-quick-grid .quick-arrow{right:10px;width:16px}
  .app-quick-grid strong{font-size:14px}
  .app-quick-grid>button>span:last-of-type{font-size:9px}
  .app-info-card{padding:13px;gap:10px}
  .app-info-card strong{font-size:11px}
  .app-info-card p{font-size:9px}
  body.app-mode .service-card{gap:11px;padding:12px}
  body.app-mode .card-body h3{font-size:13px}
  body.app-mode .card-body p{font-size:10px}
  body.app-mode .card-body button{font-size:10px}
  body.app-mode .form-card{padding:20px 15px}
  body.app-mode .form-row{grid-template-columns:1fr}
  body.app-mode .request-copy h2{font-size:27px}
}
@media(prefers-reduced-motion:reduce){.app-navigation button,.app-quick-grid button{transition:none}}

/* Configurator and draft summary. No effect on the initial desktop landing. */
.quote-configuration{background:#edf4ff;border:1px solid #dce8fa;border-radius:14px;padding:15px;margin-bottom:22px}
.quote-configuration>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
.quote-configuration>div>span{font-size:10px;font-weight:700;color:#647a9b}
.quote-configuration button{min-height:36px;border:0;background:transparent;color:var(--blue);font-size:11px;font-weight:700;padding:6px 0}
.quote-configuration p{font-size:12px;color:#2a3b53;line-height:1.8;margin:8px 0}
.quote-configuration small{font-size:12px;font-weight:800;color:var(--blue)}
.calculator-card{background:#fff;border:1px solid #e2eaf5;border-radius:21px;padding:22px 19px}
.calculator-card>label,.calculator-card>div>label{display:block;font-size:11px;color:#546175;font-weight:700}
.calculator-card>label,#calculator-basis-wrap{margin-bottom:21px}
.calculator-quantity-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:5px}
.calculator-quantity-head>label{font-size:12px!important;max-width:55%;line-height:1.6}
.calculator-number{display:flex;align-items:center;gap:8px;min-width:0;background:#f1f6fe;border-radius:12px;border:1px solid #deE8f6;padding:0 12px 0 0;color:#7386a2;font-size:11px;flex:none}
.calculator-number input{width:84px!important;background:transparent!important;border:0!important;margin:0!important;min-height:47px!important;font-size:20px!important;font-weight:800;padding:10px!important;text-align:center;border-radius:12px!important;appearance:textfield}
.calculator-number input::-webkit-inner-spin-button,.calculator-number input::-webkit-outer-spin-button{appearance:none;margin:0}
#calculator-range{appearance:none;-webkit-appearance:none;width:100%;height:44px;min-height:44px;padding:0;margin:12px 0 0;border:0;border-radius:0;background:transparent;cursor:pointer}
#calculator-range::-webkit-slider-runnable-track{height:6px;border-radius:20px;background:linear-gradient(to right,var(--blue) var(--range-progress,14%),#e4ecf8 var(--range-progress,14%))}
#calculator-range::-moz-range-track{height:6px;border-radius:20px;background:#e4ecf8}
#calculator-range::-moz-range-progress{height:6px;background:var(--blue);border-radius:20px}
#calculator-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:25px;height:25px;margin-top:-9.5px;background:white;border:5px solid var(--blue);border-radius:50%;box-shadow:0 3px 8px #075ddc26}
#calculator-range::-moz-range-thumb{width:16px;height:16px;background:white;border:5px solid var(--blue);border-radius:50%;box-shadow:0 3px 8px #075ddc26}
.calculator-range-labels{display:flex;justify-content:space-between;font-size:10px;color:#98a6b8;margin-top:3px}
#calculator-validation{font-size:11px;line-height:1.6;color:#b83f3f;margin-top:7px;min-height:0}
#calculator-validation:empty{display:none}
.calculator-extras{border:0;padding:0;margin:25px 0 0;min-width:0}
.calculator-extras legend{font-size:13px;font-weight:800;color:#263549}
.calculator-extras>p{font-size:10px;line-height:1.7;color:#8a97a8;margin-top:7px;margin-bottom:12px}
#calculator-extras{display:grid;gap:8px}
.calculator-extra{position:relative;display:flex;align-items:center;gap:12px;min-height:58px;padding:10px 12px;border:1px solid #e4ebf4;border-radius:12px;background:#fbfcff;cursor:pointer}
.calculator-extra>input{position:absolute;opacity:0;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;pointer-events:none}
.calculator-extra>span:first-of-type{font-size:11px;color:#4c5b70;font-weight:600;line-height:1.5}
.calculator-extra small{display:block;font-size:10px;color:#8d9db3;font-weight:500;margin-top:4px}
.calculator-extra .extra-check{width:21px;height:21px;border-radius:6px;border:1px solid #d7e1f0;background:#fff;margin-left:auto;display:grid;place-items:center;color:transparent;font-size:13px;flex:none}
.calculator-extra:has(input:checked){border-color:#bad0f3;background:#f0f6ff}
.calculator-extra>input:checked~.extra-check{background:var(--blue);border-color:var(--blue);color:white}
.calculator-extra:has(input:focus-visible){outline:3px solid #f2a32f;outline-offset:3px}
.calculator-result{background:#edf4ff;border:1px solid #deE9fb;border-radius:15px;padding:16px;margin-top:22px}
.calculator-result>div:first-child{display:flex;flex-direction:column;gap:5px}
#calculator-summary-service{font-size:11px;font-weight:700;line-height:1.6;color:#647b9c}
#calculator-summary-quantity{font-size:15px;line-height:1.6;color:#233c5d}
#calculator-summary-extras{font-size:10px;line-height:1.8;color:#7c8fa9;margin-top:8px}
.calculator-total{display:flex;flex-direction:column;gap:6px;border-top:1px solid #d8e4f6;padding-top:13px;margin-top:14px}
#calculator-price-label{font-size:10px;color:#7790b1;font-weight:600}
#calculator-price{font-size:21px;line-height:1.3;font-weight:800;letter-spacing:-.5px;color:var(--blue)}
#calculator-price-note{font-size:10px;color:#7c90ac;line-height:1.75;margin-top:10px}
.calculator-next{width:100%;justify-content:space-between;border-radius:12px;min-height:52px;font-size:12px;margin-top:20px}
.calculator-next:disabled{background:#b4c5de;cursor:not-allowed;transform:none}
.calculator-disclaimer{font-size:9px;color:#96a2b2;line-height:1.8;margin-top:12px;text-align:center}
@media(min-width:768px){#request.desktop-calculator-open .calculator-card{display:block;grid-column:1/-1;max-width:600px;width:100%;margin:auto}}
@media(max-width:767px){
 body.app-mode .request-copy>h2,body.app-mode .request-copy>p{display:none}
 body.app-mode .app-request-heading .eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:11px}
 body.app-mode .app-request-heading h2{font-size:28px;line-height:1.2;letter-spacing:-1px;margin:0 0 10px}
 body.app-mode .app-request-heading p{font-size:12px;line-height:1.8;color:#7b8798;margin-bottom:23px}
 body.app-mode .request-section[data-request-step="calculator"] .form-card{display:none}
 body.app-mode .request-section[data-request-step="form"] .calculator-card{display:none}
 body.app-mode .request-section[data-request-step="form"] .form-card{margin-top:0}
 body.app-mode .form-card form>label:first-child,body.app-mode .form-card .form-row>label:first-child{display:none}
 body.app-mode .form-card .form-row{grid-template-columns:1fr}
 body.app-mode .calculator-card select{font-size:16px}
 body.app-mode .calculator-number input{font-size:20px}
 body.app-mode .quote-configuration{padding:14px;margin-bottom:22px}
 body.app-mode .quote-configuration p{font-size:11px}
 body.app-mode .quote-configuration button{min-height:44px}
 body.app-mode .quote-configuration small{font-size:12px;line-height:1.6;display:block}
 body.app-mode #calculator-range{min-height:44px}
 body.app-mode .calculator-extra input{min-height:0}
 body.app-mode .hero-cta .app-title{font-size:12px;line-height:1.4}
 body.app-mode .app-section-heading>a{min-height:44px;font-size:12px}
 body.app-mode .app-quick-grid>button>span:last-of-type,body.app-mode .app-info-card p,body.app-mode .card-body p,body.app-mode .steps p,body.app-mode details p{font-size:12px}
 body.app-mode .app-info-card strong,body.app-mode .card-body button,body.app-mode summary{font-size:13px}
 body.app-mode .calculator-extra>span:first-of-type,body.app-mode #calculator-summary-service,body.app-mode .calculator-card>label,body.app-mode .calculator-card>div>label{font-size:13px}
 body.app-mode .calculator-extra small,body.app-mode .calculator-extras>p,body.app-mode #calculator-summary-extras,body.app-mode #calculator-price-note,body.app-mode .calculator-disclaimer,body.app-mode .preview-note,body.app-mode .form-helper{font-size:11px}
 body.app-mode .calculator-next,body.app-mode .form-button,body.app-mode .hero-cta .app-title{font-size:14px}
 body.app-mode .app-navigation button{font-size:11px}
}
