:root {
  --ink: #102033;
  --muted: #5a6675;
  --line: #d8e1ea;
  --paper: #f5f8fb;
  --white: #ffffff;
  --navy: #0f2742;
  --blue: #058bb8;
  --blue-dark: #036987;
  --gold: #f8bd45;
  --green: #0f7a5f;
  --state-accent: var(--blue);
  --state-ink: var(--navy);
  --shadow: 0 28px 80px rgba(15, 39, 66, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(216, 225, 234, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 8px;
  background: var(--state-ink);
  color: white;
  font-weight: 900;
}

.brand-logo {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.18rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

nav {
  display: flex;
  gap: 0.45rem;
}

nav a {
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  color: var(--muted);
  font-weight: 750;
}

nav a:hover {
  background: #eef6fa;
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(23rem, 0.46fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  min-height: calc(100svh - 4.5rem);
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4.5rem);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 22, 37, 0.88), rgba(8, 22, 37, 0.66) 38%, rgba(8, 22, 37, 0.14)),
    linear-gradient(0deg, rgba(245, 248, 251, 1), rgba(245, 248, 251, 0) 34%);
}

.hero-layout-1 .hero-media::after {
  background:
    linear-gradient(90deg, rgba(245, 248, 251, 0.96), rgba(245, 248, 251, 0.82) 42%, rgba(245, 248, 251, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(245, 248, 251, 1));
}

.hero-layout-1 .hero-content {
  color: var(--state-ink);
}

.hero-layout-1 .hero-content p:not(.eyebrow) {
  color: #435365;
}

.hero-layout-1 .trust-strip span {
  border-color: rgba(16, 32, 51, 0.16);
  background: rgba(255, 255, 255, 0.7);
  color: var(--state-ink);
}

.hero-layout-2 {
  grid-template-columns: minmax(23rem, 0.46fr) minmax(0, 1fr);
}

.hero-layout-2 .hero-content {
  grid-column: 2;
}

.hero-layout-2 .quote-card {
  grid-column: 1;
  grid-row: 1;
}

.hero-layout-2 .hero-media::after {
  background:
    linear-gradient(270deg, rgba(8, 22, 37, 0.84), rgba(8, 22, 37, 0.52) 44%, rgba(8, 22, 37, 0.16)),
    linear-gradient(0deg, rgba(245, 248, 251, 1), rgba(245, 248, 251, 0) 32%);
}

.hero-layout-3 {
  align-items: end;
}

.hero-layout-3 .hero-media::after {
  background:
    linear-gradient(120deg, rgba(8, 22, 37, 0.86), rgba(8, 22, 37, 0.5), rgba(8, 22, 37, 0.18)),
    radial-gradient(circle at 72% 20%, color-mix(in srgb, var(--state-accent), transparent 35%), transparent 28rem),
    linear-gradient(0deg, rgba(245, 248, 251, 1), rgba(245, 248, 251, 0) 34%);
}

.hero-layout-4 .quote-card {
  align-self: start;
}

.hero-layout-4 .hero-content {
  align-self: end;
}

.hero-layout-4 .hero-media img {
  filter: saturate(0.9) contrast(1.04);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content,
.quote-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  align-self: center;
  max-width: 48rem;
  color: white;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.8rem, 3.4vw, 3.25rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 43rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.65;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.62rem 0.82rem;
  background: rgba(255, 255, 255, 0.13);
  color: white;
  font-weight: 850;
}

.trust-strip a {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.62rem 0.82rem;
  background: white;
  color: var(--state-ink);
  font-weight: 900;
}

.quote-card {
  align-self: center;
  border: 1px solid color-mix(in srgb, var(--state-accent), white 65%);
  border-radius: 8px;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.quote-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.quote-card-head span {
  color: var(--state-accent);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-card-head strong {
  color: var(--ink);
}

.contact-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--state-accent), white 72%);
  border-radius: 8px;
  padding: 0.75rem;
  background: #f7fbfd;
}

.contact-strip a {
  color: var(--state-ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.lead-form label {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 3.05rem;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 0.75rem;
  background: white;
  color: var(--ink);
}

.lead-form textarea {
  min-height: 6.25rem;
  padding-top: 0.75rem;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(5, 139, 184, 0.18);
}

.form-row.priority {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: end;
  margin-bottom: 0.9rem;
}

.form-row.priority button,
.primary-action {
  min-height: 3.05rem;
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 0 1rem;
  border-color: var(--state-accent);
  background: var(--state-accent);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.form-row.priority button:hover,
.primary-action:hover {
  background: var(--state-ink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.quote-detail-group {
  margin: 0.95rem 0 0;
  border: 1px solid color-mix(in srgb, var(--state-accent), white 78%);
  border-radius: 8px;
  padding: 0.85rem;
  background: #fbfdff;
}

.quote-detail-group legend {
  padding: 0 0.35rem;
  color: var(--state-ink);
  font-size: 0.9rem;
  font-weight: 950;
}

.quote-detail-group > label {
  margin-top: 0.25rem;
}

.primary-action {
  width: 100%;
  margin-top: 0.85rem;
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.85rem;
  color: var(--muted) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.consent input {
  width: 1rem;
  min-height: 1rem;
  margin: 0.12rem 0 0;
}

.form-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.form-success {
  border: 1px solid #bfe6d9;
  border-radius: 8px;
  padding: 1rem;
  background: #edfbf6;
  color: var(--green);
  line-height: 1.5;
}

.logo-strip,
.product-section,
.content-two,
.zip-section,
.city-section,
.faq-section,
.related-section,
.markets-section {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 4.5rem);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  background: white;
}

.logo-strip span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  color: var(--muted);
  font-weight: 850;
  text-align: center;
}

.product-section,
.city-section,
.related-section {
  background: white;
}

.product-grid,
.city-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.zip-section {
  background: #ffffff;
}

.zip-section > p:not(.eyebrow) {
  max-width: 52rem;
  color: var(--muted);
  line-height: 1.6;
}

.zip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.zip-card {
  border: 1px solid var(--line);
  border-top: 5px solid var(--state-accent);
  border-radius: 8px;
  padding: 1rem;
  background: #f9fbfd;
}

.zip-card span {
  color: var(--state-accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.zip-card p {
  color: var(--muted);
  line-height: 1.45;
}

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

.community-guidance {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #f9fbfd;
}

.community-guidance h3 {
  margin-top: 0;
}

.community-guidance p {
  color: var(--muted);
  line-height: 1.65;
}

.audience-hispanic {
  background: #fff7ef;
}

.audience-black {
  background: #f0f5fb;
}

.audience-white {
  background: #f6f8f0;
}

.audience-mixed {
  background: #f3f8f7;
}

.product-grid article,
.city-grid article,
.related-grid a,
.market-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: white;
}

.product-grid article {
  min-height: 15rem;
}

.product-grid p,
.city-grid p,
.content-two p,
.faq-section p,
.markets-section p,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.product-grid a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--blue-dark);
  font-weight: 900;
}

.content-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.45fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.content-two .eyebrow,
.city-section .eyebrow,
.faq-section .eyebrow,
.related-section .eyebrow,
.markets-section .eyebrow,
.product-section .eyebrow,
.compare-section .eyebrow,
.proof-section .eyebrow,
.learning-section .eyebrow {
  color: var(--state-accent);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-note {
  max-width: 920px;
  margin: 1.5rem auto 0;
  color: var(--muted);
  line-height: 1.65;
  text-align: center;
}

.compare-section {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 4.5rem);
  background: white;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.compare-grid article {
  min-height: 13rem;
  padding: 1.4rem;
  background: #ffffff;
}

.compare-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--state-accent), white 82%);
  color: var(--state-accent);
  font-weight: 950;
}

.compare-grid h3,
.review-grid h3,
.learning-grid h3 {
  margin: 0 0 0.45rem;
}

.compare-grid p,
.review-grid p,
.learning-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.proof-section {
  background: #f7f7f5;
}

.proof-band {
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 4.5rem);
  border-block: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.proof-band p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.proof-band div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.proof-band span {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 1rem;
  background: #f8fbfd;
  color: var(--state-ink);
  font-weight: 950;
  letter-spacing: 0;
}

.review-panel {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 4.5rem);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.review-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 39, 66, 0.07);
}

