/* Roof Calc Pro landing. Type: Chakra Petch (display: square letters with the corners cut off at 45, like a flashing off the folder)
   + Barlow (body: FlashPro's own body face). Self-hosted, latin subset, only the weights used. */
@font-face{font-family:'Chakra Petch';font-weight:600;font-style:normal;font-display:swap;src:url(fonts/chakra-petch-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Chakra Petch';font-weight:700;font-style:normal;font-display:swap;src:url(fonts/chakra-petch-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-weight:400;font-style:normal;font-display:swap;src:url(fonts/barlow-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-weight:600;font-style:normal;font-display:swap;src:url(fonts/barlow-latin-600-normal.woff2) format('woff2')}

:root{--paper:#F2F0EB;--ink:#1C2A3A;--muted:#56626D;--rule:#D6D1C6;--orange:#F26A21;--zinc:#E3E1DA}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'Barlow',system-ui,sans-serif;font-size:18px;line-height:1.5;font-variant-numeric:tabular-nums}
img{display:block;max-width:100%;height:auto}
a{color:var(--ink);text-decoration-thickness:1px;text-underline-offset:3px}
h1,h2,.lbl,.btn,.mark,.big,.bandline p,.cost{font-family:'Chakra Petch','Barlow',sans-serif}
h1,h2{font-weight:700;line-height:1.02;margin:0}
p{margin:0 0 1em}

/* hero: his photo, headline on it */
.hero{position:relative;color:#fff;background:#6f8fb0}
.hero picture,.hero img{width:100%}
.hero img{aspect-ratio:4/5;object-fit:cover;object-position:50% 50%}
.hero::after{content:"";position:absolute;inset:0 0 auto 0;height:62%;background:linear-gradient(180deg,rgba(16,24,34,.62) 0,rgba(16,24,34,.34) 45%,rgba(16,24,34,0) 100%);pointer-events:none}
.mark{position:absolute;z-index:2;top:14px;left:16px;display:block;line-height:0}.mark img{height:40px;width:160px;display:block;filter:drop-shadow(0 1px 6px rgba(0,0,0,.45))}
.hero h1{position:absolute;z-index:2;left:16px;right:16px;top:54px;font-size:clamp(34px,9.6vw,58px);text-transform:uppercase;letter-spacing:.005em;text-shadow:0 1px 2px rgba(0,0,0,.25)}

.me{padding:28px 16px 4px;max-width:46em}
.me p{font-size:20px;line-height:1.45}
.go{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin:22px 0 0}
.btn{display:inline-block;background:var(--orange);color:var(--ink);font-weight:700;font-size:19px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;padding:13px 20px 12px;border-radius:2px;line-height:1.1;border-bottom:3px solid #C24F12}
.btn:active{transform:translateY(1px)}
.txt{font-size:18px;font-weight:600}

/* sections */
.sec{padding:60px 16px 0}
.sec h2{font-size:32px;text-transform:uppercase;margin:10px 0 14px;max-width:18ch}
.sec .t{max-width:34em}
.sec .t p:last-child{margin-bottom:0}
.lbl{display:inline-block;font-weight:600;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);background:var(--zinc);padding:5px 12px 4px 10px;border-left:4px solid var(--orange);clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,0 100%)}
.phones{display:flex;gap:16px;margin-top:24px}
.phone{margin:0;flex:0 0 auto;width:min(100%,380px)}
.phone img{border:2px solid var(--ink);border-radius:22px;background:#fff;width:100%}
figcaption{font-size:15px;color:var(--muted);margin-top:8px;line-height:1.4}

.plain{max-width:44em}
.plain p{font-size:19px}
.plain .big{font-weight:700;font-size:clamp(46px,14vw,120px);line-height:.95;margin:0 0 18px!important;letter-spacing:-.01em}

/* bands: AI scenery only, each with a line saying why it's there */
.band{margin:64px 0 0}
.band img{width:100%;aspect-ratio:21/10;object-fit:cover}
.bandline{padding:16px 16px 0;max-width:40em}
.bandline p{font-weight:600;font-size:22px;line-height:1.25;margin:0}

/* price */
.price .cost{font-weight:700;font-size:28px;line-height:1.15;margin:14px 0 12px;max-width:22ch}
.price .sub{color:var(--muted);font-size:17px;max-width:36em}

footer{margin-top:72px;padding:28px 16px 44px;border-top:1px solid var(--rule);font-size:16px;color:var(--muted)}
footer p{margin:0;overflow-wrap:anywhere}
footer a{color:var(--muted)}

/* phone: one screen per feature, big */
@media (max-width:719px){
 .phones .phone:not(.lead){display:none}
}
@media (min-width:720px){
 body{font-size:19px}
 .hero img{aspect-ratio:16/9;max-height:90vh;object-position:50% 30%}
 .hero::after{height:70%;background:linear-gradient(180deg,rgba(16,24,34,.55) 0,rgba(16,24,34,.25) 50%,rgba(16,24,34,0) 100%)}
 .mark{left:max(32px,5vw);top:24px}.mark img{height:52px;width:208px}
 .hero h1{left:max(32px,5vw);top:12%;font-size:clamp(56px,5.6vw,104px);max-width:10.5em}
 .me,.sec,.bandline,footer{padding-left:max(32px,5vw);padding-right:max(32px,5vw)}
 .me{padding-top:44px;max-width:none}.me p{font-size:28px;max-width:30em;line-height:1.35}
 .me .go{margin-top:28px}
 .sec{padding-top:96px}
 .sec h2{font-size:50px}
 .sec.row{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
 .sec.row.flip{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
 .sec.row.flip .vis{order:-1}
 .sec.row .phones{margin-top:4px}
 .phones .phone{width:calc(50% - 8px);max-width:330px}
 .phones.one .phone{width:min(100%,340px)}
 .plain{max-width:none}.plain p{max-width:34em;font-size:21px}
 .band{margin-top:96px}
 .band img{aspect-ratio:21/7}
 .bandline{padding-top:20px}.bandline p{font-size:34px;max-width:26ch}
 .price .cost{font-size:44px}
 .btn{font-size:22px;padding:15px 24px 13px}
}

.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
