/* TF Roofing & Exteriors brand tokens and components. Orange #FF6500 action, charcoal #191919 text. */
:root{--tfr-orange:#FF6500;--tfr-orange-dark:#B84200;--tfr-charcoal:#191919;--tfr-ink:#191919;--tfr-muted:#555555;--tfr-slate:#555555;--tfr-mist:#F4F4F2;--tfr-line:#E6E6E6;--tfr-bg:#FFFFFF;--tfr-bg-soft:#F4F4F2;--tfr-amber:#B26A00;--tfr-amber-bg:#FFF3E0;--tfr-green:#1B6E2E;--tfr-green-bg:#E7F5EA;--tfr-radius:8px;--tfr-font:Arial,Helvetica,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
body{font-family:var(--tfr-font);color:var(--tfr-ink)}
.tfr-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:var(--tfr-radius);font-weight:700;font-size:16px;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:background .15s,transform .05s}
.tfr-btn:active{transform:translateY(1px)}
.tfr-btn-primary{background:var(--tfr-orange);color:#fff}
.tfr-btn-primary:hover{background:var(--tfr-orange-dark);color:#fff}
.tfr-btn-secondary{background:#fff;color:var(--tfr-charcoal);border-color:var(--tfr-charcoal)}
.tfr-btn-secondary:hover{background:var(--tfr-charcoal);color:#fff}
.tfr-link{color:var(--tfr-charcoal);font-weight:600;text-decoration:underline}
.tfr-muted{color:var(--tfr-muted);font-size:14px}
.tfr-note{color:var(--tfr-muted);font-size:14px;margin:8px 0}
/* Hero */
.tfr-hero{padding:40px 0 24px}
.tfr-hero h1{font-size:clamp(32px,6vw,52px);line-height:1.05;color:var(--tfr-charcoal);margin:0 0 12px;letter-spacing:-.01em}
.tfr-hero-sub{font-size:18px;max-width:640px;margin:0 0 20px}
.tfr-cta-stack{display:flex;flex-direction:column;gap:10px;max-width:420px}
.tfr-cta-row{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
@media(min-width:720px){.tfr-cta-stack{flex-direction:row;max-width:none;align-items:center}}
/* ZIP check */
.tfr-zip{background:var(--tfr-bg-soft);padding:16px;border-radius:var(--tfr-radius);margin:16px 0}
.tfr-zip-row{display:flex;gap:8px}
.tfr-zip input{flex:1;min-height:48px;font-size:16px;padding:0 12px;border:1px solid var(--tfr-line);border-radius:var(--tfr-radius)}
.tfr-zip-result{margin:8px 0 0;font-weight:600;min-height:1.4em}
.tfr-zip-result.is-in{color:var(--tfr-green)}.tfr-zip-result.is-partial{color:var(--tfr-amber)}.tfr-zip-result.is-out{color:#8A1C1C}
/* Category grid */
.tfr-cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:24px 0}
@media(min-width:900px){.tfr-cat-grid{grid-template-columns:repeat(3,1fr)}}
.tfr-cat{display:block;padding:18px;border:1px solid var(--tfr-line);border-radius:var(--tfr-radius);text-decoration:none;color:inherit;background:#fff}
.tfr-cat:hover{border-color:var(--tfr-orange)}
.tfr-cat h3{margin:0 0 6px;font-size:18px;color:var(--tfr-charcoal)}
.tfr-cat p{margin:0 0 8px;font-size:14px;color:var(--tfr-muted)}
.tfr-chips-static em{display:inline-block;font-style:normal;font-size:12px;padding:2px 8px;border-radius:999px;background:var(--tfr-bg-soft);margin-right:6px}
/* Process */
.tfr-process{display:grid;gap:12px;padding:0;margin:24px 0;list-style:none;grid-template-columns:repeat(2,1fr)}
@media(min-width:900px){.tfr-process{grid-template-columns:repeat(4,1fr)}}
.tfr-process li{background:var(--tfr-bg-soft);border-radius:var(--tfr-radius);padding:16px}
.tfr-step-n{display:inline-flex;width:28px;height:28px;border-radius:50%;background:var(--tfr-orange);color:#fff;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.tfr-process h3{margin:8px 0 4px;font-size:16px}.tfr-process p{margin:0;font-size:14px;color:var(--tfr-muted)}
/* Options */
.tfr-options{display:grid;gap:12px;grid-template-columns:1fr;margin:16px 0}
@media(min-width:720px){.tfr-options{grid-template-columns:repeat(3,1fr)}}
.tfr-option{border:1px solid var(--tfr-line);border-radius:var(--tfr-radius);padding:16px}
.tfr-option h3{margin:0 0 6px;color:var(--tfr-orange)}
/* FAQ */
.tfr-faq details{border-bottom:1px solid var(--tfr-line);padding:12px 0}
.tfr-faq summary{font-weight:600;cursor:pointer;font-size:16px}
/* Forms */
.tfr-form{max-width:640px;margin:0 auto;padding:20px;background:#fff;border:1px solid var(--tfr-line);border-radius:var(--tfr-radius)}
.tfr-form-title{font-size:24px;margin:0 0 12px;color:var(--tfr-charcoal)}
.tfr-form fieldset{border:0;padding:0;margin:0 0 12px}
.tfr-form legend{font-weight:700;font-size:18px;margin:0 0 12px}
.tfr-form .tfr-step[hidden]{display:none}
.tfr-label{display:block;font-weight:600;font-size:14px;margin:12px 0 4px}
.tfr-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.tfr-form select,.tfr-form textarea{width:100%;min-height:48px;font-size:16px;padding:10px 12px;border:1px solid #C9C9C9;border-radius:var(--tfr-radius);background:#fff;box-sizing:border-box}
.tfr-form textarea{min-height:96px}
.tfr-form input:focus,.tfr-form select:focus,.tfr-form textarea:focus{outline:3px solid rgba(255,106,0,.35);border-color:var(--tfr-orange)}
.tfr-form .is-invalid{border-color:#B00020!important}
.tfr-field-error{color:#B00020;font-size:13px;margin:4px 0 0}
.tfr-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tfr-grid-3{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}
.tfr-chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.tfr-chip input{position:absolute;opacity:0}
.tfr-chip span{display:inline-block;padding:10px 14px;border:2px solid var(--tfr-line);border-radius:999px;font-weight:600;min-height:44px;line-height:20px}
.tfr-chip input:checked+span{border-color:var(--tfr-orange);background:var(--tfr-amber-bg)}
.tfr-chip input:focus-visible+span{outline:3px solid rgba(255,106,0,.35)}
.tfr-check{display:flex;gap:10px;align-items:flex-start;margin:12px 0;font-size:14px}
.tfr-check input{width:22px;height:22px;margin-top:2px;flex:none}
.tfr-urgent span{font-weight:700;color:#8A1C1C}
.tfr-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.tfr-actions{display:flex;gap:10px;justify-content:space-between;margin-top:16px}
.tfr-actions [hidden]{display:none}
.tfr-progress{height:4px;background:var(--tfr-line);border-radius:2px;margin-top:14px;overflow:hidden}
.tfr-progress span{display:block;height:100%;width:33%;background:var(--tfr-orange);transition:width .2s}
.tfr-result{margin-top:12px;font-weight:600}
.tfr-result.is-ok{color:var(--tfr-green)}.tfr-result.is-err{color:#B00020}
.tfr-result .tfr-ref{display:block;font-size:22px;font-weight:800;color:var(--tfr-charcoal);margin-top:6px}
/* Products */
.tfr-grid-products{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:16px 0}
@media(min-width:900px){.tfr-grid-products{grid-template-columns:repeat(4,1fr)}}
.tfr-card{display:block;border:1px solid var(--tfr-line);border-radius:var(--tfr-radius);padding:12px;text-decoration:none;color:inherit}
.tfr-card img{width:100%;height:auto;border-radius:6px}.tfr-card-ph{aspect-ratio:4/3;background:var(--tfr-bg-soft);border-radius:6px}
.tfr-card h3{font-size:15px;margin:8px 0 2px}.tfr-card p{margin:0 0 6px;font-size:13px;color:var(--tfr-muted)}
.tfr-badge{display:inline-block;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}
.tfr-badge-amber{background:var(--tfr-amber-bg);color:var(--tfr-amber)}.tfr-badge-green{background:var(--tfr-green-bg);color:var(--tfr-green)}.tfr-badge-charcoal{background:var(--tfr-charcoal);color:#fff}.tfr-badge-grey{background:#EEE;color:#555}
.tfr-product-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tfr-specs{width:100%;border-collapse:collapse;margin:12px 0}.tfr-specs th{text-align:left;width:40%;padding:8px;background:var(--tfr-bg-soft)}.tfr-specs td{padding:8px;border-bottom:1px solid var(--tfr-line)}
.tfr-price{font-size:28px;font-weight:800;color:var(--tfr-charcoal);margin:8px 0 0}
.tfr-avail{color:var(--tfr-muted)}
.tfr-policy{font-size:13px;color:var(--tfr-muted);border-top:1px solid var(--tfr-line);padding-top:12px;margin-top:16px}
.tfr-installed-cta{background:var(--tfr-bg-soft);padding:12px;border-radius:var(--tfr-radius)}
/* Safety and legal */
.tfr-safety{border-left:4px solid var(--tfr-orange);background:var(--tfr-amber-bg);padding:12px 16px;border-radius:0 var(--tfr-radius) var(--tfr-radius) 0;margin:16px 0}
.tfr-legal{font-size:12px;color:var(--tfr-muted);padding:16px 16px 96px;border-top:1px solid var(--tfr-line);text-align:center}
.tfr-group-line{font-size:14px;color:var(--tfr-muted)}
.tfr-credentials{padding-left:18px}
/* Sticky mobile bar */
.tfr-sticky{position:fixed;left:0;right:0;bottom:0;z-index:999;display:grid;grid-template-columns:1fr 1.4fr 1fr;background:var(--tfr-charcoal);padding:8px;gap:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
.tfr-sticky a{display:flex;align-items:center;justify-content:center;min-height:48px;color:#fff;font-weight:700;text-decoration:none;border-radius:var(--tfr-radius);background:#333}
.tfr-sticky .tfr-sticky-primary{background:var(--tfr-orange)}
@media(min-width:900px){.tfr-sticky{display:none}.tfr-legal{padding-bottom:16px}}
.tfr-phone{font-weight:800;color:var(--tfr-charcoal);text-decoration:none;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.tfr-btn,.tfr-progress span{transition:none}}

/* v1.2 legal footer */
.tfr-legal{background:var(--tfr-charcoal);color:#CFCFCF;padding:28px 16px;font-size:13px;line-height:1.55}.tfr-legal a{color:#fff;text-decoration:underline;text-underline-offset:2px}.tfr-legal .tfr-company{font-size:15px;color:#fff;margin:0 0 6px}.tfr-legal .tfr-family{margin:0 0 10px}.tfr-legal .tfr-family-label{color:#fff}.tfr-legal .tfr-dom{color:#9A9A9A;font-size:12px}.tfr-legal .tfr-legal-nav p{margin:0 0 12px}.tfr-legal .tfr-copy{margin-top:10px;color:#9A9A9A}.tfr-consent-note{font-size:13px;color:var(--tfr-slate);margin:10px 0 6px}.tfr-legal-meta{font-size:14px;color:var(--tfr-slate);border-left:3px solid var(--tfr-orange);padding-left:12px}
.tfr-promise{display:none}.tfr-promise .tfr-eyebrow{color:var(--tfr-orange-dark);font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:13px;margin:0 0 6px}.tfr-promise h2{margin:0 0 20px;font-size:30px;color:var(--tfr-charcoal)}.tfr-grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.tfr-promise-item{background:#fff;border-radius:var(--tfr-radius);padding:18px;border-top:4px solid var(--tfr-orange)}.tfr-promise-item h3{margin:0 0 6px;font-size:17px}.tfr-promise-item p{margin:0;color:var(--tfr-slate);font-size:14px}.tfr-promise-link{margin:18px 0 0}

/* v1.4 Insights */
.tfr-ins-byline{font-size:14px;color:var(--tfr-slate);margin:0 0 18px}.tfr-takeaway{background:var(--tfr-mist);border-left:4px solid var(--tfr-orange);border-radius:0 12px 12px 0;padding:16px 20px;margin:20px 0}.tfr-takeaway p{margin:0}.tfr-takeaway .tfr-eyebrow{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--tfr-orange-dark);font-weight:700;margin-bottom:4px}.single-post .entry-content h2{font-size:22px;margin:28px 0 8px}.single-post .entry-content p{font-size:17px;line-height:1.65}.tfr-next{margin-top:24px;padding:14px 16px;border:1px solid var(--tfr-line);border-radius:var(--tfr-radius);background:#fff}.blog .entry-title,.archive .entry-title{font-size:24px}

/* v1.5 availability */
.tfr-avail{margin-top:10px}.tfr-avail-day{margin:6px 0}.tfr-avail-btn{border:1px solid var(--tfr-line);background:#fff;border-radius:999px;padding:6px 12px;margin:3px 4px 3px 0;font:inherit;cursor:pointer}.tfr-avail-btn[aria-pressed=true]{background:var(--tfr-charcoal);color:#fff;border-color:var(--tfr-charcoal)}

/* v1.7 promise band (replaces .tfr-promise) */
.tfr-pband{background:#191919;color:#fff;padding:56px 16px}.tfr-pband .tfr-eyebrow{color:#FF8A3D;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:13px;margin:0 0 6px}.tfr-pband h2{color:#fff;font-size:34px;margin:4px 0 8px}.tfr-pband-lead{color:#C9C9C5;margin:0;max-width:56ch}.tfr-pband-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}.tfr-pband-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.12);border-radius:14px;overflow:hidden}.tfr-pband-item{background:#1F1F1F;padding:26px 22px;position:relative}.tfr-pband-item::before{content:'';position:absolute;left:22px;top:0;width:44px;height:4px;background:var(--tfr-orange)}.tfr-pband-stat{display:flex;align-items:baseline;gap:6px;margin:10px 0}.tfr-pband-stat .n{font-size:44px;font-weight:800;line-height:1;color:#fff}.tfr-pband-stat .u{font-size:14px;color:#FF8A3D;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.tfr-pband-item h3{margin:0 0 6px;font-size:18px;color:#fff}.tfr-pband-item p{margin:0;color:#BDBDB8;font-size:15px;line-height:1.55}@media(max-width:1000px){.tfr-pband-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.tfr-pband-grid{grid-template-columns:1fr}.tfr-pband-head{flex-direction:column;align-items:flex-start}.tfr-pband h2{font-size:28px}}

/* v1.7 hub long-form */
.tfr-hub-hero{margin:0 0 24px}.tfr-hub-hero img{width:100%;height:auto;border-radius:16px;display:block}.tfr-hub-toc{background:var(--tfr-mist);border-radius:12px;padding:16px 20px;margin:0 0 8px}.tfr-hub-toc ul{margin:6px 0 0;padding-left:18px;columns:2;gap:24px}.tfr-hub-toc li{margin:3px 0}@media(max-width:600px){.tfr-hub-toc ul{columns:1}}.page .entry-content h2{font-size:24px;margin:28px 0 8px}.page .entry-content p{font-size:17px;line-height:1.7}

/* v1.8 CTA row rule: max two buttons, equal-height grid on mobile, no third action */
.tfr-cta-stack,.tfr-cta-row{display:grid;grid-template-columns:auto auto;justify-content:start;gap:12px}.tfr-cta-stack .tfr-btn,.tfr-cta-row .tfr-btn{min-height:54px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;font-size:17px;line-height:1.1}@media(max-width:600px){.tfr-cta-stack,.tfr-cta-row{grid-template-columns:1fr 1fr;justify-content:stretch;gap:10px}.tfr-cta-stack .tfr-btn,.tfr-cta-row .tfr-btn{width:100%;padding:8px 12px;font-size:15.5px;white-space:normal;text-wrap:balance;line-height:1.15;align-self:stretch}}@media(max-width:360px){.tfr-cta-stack,.tfr-cta-row{grid-template-columns:1fr}}.tfr-cta-stack .tfr-btn:nth-child(n+3),.tfr-cta-row .tfr-btn:nth-child(n+3){display:none}

/* v1.9 contrast + CWV */
.tfr-eyebrow{color:var(--tfr-orange-dark)!important}.tfr-pband .tfr-eyebrow{color:#FF8A3D!important}.tfr-legal h2,.tfr-legal h3{font-size:15px}img{height:auto;max-width:100%}.tfr-cta-row .tfr-btn{contain:layout}

/* v2.0.1 page title on title-less templates */
.tfr-page-title{font-size:clamp(1.75rem,4vw,2.6rem);line-height:1.15;font-weight:800;margin:32px 0 16px;color:#191919}

/* v2.0.2 presentation fixes */
.tfr-pagehead{background:#F4F4F2;margin-top:0!important;margin-bottom:36px!important;padding:48px 24px 44px;max-width:none!important;width:auto}
.tfr-pagehead-in{max-width:1200px;margin:0 auto}
.tfr-pagehead-eyebrow{color:#B84200;font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px}
.tfr-pagehead .tfr-page-title{margin:0;font-size:clamp(1.9rem,4.4vw,3rem);line-height:1.1;font-weight:800;color:#191919;max-width:22ch}
.tfr-pagehead-lead{margin:14px 0 0;font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.5;color:#555;max-width:62ch}
@media(max-width:560px){.tfr-pagehead{padding:32px 20px 28px;margin-bottom:24px!important}.tfr-cta-stack .tfr-btn,.tfr-cta-row .tfr-btn{box-sizing:border-box;min-width:0;max-width:100%}.tfr-cta-stack,.tfr-cta-row{grid-template-columns:1fr!important}.tfr-cta-stack .tfr-btn,.tfr-cta-row .tfr-btn{white-space:normal;width:100%}}
.tfr-chip{position:relative;display:inline-flex;margin:0}
.tfr-chip span{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:0 18px!important;line-height:1.2!important;box-sizing:border-box}
.tfr-formpage{display:grid;gap:32px;align-items:start;margin:0 auto 56px;max-width:1200px}
.tfr-formpage .tfr-form{margin:0;max-width:none}
@media(min-width:960px){.tfr-formpage{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:48px}}
.tfr-aside h2{font-size:1.25rem;margin:0 0 14px}
.tfr-aside ol{margin:0 0 20px;padding-left:20px}.tfr-aside li{margin:0 0 12px;line-height:1.5}
.tfr-aside-card{background:#191919;color:#fff;border-radius:10px;padding:22px;border-top:4px solid #FF6500}
.tfr-aside-card a{color:#fff}.tfr-aside-card p{margin:0;line-height:1.5}
.tfr-aside-n{font-size:2.4rem;font-weight:800;line-height:1!important;margin:0 0 8px!important}.tfr-aside-n span{font-size:.85rem;color:#FF8A3D;text-transform:uppercase;letter-spacing:.08em}
.tfr-aside-call{margin:18px 0 0;font-weight:700}

/* v2.0.3 */
.tfr-aside-card .tfr-aside-n{font-size:2.6rem!important;font-weight:800}.tfr-aside-card .tfr-aside-n span{font-size:.8rem}

/* v2.0.41 brand pass: one footer (plugin legal block is canonical; the theme's duplicate is hidden), aligned to the theme container */
.tf-footer .tf-legal{display:none!important}
.tfr-legal{text-align:left;border-top:1px solid #2E2E2E;padding:24px max(16px,calc((100vw - 1200px)/2)) 96px}
@media(min-width:900px){.tfr-legal{padding-bottom:28px}}
.tfr-legal p{margin:0 0 10px;max-width:1200px}
/* Page header band: the title of standard pages sits on a full-bleed Mist band with a Signal Orange accent, directly under the header */
main:has(> .wp-block-group:first-child > h1.wp-block-post-title:first-child){margin-top:0!important}
main > .wp-block-group:first-child:has(> h1.wp-block-post-title:first-child){padding-top:0!important}
main > .wp-block-group:first-child > h1.wp-block-post-title:first-child{background:#F4F4F2;box-shadow:0 0 0 100vmax #F4F4F2;clip-path:inset(0 -100vmax);padding:56px 0 44px;margin-top:0!important;margin-bottom:40px!important;position:relative}
main > .wp-block-group:first-child > h1.wp-block-post-title:first-child::before{content:"";display:block;width:56px;height:5px;background:#FF6500;border-radius:3px;margin:0 0 20px}
@media(max-width:781px){main > .wp-block-group:first-child > h1.wp-block-post-title:first-child{padding:36px 0 28px;margin-bottom:28px!important}}
.tfr-answer{border-left:4px solid var(--tfr-orange);background:var(--tfr-bg-soft);border-radius:var(--tfr-radius);padding:16px 20px;margin:24px 0}
.tfr-answer-q{font-weight:700;color:var(--tfr-charcoal);margin:0 0 6px;font-size:18px;line-height:1.3}
.tfr-answer-a{margin:0;color:var(--tfr-ink);line-height:1.6}
.tfr-answer-q--lead{margin:24px 0 8px}
.tfr-convert{margin:40px 0;padding:24px 28px;background:var(--tfr-charcoal);color:#fff;border-radius:10px;border-left:6px solid var(--tfr-orange)}
.tfr-convert h2{color:#fff;margin:0 0 8px}
.tfr-convert p{color:#fff;margin:0 0 12px;line-height:1.6}
.tfr-convert ul{margin:0 0 18px;padding-left:20px;color:#fff}
.tfr-convert li{margin:4px 0;line-height:1.5}
.tfr-convert-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0}
.tfr-convert .tfr-btn-secondary{background:#fff;color:var(--tfr-charcoal);border-color:#fff}
.tfr-convert .tfr-btn-secondary:hover{background:var(--tfr-orange);border-color:var(--tfr-orange);color:#fff}
.tfr-convert-link{color:#fff;font-weight:700;text-decoration:underline}