.stars {
  margin-bottom: 0.7rem;
  color: #00a66a;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.learning-section {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 4.5rem);
  background: white;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1160px;
  margin: 0 auto;
}

.learning-grid article {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 39, 66, 0.08);
}

.learning-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.learning-grid div {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1rem;
}

.learning-grid a {
  color: var(--state-accent);
  font-weight: 950;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink);
  font-weight: 760;
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.insight-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: var(--state-ink);
  color: white;
}

.insight-card p {
  color: rgba(255, 255, 255, 0.78);
}

.city-grid article {
  background: #f9fbfd;
}

.faq-section {
  background: var(--paper);
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 0.8rem;
  padding: 1rem;
  background: white;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0.7rem 0 0;
}

.organic-hero {
  background: linear-gradient(135deg, #f7fbff 0%, #eef7f3 100%);
}

.organic-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 4.5rem);
}

.organic-grid,
.script-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

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

.organic-grid article,
.script-list article,
.article-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: white;
  box-shadow: 0 10px 30px rgba(16, 39, 66, 0.06);
}

.organic-grid strong,
.script-list p {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.script-list a,
.article-cta a {
  color: var(--state-accent);
  font-weight: 900;
}

.resource-article h2 {
  margin-top: 2rem;
}

.article-cta {
  margin-top: 2.4rem;
}

.related-grid,
.market-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.related-grid a,
.market-list a {
  display: block;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.related-grid a:hover,
.market-list a:hover,
.product-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(15, 39, 66, 0.12);
}

.related-grid span,
.market-list span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.markets-section {
  background: #eaf4f8;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(18rem, 1.25fr) minmax(16rem, 0.8fr) minmax(18rem, 1fr);
  gap: 1.4rem;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: white;
}

.footer-brand {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
}

.footer-logo {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.footer-logo img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
}

.site-footer p {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer a {
  color: var(--state-accent);
  font-weight: 900;
}

.footer-nav-block {
  display: grid;
  gap: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-disclaimer {
  display: grid;
  gap: 0.65rem;
  font-size: 0.86rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.header-actions .social-links {
  margin-top: 0;
  gap: 0.3rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.header-actions .social-links a {
  width: 2rem;
  height: 2rem;
}

.social-links svg {
  width: 1.08rem;
  height: 1.08rem;
  fill: currentColor;
}

.social-links a.social-facebook {
  border-color: #1877f2;
  background: #1877f2;
  color: white;
}

.social-links a.social-x {
  border-color: #111111;
  background: #111111;
  color: white;
}

.social-links a.social-instagram {
  border-color: #c13584;
  background: #c13584;
  color: white;
}

.social-links a.social-pinterest {
  border-color: #bd081c;
  background: #bd081c;
  color: white;
}

.social-links a.social-tiktok {
  border-color: #111111;
  background: #111111;
  color: white;
}

.social-links a.social-snapchat {
  border-color: #fffc00;
  background: #fffc00;
  color: #111111;
}

.social-links a:hover,
.social-links a:focus {
  border-color: var(--state-ink);
  box-shadow: 0 14px 30px rgba(16, 32, 51, 0.14);
  transform: translateY(-1px);
}

.samples-hero {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4.5rem) clamp(1.8rem, 4vw, 3rem);
  background: var(--state-ink);
  color: white;
}

.samples-hero p:not(.eyebrow) {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.65;
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 4vw, 4.5rem);
  background: #f5f8fb;
}

.thank-you-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.55fr);
  gap: clamp(1rem, 4vw, 3rem);
  min-height: calc(100svh - 4.5rem);
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(5, 139, 184, 0.14), transparent 35rem),
    #f5f8fb;
}

