/* ============================================================
   SOLARPOWERSCOUT — Core Design System
   Sibling of RoofingScout: same Poppins type + editorial-authority
   component system, re-skinned to a clean energy palette —
   Deep Evergreen #103D2E · Primary Green #15875A · Mint #36C98D ·
   Solar Gold #EDA02C (CTAs / awards). Independent review-site
   authority (NerdWallet/Money) with Apple/Vivint spatial polish.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,500&display=swap');

/* ============================================================ TOKENS */
:root {
  /* Brand neutrals — deep slate ink (replaces evergreen) */
  --navy:        #18222E;   /* deep slate ink — dark sections, headings bg */
  --navy-2:      #111A24;   /* deeper for layering */
  --blue:        #2C6079;   /* muted petrol-blue — links / interactive */
  --blue-ink:    #234E62;   /* darker for text/hover */
  --blue-2:      #34708C;   /* secondary */
  --cyan:        #F2AA45;   /* warm amber — pops on dark slate */
  --blue-wash:   #F2EADB;   /* warm sand surface (hover / tints) */
  --blue-wash-2: #E6D8C0;   /* deeper sand */

  /* Solar amber (clay slot) — the #1 CTA / awards accent */
  --clay:        #E08510;
  --clay-deep:   #B5660A;
  --clay-tint:   #FBEAD0;

  /* Gold (stars/awards) */
  --gold:        #E0A02E;

  /* Ink / neutrals — warm espresso */
  --ink:     #221A12;       /* near-black espresso, headings */
  --text:    #463C2F;       /* warm body copy */
  --muted:   #756857;       /* secondary text */
  --muted-2: #A2937D;       /* tertiary */
  --line:    #E8DECC;       /* warm hairlines */
  --line-2:  #F1E9DA;       /* faint warm fills */

  /* Surfaces — warm cream paper */
  --bg:      #FBF6EC;
  --bg-alt:  #F4EAD8;
  --bg-soft: #FAF3E6;
  --card:    #FFFFFF;

  /* Status (semantic only) */
  --green:      #2F7D4E;
  --green-tint: #E4EFE3;
  --red:        #B5462B;
  --red-tint:   #F6E5DC;

  /* Type — Poppins (RoofingScout type system) */
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans:    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif:   "Fraunces", Georgia, "Times New Roman", serif; /* editorial accents only */

  /* Scale */
  --maxw: 1200px;
  --maxw-narrow: 1040px;
  --maxw-prose: 720px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(60px, 7vw, 110px);
  --block-gap: clamp(32px, 4vw, 56px);

  /* Radius — RoofingScout scale */
  --r-xs: 8px;
  --r:    12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-2xl: 40px;

  /* Shadows — soft, layered (RoofingScout) */
  --shadow-xs: 0 1px 2px rgba(40,30,12,.06);
  --shadow-sm: 0 2px 8px -2px rgba(40,30,12,.10);
  --shadow-md: 0 14px 34px -16px rgba(40,30,12,.22);
  --shadow-lg: 0 34px 70px -30px rgba(40,30,12,.30);
  --shadow-clay: 0 10px 24px -10px rgba(181,102,10,.5);

  --check-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12.5l5 5 11-11' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --x-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 6l12 12M18 6 6 18' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/></svg>");
}

/* ============================================================ RESET / BASE */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 138px; }
body {
  font-family: var(--font-sans);
  font-size: 17px; line-height: 1.62;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
strong, b { font-weight: 700; color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -0.035em; line-height: 1.04; font-weight: 700; }
h2 { font-size: clamp(28px, 3.3vw, 43px); letter-spacing: -0.028em; }
h3 { font-size: clamp(21px, 2vw, 27px); line-height: 1.18; letter-spacing: -0.018em; }
h4 { font-size: 19px; line-height: 1.25; letter-spacing: -0.012em; font-weight: 600; }
p, li, dd, blockquote, figcaption, td, th, summary, .lede, .byline, .review__desc { text-wrap: pretty; }

/* ============================================================ LAYOUT */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); }
.bg-alt { background: var(--bg-alt); }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.center { text-align: center; }

.label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--blue); text-transform: uppercase; }
.bg-navy .label { color: var(--cyan); }
.label svg { width: 15px; height: 15px; }

.eyebrow { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }

.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; }
.section-head .label { margin-bottom: 15px; }
.section-head p { margin-top: 16px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.bg-navy .section-head p { color: rgba(255,255,255,.74); }
.section-head + * { margin-top: var(--block-gap); }

.lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--text); }
.kicker-rule { width: 46px; height: 3px; border-radius: 2px; background: var(--clay); }

