/* ============================================================
   ROOFINGSCOUT — Core Design System (redesign)
   Shared foundation for all three homepage directions and the
   rolled-out site. Brand: Poppins · Dark Blue #173356 ·
   Primary Blue #01598D · Secondary cyan #029EBF · softened
   clay-orange. Editorial-authority lean (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 blues */
  --navy:        #173356;   /* Dark Blue — dark sections, headings */
  --navy-2:      #0F2942;   /* deeper navy for layering */
  --blue:        #01598D;   /* Primary Blue — links / primary accents */
  --blue-ink:    #034A75;   /* darker for text/hover */
  --blue-2:      #029EBF;   /* Secondary cyan */
  --cyan:        #20B8D9;   /* Secondary light cyan — pops on navy */
  --blue-wash:   #EAF1F7;   /* light blue surface */
  --blue-wash-2: #DCE8F1;   /* slightly deeper wash */

  /* Softened brand orange (clay) — used sparingly for the #1 CTA / awards */
  --clay:        #DD6A40;
  --clay-deep:   #C0531F;
  --clay-tint:   #FBEADF;

  /* Yellow (brand) for stars/awards accents */
  --gold:        #E6A93C;

  /* Ink / neutrals */
  --ink:     #142A45;       /* near dark-blue, body headings */
  --text:    #2C3440;       /* body copy */
  --muted:   #5E6B7A;       /* secondary text */
  --muted-2: #8A97A6;       /* tertiary */
  --line:    #E2E7ED;       /* hairlines */
  --line-2:  #EFF2F6;       /* faint fills */

  /* Surfaces */
  --bg:      #FFFFFF;
  --bg-alt:  #F5F7FA;
  --bg-soft: #FAFBFC;
  --card:    #FFFFFF;

  /* Status */
  --green:      #1C8C57;
  --green-tint: #E4F2EA;
  --red:        #C2492F;
  --red-tint:   #F8E8E3;

  /* Type */
  --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 */
  --r-xs: 8px;
  --r:    12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-2xl: 40px;

  /* Shadows — soft, cool, layered */
  --shadow-xs: 0 1px 2px rgba(20,42,69,.06);
  --shadow-sm: 0 2px 8px -2px rgba(20,42,69,.10);
  --shadow-md: 0 14px 34px -16px rgba(20,42,69,.24);
  --shadow-lg: 0 34px 70px -30px rgba(20,42,69,.34);
  --shadow-clay: 0 10px 24px -10px rgba(192,83,31,.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); }

/* ============================================================ 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: #DD6A40; background: var(--clay); color: #fff !important; box-shadow: var(--shadow-clay); }
.btn--primary:hover { background: #C0531F; background: var(--clay-deep); transform: translateY(-1px); }
.btn--blue { background: #01598D; background: var(--blue); color: #fff !important; }
.btn--blue:hover { background: #034A75; background: var(--blue-ink); transform: translateY(-1px); }
.btn--dark { background: #142A45; background: var(--ink); color: #fff !important; }
.btn--dark:hover { background: #1d3a5e; 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: #f1f4f8; }
.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); }

/* phone CTA — primary action site-wide */
.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); }

/* circular rating badge (NerdWallet) */
.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: 1340px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 52px; width: auto; }
.brand .region { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--clay); padding: 3px 7px; border-radius: 5px; }
.nav { display: flex; align-items: center; gap: 1px; }
.nav > a { color: var(--ink); font-weight: 500; font-size: 14.5px; padding: 9px 11px; 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; }
/* dropdown menu */
.nav__item { position: relative; display: inline-flex; }
.nav__parent { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 500; font-size: 14.5px; padding: 9px 11px; 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; }
/* sub-navigation bar (in-page anchors; used on home + DFW hub) */
.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 row (Apple alternating) */
.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: 48px; }
.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; min-width: 0; }
.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 { width: 100%; box-sizing: border-box; min-width: 0; max-width: 100%; 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; }