.thank-you-card,
.lead-debug {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(15, 39, 66, 0.12);
}

.thank-you-card {
  padding: clamp(1.2rem, 4vw, 2rem);
}

.thank-you-card .eyebrow {
  color: var(--blue-dark);
}

.thank-you-card p {
  max-width: 52rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.next-steps {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0;
}

.next-steps article {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem;
  background: #f9fbfd;
}

.next-steps strong {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--state-accent);
  color: white;
}

.primary-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  border-radius: 8px;
  padding: 0 1rem;
  background: var(--state-accent);
  color: white;
  font-weight: 900;
}

.lead-debug {
  align-self: start;
  padding: 1rem;
}

.lead-debug pre {
  overflow: auto;
  max-height: 70svh;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: pre-wrap;
}

.checklist-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 4vw, 4.5rem);
  background: #f5f8fb;
}

.checklist-section article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: white;
  box-shadow: 0 14px 34px rgba(15, 39, 66, 0.08);
}

.checklist-section strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.checklist-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.console-shell {
  min-height: calc(100svh - 4.5rem);
  padding: clamp(1rem, 4vw, 4.5rem);
  background: #f5f8fb;
}

.console-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.console-head p {
  max-width: 54rem;
  color: var(--muted);
  line-height: 1.6;
}

.console-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.console-actions button {
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 0.9rem;
  background: white;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.console-actions button:first-child {
  border-color: var(--state-accent);
  background: var(--state-accent);
  color: white;
}

.console-filter {
  margin-bottom: 1rem;
}

.console-filter label,
.webhook-panel label {
  display: block;
  max-width: 32rem;
  color: var(--ink);
  font-weight: 850;
}

.console-filter input,
.webhook-panel input {
  width: 100%;
  min-height: 2.9rem;
  margin-top: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 0.8rem;
}

.webhook-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: white;
}

