/* gh-2598 slices 1 and 2: approved homepage reskin (design approved 2026-10-07, D-377). Tokens, header, hero, sample comparison card, phone sticky bar (slice 1);
   three facts, How it works, What you see about each contractor, Questions, closing band (slice 2).
   Source of truth: Marketing/site-reskin-2026-10/ (README.md + Recommended-*.dc.html). Self-contained on purpose (like css/ho6.css):
   does not load design-system.css or nav.css, so nothing here can leak into other pages. Every class selector is prefixed hr-; the file also sets
   tokens on :root, box-sizing on * and text-size-adjust on html, so it must not be loaded next to another page's stylesheet without checking those three. */
:root {
  --hr-navy: #0D1B2E; --hr-navy-foot: #0A1524; --hr-line-navy: #2A3C54;
  --hr-on-navy: #FFFFFF; --hr-on-navy-2: #C7D2DE;
  --hr-amber: #F08C00;            /* ONLY the primary "Get my bids" button; never text on white (2.48:1) */
  --hr-amber-dark: #B45309;       /* small labels and icons on white */
  --hr-white: #FFFFFF; --hr-tint: #F4F6F9; --hr-border: #DCE2E8; --hr-ink: #14212E; --hr-slate: #3D4F60;
  --hr-hot: #FBD38D; --hr-settled: #FFF4DC;
  --hr-font: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.hr { margin: 0; font-family: var(--hr-font); color: var(--hr-ink); background: var(--hr-white); line-height: 1.5; }
.hr a { color: var(--hr-navy); }
/* No blanket link hover colour: amber-dark on navy is 3.45:1 (below 4.5:1). Links on navy keep their colour and get an underline or a tint instead. */
.hr .hr-phone:hover, .hr .hr-foot a:hover, .hr .hr-brand:hover .hr-brand-name { text-decoration: underline; }
.hr .hr-btn-outline:hover { background: rgba(255, 255, 255, .14); }
.hr-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hr-lab { font-size: 15px; font-weight: 600; color: var(--hr-on-navy); }

/* header */
.hr-header { background: var(--hr-navy); border-bottom: 1px solid var(--hr-line-navy); }
.hr-header .hr-wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hr-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hr-brand img { width: 28px; height: 44px; object-fit: contain; }
.hr-brand-name { font-size: 21px; font-weight: 800; color: var(--hr-on-navy); line-height: 1.1; }
.hr-brand-name, .hr-brand-tag { display: block; }
.hr-brand-tag { font-size: 12px; font-weight: 600; color: var(--hr-on-navy-2); letter-spacing: .02em; margin-top: 2px; }
.hr-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 16px; font-weight: 600; }
.hr .hr-nav a, .hr .hr-phone { color: var(--hr-on-navy); text-decoration: none; padding: 12px 0; }
.hr-header-right { display: flex; align-items: center; gap: 20px; }
.hr-phone { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.hr .hr-btn-outline { border: 2px solid var(--hr-on-navy); color: var(--hr-on-navy); font-weight: 800; font-size: 16px; padding: 12px 18px; border-radius: 6px; text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.hr-call-short { display: none; }

/* slice 3: the third header link (How we're paid) made the single row too wide between 768 and 1099 px; tighter gaps keep it one row down to 900 px.
   The design specifies 1280 and 390 only; the narrow-tablet header is slice 4/10's to finish (review condition m2 of #2716). */
@media (min-width: 768px) and (max-width: 1099px) {
  .hr-header .hr-wrap { gap: 12px; }
  .hr-nav { flex-wrap: nowrap; white-space: nowrap; gap: 16px; }
  .hr-header-right { gap: 12px; }
  .hr-phone { font-size: 16px; }
  .hr .hr-btn-outline { padding: 12px 14px; }
}

/* hero */
.hr-hero { background: var(--hr-navy); color: var(--hr-on-navy); }
.hr-hero .hr-wrap { padding-top: 72px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hr-hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hr-cat { font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hr-on-navy-2); }
.hr-h1 { margin: 0; font-size: 58px; line-height: 1.05; font-weight: 800; color: var(--hr-on-navy); }
.hr-sub { margin: 0; max-width: 520px; font-size: 20px; line-height: 1.5; color: var(--hr-on-navy-2); }
.hr-zipbox { display: flex; flex-direction: column; gap: 8px; }
.hr-zip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hr-zip { width: 170px; height: 58px; padding: 0 16px; font: inherit; font-size: 20px; color: var(--hr-ink); background: var(--hr-white); border: 2px solid var(--hr-white); border-radius: 6px; }
/* One focus ring for every surface: --hr-amber-dark is 5.02:1 on white and 3.45:1 on navy #0D1B2E (WCAG 1.4.11 asks 3:1). The old pale ring was 1.42:1 on white. */
.hr-zip:focus-visible, .hr a:focus-visible, .hr button:focus-visible { outline: 3px solid var(--hr-amber-dark); outline-offset: 2px; }
.hr .hr-go { display: flex; align-items: center; justify-content: center; height: 58px; background: var(--hr-amber); color: var(--hr-navy); font-weight: 800; font-size: 19px; padding: 0 30px; border-radius: 6px; text-decoration: none; }
.hr .hr-go:hover { color: var(--hr-navy); filter: brightness(1.06); }
.hr-reassure { font-size: 16px; color: var(--hr-on-navy-2); }

/* comparison card */
.hr-card { flex: 1 1 460px; min-width: 0; background: var(--hr-white); color: var(--hr-ink); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.hr-line { margin: 0; min-height: 68px; font-size: 28px; line-height: 1.2; font-weight: 800; color: var(--hr-navy); }
.hr-w { display: inline-block; transition: opacity .45s ease, transform .45s ease; }
.hr-js .hr-w { opacity: 0; transform: translateY(8px); }
.hr-js .hr-w.hr-on { opacity: 1; transform: none; }
.hr-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.hr-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.hr-tab { height: 48px; padding: 0 16px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border-radius: 24px; border: 2px solid var(--hr-navy); background: var(--hr-white); color: var(--hr-navy); transition: background .3s ease, color .3s ease; }
.hr-tab[aria-pressed="true"] { background: var(--hr-navy); color: var(--hr-white); }
.hr-replay { height: 48px; padding: 0 12px; font: inherit; font-size: 15px; font-weight: 600; color: var(--hr-slate); background: var(--hr-white); border: 0; border-radius: 6px; cursor: pointer; text-decoration: underline; }
.hr-table { border: 1px solid var(--hr-border); border-radius: 8px; overflow: hidden; font-size: 15px; }
.hr-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--hr-border); background: var(--hr-white); transition: background .45s ease; }
.hr-row.hr-head { padding: 12px 16px; border-top: 0; background: var(--hr-tint); font-weight: 600; color: var(--hr-slate); }
.hr-row [role="rowheader"] { font-weight: 800; }
.hr-row.hr-plain [role="rowheader"] { font-weight: 600; color: var(--hr-slate); }
.hr-row.hr-settled { background: var(--hr-settled); }
.hr-row.hr-hot { background: var(--hr-hot); }
.hr-short { display: none; }
.hr-bar { height: 10px; border-radius: 5px; background: #8FA1B5; }
.hr-plain .hr-bar { background: #C9D3DC; }
.hr-explain { margin: 0; min-height: 44px; font-size: 15px; line-height: 1.45; color: var(--hr-slate); }

/* minimal footer (slice 1; replaced by the full footer in slice 4) */
.hr-foot { background: var(--hr-navy-foot); border-top: 1px solid var(--hr-line-navy); color: var(--hr-on-navy-2); font-size: 15px; }
.hr-foot .hr-wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hr .hr-foot a { color: var(--hr-on-navy); display: inline-flex; align-items: center; min-height: 48px; }
/* phones: the extra bottom padding sits inside the navy footer (room for the sticky bar), not on the white body */
@media (max-width: 767px) { .hr-foot .hr-wrap { padding-left: 16px; padding-right: 16px; padding-bottom: 88px; } }

/* ---------- slice 2: reading sections (desktop values from Recommended-desktop.dc.html, phone values in the max-width block below) ---------- */
.hr-sec .hr-wrap { padding-top: 72px; padding-bottom: 72px; }
.hr-h2 { margin: 0; font-size: 36px; font-weight: 800; color: var(--hr-navy); }
.hr-h3 { margin: 0; font-size: 22px; font-weight: 800; color: inherit; }
.hr-p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--hr-slate); }
.hr-stack { display: flex; flex-direction: column; gap: 32px; }

.hr-facts { background: var(--hr-white); border-bottom: 1px solid var(--hr-border); }
.hr-facts .hr-wrap { padding-top: 40px; padding-bottom: 40px; }
.hr-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.hr-fact { display: flex; gap: 14px; }
.hr-ico { flex: 0 0 28px; }
.hr-fact-body { display: flex; flex-direction: column; gap: 4px; }
.hr-fact-title { font-size: 17px; font-weight: 800; }
.hr-fact-text { font-size: 16px; line-height: 1.5; color: var(--hr-slate); }

.hr-how { background: var(--hr-tint); }
.hr-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.hr-stepcard { background: var(--hr-white); border: 1px solid var(--hr-border); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.hr-steplab { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hr-amber-dark); }

.hr-contractor { background: var(--hr-white); }
.hr-split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.hr-split-a { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hr-list { margin: 0; padding-left: 22px; font-size: 18px; line-height: 1.8; color: var(--hr-ink); }
.hr-split-b { flex: 1 1 420px; min-width: 0; background: var(--hr-tint); border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.hr-split-b .hr-h3 { color: var(--hr-navy); }
.hr-split-b .hr-p { font-size: 18px; line-height: 1.55; }

.hr-questions { background: var(--hr-white); }
.hr-questions .hr-stack { gap: 28px; }
.hr-qgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 28px 48px; }
.hr-q { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--hr-navy); padding-top: 16px; }
.hr-h3q { margin: 0; font-size: 20px; font-weight: 800; }
.hr-pq { margin: 0; font-size: 17px; line-height: 1.55; color: var(--hr-slate); }

.hr-closing { background: var(--hr-navy); color: var(--hr-on-navy); }
.hr-closing-in { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hr-h2c { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 800; }
.hr-zipbox-c { align-items: center; }
.hr-zipbox-c .hr-zip-row { justify-content: center; }
.hr .hr-closing-call { color: var(--hr-on-navy); font-size: 17px; padding: 12px 0; min-height: 48px; display: inline-flex; align-items: center; }
.hr .hr-closing-call:hover { text-decoration: underline; }

/* ---------- slice 3: How we're paid, What we do not do, You can change your mind (desktop values from Recommended-desktop.dc.html; phone values in the max-width block below) ---------- */
.hr-paid { background: var(--hr-tint); }
.hr-paid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.hr-paid-card { background: var(--hr-white); border: 1px solid var(--hr-border); border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.hr-h2p { margin: 0; font-size: 30px; font-weight: 800; color: var(--hr-navy); }
.hr-pp { margin: 0; font-size: 18px; line-height: 1.55; color: var(--hr-slate); }
.hr-paid-list { margin: 0; padding-left: 22px; font-size: 18px; line-height: 1.7; color: var(--hr-slate); }

.hr-promise { background: var(--hr-navy); color: var(--hr-on-navy); }
.hr-promise .hr-wrap { padding-top: 64px; padding-bottom: 64px; }
.hr-promise-in { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hr-promise-main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hr-h2w { margin: 0; font-size: 36px; font-weight: 800; color: var(--hr-on-navy); }
.hr-promise-p { margin: 0; max-width: 640px; font-size: 19px; line-height: 1.55; color: var(--hr-on-navy-2); }
.hr-promise-side { flex: 0 1 360px; display: flex; flex-direction: column; gap: 6px; border-left: 2px solid var(--hr-line-navy); padding-left: 28px; }
.hr-promise-lab { font-size: 15px; font-weight: 600; color: var(--hr-on-navy-2); }
.hr .hr-promise-tel { color: var(--hr-on-navy); font-size: 26px; font-weight: 800; text-decoration: none; padding: 8px 0; min-height: 48px; display: inline-flex; align-items: center; align-self: flex-start; }
.hr .hr-promise-tel:hover, .hr .hr-promise-call:hover { text-decoration: underline; }
.hr-promise-addr { font-size: 15px; line-height: 1.5; color: var(--hr-on-navy-2); }
.hr-promise-call { display: none; }

/* phone sticky bar: appears once the hero button has scrolled out of view */
.hr-sticky { display: none; }

@media (max-width: 767px) {
  .hr-nav, .hr-phone-long, .hr-brand-tag, .hr-full { display: none; }
  .hr-short { display: inline; }
  .hr-call-short { display: inline; }
  .hr-header .hr-wrap { padding: 8px 16px; flex-wrap: nowrap; gap: 12px; }
  .hr-brand { gap: 10px; }
  .hr-brand img { width: 24px; height: 38px; }
  .hr-brand-name { font-size: 19px; }
  .hr .hr-phone { height: 48px; padding: 0 14px; border: 2px solid var(--hr-on-navy); border-radius: 6px; font-size: 16px; }
  .hr .hr-btn-outline { display: none; }
  .hr-hero .hr-wrap { padding: 26px 20px 28px; gap: 16px; flex-direction: column; align-items: stretch; }
  .hr-hero-copy { flex: 0 0 auto; gap: 16px; }
  .hr-cat { font-size: 13px; }
  .hr-h1 { font-size: 36px; line-height: 1.08; }
  .hr-sub { font-size: 17px; line-height: 1.45; }
  .hr-zip { flex: 0 0 118px; width: 118px; height: 56px; padding: 0 14px; }
  .hr-zip-row { flex-wrap: nowrap; gap: 10px; }
  .hr .hr-go { flex: 1 1 auto; height: 56px; font-size: 18px; padding: 0 12px; }
  .hr-card { flex: 0 0 auto; margin-top: 10px; padding: 18px 16px; gap: 14px; }
  .hr-line { font-size: 23px; line-height: 1.25; min-height: 58px; }
  .hr-controls { justify-content: flex-start; }
  .hr-tabs { gap: 8px; }
  .hr-table { font-size: 14px; }
  .hr-row { grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 8px; padding: 12px; }
  .hr-row.hr-head { padding: 10px 12px; }
  .hr-bar { height: 9px; }
  .hr-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--hr-white); border-top: 1px solid var(--hr-border); padding: 8px 16px; gap: 10px; transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  .hr-sticky.hr-show { display: flex; transform: none; visibility: visible; transition: transform .25s ease; }
  .hr-sticky { display: flex; }
  .hr .hr-sticky .hr-go { height: 48px; }
  .hr .hr-sticky-call { flex: 0 0 56px; display: flex; align-items: center; justify-content: center; height: 48px; border: 2px solid var(--hr-navy); border-radius: 6px; }
  /* slice 2: phone values from Recommended-phone.dc.html */
  .hr-sec .hr-wrap { padding: 40px 20px; }
  .hr-facts .hr-wrap { padding: 32px 20px; }
  .hr-facts-grid { grid-template-columns: 1fr; gap: 24px; }
  .hr-stack { gap: 18px; }
  .hr-h2 { font-size: 28px; line-height: 1.15; }
  .hr-h3 { font-size: 20px; }
  .hr-p { font-size: 16px; }
  .hr-steps { grid-template-columns: 1fr; gap: 18px; }
  .hr-stepcard { padding: 22px; gap: 8px; }
  .hr-steplab { font-size: 13px; }
  .hr-split { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 16px; }
  .hr-split-a { flex: 0 0 auto; gap: 16px; }
  .hr-list { font-size: 17px; }
  .hr-split-b { flex: 0 0 auto; padding: 22px; gap: 10px; }
  .hr-split-b .hr-h3 { font-size: 19px; }
  .hr-split-b .hr-p { font-size: 16px; }
  .hr-questions .hr-stack { gap: 20px; }
  .hr-qgrid { grid-template-columns: 1fr; gap: 20px; }
  .hr-q { padding-top: 14px; }
  .hr-h3q { font-size: 18px; }
  .hr-pq { font-size: 16px; line-height: 1.5; }
  .hr-closing .hr-wrap { padding: 44px 20px; }
  .hr-closing-in { align-items: stretch; gap: 20px; text-align: left; }
  .hr-h2c { font-size: 32px; }
  .hr-zipbox-c { align-items: stretch; }
  .hr-zipbox-c .hr-zip-row { justify-content: flex-start; }
  .hr .hr-closing-call { font-size: 16px; }
  /* slice 3: phone values from Recommended-phone.dc.html (the side block is desktop-only; phones get one call link) */
  .hr-paid .hr-wrap { padding: 40px 20px; }
  .hr-paid-grid { grid-template-columns: 1fr; gap: 18px; }
  .hr-paid-card { padding: 22px; gap: 12px; }
  .hr-h2p { font-size: 24px; }
  .hr-pp { font-size: 16px; line-height: 1.55; }
  .hr-paid-list { padding-left: 20px; font-size: 16px; line-height: 1.65; }
  .hr-promise .hr-wrap { padding: 40px 20px; }
  .hr-promise-in { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 14px; }
  .hr-promise-main { flex: 0 0 auto; }
  .hr-h2w { font-size: 28px; }
  .hr-promise-p { font-size: 17px; }
  .hr .hr-promise-call { display: inline-flex; align-items: center; min-height: 48px; color: var(--hr-on-navy); font-size: 16px; padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hr-w, .hr-row, .hr-tab, .hr-sticky { transition: none !important; }
}