/* ============================================================ 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); }

/* ============================================================ DIRECTORY HERO + PICK CARDS + SCOUT SCORE */
.dirhero { text-align: left; padding-block: clamp(26px,3.4vw,46px) clamp(20px,2.4vw,30px); }
.dirhero .label { justify-content: flex-start; }
.dirhero h1 { margin-top: 14px; font-size: clamp(34px,4.8vw,54px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; max-width: 30ch; }
.dirhero h1 .loc { color: var(--blue-ink); }
.dirhero__sub { margin: 18px 0 0; max-width: 80ch; font-size: clamp(17px,1.7vw,20px); line-height: 1.5; color: var(--muted); }
.dirhero__cta { margin-top: 26px; display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; align-items: center; }
.dirhero__note { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
.dirhero__note svg { width: 15px; height: 15px; color: var(--green); }
/* hero byline */
.dirby { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.dirby .mg { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.dirby .mg svg { width: 22px; height: 22px; color: var(--cyan); }
.dirby b { display: block; font-size: 14.5px; color: var(--ink); }
.dirby span { font-size: 13px; color: var(--muted); }
/* stat bar — thin, sleek, symmetric */
.statbar { display: flex; flex-wrap: nowrap; border: 1px solid var(--line); border-radius: 10px; max-width: 1520px; margin: 16px auto 0; background: var(--bg-soft); gap: 0; overflow: hidden; }
.statbar div { flex: 1 1 0; min-width: 0; padding: 4px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0; }
.statbar .v { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.statbar .k { margin-top: 0; font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.1; white-space: nowrap; }
/* footer note under pick cards */
.dirnote { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted-2); }
.dirnote a { color: var(--clay-deep); font-weight: 600; text-decoration: none; }
.dirnote a:hover { text-decoration: underline; }

/* pick cards — one row, equal banners */
.pickrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; max-width: 1520px; margin-inline: auto; }
.pick { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #FCFDFE 0%, #F4F8FB 100%); border: 1px solid #E7EEF4; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: transform .16s, box-shadow .16s; }
.pick__rank { position: absolute; top: 46px; right: 9px; width: 28px; height: 28px; z-index: 3; border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 2px 6px rgba(20,42,69,.28), inset 0 0 0 1.5px rgba(255,255,255,.9); display: inline-flex; align-items: center; justify-content: center; }
.pick__rank span { font-family: var(--font-display); font-weight: 800; font-size: 13px; line-height: 1; letter-spacing: -.02em; color: var(--navy); }
.pick--top .pick__rank span { color: var(--clay-deep); }
.pick:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pick--top { border-color: var(--clay); box-shadow: 0 0 0 2px var(--clay), var(--shadow-md); }
.pick__banner { height: 38px; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--navy); color: #fff; font-family: var(--font-ui); font-weight: 700; font-size: 12.5px; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.pick__banner svg { width: 11px; height: 11px; }
.pick--top .pick__banner { background: linear-gradient(180deg, #0E7FB8 0%, var(--blue) 100%); box-shadow: inset 0 -2px 0 rgba(0,0,0,.14); }
.pick--remi { border-color: var(--cyan); }
.pick--remi .pick__banner { background: #0E7A93; }
.pick__body { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 26px 16px 24px; flex: 1; text-align: center; }
.pick__logo, .pick__score, .pick__name { position: relative; }
.pick__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--ink); line-height: 1.15; }
.pick__logo { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: center; }
.pick__logo .logoplate { height: auto; }
.pick__logo .logoplate__mono { display: inline-flex; }
.pick__logo img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; }
.pick__logo--dark { background: var(--navy); border-radius: var(--r-sm); padding: 9px 14px; min-height: 0; }
.pick__logo--dark img { max-height: 34px; }
.pick__score { display: flex; align-items: baseline; justify-content: center; gap: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.pick__score b { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; color: var(--green); letter-spacing: -.02em; text-transform: none; }
.pick__score span { font-size: 13px; color: var(--muted-2); font-weight: 700; }
.pick__desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0; text-align: center; }
.pick__bullets { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; width: 100%; text-align: left; }
.pick__bullets li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.4; color: var(--text); }
.pick__bullets li:first-child { white-space: nowrap; font-size: 13px; letter-spacing: -.01em; font-weight: 700; color: var(--ink); }
.pick__bullets li:first-child::before { background: var(--clay); }
.pick__bullets li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: var(--check-mask) center/16px no-repeat; -webkit-mask: var(--check-mask) center/16px no-repeat; background-color: var(--green); }
.pick__cta { margin-top: auto; width: 100%; padding-top: 6px; }
.pick__foot { margin-top: auto; width: 100%; padding-top: 16px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.pick__call { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--clay-deep); text-decoration: none; white-space: nowrap; }
.pick__call svg { width: 15px; height: 15px; }
.pick__call:hover { text-decoration: underline; }

/* trust bar — single hairline inline strip */
.trustbar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(16px,3vw,38px); border: 1px solid var(--line); border-radius: 999px; padding: 14px 26px; max-width: 920px; margin: 22px auto 0; }
.trustbar span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.trustbar svg { width: 17px; height: 17px; color: var(--muted-2); }

/* Scout Score chip (review cards + hero badge replacement) */
.scout { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 80px; }
.scout .v { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--clay-deep); letter-spacing: -.02em; }
.scout .v small { font-size: 17px; color: var(--muted-2); font-weight: 700; }
.scout .k { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); }