.webhook-panel .eyebrow {
  color: var(--blue-dark);
}

.webhook-panel h2 {
  margin-bottom: 0.35rem;
  font-size: 1.4rem;
}

.webhook-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.lead-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.lead-table {
  width: 100%;
  min-width: 58rem;
  border-collapse: collapse;
}

.lead-table th,
.lead-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}

.lead-table th {
  background: #edf4f8;
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.lead-table td {
  color: var(--muted);
  line-height: 1.45;
}

.lead-table strong {
  color: var(--ink);
}

.console-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.sample-card {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  color: white;
  box-shadow: 0 16px 38px rgba(15, 39, 66, 0.12);
}

.sample-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 22, 37, 0.18), rgba(8, 22, 37, 0.82)),
    linear-gradient(45deg, color-mix(in srgb, var(--state-accent), transparent 42%), transparent 55%);
}

.sample-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.sample-card:hover img {
  transform: scale(1.04);
}

.sample-card span,
.sample-card strong,
.sample-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.sample-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-card strong {
  margin-top: 9.5rem;
  font-size: 1.35rem;
  line-height: 1.05;
}

.sample-card small {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.35;
}

.product-home .logo-strip {
  background: #f9f6ef;
}

.product-health .logo-strip {
  background: #eef9fb;
}

.product-commercial .logo-strip {
  background: #f1f4f7;
}

.product-life .logo-strip {
  background: #fff8ed;
}

.theme-nm .city-section,
.theme-az .city-section {
  background: #fff7f1;
}

.theme-ks .city-section,
.theme-sd .city-section {
  background: #f5f8ef;
}

.theme-fl .city-section,
.theme-va .city-section {
  background: #eff9fb;
}

.theme-oh .city-section,
.theme-ga .city-section {
  background: #fbf3f5;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.legal-shell h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.legal-shell h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-shell p {
  color: #3e5061;
  line-height: 1.75;
}