/* ============================================================ BRAND LOCKUP (inline logo) */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 52px; height: 52px; flex-shrink: 0; }
.brand__words { display: flex; flex-direction: column; line-height: .9; }
.brand__l1 { font-family: var(--font-sans); font-weight: 800; font-size: 21px; letter-spacing: -0.012em; color: var(--navy); }
.brand__l2 { font-family: var(--font-sans); font-weight: 800; font-size: 21px; letter-spacing: .25em; color: var(--clay-deep); margin-top: 1px; }
.brand--lg .brand__mark { width: 54px; height: 54px; }
.brand--lg .brand__l1, .brand--lg .brand__l2 { font-size: 23px; }
.brand--lg .brand__l2 { letter-spacing: .34em; }
.brand--white .brand__l1 { color: #fff; }
.brand--white .brand__l2 { color: var(--clay); }
.brand__roof { display: inline; }

/* ============================================================ BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--r-xs); font-family: var(--font-sans);
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .14s ease, box-shadow .22s ease, background .16s, color .16s; }
.btn:hover { text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--clay); color: #fff !important; box-shadow: var(--shadow-clay); }
.btn--primary:hover { background: var(--clay-deep); transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: #fff !important; }
.btn--blue:hover { background: var(--blue-ink); transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff !important; }
.btn--dark:hover { background: #21392e; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: #f1f5f2; }
.btn--lg { padding: 16px 28px; font-size: 16.5px; border-radius: var(--r); }
.btn--sm { padding: 9px 15px; font-size: 14px; }
.btn--block { width: 100%; }

.linkarrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-ink); }
.linkarrow svg { width: 16px; height: 16px; transition: transform .16s; }
.linkarrow:hover { text-decoration: none; }
.linkarrow:hover svg { transform: translateX(3px); }

.callbtn { display: inline-flex; align-items: center; gap: 10px; }
.callbtn .num { font-weight: 700; }

/* ============================================================ BADGES / CHIPS / STARS */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
  background: var(--blue-wash); color: var(--blue-ink); }
.tag--clay { background: var(--clay-tint); color: var(--clay-deep); }
.tag--green { background: var(--green-tint); color: var(--green); }
.tag--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }

.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500;
  color: var(--ink); padding: 7px 13px; border-radius: 999px; background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px var(--line); }
.chip svg { width: 15px; height: 15px; color: var(--blue); }

.stars { display: inline-flex; align-items: center; gap: 1.5px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; }

.icon-tile { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--blue-wash); color: var(--blue); }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--clay { background: var(--clay-tint); color: var(--clay-deep); }