@media (max-width: 900px){
  .pickrow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px){
  .pickrow { grid-template-columns: 1fr; }
  .trustbar { border-radius: var(--r-lg); gap: 12px 22px; padding: 16px 20px; }
}

.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); }

/* ============================================================ 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 img { height: 60px; 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; }
}
/* ---- phone hardening (≤520px, e.g. iPhone 16 Pro 393px) ---- */
@media (max-width: 520px) {
  /* stat bar: pill becomes a symmetric 3-col grid so cells don't crush */
  .statbar { flex-wrap: wrap; border-radius: var(--r-md); }
  .statbar div { flex: 1 1 33.33%; padding: 10px 8px; border-top: 1px solid var(--line); }
  .statbar div:nth-child(-n+3) { border-top: 0; }
  .statbar div:nth-child(3n+1) { border-left: 0; }
  /* pros/cons inside review cards stack instead of cramming 2 columns */
  .review__hl { grid-template-columns: 1fr; gap: 16px; }
  .review__main { padding: 20px 16px; }
  .review__name h3 { font-size: 20px; }
  /* CTA button rows stack full-width for big tap targets */
  .brandcta { flex-direction: column; align-items: stretch; }
  .brandcta .btn { width: 100%; justify-content: center; }
  /* review side action buttons stack full-width (not squeezed side-by-side) */
  .review__side { flex-direction: column; align-items: stretch; }
  .review__side .best { text-align: center; }
  .review__side .btn { width: 100%; flex: none; }
  /* footer to a single column on the smallest screens */
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  /* answer/callout boxes & section paddings tighten */
  .answer, .callout { padding: 22px 18px; }
  /* lead form padding */
  .leadform { padding: 26px 20px; }
  /* lead form: stack phone/ZIP so inputs never force horizontal overflow */
  .lf-row { grid-template-columns: 1fr; }
  .lf-card { padding: 22px 18px; }
  /* scorecard rows: keep bar from eating the label */
  .scorecard__head { gap: 14px; padding: 18px 18px; }
  .scorecard__body { padding: 6px 18px 16px; }
  .scorecard__bar { width: 64px; }
  /* chips wrap comfortably */
  .review__certs { gap: 7px; }
  /* timeline: date chip drops below the heading instead of squeezing the right column */
  .tl { grid-template-columns: 44px 1fr; gap: 14px 16px; padding: 18px 18px; }
  .tl__when { grid-column: 2; justify-self: start; margin-top: 2px; }
}
/* ---- comparison-table swipe affordance (any small screen) ---- */
@media (max-width: 760px) {
  .tablewrap { position: relative; -webkit-overflow-scrolling: touch; }
  .tablewrap::after {
    content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 40px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.92));
    pointer-events: none; border-radius: 0 var(--r-md) var(--r-md) 0;
  }
  .tablewrap[data-scrolled="end"]::after { opacity: 0; }
  .table-hint { display: flex !important; }
}
/* "swipe to compare" caption — hidden by default, shown under tables on mobile via the rule above */
.table-hint { display: none; align-items: center; gap: 7px; justify-content: center; margin-top: 12px; font-size: 13px; color: var(--muted-2); }
.table-hint svg { width: 15px; height: 15px; }
@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: stretch; }
.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; height: 100%; min-height: 340px; 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; align-items: start; } .ahero__media { max-width: 560px; height: auto; min-height: 0; aspect-ratio: 4/3.2; } }

