:root {
  --navy-950: #071d36;
  --navy-900: #0b294d;
  --navy-800: #123d6a;
  --blue-700: #175c9e;
  --blue-600: #2374b9;
  --blue-100: #dceffc;
  --blue-50: #eff8fe;
  --ice-25: #f7fbfe;
  --orange-700: #a93800;
  --orange-600: #c94b00;
  --orange-500: #ff7628;
  --green-700: #357b2d;
  --charcoal-900: #192b3c;
  --charcoal-700: #415466;
  --charcoal-600: #5c6d7b;
  --gray-300: #cbd6df;
  --gray-200: #dfe7ed;
  --gray-100: #edf2f6;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(7, 29, 54, 0.08);
  --shadow-lg: 0 20px 54px rgba(7, 29, 54, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --content: 1180px;
  --content-wide: 1320px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal-900);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--blue-700);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--navy-900);
}

:focus-visible {
  outline: 3px solid var(--navy-900);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--white);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.7em;
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

h1 {
  font-size: clamp(2.2rem, 3.7vw, 3.45rem);
}

h2 {
  font-size: clamp(1.65rem, 2.65vw, 2.35rem);
}

h3 {
  font-size: clamp(1.18rem, 1.55vw, 1.42rem);
}

h4 {
  font-size: 1.08rem;
}

p,
ul,
ol,
blockquote,
table {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.container,
.container-wide {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - 40px), var(--content-wide));
}