.ratebadge { position: relative; width: 92px; height: 92px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1; }
.ratebadge svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ratebadge .num { font-family: var(--font-display); font-weight: 700; font-size: 25px; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.ratebadge .den { font-size: 11px; color: var(--muted-2); font-weight: 600; line-height: 1; margin-top: 3px; }
.ratebadge--sm { width: 64px; height: 64px; }
.ratebadge--sm .num { font-size: 19px; }
.ratebadge--sm .den { font-size: 9px; margin-top: 2px; }

/* ============================================================ HEADER */
.topbar { background: var(--navy); color: rgba(255,255,255,.7); font-size: 12.5px; text-align: center; padding: 8px 16px; line-height: 1.4; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.masthead { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 82px; }
.masthead .wrap { max-width: var(--maxw); }
.nav { display: flex; align-items: center; gap: 0; }
.nav > a { color: var(--ink); font-weight: 500; font-size: 14px; padding: 9px 8px; border-radius: 8px; transition: background .15s, color .15s; white-space: nowrap; }
.nav > a:hover { background: var(--blue-wash); color: var(--blue-ink); text-decoration: none; }
.nav > a.nav__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #fff; font-size: 14px; padding: 9px 13px; background: var(--clay); border-radius: var(--r-xs); box-shadow: var(--shadow-clay); transition: background .16s, transform .14s; white-space: nowrap; }
.nav > a.nav__phone:hover { background: var(--clay-deep); color: #fff; transform: translateY(-1px); text-decoration: none; }
.nav__phone svg { width: 16px; height: 16px; color: #fff; }
.nav > a.nav__cta { background: var(--blue); box-shadow: none; color: #fff; }
.nav > a.nav__cta:hover { background: var(--blue-ink); color: #fff; }
.nav__cta { margin-left: 4px; }
.nav__item { position: relative; display: inline-flex; }
.nav__parent { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 500; font-size: 14px; padding: 9px 8px; border-radius: 8px; cursor: pointer; transition: background .15s, color .15s; }
.nav__parent:hover, .nav__item:hover .nav__parent, .nav__item:focus-within .nav__parent { background: var(--blue-wash); color: var(--blue-ink); text-decoration: none; }
.nav__caret { width: 13px; height: 13px; transition: transform .2s; }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }
.nav__sub { position: absolute; top: calc(100% + 2px); left: 0; min-width: 234px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 8px; display: flex; flex-direction: column; gap: 1px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 80; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav__sub a:hover { background: var(--blue-wash); color: var(--blue-ink); text-decoration: none; }
.nav__sub a.sub-head { font-weight: 600; color: var(--blue-ink); border-bottom: 1px solid var(--line-2); border-radius: 8px 8px 0 0; margin-bottom: 3px; padding-bottom: 10px; }
.nav__sub a[aria-current], .nav__parent[aria-current] { color: var(--blue-ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px var(--line); }
.nav-toggle svg { width: 22px; height: 22px; }
.subnav { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 82px; z-index: 55; }
.subnav__inner { display: flex; align-items: center; gap: 4px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 8px 13px; border-radius: 8px; white-space: nowrap; }
.subnav a:hover { color: var(--blue-ink); background: var(--blue-wash); text-decoration: none; }
.subnav a.on { color: var(--ink); font-weight: 600; }
.subnav .spacer { flex: 1; }
.subnav .upd { font-size: 12px; color: var(--muted-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.subnav .upd::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
@media (max-width: 1000px) { .subnav { top: 0; } }

/* ============================================================ TRUST LOGO STRIP */
.logos { display: flex; align-items: center; justify-content: center; gap: clamp(22px,4vw,56px); flex-wrap: wrap; }
.logos span { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--muted-2); letter-spacing: -.01em; }
.logos .pre { width: 100%; text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-bottom: 4px; }

/* ============================================================ PILLAR / TOPIC CARDS */
.cards { display: grid; gap: 20px; }
.cards--2 { grid-template-columns: repeat(2,1fr); }
.cards--3 { grid-template-columns: repeat(3,1fr); }
.cards--4 { grid-template-columns: repeat(4,1fr); }
.card { display: flex; flex-direction: column; gap: 13px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; transition: transform .18s ease, box-shadow .22s ease, border-color .2s; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-wash-2); text-decoration: none; }
.card h4 { margin-top: 2px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.card .linkarrow { font-size: 14.5px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.feature--flip .feature__media { order: -1; }
.feature__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.1; background: var(--bg-alt); box-shadow: var(--shadow-md); }
.feature h2 { margin-bottom: 18px; }
.feature p { font-size: 17.5px; color: var(--muted); line-height: 1.6; }
.feature ul.ticks { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.feature ul.ticks li { display: flex; gap: 12px; font-size: 16px; color: var(--text); align-items: flex-start; }
.feature ul.ticks li::before { content: ""; width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 50%;
  background: var(--green); -webkit-mask: var(--check-mask) center / 13px no-repeat; mask: var(--check-mask) center / 13px no-repeat; }
.bg-navy .feature p { color: rgba(255,255,255,.74); }
.bg-navy .feature ul.ticks li { color: rgba(255,255,255,.92); }

/* ============================================================ STEPS */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step__n { width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; display: grid; place-items: center; margin-bottom: 16px; }
.bg-navy .step__n { background: var(--cyan); color: var(--navy); }
.step h4 { margin-bottom: 7px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.bg-navy .step p { color: rgba(255,255,255,.7); }

/* ============================================================ RANKED REVIEW CARDS */
.ranklist { display: flex; flex-direction: column; gap: 18px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .22s, transform .2s, border-color .2s; scroll-margin-top: 0; }
.review:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review--top { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.review__ribbon { display: flex; align-items: center; gap: 8px; background: var(--clay); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 8px 20px; }
.review__ribbon svg { width: 15px; height: 15px; }
.review__main { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; padding: 24px 26px; align-items: start; }
.review__rate { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.review__rate .rk { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.review__body { min-width: 0; }
.review__name { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.review__name h3 { font-size: 23px; }
.review__meta { margin-top: 7px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.review__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.review__desc { margin-top: 13px; font-size: 15px; color: var(--text); line-height: 1.55; }
.review__certs { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 8px; }
.review__side { width: 210px; display: flex; flex-direction: column; gap: 10px; padding-left: 24px; border-left: 1px solid var(--line-2); }
.review__side .best { font-size: 12.5px; color: var(--muted); text-align: center; }
.review__side .best b { display: block; color: var(--ink); font-size: 15px; margin-top: 2px; }
.review__side .btn { width: 100%; }
.review__hl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.review__hl .col h5 { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; font-family: var(--font-sans); font-weight: 700; }
.review__hl .pros h5 { color: var(--green); }
.review__hl .cons h5 { color: var(--red); }
.review__hl li { font-size: 13.5px; color: var(--text); line-height: 1.4; padding-left: 20px; position: relative; margin-bottom: 6px; }
.review__hl .pros li::before, .review__hl .cons li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; }
.review__hl .pros li::before { background: var(--green); -webkit-mask: var(--check-mask) center/contain no-repeat; mask: var(--check-mask) center/contain no-repeat; }
.review__hl .cons li::before { background: var(--red); -webkit-mask: var(--x-mask) center/contain no-repeat; mask: var(--x-mask) center/contain no-repeat; }

/* ============================================================ COMPARISON TABLE */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.ctable { font-size: 14.5px; min-width: 760px; }
.ctable th, .ctable td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-2); }
.ctable thead th { background: var(--navy); color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: 13px; }
.ctable tbody tr:last-child td { border-bottom: none; }
.ctable tbody tr:hover td { background: var(--blue-wash); }
.ctable .co { font-weight: 700; color: var(--ink); }
.ctable .co small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.ctable .yes { color: var(--green); font-weight: 700; }
.ctable .no { color: var(--muted-2); }
.ctable .stars svg { width: 14px; height: 14px; }

/* ============================================================ ANSWER BOX (AI extraction) */
.answer { background: var(--bg-alt); border-radius: var(--r-md); padding: 24px 28px; border-left: 4px solid var(--blue); }
.answer .q { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 10px; display: inline-flex; align-items: center; gap: 8px; }
.answer .q svg { width: 15px; height: 15px; }
.answer p { font-size: 17px; color: var(--text); line-height: 1.6; }
.answer--clay { border-left-color: var(--clay); }
.answer--clay .q { color: var(--clay-deep); }

/* ============================================================ COST CARDS */
.costgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.costcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.costcard .top { display: flex; justify-content: space-between; align-items: start; }
.costcard h4 { font-size: 20px; }
.costcard .range { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--ink); margin: 14px 0 4px; letter-spacing: -.03em; }
.costcard .per { font-size: 13px; color: var(--muted); }
.costcard ul { margin-top: 18px; }
.costcard li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.costcard li:last-child { border-bottom: none; }
.costcard li span { color: var(--muted); }
.costcard li b { color: var(--ink); }

/* ============================================================ TIMELINE */
.timeline { display: grid; gap: 14px; }
.tl { display: grid; grid-template-columns: 52px 1fr auto; gap: 20px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; }
.tl__n { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-wash); color: var(--blue-ink); font-family: var(--font-display); font-weight: 700; font-size: 19px; display: grid; place-items: center; }
.tl__c h4 { margin-bottom: 5px; }
.tl__c p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.tl__when { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--blue-ink); background: var(--blue-wash); padding: 8px 13px; border-radius: 999px; white-space: nowrap; }
.tl__when svg { width: 15px; height: 15px; }

/* ============================================================ METHODOLOGY (navy) */
.methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r-md); overflow: hidden; }
.methods .m { background: var(--navy); padding: 30px; }
.methods .m .icon-tile { background: rgba(255,255,255,.08); color: var(--cyan); }
.methods .m h4 { color: #fff; margin: 18px 0 8px; }
.methods .m p { color: rgba(255,255,255,.68); font-size: 14.5px; line-height: 1.55; }

/* ============================================================ FAQ */
.faq { max-width: var(--maxw-prose); margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 22px; font-weight: 600; font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .2s; }
.faq summary .ic::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq summary .ic::after { left: 10px; top: 3px; bottom: 3px; width: 2px; }
.faq details[open] summary .ic::after { transform: scaleY(0); }
.faq .ans { padding: 0 22px 20px; font-size: 15.5px; color: var(--text); line-height: 1.65; }

/* ============================================================ LEAD FORM */
.leadform { background: var(--navy); border-radius: var(--r-xl); padding: clamp(28px,4vw,52px); position: relative; overflow: hidden; }
.leadform__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; position: relative; }
.leadform .label { color: var(--cyan); }
.leadform h2 { color: #fff; margin-top: 14px; }
.leadform .sub { color: rgba(255,255,255,.74); margin-top: 14px; font-size: 17px; line-height: 1.55; }
.leadform__points { margin-top: 24px; display: flex; flex-direction: column; gap: 13px; }
.leadform__points li { display: flex; align-items: center; gap: 13px; font-size: 15.5px; color: rgba(255,255,255,.92); }
.leadform__points .icon-tile { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--cyan); }
.leadform__points .icon-tile svg { width: 19px; height: 19px; }
.lf-card { background: #fff; border-radius: var(--r-lg); padding: 28px; }
.lf-card h3 { font-size: 21px; margin-bottom: 4px; }
.lf-card .lf-int { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.lf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.lf-field label { font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.lf-field input, .lf-field select { font-size: 15.5px; padding: 12px 14px; border-radius: var(--r-xs); border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink); outline: none; transition: border .15s; }
.lf-field input:focus, .lf-field select:focus { border-color: var(--blue); }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-disclaimer { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
/* file upload (energy bill) */
.lf-upload { position: relative; display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1.5px dashed var(--blue-wash-2); border-radius: var(--r-xs); background: var(--blue-wash); cursor: pointer; transition: border-color .15s, background .15s; }
.lf-upload:hover { border-color: var(--blue); }
.lf-upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lf-upload .ic { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-xs); }
.lf-upload .ic svg { width: 19px; height: 19px; }
.lf-upload .tx { min-width: 0; }
.lf-upload .tx b { font-size: 14px; color: var(--ink); display: block; }
.lf-upload .tx span { font-size: 12.5px; color: var(--muted); }
.lf-upload.has-file { border-style: solid; border-color: var(--green); background: var(--green-tint); }
.lf-upload.has-file .ic { color: var(--green); }

/* ============================================================ MARKET CALLOUT */
.market { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; background: var(--blue-wash); border-radius: var(--r-xl); padding: clamp(28px,4vw,52px); overflow: hidden; }
.market .live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.market .live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.market h2 { margin: 16px 0; }
.market p { font-size: 17px; color: var(--text); line-height: 1.55; }
.market__media { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }

.markets-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.mkt { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.mkt.live-mkt { border-color: var(--blue); background: var(--blue-wash); }
.mkt h4 { font-size: 18px; }
.mkt .st { font-size: 13px; color: var(--muted); margin-top: 5px; }
.mkt .badge-live { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--green); padding: 3px 8px; border-radius: 5px; }
.mkt .badge-soon { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); background: var(--bg-alt); padding: 3px 8px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line); }

/* ============================================================ DFW LEADERBOARD */
.lb { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.lb__row { display: grid; grid-template-columns: 54px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line-2); transition: background .15s; }
.lb__row:last-child { border-bottom: none; }
.lb__row:hover { background: var(--bg-soft); text-decoration: none; }
.lb__row.top { background: linear-gradient(90deg, var(--clay-tint), transparent 60%); }
.lb__rank { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--muted-2); text-align: center; }
.lb__row.top .lb__rank { color: var(--clay-deep); }
.lb__name b { font-size: 17px; color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.lb__name .m { font-size: 13px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lb__badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue-ink); background: var(--blue-wash); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.lb__row.top .lb__badge { color: var(--clay-deep); background: var(--clay-tint); }
.lb__score { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); text-align: right; }
.lb__score .d { font-size: 12px; color: var(--muted-2); font-weight: 500; }
@media (max-width: 720px){ .lb__row { grid-template-columns: 42px 1fr auto; } .lb__badge { display: none; } }

/* ============================================================ FOOTER */
.footer { background: var(--navy); color: rgba(255,255,255,.62); padding-block: clamp(48px,6vw,72px) 30px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer__desc { font-size: 14px; line-height: 1.6; max-width: 34ch; }
.footer h5 { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; font-weight: 700; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(255,255,255,.78); font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }
.footer__legal { max-width: 60ch; }

/* ============================================================ STICKY MOBILE CALL BAR */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.callbar .btn { flex: 1; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1000px) {
  .feature, .leadform__grid, .market { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .cards--3, .cards--4, .costgrid, .methods, .steps, .markets-grid { grid-template-columns: repeat(2,1fr); }
  .review__main { grid-template-columns: auto 1fr; }
  .review__side { grid-column: 1/-1; width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding-left: 0; padding-top: 18px; border-left: none; border-top: 1px solid var(--line-2); }
  .review__side .best { flex: 1; text-align: left; }
  .review__side .btn { flex: 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1280px) {
  .nav:not(.nav--open) { display: none; }
  .nav--open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 12px; max-height: calc(100vh - 82px); overflow-y: auto; }
  .nav--open > a { padding: 13px 14px; font-size: 16px; }
  .nav--open .nav__cta, .nav--open .nav__phone { margin: 6px 0 0; }
  .nav--open .nav__item { display: flex; flex-direction: column; align-items: stretch; }
  .nav--open .nav__parent { padding: 13px 14px; font-size: 16px; justify-content: space-between; }
  .nav--open .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 6px 14px; min-width: 0; }
  .nav--open .nav__sub a { padding: 11px 14px; font-size: 15px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 680px) {
  .cards--2, .cards--3, .cards--4, .costgrid, .methods, .steps, .markets-grid { grid-template-columns: 1fr; }
  .review__main { grid-template-columns: 1fr; }
  .review__rate { flex-direction: row; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .callbar { display: flex; }
  body { padding-bottom: 70px; }
}
/* ---- small-phone safety net (iPhone-class widths) ---- */
@media (max-width: 480px) {
  /* prevent any stray full-width child from forcing horizontal scroll */
  html, body { overflow-x: hidden; }
  .statrow, .statrow--4, .proscons, .brandfacts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .heroH__callrow { flex-direction: column; align-items: stretch; }
  .heroH__callrow .btn { width: 100%; }
  .heroH__or { display: none; }
  .scorecard__head { flex-wrap: wrap; }
  .review__side .btn { flex: 1 1 100%; }
}
/* ---- mobile hardening: tables, forms, dense rows (≤560px) ---- */
@media (max-width: 560px) {
  .tablewrap { -webkit-overflow-scrolling: touch; }
  .ctable { min-width: 540px; font-size: 13.5px; }
  .ctable th, .ctable td { padding: 11px 12px; }
  .ctable .co small { font-size: 11px; }
  .lf-row { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 44px 1fr; row-gap: 12px; }
  .tl__when { grid-column: 2; justify-self: start; }
  .answer { padding: 20px 18px; }
  .callout { padding: 18px; gap: 13px; }
  .callout .icon-tile { width: 38px; height: 38px; }
  .prose-section { padding-block: clamp(26px,7vw,40px); }
  .faq summary { font-size: 15.5px; padding: 16px 18px; }
  .faq .ans { padding: 0 18px 18px; }
}
/* ---- very small phones (≤400px) ---- */
@media (max-width: 400px) {
  .ctable { min-width: 480px; }
  .heroH__chips .chip, .chip { font-size: 12px; }
  h1 { font-size: clamp(30px, 8.5vw, 40px); }
  .est-out, .cest__out { padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ============================================================ SUBPAGE: BREADCRUMB */
.breadcrumb { padding-block: 16px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li::after { content: "›"; color: var(--muted-2); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-ink); }
.breadcrumb li[aria-current] { color: var(--ink); font-weight: 600; }

/* ============================================================ SUBPAGE: ARTICLE HERO */
.ahero { padding-block: clamp(30px,4vw,52px) clamp(28px,3.5vw,44px); }
.ahero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,60px); align-items: center; }
.ahero h1 { margin-top: 14px; }
.ahero .lede { margin-top: 18px; color: var(--muted); max-width: 46ch; }
.ahero__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.2; box-shadow: var(--shadow-md); background: var(--bg-alt); }
.byline { margin-top: 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.byline b { color: var(--ink); font-weight: 600; }
.byline .upd { display: inline-flex; align-items: center; gap: 6px; }
.byline .upd::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
@media (max-width:900px){ .ahero__grid { grid-template-columns: 1fr; } .ahero__media { max-width: 560px; } }

/* ============================================================ SUBPAGE: LAYOUT WITH TOC */
.doc { display: grid; grid-template-columns: 232px 1fr; gap: clamp(28px,4vw,60px); align-items: start; }
.doc > .prose, .doc > * { min-width: 0; }
.toc { position: sticky; top: 100px; }
.toc h6 { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-bottom: 14px; }
.toc ul { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.toc ul a { display: block; font-size: 14px; color: var(--muted); padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.35; }
.toc ul a:hover { color: var(--blue-ink); text-decoration: none; }
.toc ul a.on { color: var(--ink); font-weight: 600; border-left-color: var(--clay); }
.toc .btn { margin-top: 18px; width: 100%; }
@media (max-width:900px){ .doc { grid-template-columns: 1fr; } .toc { display: none; } }

/* ============================================================ SUBPAGE: PROSE */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(25px,2.6vw,33px); margin-top: 8px; scroll-margin-top: 0; }
.prose h2:not(:first-child) { margin-top: 14px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--text); }
.prose ul.bullets, .prose ol.steps-list { display: flex; flex-direction: column; gap: 11px; margin-top: 6px; }
.prose ul.bullets li { position: relative; padding-left: 28px; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; -webkit-mask: var(--check-mask) center/11px no-repeat; mask: var(--check-mask) center/11px no-repeat; background: var(--green); }
.prose ol.steps-list { counter-reset: s; gap: 14px; }
.prose ol.steps-list li { position: relative; padding-left: 44px; font-size: 16.5px; line-height: 1.6; min-height: 32px; }
.prose ol.steps-list li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.prose strong { color: var(--ink); }
.prose-section { padding-block: clamp(36px,4vw,56px); }
.prose-section + .prose-section { border-top: 1px solid var(--line); }

.statrow { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 6px 0; }
.statrow .s { background: var(--bg-alt); border-radius: var(--r); padding: 20px; }
.statrow .s .v { font-family: var(--font-display); font-weight: 700; font-size: 27px; color: var(--ink); letter-spacing: -.02em; }
.statrow .s .k { font-size: 13px; color: var(--muted); margin-top: 5px; }
.statrow--4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 720px){ .statrow--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width:680px){ .statrow { grid-template-columns: 1fr; } }

.callout { background: var(--blue-wash); border-radius: var(--r-md); padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.callout .icon-tile { width: 42px; height: 42px; }
.callout h4 { font-size: 17px; margin-bottom: 5px; }
.callout p { font-size: 14.5px; color: var(--text); line-height: 1.55; }
.callout--clay { background: var(--clay-tint); }
.callout--clay .icon-tile { background: #fff; color: var(--clay-deep); }

.related { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width:760px){ .related { grid-template-columns: 1fr; } }

/* ============================================================ BRAND PICK CARDS (SafeHome × SafeWise hybrid) */
/* expert byline */
.bbyline { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.bbyline__av { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.bbyline__av svg { width: 26px; height: 26px; }
.bbyline__tx { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.bbyline__tx b { color: var(--ink); font-weight: 700; }
.bbyline__tx .upd { display: inline-flex; align-items: center; gap: 6px; }
.bbyline__tx .upd::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
/* trust-stat strip */
.bstats { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; margin-top: 18px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bstat { flex: 1 1 0; min-width: 0; padding: 12px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; border-left: 1px solid var(--line); }
.bstat:first-child { border-left: none; }
.bstat svg { display: none; }
.bstat .v { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; }
.bstat .k { font-size: 11px; color: var(--muted); line-height: 1.2; margin-top: 3px; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 900px){ .bstats { flex-wrap: wrap; } .bstat { flex: 1 1 33%; } .bstat:nth-child(4){ border-left: none; } }
@media (max-width: 460px){ .bstat { flex: 1 1 50%; } }

.bpicks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: stretch; padding-top: 26px; }
.bpick { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .22s ease; overflow: hidden; }
.bpick:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bpick--top { border-color: var(--clay); box-shadow: 0 0 0 1.5px var(--clay), var(--shadow-md); }
/* rank pill, sits on the colored header bar (top-right) */
.bpick__badge { position: absolute; top: 9px; right: 9px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; z-index: 3; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 2px 6px rgba(16,42,32,.28), inset 0 0 0 1.5px rgba(255,255,255,.9); }
.bpick__badge svg { display: none; }
.bpick__badge span { font-family: var(--font-display); font-weight: 800; font-size: 13px; line-height: 1; letter-spacing: -.02em; color: var(--navy); }
.bpick--top .bpick__badge span { color: var(--clay-deep); }
.bpick__body { display: flex; flex-direction: column; flex: 1; padding: 20px 14px 18px; text-align: center; }
.bpick__cat { font-family: var(--font-display); font-weight: 700; font-size: 13px; line-height: 1.25; color: #fff; letter-spacing: -.02em; background: var(--navy); padding: 13px 8px; text-align: center; white-space: nowrap; min-height: 44px; display: flex; align-items: center; justify-content: center; }nter; }
.bpick--top .bpick__cat { background: linear-gradient(180deg, var(--blue-2) 0%, var(--blue) 100%); letter-spacing: .02em; box-shadow: inset 0 -2px 0 rgba(0,0,0,.14); text-transform: uppercase; font-size: 12px; }
.bpick__name { font-weight: 700; font-size: 16px; color: var(--ink); margin-top: 8px; }
.bpick__logo { min-height: 42px; height: 46px; display: flex; align-items: center; justify-content: center; margin: 12px 0; }
.bpick__logo img { max-height: 100%; max-width: 80%; width: auto; object-fit: contain; }
.bpick__logo .logoplate__mono { font-size: 14.5px; }
.bpick__score { font-size: 14px; color: var(--muted); font-weight: 600; }
.bpick__score b { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--green); letter-spacing: -.02em; }
.bpick__score .stars { display: flex; justify-content: center; gap: 1.5px; margin-bottom: 6px; }
.bpick__score .stars svg { width: 15px; height: 15px; }
.bpick__desc { font-size: 13px; line-height: 1.55; color: var(--text); margin-top: 12px; }
.bpick__hl { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; text-align: left; }
.bpick__hl li { position: relative; padding-left: 24px; font-size: 12.5px; line-height: 1.4; color: var(--text); }
.bpick__hl li::before { content: ""; position: absolute; left: 0; top: 1px; width: 15px; height: 15px; border-radius: 50%; background: var(--green); -webkit-mask: var(--check-mask) center/10px no-repeat; mask: var(--check-mask) center/10px no-repeat; }
.bpick__hl li.is-award { font-weight: 700; color: var(--ink); }
.bpick__hl li.is-award::before { background: var(--clay); -webkit-mask: var(--trophy-mask, var(--check-mask)) center/11px no-repeat; mask: var(--trophy-mask, var(--check-mask)) center/11px no-repeat; }
.bpick__cta { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.bpick__cta .btn { width: 100%; }
.bpick__rev { font-size: 12px; color: var(--muted-2); }
.bpick__phone { font-size: 14.5px; font-weight: 700; color: var(--clay-deep); display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.bpick__phone svg { width: 15px; height: 15px; }
.bpick__phone:hover { color: var(--clay); }
@media (max-width: 1080px){ .bpicks { grid-template-columns: repeat(3, 1fr); gap: 26px 16px; } }
@media (max-width: 760px){ .bpicks { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; } }
@media (max-width: 540px){ .bpicks { grid-template-columns: 1fr; gap: 28px; } }

/* review hero scorecard */.scorecard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.scorecard__head { padding: 22px 24px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 18px; }
.scorecard__body { padding: 8px 24px 20px; }
.scorecard__row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.scorecard__row:last-child { border-bottom: none; }
.scorecard__row .lab { flex: 1; font-size: 14px; color: var(--text); }
.scorecard__bar { width: 120px; height: 7px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.scorecard__bar span { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.scorecard__row .num { width: 34px; text-align: right; font-weight: 700; font-size: 14px; color: var(--ink); }
.scorecard__foot { padding: 18px 24px; background: var(--bg-soft); border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width:680px){ .proscons { grid-template-columns: 1fr; } .scorecard__bar { width: 80px; } }
.proscons .col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }
.proscons h4 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.proscons .pros h4 { color: var(--green); }
.proscons .cons h4 { color: var(--red); }
.proscons li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: var(--text); margin-bottom: 10px; }
.proscons li:last-child { margin-bottom: 0; }
.proscons .pros li::before, .proscons .cons li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; }
.proscons .pros li::before { background: var(--green); -webkit-mask: var(--check-mask) center/11px no-repeat; mask: var(--check-mask) center/11px no-repeat; }
.proscons .cons li::before { background: var(--red); -webkit-mask: var(--x-mask) center/11px no-repeat; mask: var(--x-mask) center/11px no-repeat; }

/* ============================================================ BRAND REVIEW / DIRECTORY COMPONENTS */
.logoplate { display: inline-flex; align-items: center; }
.logoplate img { max-height: 40px; max-width: 150px; width: auto; height: auto; display: block; object-fit: contain; }
.logoplate__mono { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; color: #fff; padding: 8px 14px; border-radius: 9px; line-height: 1; }
.brandhero__rating { display: flex; align-items: center; gap: 16px; margin: 18px 0 6px; }
.brandcta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.brandfacts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.brandfacts .f { background: var(--card); padding: 20px 22px; }
.brandfacts .f .k { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-bottom: 7px; }
.brandfacts .f .v { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); line-height: 1.25; }
.brandfacts .f .v small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 5px; letter-spacing: 0; line-height: 1.4; }
@media (max-width: 760px){ .brandfacts { grid-template-columns: 1fr; } }
.svc { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; align-items: flex-start; }
.svc .icon-tile { width: 44px; height: 44px; }
.svc h4 { font-size: 16px; margin-bottom: 4px; }
.svc p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.partner-flag { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-ink); background: var(--blue-wash); padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--blue-wash-2); }
.partner-flag svg { width: 13px; height: 13px; }
.review__ribbon--partner { background: var(--blue); }

/* ============================================================ BTN: ghost on dark */
.btn--ghost-light { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); }
.btn--ghost-light:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.06); }

/* ============================================================ SISTER-SITE CTA (RoofingScout) — wide two-column dark banner */
.rscta { position: relative; display: flex; align-items: center; gap: clamp(24px,4vw,56px); background: linear-gradient(135deg, #16243D 0%, #20355A 100%); border-radius: var(--r-lg); padding: clamp(22px,2.6vw,30px) clamp(24px,3vw,38px); overflow: hidden; }
.rscta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #F0894A, #E5743A); }
.rscta__main { flex: 1; min-width: 0; }
.rscta__top { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-bottom: 13px; }
.rscta__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 700; font-size: 14.5px; letter-spacing: -.01em; color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); padding: 7px 14px; border-radius: 10px; }
.rscta__badge svg { width: 17px; height: 17px; color: #F5A65B; }
.rscta .rscta__label { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #C2D2E6; }
.rscta__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F0894A; }
.rscta .rscta__title { font-family: var(--font-sans); font-weight: 800; font-size: clamp(22px,2.4vw,30px); color: #FFFFFF; letter-spacing: -.02em; line-height: 1.14; margin: 0; }
.rscta .rscta__desc { margin-top: 11px; font-size: 15.5px; line-height: 1.6; color: #E4ECF6; max-width: 56ch; }
.rscta .rscta__desc strong { color: #fff; }
.rscta__action { flex-shrink: 0; display: flex; flex-direction: column; align-items: stretch; gap: 13px; width: clamp(232px, 25%, 290px); }
.rscta__btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; white-space: nowrap; padding: 15px 22px; border-radius: var(--r); font-family: var(--font-sans); font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: #16243D; background: #F59E2E; box-shadow: 0 12px 26px -10px rgba(245,158,46,.6); transition: background .16s, transform .14s, box-shadow .2s; }
.rscta__btn:hover { background: #fff; color: #16243D; transform: translateY(-1px); text-decoration: none; }
.rscta__btn svg { width: 18px; height: 18px; transition: transform .16s; }
.rscta__btn:hover svg { transform: translateX(3px); }
.rscta .rscta__fine { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.45; color: #C8D5E6; }
.rscta__fine svg { width: 15px; height: 15px; color: #F5A65B; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 760px){ .rscta { flex-direction: column; align-items: stretch; gap: 20px; } .rscta__action { width: 100%; } }

/* Full-width components (lead form, sister-site CTA) break out of the narrow
   reading column on article pages so they aren't cramped or clipped. */
@media (min-width: 921px){
  .doc .prose .leadform,
  .doc .prose .rscta {
    width: var(--maxw-narrow);
    max-width: calc(100vw - 2 * var(--gutter));
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/* image placeholder (striped) for missing photography */
.ph { position: relative; width: 100%; height: 100%; background:
  repeating-linear-gradient(135deg, var(--blue-wash) 0 14px, var(--bg-alt) 14px 28px);
  display: grid; place-items: center; }
.ph span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: .04em; color: var(--muted); background: rgba(255,255,255,.78); padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-xs); }
