/* NoVA Home Service Report — chrome. Big type, white space, one cobalt, trade colors for icons. No ornaments. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.hsr-body {
  margin: 0; background: var(--hsr-bg); color: var(--hsr-text);
  font-family: var(--hsr-font); font-size: var(--hsr-body); line-height: 1.5; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(4.75rem + var(--hsr-safe-bottom));
}
a { color: var(--hsr-link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--hsr-focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--hsr-brand-soft); }
img { max-width: 100%; }
.hsr-wrap { width: min(var(--hsr-max), calc(100% - 2 * var(--hsr-gutter))); margin: 0 auto; }
.hsr-skip { position: absolute; left: -999px; }
.hsr-skip:focus { left: 1rem; top: calc(0.5rem + var(--hsr-safe-top)); z-index: 100; background: #fff; padding: 0.5rem 0.75rem; border-radius: 8px; }

/* Global nav */
.hsr-mast {
  position: sticky; top: 0; z-index: 50; padding-top: var(--hsr-safe-top);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(11, 16, 32, 0.07);
}
.hsr-is-home .hsr-mast { background: rgba(7, 11, 26, 0.72); border-bottom-color: rgba(255, 255, 255, 0.08); }
.hsr-is-home .hsr-brand, .hsr-is-home .hsr-nav a:not(.hsr-nav-cta) { color: #f5f7ff; }
.hsr-is-home .hsr-brand span:not(.hsr-logo) { color: #9aa5c4; }
.hsr-mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 56px; }
.hsr-brand { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--hsr-text); text-decoration: none; white-space: nowrap; }
.hsr-brand:hover { text-decoration: none; }
.hsr-logo {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff;
  background: linear-gradient(135deg, #4f7bff 0%, var(--hsr-brand) 55%, #1a2fb8 100%);
  box-shadow: 0 2px 8px var(--hsr-brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.hsr-brand strong { font-family: var(--hsr-font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.03em; }
.hsr-brand span:not(.hsr-logo) { font-size: 0.875rem; font-weight: 500; color: var(--hsr-text-secondary); letter-spacing: -0.01em; }
.hsr-nav { display: flex; align-items: center; gap: 0.25rem; }
.hsr-nav a {
  color: var(--hsr-text); text-decoration: none; font-size: var(--hsr-caption); font-weight: 450;
  opacity: 0.82; padding: 0 0.7rem; min-height: var(--hsr-touch); display: inline-flex; align-items: center;
  transition: opacity var(--hsr-duration) var(--hsr-ease);
}
.hsr-nav a:hover, .hsr-nav a[aria-current="page"] { opacity: 1; text-decoration: none; }
.hsr-nav a[aria-current="page"]:not(.hsr-nav-cta) { font-weight: 600; }
.hsr-nav a.hsr-nav-cta {
  opacity: 1; margin-left: 0.5rem; min-height: 36px; padding: 0 1.1rem; border-radius: var(--hsr-radius-pill);
  background: var(--hsr-brand); color: #fff; font-weight: 600; box-shadow: 0 4px 14px var(--hsr-brand-glow);
  transition: background var(--hsr-duration) var(--hsr-ease), transform var(--hsr-duration) var(--hsr-ease);
}
.hsr-nav a.hsr-nav-cta:hover { background: var(--hsr-brand-ink); transform: translateY(-1px); }
@media (max-width: 860px) {
  .hsr-nav a:not(.hsr-nav-cta) { display: none; }
  .hsr-brand span:not(.hsr-logo) { display: none; }
}

/* Home hero: deep navy with cobalt and teal light */
.hsr-hero {
  position: relative; overflow: hidden; color: #f5f7ff; margin-top: -57px; padding-top: 57px;
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(47, 91, 255, 0.55), transparent 62%),
    radial-gradient(700px 480px at 5% 105%, rgba(14, 159, 174, 0.38), transparent 60%),
    radial-gradient(500px 300px at 55% 60%, rgba(122, 76, 240, 0.18), transparent 70%),
    #070b1a;
}
.hsr-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
}
.hsr-hero-inner {
  position: relative; z-index: 1;
  min-height: min(86vh, 800px); display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(5rem, 13vh, 10rem) 0 clamp(3.5rem, 8vh, 6rem);
}
.hsr-hero .hsr-eyebrow {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 0.5rem; color: #c9d3ff;
  padding: 0.35rem 0.8rem; border-radius: var(--hsr-radius-pill); background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.hsr-hero .hsr-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.hsr-hero h1 {
  font-size: var(--hsr-hero); line-height: 0.96; letter-spacing: -0.05em; margin: 0 0 1.5rem; max-width: 12ch;
  background: linear-gradient(180deg, #ffffff 30%, #b8c6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hsr-hero .hsr-lede { color: #aab4d0; max-width: 36rem; }
.hsr-hero-proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  margin: clamp(3rem, 8vh, 5rem) 0 0; padding: 0; list-style: none;
}
.hsr-hero-proof li {
  padding: 1.25rem 1.35rem; border-radius: var(--hsr-radius-sm);
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hsr-hero-proof strong { display: block; color: #fff; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.25rem; }
.hsr-hero-proof li:nth-child(1) strong { color: #8fb0ff; }
.hsr-hero-proof li:nth-child(2) strong { color: #5fe0e8; }
.hsr-hero-proof li:nth-child(3) strong { color: #ffc56b; }
.hsr-hero-proof span { color: #8f99b8; font-size: var(--hsr-caption); line-height: 1.45; }
@media (max-width: 640px) { .hsr-hero-proof { grid-template-columns: 1fr; gap: 0.6rem; } }

/* Buttons */
.hsr-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hsr-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.7rem;
  border-radius: var(--hsr-radius-pill); font-size: 1rem; font-weight: 600; text-decoration: none; letter-spacing: -0.01em;
  transition: background var(--hsr-duration) var(--hsr-ease), box-shadow var(--hsr-duration) var(--hsr-ease), transform var(--hsr-duration) var(--hsr-ease);
}
.hsr-btn:hover { text-decoration: none; transform: translateY(-1px); }
.hsr-btn-light { background: var(--hsr-brand); color: #fff; box-shadow: 0 8px 28px rgba(47, 91, 255, 0.45); }
.hsr-btn-light:hover { background: #4a70ff; }
.hsr-btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.hsr-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, 0.06); }

/* Page body */
.hsr-paper { width: min(var(--hsr-max-prose), calc(100% - 2 * var(--hsr-gutter))); margin: 0 auto; padding: clamp(3.5rem, 9vh, 6.5rem) 0 clamp(4rem, 10vh, 8rem); position: relative; }
.hsr-hero + main .hsr-paper { padding-top: clamp(3rem, 7vh, 5rem); }
body:not(.hsr-is-home) main {
  background:
    radial-gradient(900px 380px at 12% -80px, rgba(47, 91, 255, 0.10), transparent 70%),
    radial-gradient(700px 320px at 95% -60px, rgba(14, 159, 174, 0.08), transparent 70%);
}
.hsr-eyebrow { margin: 0 0 1rem; font-size: var(--hsr-caption); font-weight: 600; letter-spacing: 0; color: var(--hsr-brand-ink); }
h1 {
  font-family: var(--hsr-font-display); font-size: var(--hsr-display); font-weight: 700;
  letter-spacing: -0.045em; line-height: 1.02; margin: 0 0 1.25rem; color: var(--hsr-text); text-wrap: balance;
}
.hsr-lede { font-size: var(--hsr-body-lg); line-height: 1.4; letter-spacing: -0.015em; color: var(--hsr-text-secondary); max-width: 40rem; margin: 0 0 2.5rem; font-weight: 400; }
.hsr-head { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.hsr-copy { margin: 0 0 1.1rem; max-width: 44rem; }
.hsr-sub {
  font-family: var(--hsr-font-display); font-size: var(--hsr-title); font-weight: 700; letter-spacing: -0.04em; line-height: 1.08;
  margin: clamp(3.5rem, 8vh, 5.5rem) 0 1.25rem;
}
.hsr-paper > .hsr-sub:first-child { margin-top: 0; }
.hsr-h3 { font-size: var(--hsr-headline); font-weight: 650; letter-spacing: -0.02em; margin: 2rem 0 0.25rem; padding-top: 1.5rem; border-top: 1px solid var(--hsr-border); }
.hsr-h3 + .hsr-copy { color: var(--hsr-text-secondary); font-size: 0.9375rem; margin-bottom: 0.75rem; }

/* Scroll-in motion (progressive: only where the browser supports scroll timelines) */
@supports (animation-timeline: view()) {
  .hsr-grouped-row, .hsr-stats li, .hsr-compare section, .hsr-row, .hsr-paid, .hsr-facts div {
    animation: hsr-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%;
  }
}
@keyframes hsr-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Notices */
.hsr-flag { background: var(--hsr-brand-soft); border-radius: var(--hsr-radius-sm); padding: 1.1rem 1.25rem; margin: 1.25rem 0; }
.hsr-flag strong { font-weight: 650; }
.hsr-draft { background: var(--hsr-amber-soft); border-radius: var(--hsr-radius-sm); padding: 1.1rem 1.25rem; margin: 1.25rem 0; font-weight: 500; }
.hsr-bad, .hsr-ok { border-radius: var(--hsr-radius-sm); padding: 0.95rem 1.15rem; margin: 1rem 0; font-weight: 550; max-width: 44rem; }
.hsr-bad { background: var(--hsr-bad-bg); color: var(--hsr-bad); }
.hsr-ok { background: var(--hsr-ok-bg); color: var(--hsr-ok); }

/* Sponsored: warm, clearly an ad */
.hsr-paid { background: linear-gradient(180deg, #fff8ec, #fff3e0); border-radius: var(--hsr-radius); padding: 1.75rem; margin: 2rem 0; box-shadow: inset 0 0 0 1px #fde3b5; }
.hsr-paid > p:not(.hsr-paid-flag) { color: #8a5a12; font-size: var(--hsr-caption); margin: 0 0 1rem; }
.hsr-paid-flag {
  display: inline-block; font-size: var(--hsr-micro); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #8a4b00; background: #ffe2ad; padding: 0.25rem 0.6rem; border-radius: var(--hsr-radius-pill); margin: 0 0 0.75rem;
}
.hsr-paid article { background: #fff; border-radius: var(--hsr-radius-sm); padding: 1.25rem; margin-top: 0.75rem; box-shadow: var(--hsr-shadow); }
.hsr-paid article > p:first-child { color: var(--hsr-amber); font-size: var(--hsr-micro); font-weight: 650; text-transform: uppercase; letter-spacing: 0.04em; }
.hsr-paid article h3 { margin: 0.25rem 0; font-size: var(--hsr-headline); letter-spacing: -0.02em; }
.hsr-paid article p { margin: 0; color: var(--hsr-text-secondary); }

/* Link tiles with trade icons */
.hsr-grouped { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 0.85rem; margin: 1.25rem 0 2rem; }
.hsr-grouped-row {
  display: flex; align-items: center; gap: 0.95rem; min-height: 88px; padding: 1.15rem 1.25rem;
  background: #fff; border-radius: var(--hsr-radius); color: var(--hsr-text); text-decoration: none;
  font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px var(--hsr-border), var(--hsr-shadow);
  transition: transform var(--hsr-duration) var(--hsr-ease), box-shadow var(--hsr-duration) var(--hsr-ease);
}
.hsr-grouped-row:hover { text-decoration: none; transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--hsr-border-strong), var(--hsr-shadow-lift); }
.hsr-tile-label { flex: 1; min-width: 0; }
.hsr-ic { flex: 0 0 auto; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; }
.hsr-tone-blue { color: var(--hsr-blue); background: var(--hsr-blue-soft); }
.hsr-tone-teal { color: var(--hsr-teal); background: var(--hsr-teal-soft); }
.hsr-tone-amber { color: var(--hsr-amber); background: var(--hsr-amber-soft); }
.hsr-tone-coral { color: var(--hsr-coral); background: var(--hsr-coral-soft); }
.hsr-tone-green { color: var(--hsr-green); background: var(--hsr-green-soft); }
.hsr-tone-violet { color: var(--hsr-violet); background: var(--hsr-violet-soft); }
.hsr-chev { font-size: 1.4rem; font-weight: 300; color: var(--hsr-text-tertiary); transition: transform var(--hsr-duration) var(--hsr-ease), color var(--hsr-duration) var(--hsr-ease); }
.hsr-grouped-row:hover .hsr-chev { transform: translateX(4px); color: var(--hsr-brand); }

/* Facts and stats */
.hsr-stats, .hsr-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.85rem; margin: 1.25rem 0 2rem; padding: 0; list-style: none; }
.hsr-stats li, .hsr-facts div { position: relative; overflow: hidden; background: #fff; border-radius: var(--hsr-radius); padding: 1.35rem 1.45rem; box-shadow: inset 0 0 0 1px var(--hsr-border), var(--hsr-shadow); }
.hsr-stats span, .hsr-facts dt { display: block; font-size: var(--hsr-caption); color: var(--hsr-text-secondary); }
.hsr-stats strong, .hsr-facts dd {
  display: block; margin: 0.35rem 0 0; font-family: var(--hsr-font-display); font-weight: 700; font-size: 1.9rem;
  letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.hsr-facts dd { font-size: var(--hsr-headline); letter-spacing: -0.02em; }
.hsr-list { padding-left: 1.2rem; max-width: 44rem; margin: 0 0 1.5rem; }
.hsr-list li { margin: 0.45rem 0; }
.hsr-list li::marker { color: var(--hsr-brand); }
.hsr-table-wrap { overflow-x: auto; margin: 1.25rem 0 2rem; border-radius: var(--hsr-radius-sm); box-shadow: inset 0 0 0 1px var(--hsr-border); }
.hsr-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.hsr-table caption { text-align: left; font-size: var(--hsr-caption); color: var(--hsr-text-secondary); padding: 1rem 1rem 0.75rem; }
.hsr-table th, .hsr-table td { border-bottom: 1px solid var(--hsr-border); text-align: left; padding: 0.85rem 1rem; vertical-align: top; }
.hsr-table tr:last-child td { border-bottom: 0; }
.hsr-table th { font-size: var(--hsr-micro); font-weight: 650; color: var(--hsr-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; background: var(--hsr-bg-soft); }
.hsr-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0.85rem; margin: 1.25rem 0 2rem; }
.hsr-compare section { position: relative; background: #fff; border-radius: var(--hsr-radius); padding: 1.75rem; box-shadow: inset 0 0 0 1px var(--hsr-border), var(--hsr-shadow); }
.hsr-compare section::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; margin-bottom: 1rem; background: var(--hsr-blue); }
.hsr-compare section:nth-child(3n+2)::before { background: var(--hsr-teal); }
.hsr-compare section:nth-child(3n+3)::before { background: var(--hsr-amber); }
.hsr-compare h3 { margin: 0 0 0.6rem; font-size: var(--hsr-headline); letter-spacing: -0.025em; }
.hsr-compare p { margin: 0.35rem 0; color: var(--hsr-text-secondary); font-size: 0.9375rem; }
.hsr-faq { margin: 1rem 0 2rem; border-bottom: 1px solid var(--hsr-border); }
.hsr-faq details { border-top: 1px solid var(--hsr-border); }
.hsr-faq summary { cursor: pointer; font-weight: 650; letter-spacing: -0.015em; padding: 1.25rem 2.5rem 1.25rem 0; list-style: none; position: relative; }
.hsr-faq summary::-webkit-details-marker { display: none; }
.hsr-faq summary::after {
  content: "+"; position: absolute; right: 0; top: 1rem; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--hsr-brand-soft); color: var(--hsr-brand); font-size: 1.15rem; font-weight: 500;
  transition: transform var(--hsr-duration) var(--hsr-ease);
}
.hsr-faq details[open] summary::after { transform: rotate(45deg); }
.hsr-faq details p { margin: 0 0 1.25rem; color: var(--hsr-text-secondary); max-width: 44rem; }

/* Ranked order */
.hsr-order { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; gap: 0.75rem; }
.hsr-row { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.5rem; border-radius: var(--hsr-radius); background: #fff; box-shadow: inset 0 0 0 1px var(--hsr-border), var(--hsr-shadow); }
.hsr-row h3 { margin: 0 0 0.25rem; font-size: var(--hsr-headline); letter-spacing: -0.025em; }
.hsr-row h3 a { color: var(--hsr-text); text-decoration: none; }
.hsr-row h3 a:hover { color: var(--hsr-brand-ink); text-decoration: underline; }
.hsr-row p { margin: 0.3rem 0; color: var(--hsr-text-secondary); font-size: 0.9375rem; }
.hsr-row small { font-size: var(--hsr-caption); }
.hsr-row .hsr-pos { font-family: var(--hsr-font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin: 0; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--hsr-brand), #7a4cf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hsr-row p.hsr-grade {
  display: inline-flex; align-items: baseline; gap: 0.15rem; margin: 0.35rem 0 0.5rem; padding: 0.3rem 0.75rem; border-radius: var(--hsr-radius-pill);
  font-family: var(--hsr-font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  color: var(--hsr-brand-ink); background: var(--hsr-brand-soft);
}
.hsr-row p.hsr-grade span { font-size: 0.8rem; font-weight: 500; opacity: 0.7; }
.hsr-row p.hsr-grade-green { color: var(--hsr-ok); background: var(--hsr-green-soft); }
.hsr-row p.hsr-grade-amber { color: #9a5b00; background: var(--hsr-amber-soft); }
.hsr-hold ul { list-style: none; padding: 0; border-top: 1px solid var(--hsr-border); }
.hsr-hold li { padding: 1rem 0; border-bottom: 1px solid var(--hsr-border); color: var(--hsr-text-secondary); font-size: 0.9375rem; }
.hsr-hold li > a { font-weight: 650; color: var(--hsr-text); }
.hsr-pager { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0; }
.hsr-pager a, .hsr-pager > span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.9rem;
  border-radius: var(--hsr-radius-pill); text-decoration: none; font-weight: 550; font-variant-numeric: tabular-nums;
  background: #fff; box-shadow: inset 0 0 0 1px var(--hsr-border); color: var(--hsr-text);
}
.hsr-pager a:hover { box-shadow: inset 0 0 0 1px var(--hsr-brand); color: var(--hsr-brand-ink); text-decoration: none; }
.hsr-pager > span[aria-current] { background: var(--hsr-brand); color: #fff; box-shadow: none; }

/* Forms */
.hsr-form { display: grid; gap: 1rem; max-width: 32rem; margin: 1.5rem 0 2rem; }
.hsr-field { display: grid; gap: 0.45rem; font-size: var(--hsr-caption); font-weight: 650; color: var(--hsr-text); }
.hsr-field input, .hsr-field textarea, .hsr-field select {
  width: 100%; font: inherit; font-size: 1.0625rem; font-weight: 400; padding: 0.95rem 1.1rem; min-height: 56px;
  border: 1px solid var(--hsr-border-strong); border-radius: var(--hsr-radius-sm); background: #fff; color: var(--hsr-text);
  transition: border-color var(--hsr-duration) var(--hsr-ease), box-shadow var(--hsr-duration) var(--hsr-ease);
}
.hsr-field textarea { min-height: 7rem; resize: vertical; }
.hsr-field input:focus, .hsr-field textarea:focus, .hsr-field select:focus { outline: none; border-color: var(--hsr-brand); box-shadow: 0 0 0 4px var(--hsr-brand-glow); }
.hsr-form button, button.hsr-cta {
  justify-self: start; background: var(--hsr-brand); color: #fff; border: 0; min-height: 52px; padding: 0 1.9rem;
  border-radius: var(--hsr-radius-pill); font: inherit; font-size: 1rem; font-weight: 650; cursor: pointer;
  box-shadow: 0 6px 20px var(--hsr-brand-glow);
  transition: background var(--hsr-duration) var(--hsr-ease), transform var(--hsr-duration) var(--hsr-ease);
}
.hsr-form button:hover, button.hsr-cta:hover { background: var(--hsr-brand-ink); transform: translateY(-1px); }
@media (max-width: 640px) { .hsr-form button { justify-self: stretch; } }
.hsr-form[action="/portal/claim"] { max-width: none; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) auto; align-items: end; margin: 0 0 0.5rem; }
.hsr-form[action="/portal/claim"] button { min-height: 56px; }
@media (max-width: 760px) { .hsr-form[action="/portal/claim"] { grid-template-columns: 1fr; } }

/* Portal and join: sign-in sits in a card on a soft color field */
.hsr-is-portal main {
  background:
    radial-gradient(800px 420px at 0% 0%, rgba(47, 91, 255, 0.14), transparent 65%),
    radial-gradient(700px 420px at 100% 10%, rgba(14, 159, 174, 0.12), transparent 65%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 520px);
}
.hsr-form[action="/portal/magic"], .hsr-form[action^="/join"] {
  max-width: 34rem; padding: 1.75rem; border-radius: var(--hsr-radius); background: #fff;
  box-shadow: inset 0 0 0 1px var(--hsr-border), var(--hsr-shadow-lift);
}
.hsr-form[action="/portal/magic"] button, .hsr-form[action^="/join"] button { justify-self: stretch; }

/* Award row */
.hsr-certified-row { display: flex; align-items: center; gap: 1rem; margin: 0 0 2rem; padding: 1.25rem 1.4rem; border-radius: var(--hsr-radius); background: linear-gradient(135deg, var(--hsr-amber-soft), #fff); box-shadow: inset 0 0 0 1px #fbe3b8; }
.hsr-certified-row strong { display: block; font-size: var(--hsr-caption); font-weight: 650; }
.hsr-certified-row p { margin: 0.15rem 0 0; color: var(--hsr-text-secondary); font-size: var(--hsr-caption); }
.hsr-certified-row img { width: 56px; height: 56px; flex: 0 0 auto; }

/* Footer */
.hsr-colophon { background: var(--hsr-bg-ink); color: #8f99b8; font-size: var(--hsr-micro); padding: 3rem 0 calc(2.25rem + var(--hsr-safe-bottom)); }
.hsr-colophon-top { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 1.25rem; line-height: 1.6; }
.hsr-colophon-top p { margin: 0 0 0.35rem; max-width: 48rem; }
.hsr-colophon-links { display: flex; flex-wrap: wrap; gap: 0.25rem 0; }
.hsr-colophon-links a { color: #dfe4f5; text-decoration: none; padding: 0.35rem 0; margin-right: 1.4rem; opacity: 0.85; }
.hsr-colophon-links a:hover { opacity: 1; color: #fff; text-decoration: underline; }
.hsr-colophon-legal { margin: 1.25rem 0 0; color: #6b7593; }

/* Mobile action bar */
.hsr-bottom-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 0.5rem;
  padding: 0.6rem 1rem calc(0.6rem + var(--hsr-safe-bottom));
  background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(11, 16, 32, 0.08);
}
.hsr-bottom-bar a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: var(--hsr-touch);
  border-radius: var(--hsr-radius-pill); text-decoration: none; font-size: 0.875rem; font-weight: 600;
  color: var(--hsr-text); background: var(--hsr-bg-soft);
}
.hsr-bottom-bar a.hsr-bottom-primary { background: var(--hsr-brand); color: #fff; box-shadow: 0 4px 14px var(--hsr-brand-glow); }
@media (max-width: 860px) { .hsr-bottom-bar { display: flex; } }
@media (min-width: 861px) { body.hsr-body { padding-bottom: 0; } }
@media (max-width: 640px) {
  .hsr-row { grid-template-columns: 3rem 1fr; gap: 0.75rem; padding: 1.15rem; }
  .hsr-row .hsr-pos { font-size: 1.9rem; }
  .hsr-grouped-row { min-height: 76px; }
}
/* The per-criterion breakdown is reference detail: keep it quiet under the headline facts. */
.hsr-row > div > p:last-child { font-size: var(--hsr-micro); line-height: 1.55; color: var(--hsr-text-tertiary); margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px dashed var(--hsr-border); }

/* ---------------------------------------------------------------------------------------------
   Directory (2026-10-12): every firm on one page, searchable, with a Claim button on each row.
   --------------------------------------------------------------------------------------------- */
.hsr-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hsr-dir { margin: 1.5rem 0 3rem; scroll-margin-top: 72px; }
.hsr-dir-search {
  display: grid; gap: 0.85rem; padding: 1rem; border-radius: var(--hsr-radius); background: #fff;
  box-shadow: inset 0 0 0 1px var(--hsr-border), var(--hsr-shadow-lift);
}
@media (min-width: 861px) { .hsr-dir-search { position: sticky; top: 64px; z-index: 20; } }
.hsr-dir-row1 { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.6rem; }
.hsr-dir-q { position: relative; display: block; }
.hsr-dir-q svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--hsr-text-tertiary); pointer-events: none; }
.hsr-dir-q input, .hsr-dir-county select {
  width: 100%; min-height: 54px; font: inherit; font-size: 1.0625rem; color: var(--hsr-text); background: var(--hsr-bg-soft);
  border: 1px solid transparent; border-radius: var(--hsr-radius-sm); padding: 0 1rem;
  transition: border-color var(--hsr-duration) var(--hsr-ease), box-shadow var(--hsr-duration) var(--hsr-ease), background var(--hsr-duration) var(--hsr-ease);
}
.hsr-dir-q input { padding-left: 2.9rem; }
.hsr-dir-q input:focus, .hsr-dir-county select:focus { outline: none; background: #fff; border-color: var(--hsr-brand); box-shadow: 0 0 0 4px var(--hsr-brand-glow); }
.hsr-dir-county select { min-width: 13rem; cursor: pointer; }
.hsr-dir-go {
  min-height: 54px; padding: 0 1.5rem; border: 0; border-radius: var(--hsr-radius-pill); background: var(--hsr-brand); color: #fff;
  font: inherit; font-weight: 650; cursor: pointer; box-shadow: 0 6px 20px var(--hsr-brand-glow);
}
.hsr-dir-go:hover { background: var(--hsr-brand-ink); }
.hsr-dir-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.hsr-dir-chips button {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 38px; padding: 0 0.95rem; border-radius: var(--hsr-radius-pill);
  border: 0; font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; color: var(--hsr-text); background: var(--hsr-bg-soft);
  transition: background var(--hsr-duration) var(--hsr-ease), color var(--hsr-duration) var(--hsr-ease);
}
.hsr-dir-chips button span { font-weight: 500; color: var(--hsr-text-tertiary); font-variant-numeric: tabular-nums; }
.hsr-dir-chips button:hover { background: var(--hsr-brand-soft); }
.hsr-dir-chips button[aria-pressed="true"] { background: var(--hsr-text); color: #fff; }
.hsr-dir-chips button[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.65); }
@media (max-width: 720px) {
  .hsr-dir-row1 { grid-template-columns: 1fr; }
  .hsr-dir-county select { min-width: 0; }
  .hsr-dir-go { display: none; }
  .hsr-dir-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -1rem; padding: 0 1rem; }
  .hsr-dir-chips::-webkit-scrollbar { display: none; }
  .hsr-dir-chips button { flex: 0 0 auto; }
}

/* Owner strip: the contractor's way in, right above the list */
.hsr-dir-owner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin: 1rem 0 0; padding: 1.15rem 1.35rem;
  border-radius: var(--hsr-radius); color: #f5f7ff;
  background: radial-gradient(420px 180px at 0% 0%, rgba(95, 224, 232, 0.22), transparent 70%), linear-gradient(135deg, #1a2fb8 0%, var(--hsr-brand) 60%, #4f7bff 100%);
  box-shadow: 0 10px 30px var(--hsr-brand-glow);
}
.hsr-dir-owner strong { display: block; font-size: 1.0625rem; letter-spacing: -0.02em; }
.hsr-dir-owner p { margin: 0.2rem 0 0; font-size: 0.9rem; color: #d7e0ff; max-width: 44rem; }
.hsr-dir-owner a {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.3rem; border-radius: var(--hsr-radius-pill);
  background: #fff; color: var(--hsr-brand-ink); font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform var(--hsr-duration) var(--hsr-ease);
}
.hsr-dir-owner a:hover { transform: translateY(-1px); text-decoration: none; }
@media (max-width: 640px) {
  .hsr-dir-owner { padding: 0.85rem 0.85rem 0.85rem 1.1rem; gap: 0.75rem; }
  .hsr-dir-owner strong { font-size: 0.95rem; }
  .hsr-dir-owner p { display: none; }
  .hsr-dir-owner a { min-height: 40px; padding: 0 1rem; font-size: 0.875rem; }
}

.hsr-dir-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0 0.25rem; }
.hsr-dir-count { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.hsr-dir-az { display: flex; flex-wrap: wrap; gap: 0.15rem; }
.hsr-dir-az a {
  display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 8px;
  font-size: 0.8125rem; font-weight: 650; color: var(--hsr-brand-ink); text-decoration: none;
}
.hsr-dir-az a:hover { background: var(--hsr-brand-soft); text-decoration: none; }
.hsr-dir-az a.is-off { color: var(--hsr-border-strong); pointer-events: none; }
@media (max-width: 640px) {
  .hsr-dir-az { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .hsr-dir-az::-webkit-scrollbar { display: none; }
  .hsr-dir-az a { flex: 0 0 auto; }
}
.hsr-dir-empty { margin: 1.25rem 0; padding: 1rem 1.15rem; border-radius: var(--hsr-radius-sm); background: var(--hsr-bg-soft); color: var(--hsr-text-secondary); }
.hsr-dir-group { scroll-margin-top: 230px; }
@media (max-width: 860px) { .hsr-dir-group { scroll-margin-top: 72px; } }
.hsr-dir-group h3 {
  margin: 1.5rem 0 0.35rem; font-family: var(--hsr-font-display); font-size: 1.15rem; font-weight: 750; letter-spacing: -0.02em;
  color: var(--hsr-brand-ink);
}
.hsr-dir-list { list-style: none; margin: 0; padding: 0; border-radius: var(--hsr-radius-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--hsr-border); overflow: hidden; }
.hsr-dir-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "name trades act" "meta trades act";
  align-items: center; column-gap: 1rem; padding: 0.7rem 1rem; border-top: 1px solid var(--hsr-border);
}
.hsr-dir-list li:first-child { border-top: 0; }
.hsr-dir-list li[hidden], .hsr-dir-group[hidden] { display: none; }
.hsr-dir-list li:hover { background: #fafbff; }
.hsr-dir-list li > a:first-child { grid-area: name; font-weight: 650; color: var(--hsr-text); text-decoration: none; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.hsr-dir-list li > a:first-child:hover { color: var(--hsr-brand-ink); text-decoration: underline; }
.hsr-dir-list li > span { grid-area: meta; font-size: var(--hsr-caption); color: var(--hsr-text-secondary); }
.hsr-dir-list li > b { grid-area: trades; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.3rem; font-weight: 400; }
.hsr-dir-list li > b i, .hsr-dir-list li > em {
  font-style: normal; font-size: 0.75rem; font-weight: 650; padding: 0.2rem 0.55rem; border-radius: var(--hsr-radius-pill); white-space: nowrap;
}
.hsr-dir-list i[data-k="hvac"] { color: var(--hsr-blue); background: var(--hsr-blue-soft); }
.hsr-dir-list i[data-k="plumbing"] { color: #0a7c88; background: var(--hsr-teal-soft); }
.hsr-dir-list i[data-k="gas"] { color: #c23a24; background: var(--hsr-coral-soft); }
.hsr-dir-list i[data-k="electrical"] { color: #9a5b00; background: var(--hsr-amber-soft); }
.hsr-dir-list li > em { grid-area: act; color: var(--hsr-ok); background: var(--hsr-green-soft); }
.hsr-dir-list li > .hsr-dir-claim { grid-area: act; }
.hsr-dir-claim {
  display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 0.9rem; border-radius: var(--hsr-radius-pill);
  font-size: 0.8125rem; font-weight: 700; color: var(--hsr-brand-ink); background: var(--hsr-brand-soft); text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(47, 91, 255, 0.18);
  transition: background var(--hsr-duration) var(--hsr-ease), color var(--hsr-duration) var(--hsr-ease);
}
.hsr-dir-claim:hover { background: var(--hsr-brand); color: #fff; text-decoration: none; }
@media (max-width: 640px) {
  .hsr-dir-list li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name act" "meta act" "trades act"; row-gap: 0.2rem; }
  .hsr-dir-list li > b { justify-content: flex-start; }
}

/* Ranked rows: Claim sits next to the name; the per-criterion breakdown folds away */
.hsr-row-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.hsr-row-head .hsr-dir-claim { margin-top: 0.15rem; }
.hsr-why { margin-top: 0.75rem; padding-top: 0.6rem; border-top: 1px dashed var(--hsr-border); }
.hsr-why summary { cursor: pointer; font-size: var(--hsr-caption); font-weight: 600; color: var(--hsr-brand-ink); }
.hsr-row .hsr-why p { font-size: var(--hsr-micro); line-height: 1.55; color: var(--hsr-text-tertiary); }
.hsr-hold li > .hsr-dir-claim { float: right; margin-left: 0.75rem; }

/* "Find one company" box on the ranked lists: one line, input and button side by side */
.hsr-form[action*="#directory"] { max-width: 42rem; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0.6rem; margin: 0 0 2rem; }
.hsr-form[action*="#directory"] button { min-height: 56px; }
@media (max-width: 640px) { .hsr-form[action*="#directory"] { grid-template-columns: 1fr; } }

/* Owner pitch on an unclaimed profile */
.hsr-owner {
  margin: 1.5rem 0 2.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--hsr-radius); color: #f5f7ff;
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(95, 224, 232, 0.16), transparent 70%),
    radial-gradient(620px 300px at 0% 100%, rgba(122, 76, 240, 0.22), transparent 70%),
    var(--hsr-bg-ink);
  box-shadow: var(--hsr-shadow-lift);
}
.hsr-owner-kicker { margin: 0 0 0.5rem; font-size: var(--hsr-caption); font-weight: 650; color: #8fb0ff; }
.hsr-owner h2 { margin: 0 0 1.25rem; font-family: var(--hsr-font-display); font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); line-height: 1.12; letter-spacing: -0.035em; color: #fff; text-wrap: balance; }
.hsr-owner-stats { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 0.6rem; }
.hsr-owner-stats li { padding: 1rem 1.1rem; border-radius: var(--hsr-radius-sm); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.hsr-owner-stats strong { display: block; font-family: var(--hsr-font-display); font-size: 1.6rem; letter-spacing: -0.04em; line-height: 1.1; color: #ffc56b; font-variant-numeric: tabular-nums; }
.hsr-owner-stats li:nth-child(2) strong { color: #ff9d8a; }
.hsr-owner-stats li:nth-child(3) strong { color: #8fb0ff; }
.hsr-owner-stats span { display: block; margin-top: 0.3rem; font-size: var(--hsr-caption); color: #aab4d0; }
.hsr-owner-gaps { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.45rem; }
.hsr-owner-gaps li { position: relative; padding-left: 1.75rem; color: #dfe4f5; }
.hsr-owner-gaps li::before {
  content: "×"; position: absolute; left: 0; top: 0.1rem; width: 1.2rem; height: 1.2rem; display: grid; place-items: center;
  border-radius: 50%; background: rgba(240, 83, 58, 0.22); color: #ff9d8a; font-weight: 700; font-size: 0.85rem; line-height: 1;
}
.hsr-owner-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0.6rem; margin: 0 0 1.5rem; }
.hsr-owner-plans section { position: relative; padding: 1rem 1.1rem; border-radius: var(--hsr-radius-sm); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.hsr-owner-plans section.is-pick { background: rgba(47, 91, 255, 0.22); box-shadow: inset 0 0 0 1.5px #4f7bff; }
.hsr-owner-plans section > p { position: absolute; top: -0.6rem; right: 0.9rem; margin: 0; padding: 0.15rem 0.55rem; border-radius: var(--hsr-radius-pill); background: #4f7bff; color: #fff; font-size: var(--hsr-micro); font-weight: 700; }
.hsr-owner-plans h3 { margin: 0 0 0.45rem; font-size: 1rem; color: #fff; letter-spacing: -0.015em; }
.hsr-owner-plans ul { margin: 0; padding-left: 1.05rem; font-size: var(--hsr-caption); color: #aab4d0; }
.hsr-owner-plans li { margin: 0.2rem 0; }
.hsr-owner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.hsr-owner-cta {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 1.75rem; border-radius: var(--hsr-radius-pill);
  background: var(--hsr-brand); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 28px rgba(47, 91, 255, 0.5);
  transition: background var(--hsr-duration) var(--hsr-ease), transform var(--hsr-duration) var(--hsr-ease);
}
.hsr-owner-cta span, .hsr-dir-owner a span { margin-left: 0.4rem; }
.hsr-owner-cta:hover { background: #4a70ff; transform: translateY(-1px); text-decoration: none; }
.hsr-owner-alt { color: #aab4d0; font-size: var(--hsr-caption); }
.hsr-owner-alt:hover { color: #fff; }
.hsr-owner-note { margin: 1.25rem 0 0; font-size: var(--hsr-micro); color: #8f99b8; max-width: 44rem; }
@media (max-width: 640px) { .hsr-owner-cta { width: 100%; justify-content: center; } }

/* Contractor bar above the masthead */
.hsr-ownerbar {
  display: block; padding: 0.55rem var(--hsr-gutter); text-align: center; font-size: var(--hsr-caption); line-height: 1.4;
  color: #dfe4f5; background: var(--hsr-bg-ink); text-decoration: none;
}
.hsr-ownerbar strong { color: #fff; font-weight: 650; }
.hsr-ownerbar-go { color: #8fb0ff; font-weight: 650; white-space: nowrap; }
.hsr-ownerbar:hover { text-decoration: none; }
.hsr-ownerbar:hover .hsr-ownerbar-go { color: #fff; text-decoration: underline; }
@media (max-width: 640px) { .hsr-ownerbar-long { display: none; } }

/* Home hero search */
.hsr-hero-search {
  display: flex; gap: 0.5rem; max-width: 40rem; margin: 0 0 1.25rem; padding: 0.45rem; border-radius: var(--hsr-radius-pill);
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px);
}
.hsr-hero-search label { position: relative; flex: 1; display: block; }
.hsr-hero-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #8f99b8; pointer-events: none; }
.hsr-hero-search input {
  width: 100%; min-height: 50px; padding: 0 1rem 0 2.8rem; border: 0; border-radius: var(--hsr-radius-pill);
  font: inherit; font-size: 1.0625rem; color: #fff; background: transparent;
}
.hsr-hero-search input::placeholder { color: #8f99b8; }
.hsr-hero-search input:focus { outline: none; }
.hsr-hero-search:focus-within { box-shadow: inset 0 0 0 1.5px #8fb0ff, 0 0 0 4px rgba(47, 91, 255, 0.25); }
.hsr-hero-search button {
  min-height: 50px; padding: 0 1.5rem; border: 0; border-radius: var(--hsr-radius-pill); background: var(--hsr-brand); color: #fff;
  font: inherit; font-weight: 650; cursor: pointer; box-shadow: 0 8px 28px rgba(47, 91, 255, 0.45);
}
.hsr-hero-search button:hover { background: #4a70ff; }