.section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.section--compact {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.section--ice {
  background: var(--ice-25);
}

.section--muted {
  background: var(--ice-25);
}

.section--tint {
  background: var(--blue-50);
}

.section--blue {
  background: var(--blue-50);
}

.section--navy {
  background: var(--navy-900);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy a:not(.button) {
  color: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  color: var(--charcoal-700);
  font-size: 1.1rem;
}

.eyebrow {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  min-height: var(--header-height);
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 29, 54, 0.98);
  box-shadow: 0 8px 24px rgba(7, 29, 54, 0.2);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.site-brand img {
  width: 228px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.primary-nav,
.primary-nav__list {
  display: flex;
  align-items: center;
}

.primary-nav {
  min-width: 0;
  gap: clamp(1rem, 2.2vw, 2.2rem);
}

.primary-nav__list {
  gap: clamp(0.45rem, 1.4vw, 1.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav__item {
  position: relative;
}

.primary-nav__parent {
  display: flex;
  align-items: center;
}

.primary-nav__submenu-toggle {
  display: grid;
  width: 32px;
  height: 44px;
  margin-left: -0.35rem;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.primary-nav__submenu-toggle span {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.primary-nav__submenu-toggle[aria-expanded="true"] span {
  transform: translateY(2px) rotate(225deg);
}

.primary-nav__submenu {
  position: absolute;
  z-index: 120;
  top: 100%;
  left: 0;
  display: none;
  width: 278px;
  margin: 0;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--orange-500);
  background: var(--navy-950);
  box-shadow: 0 18px 38px rgba(3, 16, 31, 0.28);
  list-style: none;
}

.primary-nav__item--has-submenu::after {
  position: absolute;
  top: 100%;
  right: -10px;
  left: -10px;
  height: 12px;
  content: "";
}

.primary-nav__submenu.is-open,
.primary-nav__item--has-submenu:hover .primary-nav__submenu,
.primary-nav__item--has-submenu:focus-within .primary-nav__submenu {
  display: block;
}

.primary-nav__submenu li a {
  width: 100%;
  min-height: 40px;
  padding: 0.35rem 0.65rem;
  border: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
}

.primary-nav__submenu li a:hover,
.primary-nav__submenu li a:focus-visible {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.primary-nav__list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav__list a:hover,
.primary-nav__list a[aria-current="page"] {
  border-color: var(--orange-500);
  color: var(--white);
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle__label {
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-toggle__icon {
  display: grid;
  width: 20px;
  gap: 4px;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.button,
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.76rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.button:hover,
.btn:hover {
  transform: translateY(-1px);
}

.button--orange,
.btn-primary,
.btn-warning {
  background: var(--orange-600);
  color: var(--white);
  box-shadow: 0 7px 18px rgba(184, 91, 0, 0.2);
}

.button--orange:hover,
.btn-primary:hover,
.btn-warning:hover {
  background: var(--orange-700);
  color: var(--white);
}

.button--blue {
  background: var(--blue-700);
  color: var(--white);
}

.button--blue:hover {
  background: var(--navy-800);
  color: var(--white);
}

.button--primary {
  background: var(--orange-600);
  color: var(--white);
  box-shadow: 0 7px 18px rgba(184, 91, 0, 0.2);
}

.button--primary:hover {
  background: var(--orange-700);
  color: var(--white);
}

.button--secondary {
  border-color: var(--blue-700);
  background: var(--white);
  color: var(--blue-700);
  box-shadow: none;
}

.button--secondary:hover {
  background: var(--blue-50);
  color: var(--navy-900);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button--outline {
  border-color: var(--blue-700);
  background: transparent;
  color: var(--blue-700);
  box-shadow: none;
}

.button--outline:hover {
  background: var(--blue-50);
  color: var(--navy-900);
}

.page-hero .button--outline {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
}

.page-hero .button--outline:hover,
.page-hero .button--outline:focus-visible {
  background: #fff;
  color: var(--navy-900);
}

.page-hero .text-link {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.62);
  text-underline-offset: 0.2em;
}

/* Secondary hero links remain visible but quiet on desktop. */
.page-hero .hero-actions > a:not(.button) {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration-color: rgba(255, 255, 255, 0.58);
  text-transform: none;
  letter-spacing: 0;
}

.page-hero .hero-actions > a:not(.button)::after {
  content: "\2192";
  font-size: 1.05em;
  line-height: 1;
  transition: transform 150ms ease;
}

.page-hero .hero-actions > a:not(.button):hover::after,
.page-hero .hero-actions > a:not(.button):focus-visible::after {
  transform: translateX(3px);
}

.page-hero .text-link:hover,
.page-hero .text-link:focus-visible {
  color: var(--blue-100);
  text-decoration-color: currentColor;
}

.page-hero p a:not(.button) {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.62);
}

.page-hero p a:not(.button):hover,
.page-hero p a:not(.button):focus-visible {
  color: var(--blue-100);
  text-decoration-color: currentColor;
}

.button--block {
  width: 100%;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.75rem, 7vw, 7rem);
  background: linear-gradient(125deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

/* Interior-page depth: a restrained ice-cube texture under a strong navy veil. */
body:not(.home-page) .page-hero:not(.compare-hero) {
  padding-block: clamp(2.65rem, 4.25vw, 4rem);
  background-color: var(--navy-950);
  background-image:
    linear-gradient(105deg, rgba(7, 29, 54, 0.97) 0%, rgba(11, 41, 77, 0.94) 55%, rgba(18, 61, 106, 0.88) 100%),
    url("/assets/images/header-cube-pattern.webp");
  background-position: center, center 42%;
  background-size: cover, cover;
}

body:not(.home-page) .page-hero.page-hero--compact:not(.compare-hero) {
  padding-block: clamp(2.1rem, 3vw, 2.8rem);
}

.page-hero--compact {
  padding-block: clamp(2.2rem, 3.5vw, 3.25rem);
}

.page-hero::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(35, 116, 185, 0.24));
  content: "";
  pointer-events: none;
}

.page-hero__inner,
.hero-grid {
  position: relative;
  z-index: 1;
}

.page-hero__inner {
  max-width: 920px;
}

body:not(.home-page) .page-hero:not(.compare-hero) .page-hero__inner,
body:not(.home-page) .page-hero:not(.compare-hero) h1,
body:not(.home-page) .page-hero:not(.compare-hero) p {
  max-width: none;
}

body:not(.home-page) .page-hero .eyebrow {
  color: var(--orange-500);
}

body:not(.home-page) .page-hero .breadcrumbs + .eyebrow {
  margin-top: 10px;
}

.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: var(--white);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.15rem, 3.6vw, 3.35rem);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.page-hero__lede {
  max-width: 760px;
}

.hero-lede {
  max-width: 780px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(385px, 0.82fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.ice-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; margin-top: 2.5rem; }
.ice-step { display: flex; align-items: flex-start; gap: 1rem; }
.ice-step svg { flex: 0 0 76px; width: 76px; height: 76px; fill: #fff3eb; stroke: var(--orange-600); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ice-step__number { color: var(--orange-600); font-weight: 800; }
.ice-step h3 { margin: .25rem 0 .6rem; }
.ice-step p { margin: 0; }
body.home-page .page-hero.ice-home-hero { padding-block: 4rem; background: linear-gradient(90deg,rgba(7,29,54,.96),rgba(11,41,77,.85) 50%,rgba(11,41,77,.5)),url('/assets/images/hero-commercial-ice.webp') center/cover; }
body.home-page .page-hero.ice-home-hero .hero-grid { width: min(var(--content),calc(100% - 40px)); max-width: var(--content); margin-inline: auto; gap: 3rem; align-items: start; }
body.home-page .page-hero.ice-home-hero .hero-grid > :first-child { padding: 0; }
.ice-home-form { min-width: 0; margin-top: 28px; }
.ice-home-hero .eyebrow { color: #ff914f; }
.compare-hero .check-list { margin-block: 1.75rem 2rem; }
body .compare-hero .check-list { gap: calc(0.8rem - 8px); }
body .compare-hero .check-list li::before { color: #ff7628; background: transparent; font-size: 1.1rem; }
.compare-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .16; background-image: linear-gradient(30deg,transparent 48%,#a6d4f7 49%,transparent 50%),linear-gradient(150deg,transparent 48%,#a6d4f7 49%,transparent 50%); background-size: 90px 155px; }
.compare-hero > .container { position: relative; }
@media (max-width: 767px) {
  body.home-page .page-hero.ice-home-hero { padding-block: 2.5rem; }
  body.home-page .page-hero.ice-home-hero .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ice-home-hero .hero-actions, .home-page [data-mobile-sticky-cta] { display: none !important; }
  .ice-steps { grid-template-columns: 1fr; gap: 2rem; }
}

/* Readable breadcrumb navigation against the navy hero. */
body .page-hero .breadcrumbs { background: transparent; color: #fff; }
body .page-hero:has(.breadcrumbs)::before { background: #102440; opacity: 1; }
body .page-hero .breadcrumbs a { color: #ff914f; text-decoration: underline; }
body .page-hero .breadcrumbs span { color: #fff; opacity: 1; }
body .page-hero .breadcrumbs a:hover { color: #fff; }

/* Quote-page offer hierarchy: small label, prominent headline on every screen. */
body.compare-prices-page .compare-hero .compare-hero__copy > .eyebrow {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
body.compare-prices-page .compare-hero .compare-hero__copy h1 {
  font-size: clamp(44px, 4.3vw, 68px);
  line-height: 1.06;
  letter-spacing: -.035em;
  margin-top: 0;
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  body.compare-prices-page .compare-hero .compare-hero__copy > .eyebrow { font-size: 11px; letter-spacing: .08em; }
  body.compare-prices-page .compare-hero .compare-hero__copy h1 { font-size: clamp(40px, 7.5vw, 52px); line-height: 1.08; }
}

/* Homepage base; conversion hero overrides follow below. */
.home-page .page-hero:first-of-type,
.home-hero,
.homepage-hero {
  padding-block: 0;
  background: linear-gradient(125deg, var(--navy-950), var(--navy-800));
}

.home-page .page-hero:first-of-type::after,
.home-hero::after,
.homepage-hero::after {
  display: none;
}

.home-page .page-hero:first-of-type .hero-grid,
.home-hero .hero-grid,
.homepage-hero .hero-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}

.home-page .page-hero:first-of-type .hero-grid > :first-child,
.home-hero .hero-grid > :first-child,
.homepage-hero .hero-grid > :first-child {
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
  padding: clamp(4.25rem, 6vw, 6.5rem) clamp(2rem, 4.5vw, 5rem) clamp(4.25rem, 6vw, 6.5rem) max(20px, calc((100vw - var(--content)) / 2));
}

.home-page .page-hero:first-of-type .hero-grid > img,
.home-hero .hero-grid > img,
.homepage-hero .hero-grid > img,
.home-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: center;
}

/* Quote hero contract: copy and the established vendor form share the first view. */
.compare-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 5vw, 5rem);
  background-color: var(--navy-950);
  background-image:
    linear-gradient(105deg, rgba(7, 29, 54, 0.97) 0%, rgba(11, 41, 77, 0.92) 56%, rgba(18, 61, 106, 0.86) 100%),
    url("/assets/images/header-cube-pattern.webp");
  background-position: center, center 42%;
  background-size: cover, cover;
  color: var(--white);
}

.compare-hero > .container,
.compare-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.compare-hero__copy,
.compare-hero__form {
  min-width: 0;
}

.compare-hero__copy {
  padding-top: clamp(0.4rem, 1.2vw, 1.25rem);
}

.compare-hero__copy h1,
.compare-hero__copy h2,
.compare-hero__copy h3 {
  color: var(--white);
}

.compare-hero__copy > p,
.page-hero .compare-hero__copy > p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.compare-hero__form .form-card,
.form-in-hero .form-card {
  margin: 0;
  border-color: rgba(255, 255, 255, 0.38);
  background: var(--gray-100);
  box-shadow: none;
}

.compare-hero__form .form-card p,
.page-hero .compare-hero__form .form-card p,
.form-in-hero .form-card p,
.page-hero .form-in-hero .form-card p {
  max-width: none;
  color: var(--charcoal-600);
  font-size: 0.84rem;
  line-height: 1.55;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.check-list,
.feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.feature-list li {
  position: relative;
  padding-left: 2rem;
}

.check-list li::before,
.feature-list li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy-900);
  content: "\2713";
  font-size: 0.75rem;
  font-weight: 800;
}

.page-hero .check-list li::before,
.section--navy .check-list li::before {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.faq-card,
.location-card,
.form-card {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.card {
  padding: clamp(1.25rem, 2vw, 1.7rem);
}

.card > :last-child {
  margin-bottom: 0;
}

.card:has(> .card-media),
.card:has(> .card__body) {
  padding: 0;
}

.card,
.faq-card,
.location-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.card h3,
.faq-card h3,
.location-card h3 {
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  line-height: 1.28;
  overflow-wrap: break-word;
}

.card p,
.faq-card p,
.location-card p {
  overflow-wrap: break-word;
}

.card__body,
.faq-card__body,
.location-card__body {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: clamp(1.25rem, 2vw, 1.7rem);
}

.card__body > :last-child,
.faq-card__body > :last-child,
.location-card__body > :last-child {
  margin-bottom: 0;
}

.card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-media--square {
  aspect-ratio: 16 / 10;
}

.card__link,
.faq-card__link,
.location-card__link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 0.55rem;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

.card__link::after,
.faq-card__link::after,
.location-card__link::after {
  content: "\2192";
  transition: transform 150ms ease;
}

.card__link:hover::after,
.faq-card__link:hover::after,
.location-card__link:hover::after {
  transform: translateX(3px);
}

.faq-card__category,
.location-card__region {
  margin-bottom: 0.5rem;
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.location-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0;
  padding: 0 1.25rem 1.25rem;
}

.content-sidebar,
.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(385px, 420px);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.prose {
  min-width: 0;
}

.prose--centered {
  max-width: 820px;
  margin-inline: auto;
}

.prose p,
.prose li {
  color: var(--charcoal-700);
}

.prose h2 {
  margin-top: 2.7rem;
}

.prose h3 {
  margin-top: 2rem;
}

.prose > :first-child,
.prose--centered > :first-child {
  margin-top: 0;
}

.legal-copy {
  max-width: 800px;
}

.answer-card,
.notice-card,
.decision-panel {
  margin-block: 1.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.answer-card {
  border-left: 5px solid var(--blue-600);
  background: var(--blue-50);
}

.notice-card {
  border-left: 5px solid var(--orange-600);
  background: #fff6ea;
}

.notice-card > strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy-900);
  font-size: 1.05rem;
}

.decision-panel {
  background: var(--navy-900);
  color: var(--white);
}

.decision-panel h2,
.decision-panel h3,
.decision-panel p,
.decision-panel li {
  color: var(--white);
}

.decision-panel ol,
.decision-panel ul {
  margin-bottom: 0;
  padding-left: 1.35rem;
}

.answer-card > :last-child,
.notice-card > :last-child,
.decision-panel > :last-child {
  margin-bottom: 0;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 1.75rem;
}

.check-grid--three {
  grid-template-columns: minmax(0, 1fr);
}

.check-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-grid > * {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.check-grid > .answer-card {
  height: 100%;
  margin: 0;
  border-left: 1px solid var(--gray-200);
  box-shadow: none;
}

.check-grid > *::before {
  position: absolute;
  top: 1.35rem;
  left: 1.25rem;
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy-900);
  content: "\2713";
  font-size: 0.72rem;
  font-weight: 800;
}

.check-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.check-grid p {
  margin: 0;
  font-size: 0.92rem;
}

.inline-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  margin-block: 2rem;
  padding: 1.4rem 1.5rem;
  border-left: 5px solid var(--orange-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--blue-50);
}

.inline-cta strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy-900);
}

.inline-cta p {
  margin: 0;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-block: 1.5rem;
}

.faq-list details {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.faq-list summary {
  padding: 1rem 3rem 1rem 1.15rem;
  color: var(--navy-900);
  cursor: pointer;
  font-weight: 700;
}

.faq-list summary::marker {
  color: var(--orange-600);
}

.faq-list details p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
}

.review-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  color: var(--charcoal-600) !important;
  font-size: 0.78rem;
}

.sidebar-links {
  display: grid;
  gap: 0.1rem;
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--ice-25);
}

.sidebar-links h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.sidebar-links a {
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 600;
  text-decoration: none;
}

.sidebar-links a:last-child {
  border-bottom: 0;
}

.sticky-card {
  min-width: 0;
}

.content-card {
  display: block;
  padding: 1.35rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--charcoal-900);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.content-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue-600);
  color: var(--charcoal-900);
  box-shadow: var(--shadow-lg);
}

.content-card h3 {
  margin: 0.3rem 0;
}

.content-card p {
  margin-bottom: 0.65rem;
}

.card-kicker,
.text-link {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  letter-spacing: 0;
  text-transform: none;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.location-card__top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
}

.location-card__top h3,
.location-card__top p {
  margin: 0;
}

.location-card__top p {
  color: var(--charcoal-600);
  font-size: 0.82rem;
}

.location-card__abbr {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.location-card__links a {
  font-size: 0.82rem;
  font-weight: 600;
}

.location-card__empty {
  margin: auto 1.25rem 1.25rem;
  color: var(--charcoal-600);
  font-size: 0.82rem;
}

.main-content {
  min-width: 0;
}

.main-content > :first-child {
  margin-top: 0;
}

.main-content p,
.main-content li {
  color: var(--charcoal-700);
}

.main-content h2 {
  margin-top: 2.5rem;
}

.main-content h3 {
  margin-top: 2rem;
}

.main-content img {
  margin-block: 1.75rem;
  border-radius: var(--radius-md);
}

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  min-width: 0;
}

.sidebar > * + * {
  margin-top: 1.25rem;
}

.form-card {
  position: relative;
  overflow: visible;
  border: 1px solid var(--orange-600) !important;
  padding: 0;
  border-radius: 0;
  background: var(--gray-100);
  color: var(--charcoal-900);
  box-shadow: none;
}

.form-card__ribbon {
  position: absolute;
  top: -28px;
  right: -1px;
  z-index: 1;
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1rem;
  background: var(--orange-600);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-card__ribbon i {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 8px solid var(--orange-600);
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  transform: translateX(-50%);
}

.form-card__body {
  min-height: 120px;
  background: var(--gray-100);
}

.embedded-quote-form {
  min-height: 120px;
}

.compare-section {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.compare-benefits {
  margin-block: 1.75rem;
}

.compare-prices__content > :last-child {
  margin-bottom: 0;
}

.form-status {
  margin: 0.9rem 0 0;
  color: var(--charcoal-600);
  font-size: 0.76rem;
  line-height: 1.55;
  text-align: center;
}

.form-status {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: #fff2e2;
  color: var(--charcoal-900);
}

.form-card--primary {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: none;
}

.form-card iframe,
.quote-form iframe,
[id^="formTargetDiv"] iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--gray-100);
  color-scheme: light;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--gray-200);
  overflow: hidden;
}

.trust-row__item {
  padding: 1.2rem;
  background: var(--white);
  text-align: center;
}

.trust-row__item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--navy-900);
}

.trust-row__item span {
  color: var(--charcoal-600);
  font-size: 0.86rem;
}

/* Keep the homepage orientation strip connected to the content it introduces. */
.home-page .page-hero:first-of-type + .section.section--compact {
  padding-block: clamp(1.5rem, 2.5vw, 2.25rem);
}

.home-page .page-hero:first-of-type + .section.section--compact + .section {
  padding-top: clamp(2.75rem, 4.5vw, 4.25rem);
}

.buyer-paths {
  background: var(--white);
}

.buyer-paths .section-heading {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.8rem);
}

.buyer-paths__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.buyer-path {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 118px;
  align-content: center;
  gap: 0.25rem;
  padding: 1.05rem 3rem 1.05rem 1.1rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--white), var(--ice-25));
  color: var(--charcoal-900);
  box-shadow: 0 6px 18px rgba(7, 29, 54, 0.06);
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.buyer-path::after {
  position: absolute;
  right: 1rem;
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  content: "\2192";
  font-weight: 700;
}

.buyer-path:hover,
.buyer-path:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(35, 116, 185, 0.52);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.buyer-path strong,
.buyer-path span {
  display: block;
  overflow-wrap: anywhere;
}

.buyer-path strong {
  color: var(--navy-900);
  font-size: 0.96rem;
  line-height: 1.35;
}

.buyer-path span {
  color: var(--charcoal-600);
  font-size: 0.8rem;
  line-height: 1.52;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.stat-strip__item {
  padding: 1rem;
  background: rgba(7, 29, 54, 0.5);
}

.stat-strip strong,
.stat-strip span {
  display: block;
}

.stat-strip span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.breadcrumbs {
  margin-bottom: 1rem;
  color: var(--charcoal-600);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  min-width: 0;
  white-space: nowrap;
}

.breadcrumbs li:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs > a,
.breadcrumbs > span {
  display: inline;
}

.breadcrumbs > span[aria-hidden="true"] {
  margin-inline: 0.3rem;
  color: var(--gray-300);
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 0.3rem;
  color: var(--gray-300);
  content: "/";
}

.breadcrumbs [aria-current="page"] {
  color: var(--charcoal-600);
}

.page-hero .breadcrumbs a {
  color: var(--blue-700);
}

.page-hero .breadcrumbs [aria-current="page"] {
  color: var(--charcoal-600);
}

/* Templates include breadcrumbs inside the hero; lift them into a compact row
   visually attached to the header while preserving their semantic position. */
.page-hero:has(.breadcrumbs) {
  padding-top: calc(44px + clamp(2.65rem, 4.5vw, 4.1rem));
}

.page-hero--compact:has(.breadcrumbs) {
  padding-top: calc(44px + clamp(2rem, 3vw, 2.75rem));
}

/* Hackerman supplies this single shared link and its scroll state. */
.mobile-sticky-cta {
  display: none;
}

.page-hero:has(.breadcrumbs)::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 44px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--ice-25);
  content: "";
}

.page-hero__inner:has(> .breadcrumbs),
.page-hero .hero-grid:has(.breadcrumbs),
.page-hero .compare-hero__copy:has(> .breadcrumbs) {
  position: static;
}

.page-hero__inner:has(> .breadcrumbs) > :not(.breadcrumbs),
.compare-hero__copy:has(> .breadcrumbs) > :not(.breadcrumbs),
.page-hero .hero-grid:has(.breadcrumbs) > :not(.compare-hero__copy) {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumbs {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 40px), var(--content));
  height: 44px;
  margin: 0;
  align-items: center;
  transform: translateX(-50%);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--blue-50);
  color: var(--navy-900);
  font-size: 0.88rem;
}