/* ============================================================ 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; } }
/* When a .doc has no sidebar TOC, render prose as a centered single column */
.doc:not(:has(.toc)) { display: block; }
.doc:not(:has(.toc)) > .prose { margin-inline: auto; }

/* ============================================================ 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: 48px; }
.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%; background: var(--green-tint); -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); }

/* pull stat row */
.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 box */
.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); }

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

/* 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 LOGO PLATE (real logo + monogram fallback) */
.logoplate { display: inline-flex; align-items: center; height: 46px; }
.logoplate img { max-height: 46px; max-width: 172px; width: auto; object-fit: contain; display: block; }
.logoplate__mono { display: none; align-items: center; height: 42px; padding: 0 15px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .01em; color: #fff; white-space: nowrap; }
.logoplate--sm { height: 38px; }
.logoplate--sm img { max-height: 38px; max-width: 140px; }
.logoplate--sm .logoplate__mono { height: 36px; font-size: 15px; padding: 0 12px; }

/* brand card CTA stack */
.review__side .btn svg { width: 15px; height: 15px; }
.review__cta-call { width: 100%; }

/* ============================================================ BRAND PAGE: facts grid + services */
.brandfacts { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.brandfacts .f { background: var(--card); padding: 18px 22px; }
.brandfacts .f .k { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.brandfacts .f .v { font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.brandfacts .f .v small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width:680px){ .brandfacts { grid-template-columns: 1fr; } }

.svc { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.svc .icon-tile { width: 46px; height: 46px; }
.svc h4 { font-size: 17px; margin-bottom: 5px; }
.svc p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* brand hero CTA row */
.brandcta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.brandhero__rating { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }

/* ============================================================ REMI · INDEPENDENT SAFETY-NET CTA */
.btn--cyan { background: var(--cyan); color: var(--navy) !important; box-shadow: 0 12px 26px -12px rgba(32,184,217,.62); }
.btn--cyan:hover { background: #1AA8C9; transform: translateY(-1px); }

.remi { position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(26px,3vw,56px);
  background: radial-gradient(135% 150% at 0% 0%, #1E4069 0%, #142F4F 52%, #0E2540 100%);
  border-radius: var(--r-xl); padding: clamp(30px,3.4vw,46px) clamp(28px,3.4vw,54px);
  box-shadow: var(--shadow-lg); }
.remi::before { content:""; position:absolute; left:0; top:0; bottom:0; width:5px;
  background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.remi::after { content:""; position:absolute; right:-90px; top:-90px; width:320px; height:320px; z-index:-1;
  background: radial-gradient(circle, rgba(32,184,217,.18), transparent 68%); pointer-events:none; }
.remi__top { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:16px; }
.remi__wordmark { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 15px;
  border-radius:11px; background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.remi__wordmark .mk { width:20px; height:20px; color: var(--cyan); }
.remi__wordmark .nm { font-family: var(--font-display); font-weight:700; font-size:20px; color:#fff; letter-spacing:-.01em; }
.remi__tag { font-size:11.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: rgba(255,255,255,.56);
  display:inline-flex; align-items:center; gap:7px; }
.remi__tag::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--cyan); }
.remi__main h3 { color:#fff; font-size: clamp(23px,2.4vw,31px); line-height:1.13; letter-spacing:-.025em; margin-bottom:11px; }
.remi__main p { color: rgba(255,255,255,.77); font-size: 16px; line-height:1.58; max-width: 64ch; }
.remi__main p strong { color:#fff; }
.remi__cta { display:flex; flex-direction:column; align-items:flex-start; gap:12px; flex-shrink:0; max-width:300px; }
.remi__micro { font-size:12.5px; color: rgba(255,255,255,.64); display:inline-flex; align-items:flex-start; gap:7px; line-height:1.45; }
.remi__micro svg { width:15px; height:15px; color: var(--cyan); flex-shrink:0; margin-top:1px; }
@media (max-width: 860px){
  .remi { grid-template-columns: 1fr; gap: 24px; padding: 30px 26px; }
  .remi__cta { max-width:none; align-items:stretch; }
  .remi__cta .btn { width:100%; }
}