@media (max-width: 1050px) {
  .hero,
  .content-two,
  .thank-you-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
  }

  .hero {
    min-height: 0;
  }

  .quote-card {
    align-self: stretch;
  }

  .product-grid,
  .city-grid,
  .logo-strip,
  .related-grid,
  .market-list,
  .zip-grid,
  .compare-grid,
  .review-grid,
  .learning-grid,
  .organic-grid,
  .script-list,
  .checklist-section,
  .samples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    min-width: 0;
  }

  .site-header {
    position: sticky;
    gap: 0.55rem;
    padding: 0.6rem 0.85rem 0.5rem;
  }

  .brand {
    width: 100%;
    min-width: 0;
    gap: 0.55rem;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    overflow-wrap: anywhere;
  }

  .brand-icon {
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
  }

  .brand-logo img {
    padding: 0.12rem;
  }

  .brand strong {
    font-size: 0.98rem;
    line-height: 1.1;
  }

  .brand small {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .header-actions {
    display: grid;
    gap: 0.35rem;
    overflow: hidden;
  }

  .site-header .social-links {
    display: none;
  }

  .header-actions nav {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .header-actions nav::-webkit-scrollbar {
    display: none;
  }

  .header-actions nav a {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    background: #f8fbfd;
    white-space: nowrap;
  }

  .site-footer .social-links {
    width: 100%;
    justify-content: flex-start;
  }

  nav a {
    padding-inline: 0.35rem;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.35rem 1rem 2rem;
    min-height: 0;
  }

  .hero-layout-2 .hero-content,
  .hero-layout-2 .quote-card {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-content {
    max-width: none;
  }

  .hero-content p:not(.eyebrow) {
    max-width: none;
    font-size: 1rem;
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.2rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.65rem, 9vw, 2.3rem);
    line-height: 1.06;
  }

  .trust-strip,
  .proof-band div {
    gap: 0.45rem;
  }

  .trust-strip span,
  .trust-strip a,
  .proof-band span {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
  }

  .quote-card {
    width: 100%;
    padding: 1rem;
  }

  .quote-card-head {
    display: grid;
    gap: 0.35rem;
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea,
  .form-row.priority button,
  .primary-action {
    min-height: 3.25rem;
    font-size: 1rem;
  }

  .form-row.priority,
  .form-grid,
  .product-grid,
  .city-grid,
  .logo-strip,
  .related-grid,
  .market-list,
  .zip-grid,
  .compare-grid,
  .review-grid,
  .learning-grid,
  .organic-grid,
  .script-list,
  .checklist-section,
  .samples-grid {
    grid-template-columns: 1fr;
  }

  .logo-strip,
  .product-section,
  .content-two,
  .zip-section,
  .city-section,
  .faq-section,
  .related-section,
  .markets-section,
  .compare-section,
  .review-panel,
  .organic-section,
  .learning-section {
    padding: 2rem 1rem;
  }

  .section-head {
    margin-bottom: 1.25rem;
    text-align: left;
  }

  .compare-grid article,
  .review-grid article,
  .learning-grid div,
  .product-grid article,
  .city-grid article,
  .related-grid a,
  .market-list a,
  .zip-card {
    padding: 0.95rem;
  }

  .learning-grid img {
    aspect-ratio: 16 / 10;
  }

  details {
    padding: 0.9rem;
  }

  .footer-brand {
    grid-template-columns: 1fr;
  }

  .console-head {
    display: block;
  }

  .webhook-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-inline: 0.7rem;
  }

  .brand {
    gap: 0.48rem;
  }

  .brand-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .header-actions nav a {
    padding: 0.42rem 0.5rem;
    font-size: 0.8rem;
  }

  .header-actions .social-links a {
    width: 2.15rem;
    height: 2.15rem;
  }

  .site-footer .social-links a {
    width: 2.2rem;
    height: 2.2rem;
  }

  .hero {
    padding-inline: 0.8rem;
  }

  .quote-card {
    padding: 0.85rem;
  }

  .quote-detail-group {
    padding: 0.75rem;
  }

  .contact-strip,
  .consent,
  .form-note {
    font-size: 0.78rem;
  }

  .compare-grid article {
    min-height: 0;
  }

  .sample-card strong {
    margin-top: 8rem;
  }
}
/* Five-step quote request, shared by every product and market page. */
.stepped-quote-form [hidden] { display: none !important; }
.quote-step-status { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.quote-step-progress { display: block; width: 100%; height: 8px; margin-bottom: 20px; accent-color: #087d72; }
.quote-step h3 { margin: 0 0 16px; font-size: 21px; line-height: 1.3; }
.quote-step h3:focus { outline: none; }
.quote-step .form-grid { margin: 0; }
.quote-step .consent, .quote-step label:has(textarea) { grid-column: 1 / -1; }
.quote-step-navigation { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.quote-step-navigation button { min-height: 48px; flex: 1; }
.quote-back { background: #fff; color: #222; border: 1px solid #b5bdc3; border-radius: 6px; padding: 12px 16px; font-weight: 700; cursor: pointer; }
.quote-back:focus-visible, .quote-step-navigation button:focus-visible { outline: 3px solid #087d72; outline-offset: 3px; }
.quote-review { margin: 0 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 16px; font-size: 14px; }
.quote-review dt { color: #555; }
.quote-review-toggle { margin-bottom: 20px; }
.quote-review-toggle summary { min-height: 44px; padding: 12px 0; font-weight: 700; cursor: pointer; }
.quote-review dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.quote-step > .primary-action { width: 100%; margin-top: 20px; min-height: 48px; }
@media (max-width: 600px) {
  .stepped-quote-form .form-grid { grid-template-columns: minmax(0, 1fr); }
  .stepped-quote-form input, .stepped-quote-form select, .stepped-quote-form textarea { font-size: 16px; min-height: 48px; width: 100%; min-width: 0; }
  .stepped-quote-form .consent input { width: 20px; min-height: 20px; flex-shrink: 0; }
  .quote-step h3 { font-size: 20px; }
}

/* BEGIN HIA INSURANCE SIMPLIFIED V2 */
.learning-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1240px;
}
.learning-grid article {
  grid-template-rows: auto 1fr;
  padding-top: 0.9rem;
  text-align: center;
}
.learning-grid img {
  width: min(calc(100% - 1.8rem), 220px);
  height: 138px;
  aspect-ratio: auto;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}
.learning-grid div {
  justify-items: center;
  padding: 1rem 1.05rem 1.15rem;
  text-align: center;
}
.learning-grid h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}
@media (max-width: 1050px) {
  .learning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .learning-grid { grid-template-columns: 1fr; }
  .learning-grid img {
    width: min(calc(100% - 2rem), 280px);
    height: 168px;
  }
  .learning-section .section-head { text-align: center; }
}
/* END HIA INSURANCE SIMPLIFIED V2 */