tr:last-child td {
  border-bottom: 0;
}

.callout {
  margin-block: 1.8rem;
  padding: 1.35rem 1.5rem;
  border-left: 5px solid var(--blue-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--blue-50);
}

.callout--orange {
  border-left-color: var(--orange-500);
  background: #fff6ea;
}

.callout > :last-child {
  margin-bottom: 0;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, var(--navy-900), var(--blue-700));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

section.cta-band {
  display: block;
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
  border-radius: 0;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

section.cta-band .eyebrow {
  color: var(--blue-100);
}

.cta-band h2,
.cta-band h3,
.cta-band p {
  color: var(--white);
}

.cta-band h2,
.cta-band h3 {
  margin-bottom: 0.4rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.success-hero {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--blue-50);
  text-align: center;
}

.success-hero__icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
}

.success-hero__card {
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem);
}

.success-hero h1 {
  max-width: 820px;
  margin-inline: auto;
}

.success-hero p {
  max-width: 720px;
  margin-inline: auto;
  color: var(--charcoal-700);
  font-size: 1.08rem;
}

.jump-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 980px;
  margin: 2rem auto 0;
}

.jump-links a {
  display: grid;
  min-height: 64px;
  place-items: center;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: none;
}

.jump-links a:hover {
  border-color: var(--orange-500);
  box-shadow: var(--shadow-sm);
}

.cross-sell-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(385px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--gray-200);
}

.cross-sell-section__image {
  width: 100%;
  aspect-ratio: 3 / 1;
  margin-bottom: 1.4rem;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.sitemap-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sitemap-group {
  padding: 30px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sitemap-group--wide {
  grid-column: 1 / -1;
}

.sitemap-group h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.sitemap-group ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-group a {
  font-weight: 600;
}

.sitemap-link-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
}

.sitemap-state-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sitemap-state-card {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
}

.sitemap-state-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.sitemap-state-card li,
.sitemap-group--utility li {
  font-size: 0.92rem;
}

.sitemap-group--utility ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(180px, 0.65fr) minmax(180px, 0.65fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.site-footer__brand p {
  max-width: 580px;
}

.site-brand--footer {
  margin-bottom: 1.25rem;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer__nav ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:not(.button) {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a:not(.button):hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  margin-top: 3.5rem;
  padding-block: 1.35rem;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 1100px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(385px, 0.95fr);
    gap: 2.5rem;
  }

  .primary-nav__list {
    gap: 0.55rem;
  }

  .primary-nav__list a {
    font-size: 0.82rem;
  }
}

@media (max-width: 979px) {
  :root {
    --header-height: 72px;
  }

  .site-brand img {
    width: 190px;
    max-height: 48px;
  }

  .site-header__inner {
    width: min(calc(100% - 40px), var(--content));
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: none;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    width: 100%;
    padding-bottom: 1rem;
  }

  .js .site-header__inner {
    flex-wrap: nowrap;
  }

  .js .primary-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - var(--header-height));
    padding: 1rem 20px 1.4rem;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--navy-950);
    box-shadow: var(--shadow-lg);
  }

  .js .primary-nav.is-open {
    display: block;
  }

  .primary-nav__list {
    display: grid;
    gap: 0;
  }

  .primary-nav__list a {
    width: 100%;
    min-height: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
  }

  .primary-nav__list a[aria-current="page"] {
    border-bottom-color: var(--orange-500);
  }

  .primary-nav__parent {
    width: 100%;
  }

  .primary-nav__parent > a {
    flex: 1 1 auto;
  }

  .primary-nav__submenu-toggle {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .primary-nav__submenu,
  .primary-nav__item--has-submenu:hover .primary-nav__submenu,
  .primary-nav__item--has-submenu:focus-within .primary-nav__submenu {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 0.4rem 0.8rem;
    border: 0;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }

  .primary-nav__item--has-submenu .primary-nav__submenu.is-open {
    display: block;
  }

  .primary-nav__submenu li a {
    min-height: 44px;
    padding-inline: 0.75rem;
    font-size: 0.88rem;
  }

  .primary-nav__cta {
    width: 100%;
    margin-top: 1rem;
  }

  .hero-grid,
  .compare-hero > .container,
  .compare-hero__inner,
  .content-sidebar,
  .content-with-sidebar,
  .cross-sell-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    align-items: start;
  }

  .home-page .page-hero:first-of-type .hero-grid,
  .home-hero .hero-grid,
  .homepage-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .page-hero:first-of-type .hero-grid > :first-child,
  .home-hero .hero-grid > :first-child,
  .homepage-hero .hero-grid > :first-child {
    max-width: none;
    justify-self: stretch;
    padding: 4rem 20px;
  }

  .home-page .page-hero:first-of-type .hero-grid > img,
  .home-hero .hero-grid > img,
  .homepage-hero .hero-grid > img,
  .home-hero__media img {
    min-height: 0;
    max-height: 500px;
    aspect-ratio: 16 / 9;
  }

  .compare-hero__form,
  .form-in-hero {
    width: min(100%, 620px);
  }

  .sidebar {
    position: static;
    width: min(100%, 580px);
    margin-inline: auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sitemap-state-grid,
  .sitemap-link-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .buyer-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container,
  .container-wide {
    width: min(calc(100% - 30px), var(--content));
  }

  .section {
    padding-block: 3.6rem;
  }

  .page-hero {
    padding-block: 2.7rem;
  }

  .home-page .page-hero:first-of-type,
  .home-hero,
  .homepage-hero {
    padding-block: 0;
  }

  .page-hero:has(.breadcrumbs) {
    padding-top: calc(42px + 2.7rem);
  }

  .page-hero--compact:has(.breadcrumbs) {
    padding-top: calc(42px + 2.2rem);
  }

  .page-hero:has(.breadcrumbs)::before,
  .page-hero .breadcrumbs {
    height: 42px;
  }

  .site-header__inner {
    width: min(calc(100% - 30px), var(--content));
  }

  .js .primary-nav {
    padding-right: 15px;
    padding-left: 15px;
  }

  .page-hero .breadcrumbs {
    width: min(calc(100% - 30px), var(--content));
  }

  .home-page .page-hero:first-of-type .hero-grid > :first-child,
  .home-hero .hero-grid > :first-child,
  .homepage-hero .hero-grid > :first-child {
    padding: 3.5rem 15px;
  }

  .home-page .page-hero:first-of-type .hero-grid > img,
  .home-hero .hero-grid > img,
  .homepage-hero .hero-grid > img,
  .home-hero__media img {
    max-height: 360px;
    aspect-ratio: 4 / 3;
  }

  .compare-hero {
    padding-block: 3rem;
  }

  .page-hero::after {
    width: 100%;
    opacity: 0.55;
  }

  .card-grid,
  .card-grid--2,
  .card-grid--4,
  .card-grid--two,
  .check-grid,
  .location-grid,
  .trust-row,
  .stat-strip,
  .jump-links,
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .buyer-paths__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sitemap-layout,
  .sitemap-state-grid,
  .sitemap-link-columns,
  .sitemap-group--utility ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .sitemap-group {
    padding: 22px;
  }

  .buyer-path {
    min-height: 0;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .cta-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-band__inner,
  .inline-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-band .button {
    width: 100%;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  /* The primary quote action is the only hero action needed on small screens. */
  .page-hero .hero-actions > a:nth-child(n + 2) {
    display: none;
  }

  .hero-actions .button,
  .button-row .button {
    width: 100%;
  }

  .button-group {
    display: grid;
  }

  .button-group .button {
    width: 100%;
  }

  .form-card {
    padding: 0;
  }

  .check-grid {
    gap: 0.85rem;
    margin-block: 1rem 1.5rem;
  }

  .site-footer__bottom {
    display: grid;
  }

  .mobile-sticky-cta.is-visible {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 0.65rem max(15px, env(safe-area-inset-right)) max(0.65rem, env(safe-area-inset-bottom)) max(15px, env(safe-area-inset-left));
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(7, 29, 54, 0.96);
    box-shadow: 0 -10px 28px rgba(7, 29, 54, 0.2);
    backdrop-filter: blur(10px);
  }

  .mobile-sticky-cta .button,
  .mobile-sticky-cta > a {
    width: 100%;
    min-height: 50px;
  }

  .compare-page .mobile-sticky-cta {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .nav-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .site-brand img {
    width: 176px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  .card__body,
  .faq-card__body,
  .location-card__body {
    padding: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .sidebar,
  .button,
  .btn {
    display: none !important;
  }

  .mobile-sticky-cta {
    display: none !important;
  }

  body {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
