:root {
  --white: #ffffff;
  --ink: #13283d;
  --ink-strong: #081d31;
  --muted: #596b7d;
  --blue: #075fcb;
  --blue-dark: #064da5;
  --blue-soft: #eef5ff;
  --red: #cf2e36;
  --red-soft: #fff1f2;
  --green: #18754a;
  --green-soft: #eff9f3;
  --amber: #8a5a00;
  --amber-soft: #fff8e8;
  --line: #d8e1ea;
  --line-strong: #bdcad7;
  --surface: #f6f8fb;
  --shadow: 0 8px 24px rgba(19, 40, 61, 0.08);
  --shadow-elevated: 0 24px 70px rgba(8, 29, 49, 0.22);
  --content: 1180px;
  --sticky-header-height: 145px;
  --anchor-scroll-offset: 211px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-scroll-offset);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

button,
input,
summary {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(7, 95, 203, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--ink-strong);
  color: var(--white);
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.topbar {
  width: min(var(--content), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand:hover {
  color: var(--ink-strong);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 1.08rem;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.primary-nav > a,
.insurance-mega > summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav > a:hover,
.insurance-mega > summary:hover {
  border-bottom-color: var(--blue);
  color: var(--blue-dark);
}

.insurance-mega {
  position: relative;
}

.insurance-mega > summary {
  gap: 7px;
  list-style: none;
  cursor: pointer;
}

.insurance-mega > summary::-webkit-details-marker {
  display: none;
}

.insurance-mega > summary > span {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.insurance-mega[open] > summary {
  border-bottom-color: var(--blue);
  color: var(--blue-dark);
}

.insurance-mega[open] > summary > span {
  transform: translateY(2px) rotate(225deg);
}

.insurance-mega__panel {
  position: absolute;
  top: calc(100% + 11px);
  left: -250px;
  z-index: 70;
  width: min(940px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  border-top: 5px solid var(--blue);
  background: var(--white);
  box-shadow: 0 26px 65px rgba(8, 29, 49, 0.2);
}

.insurance-mega__panel section {
  min-width: 0;
  padding: 19px 17px 17px;
  border-right: 1px solid var(--line);
}

.insurance-mega__panel section:nth-child(6) {
  border-right: 0;
}

.insurance-mega__panel h2 {
  margin: 0 0 8px;
  color: var(--ink-strong);
  font-size: 0.85rem;
  line-height: 1.3;
}

.insurance-mega__panel section a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 590;
  line-height: 1.4;
  text-decoration: none;
}

.insurance-mega__panel section a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.insurance-mega__action {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--blue-soft);
}

.insurance-mega__action div {
  display: grid;
  gap: 1px;
}

.insurance-mega__action strong {
  color: var(--ink-strong);
  font-size: 0.79rem;
}

.insurance-mega__action div span {
  color: var(--muted);
  font-size: 0.7rem;
}

.insurance-mega__action > a {
  flex: 0 0 auto;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.header-quote-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.header-quote-cta:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: var(--white);
}

.country-context-banner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(7, 95, 203, 0.2);
  background: #eef5ff;
  color: #1c3551;
  font-size: 0.84rem;
  line-height: 1.5;
}

.country-context-banner p {
  margin: 0;
}

.country-context-banner span {
  display: inline-block;
  margin-right: 6px;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

main {
  overflow: clip;
}

.content-page,
main > .hero,
main > .band {
  display: flow-root;
}

.page-hero,
.hero,
.band,
.fact-strip,
.process-band,
.source-band {
  width: min(var(--content), calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.page-hero,
.hero {
  padding-top: 26px;
  padding-bottom: 34px;
  animation: rise-in 520ms ease both;
}

.breadcrumbs {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #90a0b0;
}

.breadcrumbs a {
  color: var(--blue-dark);
  text-decoration: none;
}

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

.hero-layout,
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 52px;
}

.hero-copy {
  min-width: 0;
}

.hero h1,
.page-hero h1 {
  max-width: 15ch;
  margin: 0 0 18px;
  color: var(--ink-strong);
  font-size: 3.5rem;
  line-height: 1.03;
  font-weight: 790;
}

.lead {
  max-width: 66ch;
  margin: 0 0 14px;
  color: #29445f;
  font-size: 1.22rem;
  line-height: 1.55;
}

.hero-copy > p:not(.eyebrow):not(.lead):not(.editorial-line) {
  max-width: 68ch;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.91rem;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.btn.primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: var(--white);
}

.btn.secondary {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--blue-dark);
}

.btn.secondary:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.provider-status {
  position: relative;
  max-width: 100%;
}

.provider-status summary {
  list-style: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.provider-status summary::-webkit-details-marker {
  display: none;
}

.provider-buy-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 28, 51, 0.52);
}

.provider-buy-modal[hidden] {
  display: none;
}

.provider-buy-modal__panel {
  position: relative;
  width: min(640px, calc(100vw - 26px));
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 18px 18px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-elevated);
}

.provider-buy-modal__panel h2 {
  margin-top: 0;
}

.provider-buy-modal__eyebrow {
  margin: 0 0 3px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-dark);
  font-weight: 760;
}

.provider-buy-modal__close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.provider-buy-modal__warning {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.provider-buy-modal__selection {
  display: grid;
  gap: 2px;
  margin: 12px 0 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
}

.provider-buy-modal__selection[hidden] {
  display: none;
}

.provider-buy-modal__selection span,
.provider-buy-modal__selection small {
  color: var(--muted);
  font-size: 0.8rem;
}

.provider-buy-modal__selection strong {
  color: var(--ink-strong);
  font-size: 1.05rem;
}

.provider-buy-modal__list {
  margin: 10px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.provider-buy-modal__list li {
  display: grid;
  gap: 3px;
}

.provider-message {
  width: min(460px, calc(100vw - 32px));
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #f0c3c6;
  border-left: 4px solid var(--red);
  border-radius: 6px;
  background: var(--red-soft);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.provider-message p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.provider-link-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.provider-link-list li {
  display: grid;
  gap: 3px;
}

.provider-link-list a {
  font-weight: 760;
}

.provider-link-list small {
  color: var(--muted);
}

.editorial-line,
.review-line {
  color: var(--muted);
  font-size: 0.82rem;
}

.editorial-line {
  margin-top: 18px;
}

.page-jump-nav {
  position: sticky;
  top: var(--sticky-header-height);
  z-index: 20;
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-jump-inner {
  width: min(var(--content), calc(100% - 32px));
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-jump-inner > strong {
  flex: 0 0 auto;
  color: var(--ink-strong);
  font-size: 0.79rem;
  text-transform: uppercase;
}

.page-jump-links {
  display: flex;
  align-items: stretch;
  gap: 3px;
  white-space: nowrap;
}

.page-jump-links a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.page-jump-links a:hover {
  border-bottom-color: var(--blue);
  color: var(--blue-dark);
}

.content-page h2[id],
.content-page div[id] {
  scroll-margin-top: 142px;
}

.search-band {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1.28fr);
  align-items: end;
  gap: 38px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.search-band h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.72rem;
  line-height: 1.18;
}

.search-band p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
}

.compact-search-band {
  padding-top: 22px;
  padding-bottom: 22px;
}

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

.content-search-autocomplete {
  position: relative;
  min-width: 0;
}

.content-search label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-strong);
  font-size: 0.84rem;
  font-weight: 760;
}

.search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.search-control input {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
}

.search-control input:focus {
  border-color: var(--blue);
}

.content-search .search-privacy {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.content-search-suggestions {
  position: relative;
  z-index: 75;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--blue);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 20px 48px rgba(8, 29, 49, 0.22);
}

.content-search-suggestions[hidden] {
  display: none;
}

.content-search-suggestions__status {
  margin: 0;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.4;
}

.content-search-suggestions__results {
  max-height: min(430px, calc(100vh - 210px));
  overflow-y: auto;
}

.content-search-suggestions__all {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  background: #eef7f2;
  color: #125d3d;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.situation-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.situation-link-grid a {
  min-width: 0;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.situation-link-grid a:hover {
  background: var(--blue-soft);
  color: var(--ink);
}

.situation-link-grid span,
.situation-link-grid small {
  color: var(--muted);
}

.situation-link-grid span {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 760;
  text-transform: uppercase;
}

.situation-link-grid strong {
  color: var(--blue-dark);
  line-height: 1.28;
}

.situation-link-grid small {
  margin-top: 9px;
  font-size: 0.79rem;
  line-height: 1.45;
}

.search-hero-copy {
  max-width: 840px;
}

.search-hero .content-search {
  max-width: 720px;
  margin-top: 25px;
}

.search-result-list {
  border-top: 1px solid var(--line);
}

.search-result-item {
  max-width: 900px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.search-result-item h3 {
  margin: 6px 0 7px;
  font-size: 1.24rem;
  line-height: 1.3;
}

.search-result-item p {
  margin: 0;
  color: var(--muted);
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 780;
  text-transform: uppercase;
}

.search-result-meta span + span::before {
  content: "/";
  margin: 0 7px;
  color: var(--line-strong);
}

.search-starting-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.search-starting-points a {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.search-starting-points span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-figure,
.hero-art {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.hero-figure a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-figure img,
.hero-art img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  object-fit: cover;
}

.hero-figure a:hover img {
  transform: scale(1.012);
}

.hero-figure img {
  transition: transform 220ms ease;
}

.hero-figure.hero-ratio-wide img {
  aspect-ratio: 16 / 9;
}

.hero-figure figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.5;
}

.home-hero .hero-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
}

.home-hero-figure {
  max-width: 420px;
  justify-self: end;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  animation: rise-in 560ms 80ms ease both;
}

.fact-item {
  min-width: 0;
  padding: 18px;
  border-left: 1px solid var(--line);
}

.fact-item:first-child {
  border-left: 0;
}

.fact-item strong,
.fact-item span {
  display: block;
}

.fact-item strong {
  margin-bottom: 5px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.fact-item span {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.band,
.process-band,
.source-band {
  margin-bottom: 60px;
  scroll-margin-top: 92px;
  animation: rise-in 560ms ease both;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.section-heading h2,
.band h2,
.process-band h2,
.source-band h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 2rem;
  line-height: 1.17;
}

.section-heading p:not(.eyebrow),
.process-intro > p:not(.eyebrow),
.source-band > div > p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.coverage-grid,
.split,
.split-band,
.tradeoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.coverage-column {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: var(--white);
}

.coverage-column.limited {
  border-top-color: var(--red);
}

.coverage-column h3,
.document-panel h2,
.tradeoff-grid h3,
.source-list h3 {
  margin: 0 0 14px;
  color: var(--ink-strong);
}

.check-list,
.limit-list,
.document-list,
.tradeoff-grid ul,
.source-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.limit-list li,
.document-list li,
.tradeoff-grid li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
  color: #30485f;
}

.check-list li:first-child,
.limit-list li:first-child,
.document-list li:first-child,
.tradeoff-grid li:first-child {
  border-top: 0;
}

.check-list li::before,
.document-list li::before,
.tradeoff-grid > div:first-child li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  color: var(--green);
  font-weight: 900;
}

.limit-list li::before,
.tradeoff-grid > div:last-child li::before {
  content: "!";
  position: absolute;
  left: 6px;
  color: var(--red);
  font-weight: 900;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  scrollbar-color: var(--line-strong) var(--surface);
}

.comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.comparison-table caption {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  min-width: 170px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  border-left: 0;
}

.comparison-table thead th {
  background: var(--blue);
  color: var(--white);
  font-weight: 760;
}

.comparison-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--blue-soft);
  color: var(--ink-strong);
  font-weight: 750;
}

.comparison-table tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

.process-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 38px;
  padding: 30px;
  border-left: 5px solid var(--blue);
  background: var(--surface);
}

.process-intro {
  align-self: start;
}

.process-flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 24px;
}

.process-flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: #a9c9ee;
}

.step-number {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
}

.process-flow h3,
.claim-flow h3 {
  margin: 1px 0 4px;
  color: var(--ink-strong);
  font-size: 1rem;
}

.process-flow p,
.claim-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.claim-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  counter-reset: claim;
  list-style: none;
}

.claim-flow li {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.claim-flow li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid #b8d2ef;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.document-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.education-notes {
  display: grid;
  align-content: start;
  gap: 14px;
}

.education-note {
  padding: 20px;
  border: 1px solid #b9d5f3;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  background: var(--blue-soft);
}

.education-note.warning {
  border-color: #efc1c5;
  border-left-color: var(--red);
  background: var(--red-soft);
}

.education-note h3,
.education-note p {
  margin: 0;
}

.education-note p {
  margin-top: 6px;
  color: #3c5267;
}

.tradeoff-grid > div {
  padding: 22px;
  border-top: 3px solid var(--green);
  background: var(--green-soft);
}

.tradeoff-grid > div:last-child {
  border-top-color: var(--red);
  background: var(--red-soft);
}

.source-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  padding: 28px;
  border: 1px solid #a9c9ee;
  border-radius: 8px;
  background: var(--blue-soft);
}

.source-list li {
  padding: 7px 0;
  border-top: 1px solid #cbdff5;
}

.source-list li:first-child {
  border-top: 0;
}

.source-list a {
  font-weight: 680;
}

.guide-link-grid,
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.directory-band {
  border-left: 5px solid var(--blue);
  background: #f8fbff;
}

.directory-section-heading {
  max-width: 960px;
}

.directory-feature-matrix {
  display: grid;
  margin: 12px 0 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.directory-summary-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.directory-feature-title {
  margin: 0;
  color: var(--blue-dark);
  font-size: 0.73rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.directory-summary-value {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: var(--ink-strong);
  font-size: 0.96rem;
}

.provider-directory-summary-icon,
.provider-directory-feature-icon,
.directory-theme-icon svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  fill: var(--blue-dark);
}

.provider-directory-summary-icon svg {
  width: 100%;
  height: 100%;
}

.provider-directory-support {
  vertical-align: middle;
  text-align: center;
}

.provider-directory-support-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.provider-directory-support-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.provider-directory-support--yes .provider-directory-support-icon {
  color: var(--green);
  border-color: #b9e5c3;
  background: var(--green-soft);
}

.provider-directory-support--no .provider-directory-support-icon {
  color: var(--muted);
  border-color: #d4dde6;
  background: #f3f6fa;
}

.provider-directory-feature-head {
  text-align: center;
}

.provider-directory-rating {
  white-space: nowrap;
  text-align: center;
  font-weight: 760;
}

.provider-directory-rating-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
}

.provider-directory-feature-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 5px;
}

.provider-directory-feature-icon svg {
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.provider-directory-feature-head > span {
  display: inline-flex;
  align-items: center;
}

.provider-directory-table-wrap {
  margin-top: 8px;
}

.provider-directory-table {
  min-width: 1240px;
}

.provider-directory-table caption {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
}

.provider-directory-table .provider-directory-name {
  width: 28ch;
  font-size: 1.01rem;
}

.provider-directory-table .provider-directory-price {
  width: 18ch;
  font-size: 0.9rem;
  color: #263b57;
  line-height: 1.45;
}

.provider-directory-name {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.05rem;
  font-weight: 780;
  line-height: 1.3;
}

.provider-directory-name a {
  color: inherit;
}

.provider-directory-legal {
  margin: 5px 0 8px;
  color: var(--red);
  font-size: 0.77rem;
  font-weight: 760;
  line-height: 1.4;
}

.provider-directory-table p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.provider-directory-copy,
.provider-directory-note {
  max-width: 86ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.52;
}

.provider-directory-copy {
  margin-top: 0;
}

.provider-directory-note {
  margin: 4px 0 12px;
  color: var(--blue-dark);
  font-size: 0.78rem;
}

.provider-directory-note:last-of-type {
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 760;
}

.provider-directory-meta {
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.provider-directory-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.provider-directory-meta div:last-child {
  border-bottom: 0;
}

.provider-directory-meta dt {
  margin: 0;
  color: var(--blue-dark);
  font-size: 0.73rem;
  font-weight: 780;
  text-transform: uppercase;
}

.provider-directory-meta dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.provider-directory-meta dd a {
  font-weight: 740;
}

.directory-theme-icon {
  color: var(--red);
}

.provider-directory-card td {
  vertical-align: top;
}

/* Product-hub buying experience */

.category-page {
  --category-accent: #075fcb;
  --category-soft: #eef5ff;
  --category-line: #b9d5f3;
}

.category-page--car-insurance {
  --category-accent: #075fcb;
  --category-soft: #eef5ff;
  --category-line: #b9d5f3;
}

.category-page--health-insurance {
  --category-accent: #087b72;
  --category-soft: #eef9f7;
  --category-line: #b8ddd8;
}

.category-page--life-insurance {
  --category-accent: #6551a6;
  --category-soft: #f4f1fb;
  --category-line: #d4caec;
}

.category-page--funeral-cover {
  --category-accent: #7b436c;
  --category-soft: #fbf2f8;
  --category-line: #e6c8dc;
}

.category-page--home-contents-insurance {
  --category-accent: #9a6200;
  --category-soft: #fff8e8;
  --category-line: #ecd49d;
}

.category-page--travel-insurance {
  --category-accent: #08779a;
  --category-soft: #eef9fc;
  --category-line: #b9dce6;
}

.category-page--business-insurance {
  --category-accent: #31577e;
  --category-soft: #f0f5f9;
  --category-line: #c4d4e2;
}

.category-page--income-protection {
  --category-accent: #2d7047;
  --category-soft: #eff8f2;
  --category-line: #bfddc9;
}

.category-page--pet-insurance {
  --category-accent: #08766e;
  --category-soft: #eff9f7;
  --category-line: #b9dfda;
}

.category-commerce-hero .hero-figure img {
  border-color: var(--category-line);
  background: var(--category-soft);
}

.category-commerce-hero,
.category-directory-band {
  animation: none;
  transform: none;
}

.category-hero-proof {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--category-line);
  border-bottom: 1px solid var(--category-line);
}

.category-hero-proof span {
  min-width: 0;
  display: grid;
  gap: 1px;
  padding: 11px 12px;
  border-left: 1px solid var(--category-line);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.category-hero-proof span:first-child {
  border-left: 0;
  padding-left: 0;
}

.category-hero-proof strong {
  color: var(--ink-strong);
  font-size: 0.86rem;
}

.marketplace-progress {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px auto 16px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  background: var(--white);
}

.marketplace-progress a {
  min-width: 0;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  padding: 12px 14px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
}

.marketplace-progress a > span {
  grid-row: 1 / 3;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  background: var(--category-soft);
  color: var(--category-accent);
  font-size: 0.7rem;
  font-weight: 820;
}

.marketplace-progress small {
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.3;
}

.marketplace-progress strong {
  color: var(--ink-strong);
  font-size: 0.78rem;
  line-height: 1.35;
}

.marketplace-progress a:hover {
  background: var(--category-soft);
}

.quote-match-receipt {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 auto 18px;
  padding: 16px 18px;
  border-left: 5px solid var(--category-accent);
  background: var(--category-soft);
}

.quote-match-receipt__title {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.quote-match-receipt__title > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--category-accent);
}

.quote-match-receipt__title svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-match-receipt .eyebrow {
  margin-bottom: 2px;
  color: var(--category-accent);
  font-size: 0.62rem;
}

.quote-match-receipt h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.05rem;
  line-height: 1.3;
}

.quote-match-receipt__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quote-match-receipt__facts span {
  padding: 5px 8px;
  border: 1px solid var(--category-line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 720;
}

.quote-match-receipt > p {
  grid-column: 2 / 3;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.45;
}

.quote-match-receipt > a {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--category-accent);
  font-size: 0.7rem;
  font-weight: 780;
}

.category-decision-studio {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto 48px;
  padding: 30px;
  border: 1px solid var(--category-line);
  border-top: 5px solid var(--category-accent);
  background: var(--white);
  animation: rise-in 560ms ease both;
}

.decision-studio-heading {
  max-width: 860px;
  margin-bottom: 22px;
}

.decision-studio-heading h2 {
  max-width: 24ch;
  margin: 0;
  color: var(--ink-strong);
  font-size: 2.45rem;
  line-height: 1.13;
}

.decision-studio-heading > p:last-child {
  max-width: 76ch;
  margin: 12px 0 0;
  color: var(--muted);
}

.decision-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.decision-route {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-content: start;
  gap: 12px;
  min-height: 214px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--category-accent);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.decision-route:hover,
.decision-route.is-selected {
  border-color: var(--category-accent);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(8, 29, 49, 0.1);
  transform: translateY(-2px);
}

.decision-route-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--category-line);
  border-radius: 50%;
  background: var(--category-soft);
  color: var(--category-accent);
}

.decision-route-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.decision-route-copy {
  display: grid;
  align-content: start;
  gap: 7px;
}

.decision-route-copy strong {
  color: var(--ink-strong);
  font-size: 1.03rem;
  line-height: 1.3;
}

.decision-route-copy small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.52;
}

.decision-route-action {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: auto;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 760;
}

.shortlist-check-panel {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 24px;
  padding: 24px;
  border-left: 4px solid var(--category-accent);
  background: var(--category-soft);
}

.shortlist-check-intro h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.3rem;
  line-height: 1.25;
}

.shortlist-check-intro > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.shortlist-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shortlist-check-list li {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--category-line);
}

.shortlist-check-list li:nth-child(-n + 2) {
  border-top: 0;
  padding-top: 0;
}

.shortlist-check-list li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--category-accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
}

.shortlist-check-list div {
  display: grid;
  gap: 3px;
}

.shortlist-check-list strong {
  color: var(--ink-strong);
  font-size: 0.9rem;
}

.shortlist-check-list small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.category-directory-band {
  padding: 32px;
  border: 1px solid var(--category-line);
  border-top: 5px solid var(--category-accent);
  background: var(--white);
}

.category-directory-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 28px;
  align-items: start;
}

.directory-lens-panel {
  padding: 18px;
  border-left: 4px solid var(--category-accent);
  background: var(--category-soft);
}

.directory-lens-panel > span {
  display: block;
  color: var(--category-accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.directory-lens-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--ink-strong);
  line-height: 1.35;
}

.directory-lens-panel p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.directory-lens-panel a {
  font-size: 0.8rem;
  font-weight: 760;
}

.category-directory-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 8px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-directory-summary div {
  display: grid;
  gap: 1px;
  padding: 13px 16px;
  border-left: 1px solid var(--line);
}

.category-directory-summary div:first-child {
  border-left: 0;
  padding-left: 0;
}

.category-directory-summary strong {
  color: var(--ink-strong);
  font-size: 0.94rem;
}

.category-directory-summary span {
  color: var(--muted);
  font-size: 0.75rem;
}

.directory-disclosure {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #ead5a6;
  background: var(--amber-soft);
}

.directory-disclosure svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.directory-disclosure strong {
  color: var(--ink-strong);
}

.directory-disclosure p {
  margin: 3px 0 0;
  color: #5f512f;
  font-size: 0.79rem;
  line-height: 1.5;
}

.category-policy-table-wrap {
  overflow-x: auto;
  box-shadow: none;
}

.category-provider-table {
  min-width: 1040px;
  table-layout: fixed;
}

.category-provider-table caption {
  background: var(--category-soft);
  color: var(--ink);
}

.category-provider-table th,
.category-provider-table td {
  min-width: 0;
  padding: 15px 13px;
}

.category-provider-table thead th {
  background: var(--ink-strong);
}

.category-provider-table thead th:nth-child(1) { width: 78px; }
.category-provider-table thead th:nth-child(2) { width: 292px; }
.category-provider-table thead th:nth-child(3) { width: 178px; }
.category-provider-table thead th:nth-child(4) { width: 220px; }
.category-provider-table thead th:nth-child(5) { width: 112px; }
.category-provider-table thead th:nth-child(6) { width: 158px; }

.category-provider-table tbody th {
  position: static;
  background: var(--white);
}

.category-provider-table tbody tr:nth-child(even) th,
.category-provider-table tbody tr:nth-child(even) td {
  background: #fafbfd;
}

.category-provider-table tbody tr:hover th,
.category-provider-table tbody tr:hover td {
  background: var(--category-soft);
}

.policy-compare-cell {
  text-align: center;
}

.policy-compare-control {
  position: relative;
  display: inline-grid;
  justify-items: center;
  gap: 4px;
  color: var(--muted);
  cursor: pointer;
}

.policy-compare-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.policy-compare-control > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line-strong);
  border-radius: 5px;
  background: var(--white);
}

.policy-compare-control input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
}

.policy-compare-control input:checked + span::after {
  content: "";
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
  transform: rotate(-45deg) translateY(-1px);
}

.policy-compare-control input:focus-visible + span {
  outline: 3px solid rgba(7, 95, 203, 0.35);
  outline-offset: 3px;
}

.policy-compare-control small {
  font-size: 0.7rem;
  font-weight: 700;
}

.policy-identity-cell {
  color: var(--ink);
}

.policy-order {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--category-accent);
  font-size: 0.68rem;
  font-weight: 850;
}

.policy-insurer-name {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 780;
  line-height: 1.35;
  text-transform: uppercase;
}

.policy-plan-name {
  display: block;
  margin-top: 3px;
  color: var(--ink-strong);
  font-size: 1rem;
  line-height: 1.35;
}

.policy-identity-cell > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.48;
}

.policy-evidence {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.policy-evidence summary {
  color: var(--blue-dark);
  font-weight: 760;
  cursor: pointer;
}

.policy-evidence dl {
  margin: 9px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.policy-evidence dl div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 6px;
  padding: 4px 0;
}

.policy-evidence dt {
  color: var(--ink-strong);
  font-weight: 700;
}

.policy-evidence dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.policy-price-cell > strong,
.policy-price-cell > small,
.policy-rating-cell > small,
.policy-action-cell > small {
  display: block;
}

.policy-price-cell > strong {
  color: var(--ink-strong);
  font-size: 0.9rem;
  line-height: 1.42;
}

.policy-price-cell > small,
.policy-rating-cell > small,
.policy-action-cell > small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.policy-support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-support-list li {
  min-width: 0;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.68rem;
  line-height: 1.25;
}

.policy-support-list .is-supported {
  border-color: #b9e5c3;
  background: var(--green-soft);
}

.policy-support-mark {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.is-supported .policy-support-mark {
  color: var(--green);
}

.policy-support-mark::before {
  content: "\00d7";
}

.is-supported .policy-support-mark::before {
  content: "\2713";
}

.policy-rating-cell {
  text-align: center;
}

.policy-rating-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--category-line);
  background: var(--category-soft);
  color: var(--category-accent);
}

.policy-rating-badge strong {
  font-size: 1.08rem;
}

.policy-rating-badge small {
  font-size: 0.69rem;
}

.policy-action-cell .btn {
  width: 100%;
}

.policy-home-link {
  display: inline-block;
  margin-top: 9px;
  font-size: 0.75rem;
  font-weight: 740;
}

.mobile-cell-label {
  display: none;
}

.category-directory-footnote {
  max-width: 92ch;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.policy-compare-tray {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 50;
  width: min(920px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid #29445f;
  background: var(--ink-strong);
  color: var(--white);
  box-shadow: var(--shadow-elevated);
}

.policy-compare-tray[hidden] {
  display: none;
}

.category-page.has-compare-selection {
  padding-bottom: var(--compare-tray-clearance, 110px);
}

.policy-compare-tray-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.policy-compare-tray-copy > span:not(.sr-only) {
  max-width: 58ch;
  overflow: hidden;
  color: #cad8e6;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.policy-compare-tray-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.policy-compare-tray .btn[disabled] {
  border-color: #7e8d9c;
  background: #566779;
  color: #dbe4ec;
  cursor: not-allowed;
}

.policy-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 29, 49, 0.64);
}

.policy-compare-modal[hidden] {
  display: none;
}

.policy-compare-modal-panel {
  position: relative;
  width: min(1000px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  box-shadow: var(--shadow-elevated);
}

.policy-compare-modal-panel > h2 {
  max-width: 22ch;
  margin: 0;
}

.policy-compare-modal-panel > p:not(.provider-buy-modal__eyebrow) {
  max-width: 78ch;
  color: var(--muted);
}

.policy-compare-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-strong);
  font-size: 1.35rem;
  cursor: pointer;
}

.policy-compare-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.policy-compare-result {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--category-line);
  border-top: 4px solid var(--category-accent);
}

.policy-compare-result > span {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 760;
  text-transform: uppercase;
}

.policy-compare-result h3 {
  margin: 5px 0 10px;
  color: var(--ink-strong);
  font-size: 1.05rem;
}

.policy-compare-result > strong {
  color: var(--blue-dark);
  font-size: 0.9rem;
}

.policy-compare-result p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.policy-compare-result dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.policy-compare-result dt {
  color: var(--muted);
}

.policy-compare-result dd {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 760;
}

.policy-compare-continue {
  width: 100%;
  margin-top: 14px;
}

.policy-compare-modal-note {
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.mobile-conversion-bar {
  display: none;
}

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

.guide-link,
.discovery-link {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.guide-link:hover,
.discovery-link:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.guide-link strong,
.discovery-link strong {
  color: var(--blue-dark);
  line-height: 1.3;
}

.guide-link span,
.discovery-link span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.guide-link .guide-link-type {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary,
details.panel summary {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 46px 14px 2px;
  color: var(--ink-strong);
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker,
details.panel summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after,
details.panel summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue-dark);
  font-size: 1.15rem;
  line-height: 1;
}

.faq-item[open] summary::after,
details.panel[open] summary::after {
  content: "\2212";
}

.faq-answer {
  max-width: 820px;
  padding: 0 48px 18px 2px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.discovery-band {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.discovery-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 38px;
}

.site-footer {
  background: var(--white);
  animation: rise-in 620ms ease both;
}

.footer-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(130px, 0.72fr));
  gap: 34px;
  padding: 48px 0 34px;
}

.footer-intro p {
  max-width: 48ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.89rem;
}

.footer-brandline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brandline img {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.footer-brandline h2,
.footer-column h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column h2 {
  margin-bottom: 4px;
}

.footer-column a {
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-column a:hover {
  transform: translateX(2px);
  color: var(--blue-dark);
}

.footer-legal {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-legal p {
  margin: 0;
}

/* Shared listing and guide surfaces */
.hero.slim {
  padding-top: 26px;
}

.grid.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.panel h3 {
  margin: 10px 0 6px;
  color: var(--ink-strong);
  font-size: 1.08rem;
  line-height: 1.32;
}

.panel h2 {
  font-size: 1.35rem;
}

.panel p,
.panel li {
  color: var(--muted);
}

.panel a {
  font-weight: 730;
  text-decoration: none;
}

.panel-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  object-fit: cover;
}

.note {
  background: var(--surface);
}

.chip-list,
.guide-pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.chip,
.guide-pills span {
  padding: 6px 9px;
  border: 1px solid #b9d5f3;
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.stats div {
  padding: 12px;
  border-left: 3px solid var(--blue);
  background: var(--surface);
}

.stats strong,
.stats span {
  display: block;
}

.stats span {
  color: var(--muted);
  font-size: 0.78rem;
}

.table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 15px;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.guide-diagram,
.guide-flow {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-left: 4px solid var(--blue);
  background: var(--surface);
}

.guide-diagram-alt {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.diagram-node,
.guide-step {
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.diagram-arrow {
  color: var(--red);
  font-weight: 800;
  text-align: center;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .eyebrow {
  margin-top: 14px;
}

.product-card > a:last-child {
  margin-top: auto;
  padding-top: 8px;
}

.image-link {
  display: block;
}

.cover-discovery-heading {
  margin-bottom: 20px;
}

.cover-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cover-shortcut {
  min-width: 0;
  min-height: 126px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.cover-shortcut:hover {
  background: var(--blue-soft);
  color: var(--ink);
}

.cover-shortcut span,
.cover-shortcut strong,
.cover-shortcut small {
  display: block;
}

.cover-shortcut span {
  margin-bottom: 5px;
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cover-shortcut strong {
  color: var(--blue-dark);
  font-size: 0.96rem;
  line-height: 1.3;
}

.cover-shortcut small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.cover-directory {
  margin-top: 18px;
  scroll-margin-top: 92px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
}

.cover-directory > summary {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 2px 18px;
  padding: 14px 18px;
  color: var(--ink-strong);
  cursor: pointer;
  list-style: none;
}

.cover-directory > summary::-webkit-details-marker {
  display: none;
}

.cover-directory > summary::after {
  content: "+";
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue-dark);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.cover-directory[open] > summary::after {
  content: "\2212";
}

.cover-directory > summary:hover {
  background: var(--blue-soft);
}

.cover-directory > summary span,
.cover-directory > summary small {
  min-width: 0;
  display: block;
}

.cover-directory > summary span {
  font-weight: 780;
  line-height: 1.35;
}

.cover-directory > summary small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.cover-directory-panel {
  padding: 28px;
  border-top: 1px solid var(--line);
}

.cover-directory-intro {
  max-width: 760px;
}

.cover-directory-intro h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.45rem;
  line-height: 1.25;
}

.cover-directory-intro > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.cover-directory-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 38px;
  margin-top: 25px;
}

.cover-directory-group {
  min-width: 0;
  padding: 18px 0 22px;
  border-top: 3px solid var(--blue);
}

.cover-directory-group:nth-child(2) {
  border-top-color: var(--red);
}

.cover-directory-group:nth-child(3) {
  border-top-color: var(--green);
}

.cover-directory-group:nth-child(4) {
  border-top-color: var(--amber);
}

.cover-directory-group:nth-child(5) {
  border-top-color: var(--ink);
}

.cover-directory-group h4 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.02rem;
  line-height: 1.35;
}

.cover-directory-group > p {
  min-height: 48px;
  margin: 7px 0 14px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.48;
}

.cover-directory-group ul {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.cover-directory-group li {
  border-top: 1px solid var(--line);
}

.cover-directory-link {
  min-width: 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 4px;
  color: var(--ink);
  text-decoration: none;
}

.cover-directory-link:hover {
  color: var(--blue-dark);
}

.cover-directory-link span {
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cover-directory-link small {
  flex: 0 0 88px;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.3;
  text-align: right;
}

.cover-directory-note {
  margin: 6px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: var(--red-soft);
  color: #40586f;
  font-size: 0.8rem;
}

.category-explorer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  align-content: start;
  gap: 18px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.category-card-media {
  width: 144px;
  display: block;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.category-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 180ms ease;
}

.category-card-media:hover .category-card-image {
  transform: scale(1.025);
}

.category-card-body {
  min-width: 0;
}

.category-purpose {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.4;
}

.category-purpose span {
  display: block;
  margin-bottom: 2px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-card h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.14rem;
  line-height: 1.3;
}

.category-card h3 a {
  text-decoration: none;
}

.category-summary {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.52;
}

.category-checks {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.category-checks h4 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 0.76rem;
  line-height: 1.35;
}

.category-checks ul {
  margin: 7px 0 0;
  padding-left: 18px;
}

.category-checks li {
  margin-top: 4px;
  color: #40586f;
  font-size: 0.79rem;
  line-height: 1.45;
}

.category-checks li::marker {
  color: var(--blue);
}

.category-card-links {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.category-card-links a {
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 740;
  line-height: 1.4;
  text-decoration-thickness: 1px;
}

.category-question-link span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 760;
  text-transform: uppercase;
}

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

.guide-audience {
  border-top-color: var(--blue);
}

.guide-family-health .guide-process,
.guide-family-property .guide-process {
  border-left-color: var(--green);
}

.guide-family-life .guide-process,
.guide-family-funeral .guide-process {
  border-left-color: var(--red);
}

.guide-layout-2 .guide-overview,
.guide-layout-4 .guide-overview {
  padding: 26px;
  border-left: 4px solid var(--blue);
  background: var(--surface);
}

.guide-layout-3 .secondary-guide-comparison,
.guide-layout-5 .guide-comparison {
  padding: 26px;
  background: var(--blue-soft);
}

.guide-table {
  min-width: 680px;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.term-grid > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.term-grid dt {
  color: var(--blue-dark);
  font-weight: 780;
}

.term-grid dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.warning-band {
  padding: 26px;
  border-left: 5px solid var(--red);
  background: var(--red-soft);
}

.warning-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.warning-list li {
  position: relative;
  padding: 14px 14px 14px 36px;
  border: 1px solid #efc1c5;
  border-radius: 6px;
  background: var(--white);
}

.warning-list li::before {
  content: "!";
  position: absolute;
  left: 15px;
  color: var(--red);
  font-weight: 900;
}

/* South Africa decision library */
.editorial-hero h1 {
  max-width: 17ch;
}

.editorial-facts .fact-item:nth-child(2) span {
  font-size: 0.84rem;
}

.editorial-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editorial-scenario-grid > div {
  min-width: 0;
  padding: 22px 24px;
}

.editorial-scenario-grid > div + div {
  border-left: 1px solid var(--line);
}

.scenario-copy {
  background: var(--surface);
}

.decision-copy {
  background: var(--blue-soft);
}

.scenario-label {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.editorial-scenario-grid p,
.decision-note p {
  margin: 0;
  color: #30485f;
  line-height: 1.6;
}

.editorial-table {
  min-width: 760px;
}

.editorial-table th:first-child {
  width: 24%;
}

.depth-copy-grid,
.worked-example-grid,
.terms-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.depth-copy-grid > div,
.worked-example-grid > *,
.terms-review-grid > div {
  min-width: 0;
  padding: 26px 28px;
}

.depth-copy-grid > div + div,
.worked-example-grid > * + *,
.terms-review-grid > div + div {
  border-left: 1px solid var(--line);
}

.depth-copy-grid > div:first-child,
.worked-scenario,
.terms-review-grid > div:first-child {
  background: var(--surface);
}

.depth-copy-grid > div:last-child,
.worked-outcome,
.terms-review-grid > div:last-child {
  background: var(--blue-soft);
}

.depth-copy-grid h3,
.worked-example-grid h3,
.terms-review-grid h3 {
  margin: 0 0 10px;
  color: var(--ink-strong);
  font-size: 1.05rem;
}

.depth-copy-grid p,
.worked-example-grid p {
  margin: 0;
  color: #30485f;
}

.worked-scenario {
  border-top: 4px solid var(--red);
}

.worked-outcome {
  border-top: 4px solid var(--blue);
}

.review-trigger-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-trigger-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.65fr) minmax(0, 1.35fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.review-trigger-list li:first-child,
.editorial-glossary > div:first-child {
  padding-top: 0;
}

.review-trigger-list li:last-child,
.editorial-glossary > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.review-trigger-list strong,
.editorial-glossary dt {
  color: var(--blue-dark);
  font-weight: 780;
}

.review-trigger-list span,
.editorial-glossary dd {
  color: var(--muted);
}

.editorial-glossary {
  margin: 0;
}

.editorial-glossary > div {
  padding: 12px 0;
  border-bottom: 1px solid #cadcf2;
}

.editorial-glossary dd {
  margin: 4px 0 0;
}

.decision-note {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px;
  border-left: 5px solid var(--blue);
  background: var(--blue-soft);
}

.decision-note strong {
  color: var(--ink-strong);
  line-height: 1.55;
}

.editorial-related .guide-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.editorial-index-grid .guide-link {
  min-height: 158px;
}

.editorial-index-grid small {
  align-self: end;
  padding-top: 6px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.editorial-family-nav {
  padding-top: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.editorial-family-nav .guide-pills {
  margin-top: 0;
}

.editorial-family-section {
  padding-top: 4px;
}

.editorial-family-section + .editorial-family-section {
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.editorial-format-side-by-side .editorial-primary-table,
.editorial-format-decision-lab .editorial-primary-table {
  padding-left: 24px;
  border-left: 5px solid var(--blue);
}

.editorial-format-claims-playbook .editorial-flow,
.editorial-format-risk-scenario .editorial-flow {
  border-left-color: var(--red);
}

.editorial-format-cost-planner .editorial-secondary-table {
  padding: 26px;
  border-top: 4px solid var(--green);
  background: var(--green-soft);
}

.editorial-format-eligibility-map .editorial-flow {
  border-left-color: var(--green);
}

.editorial-format-checklist-workbook .editorial-documents {
  padding-top: 24px;
  border-top: 4px solid var(--blue);
}

.editorial-format-policy-lifecycle .process-flow li:not(:last-child)::before {
  background: #efb9bd;
}

.editorial-format-policy-lifecycle .step-number {
  background: var(--red);
}

.editorial-format-myth-and-reality .editorial-mistakes {
  border-top: 1px solid #efc1c5;
  border-bottom: 1px solid #efc1c5;
}

.editorial-format-risk-scenario .scenario-copy,
.editorial-format-decision-lab .decision-copy {
  border-top: 4px solid var(--red);
}

.local-hero-copy {
  max-width: 820px;
}

.legal-hero {
  padding-bottom: 22px;
}

.legal-layout {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 56px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border-left: 3px solid var(--blue);
  background: var(--surface);
}

.legal-nav strong {
  margin-bottom: 3px;
  color: var(--ink-strong);
}

.legal-nav a {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--blue-dark);
}

.legal-content section {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 12px;
  color: var(--ink-strong);
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: #3c5267;
}

/* Pet-insurance family journey */

.family-guide-callout {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  margin: 0 0 22px;
  padding: 15px 18px;
  border: 1px solid var(--category-line);
  border-left: 5px solid var(--category-accent);
  background: var(--category-soft);
  color: var(--ink);
  text-decoration: none;
}

.family-guide-callout:hover {
  border-color: var(--category-accent);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(8, 29, 49, 0.08);
}

.family-guide-callout__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--category-line);
  border-radius: 50%;
  background: var(--white);
  color: var(--category-accent);
}

.family-guide-callout__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.family-guide-callout > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.family-guide-callout small {
  color: var(--category-accent);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.family-guide-callout strong {
  color: var(--ink-strong);
  font-size: 1.04rem;
}

.family-guide-callout span span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.family-guide-callout b {
  color: var(--category-accent);
  font-size: 0.82rem;
  white-space: nowrap;
}

.pet-family-guide {
  --pet-teal: #08766e;
  --pet-teal-dark: #075b55;
  --pet-teal-soft: #eff9f7;
  --pet-coral: #c95843;
  --pet-coral-soft: #fff3ef;
  --pet-gold: #a06a08;
  --pet-gold-soft: #fff8e7;
}

.pet-story-hero {
  padding-bottom: 34px;
}

.pet-story-hero .hero-figure img,
.pet-story-photo img {
  border-color: #b9dfda;
  background: #eff9f7;
}

.pet-story-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid #b9dfda;
  border-bottom: 1px solid #b9dfda;
}

.pet-story-key div {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 13px 16px;
  border-left: 1px solid #b9dfda;
}

.pet-story-key div:first-child {
  padding-left: 0;
  border-left: 0;
}

.pet-story-key strong {
  color: var(--pet-teal-dark);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pet-story-key span {
  color: var(--muted);
  font-size: 0.82rem;
}

.pet-simple-answer {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  border: 1px solid #b9dfda;
  border-left: 7px solid var(--pet-teal);
  background: var(--pet-teal-soft);
}

.pet-simple-answer h2 {
  max-width: 32ch;
  margin: 0;
  color: var(--ink-strong);
  font-size: 2rem;
  line-height: 1.17;
}

.pet-simple-answer p:last-child {
  max-width: 82ch;
  margin: 12px 0 0;
  color: #385467;
}

.pet-answer-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid #9fcec8;
  border-radius: 50%;
  background: var(--white);
  color: var(--pet-teal);
}

.pet-answer-mark svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pet-cover-box-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pet-cover-box {
  position: relative;
  min-width: 0;
  min-height: 270px;
  padding: 24px 19px 19px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--pet-teal);
  background: var(--white);
}

.pet-cover-box--illness {
  border-top-color: var(--pet-coral);
}

.pet-cover-box--routine {
  border-top-color: var(--pet-gold);
}

.pet-cover-box--limits {
  border-top-color: #6551a6;
}

.pet-cover-box__number {
  position: absolute;
  top: 14px;
  right: 15px;
  color: #b7c4cf;
  font-size: 1.85rem;
  font-weight: 850;
  line-height: 1;
}

.pet-cover-box > svg {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--pet-teal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pet-cover-box--illness > svg {
  stroke: var(--pet-coral);
}

.pet-cover-box--routine > svg {
  stroke: var(--pet-gold);
}

.pet-cover-box--limits > svg {
  stroke: #6551a6;
}

.pet-cover-box h3 {
  margin: 0 0 8px;
  color: var(--ink-strong);
  font-size: 1.18rem;
}

.pet-cover-box p {
  margin: 0 0 15px;
  color: #3c5267;
  font-size: 0.9rem;
  line-height: 1.55;
}

.pet-cover-box small {
  display: block;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.4;
}

.pet-story-scene {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 42px;
  margin: 0 auto 64px;
  padding: 34px;
  border: 1px solid #b9dfda;
  border-top: 5px solid var(--pet-teal);
  background: var(--white);
  scroll-margin-top: 142px;
}

.pet-story-scene--claim {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  border-color: #efc9bf;
  border-top-color: var(--pet-coral);
}

.pet-story-photo {
  min-width: 0;
  margin: 0;
}

.pet-story-photo a {
  display: block;
}

.pet-story-photo img {
  width: 100%;
  display: block;
  border: 1px solid #b9dfda;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 38px rgba(8, 29, 49, 0.12);
}

.pet-story-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.45;
}

.pet-story-copy {
  position: relative;
  min-width: 0;
}

.pet-story-copy h2 {
  max-width: 22ch;
  margin: 0;
  color: var(--ink-strong);
  font-size: 2.25rem;
  line-height: 1.12;
}

.pet-story-number {
  position: absolute;
  top: -20px;
  right: 0;
  color: #dce7e6;
  font-size: 5rem;
  font-weight: 880;
  line-height: 1;
  pointer-events: none;
}

.pet-story-scene--claim .pet-story-number {
  color: #f3ddd7;
}

.pet-kid-says {
  position: relative;
  margin: 20px 0;
  padding: 15px 17px;
  border-left: 4px solid var(--pet-teal);
  background: var(--pet-teal-soft);
  color: #294d59;
}

.pet-story-scene--claim .pet-kid-says {
  border-left-color: var(--pet-coral);
  background: var(--pet-coral-soft);
}

.pet-mini-steps {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: pet-mini-step;
}

.pet-mini-steps li {
  display: grid;
  grid-template-columns: minmax(120px, 0.48fr) minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.pet-mini-steps strong {
  color: var(--ink-strong);
  font-size: 0.87rem;
}

.pet-mini-steps span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.pet-grownup-note {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #ead5a9;
  background: var(--pet-gold-soft);
}

.pet-grownup-note strong {
  color: #7a4e00;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pet-grownup-note span {
  color: #5a4a2e;
  font-size: 0.83rem;
  line-height: 1.45;
}

.pet-guide-table thead th {
  background: #edf7f5;
  color: var(--pet-teal-dark);
}

.pet-compare-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #b9dfda;
  background: var(--pet-teal-soft);
}

.pet-compare-cta div {
  display: grid;
  gap: 3px;
}

.pet-compare-cta strong {
  color: var(--ink-strong);
}

.pet-compare-cta span {
  color: var(--muted);
  font-size: 0.83rem;
}

.pet-claim-flow {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.pet-claim-flow li {
  min-height: 0;
  display: grid;
  grid-template-columns: 32px minmax(110px, 0.38fr) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.pet-claim-flow li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pet-coral);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 820;
}

.pet-claim-flow h3,
.pet-claim-flow p {
  margin: 0;
}

.pet-claim-flow h3 {
  color: var(--ink-strong);
  font-size: 0.88rem;
}

.pet-claim-flow p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.43;
}

.pet-words-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.pet-words-grid div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--pet-teal);
  background: var(--white);
}

.pet-words-grid dt {
  margin: 0 0 6px;
  color: var(--pet-teal-dark);
  font-size: 1rem;
  font-weight: 820;
}

.pet-words-grid dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.pet-adult-panel {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  margin: 0 auto 64px;
  border: 1px solid #183d5a;
  background: #173a56;
  color: var(--white);
  scroll-margin-top: 142px;
}

.pet-adult-panel__intro,
.pet-adult-checklist {
  min-width: 0;
  padding: 32px;
}

.pet-adult-panel__intro {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.pet-adult-panel .eyebrow {
  color: #85ddd5;
}

.pet-adult-panel h2,
.pet-adult-panel h3 {
  color: var(--white);
}

.pet-adult-panel h2 {
  margin: 0;
  font-size: 2rem;
}

.pet-adult-panel p {
  color: #dbe8f0;
}

.pet-adult-panel__intro aside {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.pet-adult-panel__intro aside strong {
  color: #ffffff;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.pet-adult-panel__intro aside span {
  color: #dbe8f0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.pet-adult-checklist h3 {
  margin: 0 0 15px;
}

.pet-adult-checklist ol {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.pet-adult-checklist li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #edf6fb;
  font-size: 0.85rem;
  line-height: 1.45;
}

.pet-adult-checklist li span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #85ddd5;
  border-radius: 50%;
  color: #85ddd5;
  font-size: 0.7rem;
  font-weight: 820;
}

.pet-adult-panel .btn.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--white);
}

/* Dedicated Gap Cover buying page */

.category-page--gap-cover {
  --category-accent: #0d6974;
  --category-soft: #edf7f6;
  --category-line: #afd8d5;
  --gap-copper: #a65326;
  --gap-copper-soft: #fff4ec;
  --gap-navy: #0b263b;
}

.gap-hero {
  padding-bottom: 42px;
}

.gap-hero,
.gap-plan-directory {
  animation: none;
  transform: none;
}

.gap-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(440px, 1.09fr);
  gap: 54px;
  align-items: center;
}

.gap-hero-copy,
.gap-hero-visual {
  min-width: 0;
}

.gap-hero h1 {
  max-width: 13ch;
  margin-bottom: 20px;
  font-size: 3.75rem;
  letter-spacing: -0.035em;
}

.gap-hero-copy > p:not(.eyebrow):not(.lead):not(.editorial-line) {
  max-width: 63ch;
  color: var(--muted);
}

.gap-hero-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.gap-hero-actions .btn.primary,
.category-page--gap-cover .gap-plan-directory .btn.primary,
.gap-guide-bridge .btn.primary {
  background: var(--gap-navy);
}

.gap-hero-actions .btn.primary:hover,
.category-page--gap-cover .gap-plan-directory .btn.primary:hover,
.gap-guide-bridge .btn.primary:hover {
  border-color: var(--category-accent);
  background: var(--category-accent);
}

.gap-proof-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 25px 0 0;
  border-top: 1px solid var(--category-line);
  border-bottom: 1px solid var(--category-line);
}

.gap-proof-ledger div {
  min-width: 0;
  padding: 12px 14px;
  border-left: 1px solid var(--category-line);
}

.gap-proof-ledger div:first-child {
  padding-left: 0;
  border-left: 0;
}

.gap-proof-ledger dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1.35;
  text-transform: uppercase;
}

.gap-proof-ledger dd {
  margin: 3px 0 0;
  color: var(--gap-navy);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.gap-hero-photo a {
  border-radius: 0;
  box-shadow: 14px 14px 0 var(--category-soft);
}

.gap-hero-photo img {
  border: 1px solid var(--category-line);
  border-radius: 0;
}

.gap-hero-photo figcaption {
  max-width: 68ch;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--gap-copper);
}

.gap-money-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 19px;
  border-top: 1px solid var(--category-line);
  border-bottom: 1px solid var(--category-line);
}

.gap-money-path div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 12px 11px;
  border-left: 1px solid var(--category-line);
}

.gap-money-path div:first-child {
  border-left: 0;
}

.gap-money-path span {
  color: var(--gap-copper);
  font-size: 0.65rem;
  font-weight: 850;
}

.gap-money-path strong {
  color: var(--gap-navy);
  font-size: 0.78rem;
  line-height: 1.25;
}

.gap-money-path small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.gap-route-studio {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto 48px;
  padding: 34px;
  border-top: 6px solid var(--gap-copper);
  background: var(--gap-navy);
  color: var(--white);
}

.gap-route-intro {
  max-width: 870px;
  margin-bottom: 25px;
}

.gap-route-intro .eyebrow,
.gap-before-price .eyebrow,
.gap-claim-lab .eyebrow {
  color: #f2a373;
}

.gap-route-intro h2 {
  max-width: 22ch;
  margin: 0;
  color: var(--white);
  font-size: 2.55rem;
  line-height: 1.12;
}

.gap-route-intro > p:last-child {
  max-width: 75ch;
  margin: 12px 0 0;
  color: #c8d8e2;
}

.gap-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gap-route-card {
  position: relative;
  min-width: 0;
  min-height: 258px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-content: start;
  gap: 11px 13px;
  padding: 21px;
  border: 1px solid #547083;
  border-bottom: 4px solid var(--gap-copper);
  background: #112f45;
  color: var(--white);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.gap-route-card:hover,
.gap-route-card.is-selected {
  border-color: #84c7c5;
  background: #173c53;
  color: var(--white);
  transform: translateY(-2px);
}

.gap-route-number {
  position: absolute;
  top: 13px;
  right: 15px;
  color: #7892a3;
  font-size: 0.73rem;
  font-weight: 850;
}

.gap-route-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #4f7184;
  color: #88d1ce;
}

.gap-route-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gap-route-card > strong {
  align-self: center;
  padding-right: 24px;
  color: var(--white);
  font-size: 1.04rem;
  line-height: 1.3;
}

.gap-route-card > small {
  grid-column: 1 / -1;
  color: #c8d8e2;
  font-size: 0.84rem;
  line-height: 1.55;
}

.gap-route-card > b {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: auto;
  color: #a8e0dc;
  font-size: 0.78rem;
}

.gap-before-price {
  display: grid;
  grid-template-columns: minmax(230px, 0.35fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid #466276;
}

.gap-before-price h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.25;
}

.gap-before-price > div > p:last-child {
  margin: 8px 0 0;
  color: #c8d8e2;
  font-size: 0.84rem;
}

.gap-before-price ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gap-before-price li {
  min-width: 0;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  border: 1px solid #466276;
}

.gap-before-price li > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #e38a56;
  color: #f2a373;
  font-size: 0.72rem;
  font-weight: 850;
}

.gap-before-price li div {
  display: grid;
  gap: 3px;
}

.gap-before-price li strong {
  color: var(--white);
  font-size: 0.88rem;
}

.gap-before-price li small {
  color: #bdd0dc;
  font-size: 0.76rem;
  line-height: 1.45;
}

.gap-plan-directory {
  padding: 34px;
  border: 1px solid var(--category-line);
  border-top: 6px solid var(--category-accent);
  background: var(--white);
}

.gap-directory-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(275px, 345px);
  gap: 32px;
  align-items: start;
}

.gap-active-lens {
  padding: 19px;
  border-left: 4px solid var(--gap-copper);
  background: var(--gap-copper-soft);
}

.gap-active-lens > span {
  display: block;
  color: var(--gap-copper);
  font-size: 0.69rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gap-active-lens strong {
  display: block;
  margin-top: 4px;
  color: var(--gap-navy);
  line-height: 1.35;
}

.gap-active-lens p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.48;
}

.gap-active-lens a {
  font-size: 0.78rem;
  font-weight: 760;
}

.gap-directory-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 9px 0 19px;
  border-top: 1px solid var(--category-line);
  border-bottom: 1px solid var(--category-line);
}

.gap-directory-stats div {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 13px 15px;
  border-left: 1px solid var(--category-line);
}

.gap-directory-stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.gap-directory-stats strong {
  color: var(--gap-navy);
  font-size: 0.92rem;
}

.gap-directory-stats span {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.35;
}

.gap-price-disclosure {
  border-color: #e9c4ad;
  background: var(--gap-copper-soft);
}

.gap-price-disclosure svg {
  stroke: var(--gap-copper);
}

.gap-price-disclosure p {
  color: #684936;
}

.gap-plan-table-wrap {
  margin-top: 4px;
  overflow-x: auto;
  box-shadow: none;
}

.gap-plan-table {
  min-width: 1080px;
  table-layout: fixed;
}

.gap-plan-table caption {
  background: var(--category-soft);
  color: var(--gap-navy);
}

.gap-plan-table thead th {
  background: var(--gap-navy);
}

.gap-plan-table thead th:nth-child(1) { width: 82px; }
.gap-plan-table thead th:nth-child(2) { width: 170px; }
.gap-plan-table thead th:nth-child(3) { width: 150px; }
.gap-plan-table thead th:nth-child(4) { width: 155px; }
.gap-plan-table thead th:nth-child(5) { width: 220px; }
.gap-plan-table thead th:nth-child(6) { width: 200px; }
.gap-plan-table thead th:nth-child(7) { width: 105px; }

.gap-plan-table tbody th,
.gap-plan-table tbody td {
  padding: 15px 12px;
  vertical-align: top;
}

.gap-plan-table tbody tr:nth-child(even) th,
.gap-plan-table tbody tr:nth-child(even) td {
  background: #fafcfb;
}

.gap-plan-table tbody tr:hover th,
.gap-plan-table tbody tr:hover td {
  background: var(--category-soft);
}

.gap-plan-table .policy-order {
  color: var(--gap-copper);
}

.gap-plan-table .policy-price-cell > small {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.gap-plan-table .policy-price-cell > small b {
  display: block;
  color: var(--gap-navy);
}

.gap-evidence-line {
  display: grid;
  gap: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.gap-evidence-line a,
.gap-evidence-line span {
  font-size: 0.72rem;
  line-height: 1.35;
}

.gap-evidence-line span {
  color: var(--muted);
  font-weight: 500;
}

.gap-eligibility-cell > strong {
  display: block;
  color: var(--gap-navy);
  font-size: 0.81rem;
  line-height: 1.48;
}

.gap-eligibility-cell > small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.4;
}

.gap-eligibility-cell details,
.gap-benefit-notes,
.gap-claim-cell details {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.75rem;
}

.gap-eligibility-cell summary,
.gap-benefit-notes summary,
.gap-claim-cell summary {
  color: var(--blue-dark);
  font-weight: 760;
  cursor: pointer;
}

.gap-eligibility-cell details p,
.gap-claim-cell details p {
  margin: 7px 0 0;
  line-height: 1.48;
}

.gap-tariff-note {
  margin: 0 0 10px;
  color: var(--gap-navy);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.gap-feature-list li {
  padding: 6px 5px;
}

.gap-benefit-notes dl {
  margin: 8px 0 0;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}

.gap-benefit-notes dl div {
  display: grid;
  grid-template-columns: 57px minmax(0, 1fr);
  gap: 7px;
  padding: 5px 0;
}

.gap-benefit-notes dt {
  color: var(--gap-navy);
  font-weight: 760;
}

.gap-benefit-notes dd {
  margin: 0;
  line-height: 1.42;
}

.gap-claim-cell > strong {
  color: var(--gap-navy);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.gap-claim-cell > p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.48;
}

.gap-claim-cell .policy-rating-badge {
  margin-top: 13px;
}

.gap-fact-rail {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto 58px;
  border-top: 1px solid var(--category-line);
  border-bottom: 1px solid var(--category-line);
}

.gap-fact-rail div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 17px 18px;
  border-left: 1px solid var(--category-line);
}

.gap-fact-rail div:first-child {
  border-left: 0;
}

.gap-fact-rail strong {
  color: var(--category-accent);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.gap-fact-rail span {
  color: var(--gap-navy);
  font-size: 0.86rem;
  line-height: 1.45;
}

.gap-bill-bridge {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  margin: 0 auto 60px;
  padding: 35px;
  border-left: 6px solid var(--gap-copper);
  background: var(--gap-navy);
  color: var(--white);
}

.gap-bill-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: 2.05rem;
  line-height: 1.16;
}

.gap-bill-copy > p:not(.eyebrow) {
  margin: 12px 0;
  color: #c8d8e2;
}

.gap-bill-copy > a {
  color: #a8e0dc;
  font-size: 0.83rem;
  font-weight: 780;
}

.gap-bill-ledger {
  margin: 0;
  padding: 0;
  border-top: 1px solid #49677a;
  list-style: none;
}

.gap-bill-ledger li {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) minmax(82px, auto);
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #49677a;
}

.gap-bill-ledger li > span {
  color: #f2a373;
  font-size: 0.7rem;
  font-weight: 850;
}

.gap-bill-ledger li div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.gap-bill-ledger strong {
  color: var(--white);
  font-size: 0.86rem;
}

.gap-bill-ledger small {
  color: #b9ceda;
  font-size: 0.74rem;
  line-height: 1.38;
}

.gap-bill-ledger b {
  color: #a8e0dc;
  font-size: 0.91rem;
  text-align: right;
}

.gap-education-table thead th {
  background: var(--gap-navy);
}

.gap-education-table tbody th {
  background: var(--category-soft);
}

.gap-eligibility {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 0.58fr);
  gap: 24px 36px;
  margin: 0 auto 60px;
  padding: 31px;
  border: 1px solid var(--category-line);
  border-top: 5px solid var(--category-accent);
  background: var(--category-soft);
}

.gap-eligibility-intro h2,
.gap-scope-heading h2,
.gap-claim-heading h2,
.gap-document-vault h2,
.gap-guide-bridge h2 {
  margin: 0;
  color: var(--gap-navy);
  font-size: 2rem;
  line-height: 1.17;
}

.gap-eligibility-intro > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

.gap-eligibility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gap-eligibility-list li {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--category-line);
  background: var(--white);
}

.gap-eligibility-list li > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid var(--category-accent);
  color: var(--category-accent);
  font-size: 0.72rem;
  font-weight: 850;
}

.gap-eligibility-list strong {
  color: var(--gap-navy);
  font-size: 0.86rem;
}

.gap-eligibility-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.45;
}

.gap-note-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gap-note {
  padding: 16px;
  border-left: 4px solid var(--category-accent);
  background: var(--white);
}

.gap-note--warning {
  border-left-color: var(--gap-copper);
  background: var(--gap-copper-soft);
}

.gap-note strong {
  color: var(--gap-navy);
}

.gap-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.gap-scope-grid {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) repeat(2, minmax(0, 0.33fr));
  gap: 16px;
  margin: 0 auto 60px;
}

.gap-scope-heading {
  padding: 24px 22px;
  border-left: 5px solid var(--gap-copper);
  background: var(--gap-copper-soft);
}

.gap-scope-panel {
  padding: 22px;
  border-top: 4px solid var(--category-accent);
  background: var(--category-soft);
}

.gap-scope-panel--limited {
  border-top-color: var(--gap-copper);
  background: var(--gap-copper-soft);
}

.gap-scope-panel h3 {
  margin-top: 0;
  color: var(--gap-navy);
  font-size: 1rem;
}

.gap-scope-panel ul {
  font-size: 0.84rem;
}

.gap-buying-flow {
  border-left-color: var(--category-accent);
  background: var(--category-soft);
}

.gap-buying-flow .step-number {
  background: var(--category-accent);
}

.gap-buying-flow .process-flow li:not(:last-child)::before {
  background: var(--category-line);
}

.gap-claim-lab {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(250px, 0.35fr) minmax(0, 0.65fr);
  gap: 40px;
  margin: 0 auto 60px;
  padding: 34px;
  border-top: 6px solid var(--gap-copper);
  background: var(--gap-navy);
}

.gap-claim-heading h2 {
  color: var(--white);
}

.gap-claim-heading > p:last-child {
  margin: 12px 0 0;
  color: #c8d8e2;
}

.gap-claim-steps {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid #49677a;
  list-style: none;
}

.gap-claim-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid #49677a;
}

.gap-claim-steps li > span {
  color: #f2a373;
  font-size: 0.75rem;
  font-weight: 850;
}

.gap-claim-steps h3 {
  margin: 0;
  color: var(--white);
  font-size: 0.93rem;
}

.gap-claim-steps p {
  margin: 4px 0 0;
  color: #bfd1dc;
  font-size: 0.81rem;
  line-height: 1.48;
}

.gap-document-vault {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 0.62fr);
  gap: 36px;
  margin: 0 auto 60px;
  padding: 30px;
  border: 1px solid var(--category-line);
  background: var(--white);
}

.gap-document-vault > div > p:last-child {
  color: var(--muted);
}

.gap-document-vault ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gap-document-vault li {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--category-line);
  background: var(--category-soft);
  color: var(--gap-navy);
  font-size: 0.81rem;
  line-height: 1.4;
}

.gap-document-vault li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--category-accent);
}

.gap-document-vault svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gap-tradeoffs .tradeoff-grid > div:first-child {
  border-top-color: var(--category-accent);
  background: var(--category-soft);
}

.gap-tradeoffs .tradeoff-grid > div:last-child {
  border-top-color: var(--gap-copper);
  background: var(--gap-copper-soft);
}

.gap-guide-bridge {
  width: min(var(--content), calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto 60px;
  padding: 30px;
  border-left: 6px solid var(--gap-copper);
  background: var(--category-soft);
}

.gap-guide-bridge > div:first-child {
  max-width: 720px;
}

.gap-guide-bridge p:not(.eyebrow) {
  margin: 9px 0 0;
  color: var(--muted);
}

.gap-guide-actions {
  min-width: 220px;
  display: grid;
  gap: 8px;
}

.gap-source-band {
  border-color: var(--category-line);
  border-radius: 0;
  background: var(--category-soft);
}

.gap-source-band .source-list li {
  border-color: var(--category-line);
}

@media (max-width: 980px) {
  .gap-hero-grid,
  .gap-bill-bridge,
  .gap-claim-lab,
  .gap-document-vault {
    grid-template-columns: minmax(0, 1fr);
  }

  .gap-hero-visual {
    max-width: 760px;
  }

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

  .gap-route-card:last-child {
    grid-column: 1 / -1;
    min-height: 210px;
  }

  .gap-directory-head,
  .gap-before-price {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .gap-scope-heading {
    grid-column: 1 / -1;
  }

  .gap-guide-bridge {
    align-items: flex-start;
    flex-direction: column;
  }

  .gap-guide-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gap-hero {
    width: calc(100% - 20px);
    padding-bottom: 28px;
  }

  .gap-hero-grid {
    gap: 30px;
  }

  .gap-hero h1 {
    max-width: none;
    font-size: 2.55rem;
  }

  .gap-hero-actions,
  .gap-hero-actions > *,
  .gap-hero-actions .provider-status,
  .gap-hero-actions .provider-status summary {
    width: 100%;
  }

  .gap-proof-ledger,
  .gap-money-path,
  .gap-directory-stats,
  .gap-fact-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gap-proof-ledger div,
  .gap-proof-ledger div:first-child,
  .gap-money-path div,
  .gap-money-path div:first-child,
  .gap-directory-stats div,
  .gap-directory-stats div:first-child,
  .gap-fact-rail div,
  .gap-fact-rail div:first-child {
    padding: 11px;
    border-top: 1px solid var(--category-line);
    border-left: 1px solid var(--category-line);
  }

  .gap-proof-ledger div:nth-child(-n + 2),
  .gap-money-path div:nth-child(-n + 2),
  .gap-directory-stats div:nth-child(-n + 2),
  .gap-fact-rail div:nth-child(-n + 2) {
    border-top: 0;
  }

  .gap-proof-ledger div:nth-child(odd),
  .gap-money-path div:nth-child(odd),
  .gap-directory-stats div:nth-child(odd),
  .gap-fact-rail div:nth-child(odd) {
    border-left: 0;
  }

  .gap-proof-ledger div:last-child {
    grid-column: 1 / -1;
    border-left: 0;
  }

  .gap-route-studio,
  .gap-plan-directory,
  .gap-fact-rail,
  .gap-bill-bridge,
  .gap-eligibility,
  .gap-scope-grid,
  .gap-claim-lab,
  .gap-document-vault,
  .gap-guide-bridge {
    width: calc(100% - 20px);
    margin-bottom: 44px;
  }

  .gap-route-studio,
  .gap-bill-bridge,
  .gap-eligibility,
  .gap-claim-lab,
  .gap-document-vault,
  .gap-guide-bridge {
    padding: 22px 16px;
  }

  .gap-plan-directory {
    padding: 22px 16px;
  }

  .gap-route-intro h2,
  .gap-bill-copy h2,
  .gap-eligibility-intro h2,
  .gap-scope-heading h2,
  .gap-claim-heading h2,
  .gap-document-vault h2,
  .gap-guide-bridge h2 {
    font-size: 1.7rem;
  }

  .gap-route-grid,
  .gap-before-price ol,
  .gap-eligibility,
  .gap-eligibility-list,
  .gap-note-pair,
  .gap-scope-grid,
  .gap-document-vault ul,
  .gap-guide-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .gap-route-card,
  .gap-route-card:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .gap-active-lens {
    padding: 16px;
  }

  .gap-plan-table-wrap {
    margin-right: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .gap-plan-table,
  .gap-plan-table tbody {
    min-width: 0;
    display: block;
    width: 100%;
  }

  .gap-plan-table caption,
  .gap-plan-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .gap-plan-table tbody {
    display: grid;
    gap: 15px;
  }

  .gap-plan-table .provider-directory-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    border: 1px solid var(--category-line);
    border-top: 5px solid var(--category-accent);
    background: var(--white);
  }

  .gap-plan-table .provider-directory-card > th,
  .gap-plan-table .provider-directory-card > td,
  .gap-plan-table tbody tr:nth-child(even) th,
  .gap-plan-table tbody tr:nth-child(even) td,
  .gap-plan-table tbody tr:hover th,
  .gap-plan-table tbody tr:hover td {
    min-width: 0;
    display: block;
    padding: 15px;
    border: 0;
    background: var(--white);
  }

  .gap-plan-table .policy-compare-cell {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    place-items: start center;
    padding-right: 4px;
  }

  .gap-plan-table .policy-identity-cell {
    grid-column: 2;
    grid-row: 1;
    padding-left: 4px;
  }

  .gap-plan-table .policy-price-cell,
  .gap-plan-table .gap-eligibility-cell,
  .gap-plan-table .gap-benefit-cell,
  .gap-plan-table .gap-claim-cell,
  .gap-plan-table .policy-action-cell {
    grid-column: 1 / -1;
    border-top: 1px solid var(--category-line);
  }

  .gap-plan-table .policy-action-cell {
    display: grid;
  }

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

  .gap-bill-ledger li {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .gap-bill-ledger b {
    grid-column: 2;
    text-align: left;
  }

  .gap-note-pair,
  .gap-scope-heading {
    grid-column: auto;
  }

  .gap-document-vault {
    gap: 20px;
  }

  .gap-guide-actions .btn {
    width: 100%;
  }

  .gap-mobile-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
  }

  .category-page--gap-cover.is-mobile-conversion-ready .gap-mobile-bar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .category-page--gap-cover.has-compare-selection .gap-mobile-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .hero-figure,
  .hero-art {
    max-width: 720px;
  }

  .home-hero-figure {
    max-width: 360px;
    justify-self: start;
  }

  .home-hero .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .fact-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .fact-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .claim-flow,
  .guide-link-grid,
  .discovery-grid,
  .directory-feature-matrix,
  .guide-library-grid,
  .term-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1.3fr repeat(2, minmax(130px, 0.7fr));
  }

  .editorial-index-grid,
  .editorial-related .guide-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-directory-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .decision-route {
    min-height: 232px;
  }

  .footer-column:last-child {
    grid-column: 2 / 4;
  }

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

  .pet-cover-box {
    min-height: 240px;
  }

  .pet-story-scene,
  .pet-story-scene--claim,
  .pet-adult-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .pet-story-photo {
    max-width: 720px;
  }

  .pet-adult-panel__intro {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

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

@media (max-width: 720px) {
  :root {
    --sticky-header-height: 0px;
    --anchor-scroll-offset: 66px;
  }

  .site-header {
    position: static;
  }

  .page-jump-nav {
    top: 0;
  }

  .page-jump-inner {
    width: calc(100% - 20px);
    gap: 8px;
  }

  .content-page h2[id],
  .content-page div[id] {
    scroll-margin-top: 66px;
  }

  .topbar {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 13px 0;
  }

  .country-context-banner {
    width: calc(100% - 20px);
    margin-bottom: 8px;
    padding: 9px 11px;
  }

  .primary-nav {
    width: 100%;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .primary-nav > a,
  .insurance-mega > summary {
    min-height: 38px;
    padding: 8px 10px 5px 0;
    margin-right: 10px;
    font-size: 0.84rem;
  }

  .page-hero,
  .hero {
    padding-top: 18px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
    font-size: 2.35rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 1.07rem;
  }

  .home-hero .hero-layout {
    gap: 22px;
  }

  .home-hero-figure {
    max-width: 280px;
  }

  .hero-actions,
  .hero-actions > *,
  .provider-status,
  .provider-status summary,
  .btn {
    width: 100%;
  }

  .search-band,
  .search-control,
  .situation-link-grid,
  .search-starting-points {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .cover-directory-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .cover-directory-group > p {
    min-height: 0;
  }

  .search-band {
    gap: 20px;
  }

  .search-control .btn {
    width: 100%;
  }

  .situation-link-grid a {
    min-height: 0;
  }

  .fact-strip,
  .coverage-grid,
  .split,
  .split-band,
  .tradeoff-grid,
  .process-band,
  .source-band,
  .claim-flow,
  .guide-link-grid,
  .discovery-grid,
  .grid.cards,
  .stats,
  .footer-inner,
  .guide-diagram-alt,
  .directory-feature-matrix {
    grid-template-columns: minmax(0, 1fr);
  }

  .term-grid,
  .warning-list,
  .legal-layout,
  .editorial-scenario-grid,
  .depth-copy-grid,
  .worked-example-grid,
  .terms-review-grid,
  .editorial-index-grid,
  .editorial-related .guide-link-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .provider-directory-meta div,
  .provider-directory-meta dl {
    grid-template-columns: minmax(100px, auto) minmax(0, 1fr);
  }

  .editorial-scenario-grid > div + div,
  .depth-copy-grid > div + div,
  .worked-example-grid > * + *,
  .terms-review-grid > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .editorial-scenario-grid > div,
  .depth-copy-grid > div,
  .worked-example-grid > *,
  .terms-review-grid > div,
  .decision-note {
    padding: 20px 18px;
  }

  .review-trigger-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .editorial-format-side-by-side .editorial-primary-table,
  .editorial-format-decision-lab .editorial-primary-table {
    padding-left: 16px;
  }

  .editorial-format-cost-planner .editorial-secondary-table {
    padding: 20px 16px;
  }

  .legal-layout {
    gap: 28px;
  }

  .legal-nav {
    position: static;
  }

  .fact-item,
  .fact-item:nth-child(3),
  .fact-item:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .fact-item:first-child {
    border-top: 0;
  }

  .band,
  .process-band,
  .source-band {
    margin-bottom: 46px;
  }

  .section-heading h2,
  .band h2,
  .process-band h2,
  .source-band h2 {
    font-size: 1.65rem;
  }

  .process-band,
  .source-band {
    gap: 24px;
    padding: 22px 18px;
  }

  .table-scroll {
    margin-right: -16px;
    border-right: 0;
    border-radius: 8px 0 0 8px;
  }

  .comparison-table {
    min-width: 720px;
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    min-width: 150px;
    padding: 13px;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-legal {
    flex-direction: column;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .category-hero-proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-hero-proof span,
  .category-hero-proof span:first-child {
    padding: 9px 0;
    border-top: 1px solid var(--category-line);
    border-left: 0;
  }

  .category-hero-proof span:first-child {
    border-top: 0;
  }

  .category-decision-studio {
    width: calc(100% - 20px);
    margin-bottom: 36px;
    padding: 22px 16px;
  }

  .decision-studio-heading h2 {
    font-size: 1.8rem;
  }

  .decision-route-grid,
  .shortlist-check-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .decision-route {
    min-height: 0;
  }

  .shortlist-check-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px 16px;
  }

  .shortlist-check-list li:nth-child(2) {
    padding-top: 12px;
    border-top: 1px solid var(--category-line);
  }

  .category-directory-band {
    width: calc(100% - 20px);
    padding: 22px 16px;
  }

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

  .category-directory-summary div,
  .category-directory-summary div:first-child {
    padding: 11px;
  }

  .category-directory-summary div:nth-child(odd) {
    border-left: 0;
  }

  .category-directory-summary div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .category-policy-table-wrap {
    margin-right: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .category-provider-table,
  .category-provider-table tbody {
    min-width: 0;
    display: block;
    width: 100%;
  }

  .category-provider-table caption,
  .category-provider-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .category-provider-table tbody {
    display: grid;
    gap: 14px;
  }

  .category-provider-table .provider-directory-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    border: 1px solid var(--line);
    border-top: 4px solid var(--category-accent);
    background: var(--white);
  }

  .category-provider-table .provider-directory-card > th,
  .category-provider-table .provider-directory-card > td,
  .category-provider-table tbody tr:nth-child(even) th,
  .category-provider-table tbody tr:nth-child(even) td,
  .category-provider-table tbody tr:hover th,
  .category-provider-table tbody tr:hover td {
    min-width: 0;
    display: block;
    padding: 15px;
    border: 0;
    background: var(--white);
  }

  .category-provider-table .policy-compare-cell {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    place-items: start center;
    padding-right: 4px;
  }

  .category-provider-table .policy-identity-cell {
    grid-column: 2;
    grid-row: 1;
    padding-left: 4px;
  }

  .category-provider-table .policy-price-cell,
  .category-provider-table .policy-support-cell,
  .category-provider-table .policy-rating-cell,
  .category-provider-table .policy-action-cell {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .category-provider-table .policy-rating-cell {
    text-align: left;
  }

  .mobile-cell-label {
    display: block;
    margin-bottom: 7px;
    color: var(--category-accent);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
  }

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

  .policy-action-cell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
  }

  .policy-action-cell .mobile-cell-label,
  .policy-action-cell > small {
    grid-column: 1 / -1;
  }

  .policy-action-cell .policy-home-link {
    margin: 0;
    text-align: center;
  }

  .policy-compare-tray {
    bottom: 10px;
    width: calc(100% - 20px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .policy-compare-tray-actions .btn {
    flex: 1 1 0;
  }

  .policy-compare-results {
    grid-template-columns: minmax(0, 1fr);
  }

  .policy-compare-modal {
    padding: 10px;
  }

  .policy-compare-modal-panel {
    width: calc(100vw - 20px);
    padding: 22px 16px;
  }

  .mobile-conversion-bar {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.74fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-elevated);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .has-compare-selection .mobile-conversion-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
  }

  .category-page {
    padding-bottom: 82px;
  }

  .family-guide-callout {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 14px;
  }

  .family-guide-callout__icon {
    width: 42px;
    height: 42px;
  }

  .family-guide-callout b {
    grid-column: 2;
    white-space: normal;
  }

  .pet-story-key,
  .pet-cover-box-grid,
  .pet-words-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pet-story-key div,
  .pet-story-key div:first-child {
    padding: 10px 0;
    border-top: 1px solid #b9dfda;
    border-left: 0;
  }

  .pet-story-key div:first-child {
    border-top: 0;
  }

  .pet-simple-answer {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 22px 18px;
  }

  .pet-answer-mark {
    width: 58px;
    height: 58px;
  }

  .pet-answer-mark svg {
    width: 31px;
    height: 31px;
  }

  .pet-simple-answer h2,
  .pet-story-copy h2,
  .pet-adult-panel h2 {
    font-size: 1.65rem;
  }

  .pet-cover-box {
    min-height: 0;
  }

  .pet-story-scene,
  .pet-story-scene--claim,
  .pet-adult-panel {
    width: calc(100% - 20px);
    margin-bottom: 46px;
  }

  .pet-story-scene {
    gap: 24px;
    padding: 20px 16px;
    scroll-margin-top: 66px;
  }

  .pet-adult-panel {
    scroll-margin-top: 66px;
  }

  .pet-story-number {
    top: -8px;
    font-size: 3.5rem;
  }

  .pet-mini-steps li,
  .pet-claim-flow li {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .pet-claim-flow li {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .pet-claim-flow li p {
    grid-column: 2;
  }

  .pet-compare-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .pet-adult-panel__intro,
  .pet-adult-checklist {
    padding: 22px 17px;
  }
}

@media (max-width: 520px) {
  .cover-shortcut {
    min-height: 118px;
    padding: 14px;
  }

  .cover-directory > summary {
    padding: 13px 14px;
  }

  .cover-directory-panel {
    padding: 20px 16px;
  }

  .cover-directory-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .cover-directory-link small {
    flex-basis: auto;
    text-align: left;
  }

  .category-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 16px;
  }

  .category-card-media {
    width: 92px;
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .category-card-body {
    display: contents;
  }

  .category-purpose {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
  }

  .category-card h3 {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  .category-summary,
  .category-checks,
  .category-card-links {
    grid-column: 1 / -1;
  }

  .category-summary {
    margin-top: 7px;
  }

  .category-checks,
  .category-card-links {
    margin-top: 5px;
  }
}

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

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

/* Accessible policy sorting */

.directory-sort-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.directory-sort-bar > div {
  min-width: min(100%, 270px);
  display: grid;
  gap: 5px;
}

.directory-sort-bar label {
  color: var(--ink-strong);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.directory-sort-bar select {
  min-height: 44px;
  width: 100%;
  padding: 8px 38px 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink-strong);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 720;
}

.directory-sort-bar p {
  max-width: 66ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: right;
}

.category-provider-table tbody tr {
  transition: opacity 170ms ease, transform 170ms ease;
}

.category-provider-table.is-sorting tbody tr {
  opacity: 0.55;
  transform: translateY(4px);
}

/* Dedicated Buildings Insurance buying page */

.category-page--buildings-insurance {
  --category-accent: #9b4d2e;
  --category-soft: #fff5ef;
  --category-line: #e7c2ae;
  --build-navy: #102f45;
  --build-slate: #36566a;
  --build-green: #27705a;
  --build-green-soft: #edf8f3;
  --build-sand: #f7f2e9;
}

.buildings-hero {
  padding-bottom: 42px;
}

.buildings-hero,
.category-page--buildings-insurance .category-directory-band {
  animation: none;
  transform: none;
}

.buildings-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 52px;
}

.buildings-hero-copy,
.buildings-hero-visual {
  min-width: 0;
}

.buildings-hero h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  color: var(--build-navy);
  font-size: 3.75rem;
  letter-spacing: -0.04em;
}

.buildings-hero-copy > p:not(.eyebrow):not(.lead):not(.editorial-line) {
  max-width: 64ch;
  color: var(--muted);
}

.buildings-hero-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.buildings-hero-actions .btn.primary,
.category-page--buildings-insurance .category-directory-band .btn.primary,
.buildings-mobile-bar .btn.primary {
  border-color: var(--build-navy);
  background: var(--build-navy);
}

.buildings-hero-actions .btn.primary:hover,
.category-page--buildings-insurance .category-directory-band .btn.primary:hover,
.buildings-mobile-bar .btn.primary:hover {
  border-color: var(--category-accent);
  background: var(--category-accent);
}

.buildings-proof-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 25px 0 0;
  border-top: 1px solid var(--category-line);
  border-bottom: 1px solid var(--category-line);
}

.buildings-proof-ledger div {
  min-width: 0;
  padding: 12px 14px;
  border-left: 1px solid var(--category-line);
}

.buildings-proof-ledger div:first-child {
  padding-left: 0;
  border-left: 0;
}

.buildings-proof-ledger dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 780;
  line-height: 1.35;
  text-transform: uppercase;
}

.buildings-proof-ledger dd {
  margin: 3px 0 0;
  color: var(--build-navy);
  font-size: 0.88rem;
  font-weight: 820;
  line-height: 1.35;
}

.buildings-hero-photo {
  margin: 0;
}

.buildings-hero-photo img {
  width: 100%;
  border-color: var(--category-line);
  border-radius: 3px;
  background: var(--build-sand);
  object-fit: cover;
  box-shadow: 18px 18px 0 var(--build-sand);
}

.buildings-photo-key {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0 18px;
  border: 1px solid var(--category-line);
  background: var(--white);
}

.buildings-photo-key span {
  min-width: 0;
  display: grid;
  gap: 1px;
  padding: 10px;
  border-left: 1px solid var(--category-line);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.buildings-photo-key span:first-child {
  border-left: 0;
}

.buildings-photo-key b {
  color: var(--category-accent);
  font-size: 0.72rem;
}

.buildings-route-studio {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto 48px;
  padding: 34px;
  border: 1px solid #c9d6df;
  border-top: 5px solid var(--build-navy);
  background: #f9fbfc;
}

.buildings-route-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 36px;
  align-items: end;
}

.buildings-route-heading h2 {
  max-width: 17ch;
  margin: 0;
  color: var(--build-navy);
  font-size: 2.35rem;
  line-height: 1.12;
}

.buildings-route-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.buildings-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.buildings-route-card {
  position: relative;
  min-width: 0;
  min-height: 260px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 23px;
  border: 1px solid #c9d6df;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.buildings-route-card:hover,
.buildings-route-card.is-selected {
  border-color: var(--category-accent);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(16, 47, 69, 0.1);
  transform: translateY(-3px);
}

.buildings-route-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid #b8cbd7;
  border-radius: 50%;
  background: #f1f6f9;
  color: var(--build-navy);
}

.buildings-route-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.buildings-route-number {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #aebdc7;
  font-size: 1.3rem;
  font-weight: 850;
}

.buildings-route-card > strong {
  color: var(--build-navy);
  font-size: 1.12rem;
}

.buildings-route-card > small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
}

.buildings-route-card > b {
  margin-top: auto;
  padding-top: 18px;
  color: var(--category-accent);
  font-size: 0.79rem;
}

.buildings-quote-gate {
  display: grid;
  grid-template-columns: minmax(245px, 0.66fr) minmax(0, 1.34fr);
  gap: 30px;
  margin-top: 14px;
  padding: 24px;
  border: 1px solid #b7d5c7;
  background: var(--build-green-soft);
}

.buildings-quote-gate h3 {
  margin: 0;
  color: #174b3b;
  font-size: 1.45rem;
  line-height: 1.2;
}

.buildings-quote-gate p:last-child {
  margin: 8px 0 0;
  color: #426457;
  font-size: 0.84rem;
}

.buildings-quote-gate ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.buildings-quote-gate li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 0;
  border-top: 1px solid #c6ded3;
}

.buildings-quote-gate li:nth-child(-n + 2) {
  border-top: 0;
}

.buildings-quote-gate li > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--build-green);
  color: var(--white);
  font-size: 0.69rem;
  font-weight: 820;
}

.buildings-quote-gate li div {
  display: grid;
  gap: 3px;
}

.buildings-quote-gate li strong {
  color: #174b3b;
  font-size: 0.83rem;
}

.buildings-quote-gate li small {
  color: #4b6b60;
  font-size: 0.75rem;
  line-height: 1.4;
}

.category-directory-band--buildings-insurance {
  border-color: var(--category-line);
  border-top-color: var(--category-accent);
}

.category-directory-band--buildings-insurance .category-provider-table {
  min-width: 1160px;
}

.category-directory-band--buildings-insurance .category-provider-table thead th:nth-child(2) {
  width: 300px;
}

.category-directory-band--buildings-insurance .category-provider-table thead th:nth-child(3) {
  width: 190px;
}

.category-directory-band--buildings-insurance .category-provider-table thead th:nth-child(4) {
  width: 285px;
}

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

.building-policy-notes {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.72rem;
}

.building-policy-notes summary {
  color: var(--blue-dark);
  font-weight: 760;
  cursor: pointer;
}

.building-policy-notes dl {
  margin: 8px 0 0;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.building-policy-notes dl div {
  padding: 5px 0;
}

.building-policy-notes dt {
  color: var(--build-navy);
  font-weight: 780;
}

.building-policy-notes dd {
  margin: 2px 0 0;
  line-height: 1.45;
}

.category-directory-band--buildings-insurance .policy-price-cell > small {
  font-size: 0.72rem;
  line-height: 1.48;
}

.buildings-anatomy {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 42px;
  margin: 0 auto 64px;
  padding: 40px;
  border: 1px solid #c8d5df;
  background: var(--build-navy);
  color: var(--white);
  scroll-margin-top: 142px;
}

.buildings-anatomy-copy,
.buildings-anatomy-visual {
  min-width: 0;
}

.buildings-anatomy .eyebrow {
  color: #f3b28f;
}

.buildings-anatomy h2 {
  max-width: 16ch;
  margin: 0;
  color: var(--white);
  font-size: 2.45rem;
  line-height: 1.12;
}

.buildings-anatomy-copy > p:not(.eyebrow) {
  color: #dce8ef;
}

.buildings-anatomy-copy > a {
  display: inline-block;
  margin-top: 17px;
  color: #ffffff;
  font-weight: 760;
}

.buildings-layer-list {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.buildings-layer-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.buildings-layer-list li > span {
  color: #f3b28f;
  font-size: 0.76rem;
  font-weight: 850;
}

.buildings-layer-list strong {
  color: var(--white);
}

.buildings-layer-list p {
  margin: 3px 0 0;
  color: #c9d9e3;
  font-size: 0.8rem;
  line-height: 1.45;
}

.buildings-anatomy-visual {
  display: grid;
  align-content: center;
  gap: 14px;
}

.buildings-anatomy-visual > svg {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #173d57;
}

.buildings-anatomy-visual path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.anatomy-ground,
.anatomy-site {
  stroke: #8bbda9;
  stroke-width: 4;
}

.anatomy-house,
.anatomy-roof,
.anatomy-room {
  stroke: #ffffff;
  stroke-width: 5;
}

.anatomy-water {
  stroke: #69c6e6;
  stroke-width: 5;
}

.anatomy-solar {
  stroke: #f2b88e;
  stroke-width: 4;
}

.anatomy-cost {
  stroke: #e6cd72;
  stroke-width: 4;
}

.anatomy-marker circle {
  fill: var(--category-accent);
  stroke: #ffffff;
  stroke-width: 3;
}

.anatomy-marker text {
  fill: #ffffff;
  font-size: 23px;
  font-weight: 850;
  text-anchor: middle;
}

.buildings-anatomy-callout {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-left: 5px solid #e6cd72;
  background: rgba(255, 255, 255, 0.07);
}

.buildings-anatomy-callout strong {
  color: #fff1b8;
}

.buildings-anatomy-callout span {
  color: #dce8ef;
  font-size: 0.8rem;
  line-height: 1.45;
}

.buildings-boundary,
.buildings-quote-detail {
  border-top: 5px solid var(--category-accent);
}

.buildings-education-table thead th {
  background: var(--build-navy);
}

.buildings-education-table tbody th {
  color: var(--build-navy);
}

.buildings-pressure {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(235px, 0.62fr) minmax(0, 1.38fr);
  gap: 32px;
  margin: 0 auto 64px;
  padding: 34px;
  border: 1px solid #d6c7b1;
  background: var(--build-sand);
}

.buildings-pressure-heading h2 {
  margin: 0;
  color: var(--build-navy);
  font-size: 2.1rem;
  line-height: 1.15;
}

.buildings-pressure-heading > p:last-child {
  color: var(--muted);
}

.buildings-pressure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.buildings-pressure-grid article {
  position: relative;
  min-width: 0;
  padding: 20px;
  border: 1px solid #ded3c3;
  background: var(--white);
}

.buildings-pressure-grid article > span {
  color: var(--category-accent);
  font-size: 0.72rem;
  font-weight: 850;
}

.buildings-pressure-grid h3 {
  margin: 8px 0;
  color: var(--build-navy);
  font-size: 1rem;
  line-height: 1.3;
}

.buildings-pressure-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.buildings-note-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.buildings-note {
  padding: 17px;
  border-left: 5px solid var(--blue);
  background: var(--blue-soft);
}

.buildings-note--warning {
  border-left-color: var(--red);
  background: var(--red-soft);
}

.buildings-note strong {
  color: var(--ink-strong);
}

.buildings-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.48;
}

.buildings-claim-lab {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 38px;
  margin: 0 auto 64px;
  padding: 38px;
  border: 1px solid #b7d5c7;
  border-top: 5px solid var(--build-green);
  background: var(--build-green-soft);
  scroll-margin-top: 142px;
}

.buildings-claim-intro h2 {
  max-width: 17ch;
  margin: 0;
  color: #174b3b;
  font-size: 2.35rem;
  line-height: 1.13;
}

.buildings-claim-intro > p:not(.eyebrow) {
  color: #48685d;
}

.buildings-claim-split {
  display: grid;
  gap: 7px;
  margin-top: 20px;
}

.buildings-claim-split div {
  display: grid;
  gap: 2px;
  padding: 11px 13px;
  border: 1px solid #c6ded3;
  background: var(--white);
}

.buildings-claim-split span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  text-transform: uppercase;
}

.buildings-claim-split strong {
  color: #174b3b;
  font-size: 0.84rem;
}

.buildings-claim-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.buildings-claim-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid #c6ded3;
}

.buildings-claim-steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.buildings-claim-steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--build-green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 850;
}

.buildings-claim-steps h3 {
  margin: 0;
  color: #174b3b;
  font-size: 0.95rem;
}

.buildings-claim-steps p {
  margin: 4px 0 0;
  color: #4a6b60;
  font-size: 0.8rem;
  line-height: 1.48;
}

.buildings-document-vault {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(245px, 0.67fr) minmax(0, 1.33fr);
  gap: 34px;
  margin: 0 auto 64px;
  padding: 34px;
  border: 1px solid #c8d5df;
  background: #f5f8fa;
  scroll-margin-top: 142px;
}

.buildings-document-vault h2 {
  margin: 0;
  color: var(--build-navy);
  font-size: 2rem;
  line-height: 1.17;
}

.buildings-document-vault > div > p:last-child {
  color: var(--muted);
}

.buildings-document-vault ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.buildings-document-vault li {
  min-width: 0;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.4;
}

.buildings-document-vault li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--category-soft);
  color: var(--category-accent);
}

.buildings-document-vault svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.buildings-guide-bridge {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
  margin: 0 auto 64px;
  padding: 36px;
  border: 1px solid var(--category-line);
  border-left: 7px solid var(--category-accent);
  background: var(--category-soft);
}

.buildings-guide-bridge h2 {
  margin: 0;
  color: var(--build-navy);
  font-size: 2rem;
  line-height: 1.16;
}

.buildings-guide-bridge > div > p:last-child {
  color: var(--muted);
}

.buildings-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.buildings-guide-grid a {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 13px;
  border: 1px solid var(--category-line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.buildings-guide-grid a:hover {
  border-color: var(--category-accent);
  color: var(--ink);
}

.buildings-guide-grid strong {
  color: var(--build-navy);
  font-size: 0.85rem;
}

.buildings-guide-grid span {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.buildings-source-band {
  border-top: 5px solid var(--build-navy);
}

@media (max-width: 980px) {
  .buildings-hero-grid,
  .buildings-anatomy,
  .buildings-pressure,
  .buildings-claim-lab,
  .buildings-document-vault,
  .buildings-guide-bridge {
    grid-template-columns: minmax(0, 1fr);
  }

  .buildings-hero-grid {
    gap: 34px;
  }

  .buildings-hero h1 {
    max-width: 14ch;
  }

  .buildings-hero-visual {
    max-width: 760px;
  }

  .buildings-route-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

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

  .buildings-route-card {
    min-height: 0;
  }

  .buildings-quote-gate {
    grid-template-columns: minmax(0, 1fr);
  }

  .buildings-anatomy-visual {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .directory-sort-bar {
    align-items: stretch;
    flex-direction: column;
    padding: 13px;
  }

  .directory-sort-bar > div {
    min-width: 0;
  }

  .directory-sort-bar p {
    text-align: left;
  }

  .buildings-hero h1 {
    font-size: 2.55rem;
  }

  .buildings-proof-ledger,
  .buildings-photo-key,
  .buildings-quote-gate ol,
  .buildings-pressure-grid,
  .buildings-note-pair,
  .buildings-document-vault ul,
  .buildings-guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .buildings-proof-ledger div,
  .buildings-proof-ledger div:first-child,
  .buildings-photo-key span,
  .buildings-photo-key span:first-child {
    padding: 10px 0;
    border-top: 1px solid var(--category-line);
    border-left: 0;
  }

  .buildings-proof-ledger div:first-child,
  .buildings-photo-key span:first-child {
    border-top: 0;
  }

  .buildings-hero-photo img {
    box-shadow: 10px 10px 0 var(--build-sand);
  }

  .buildings-photo-key {
    margin-left: 10px;
    padding: 8px 12px;
  }

  .buildings-route-studio,
  .buildings-anatomy,
  .buildings-pressure,
  .buildings-claim-lab,
  .buildings-document-vault,
  .buildings-guide-bridge {
    width: calc(100% - 20px);
    margin-bottom: 46px;
    padding: 22px 17px;
    scroll-margin-top: 66px;
  }

  .buildings-route-heading h2,
  .buildings-anatomy h2,
  .buildings-pressure-heading h2,
  .buildings-claim-intro h2,
  .buildings-document-vault h2,
  .buildings-guide-bridge h2 {
    font-size: 1.7rem;
  }

  .buildings-route-card {
    padding: 20px 18px;
  }

  .buildings-quote-gate {
    padding: 18px 15px;
  }

  .buildings-quote-gate li:nth-child(2) {
    border-top: 1px solid #c6ded3;
  }

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

  .category-directory-band--buildings-insurance .category-provider-table {
    min-width: 0;
  }

  .buildings-anatomy {
    gap: 24px;
  }

  .buildings-pressure,
  .buildings-claim-lab,
  .buildings-document-vault,
  .buildings-guide-bridge {
    gap: 22px;
  }

  .buildings-mobile-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
  }

  .category-page--buildings-insurance.is-mobile-conversion-ready .buildings-mobile-bar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .category-page--buildings-insurance.has-compare-selection .buildings-mobile-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(120%);
  }
}

/* Shared keyword search */
.topbar-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.header-site-search {
  position: relative;
  width: 270px;
  flex: 0 0 270px;
}

.header-site-search__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--white);
}

.header-site-search:focus-within .header-site-search__field {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 95, 203, 0.12);
}

.header-site-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 8px 4px 8px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
}

.header-site-search input::placeholder {
  color: #718193;
}

.header-site-search button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: var(--ink-strong);
  color: var(--white);
  cursor: pointer;
}

.header-site-search button:hover {
  background: var(--blue-dark);
}

.header-site-search button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.header-site-search__panel {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 60;
  width: min(430px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--blue);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(8, 29, 49, 0.2);
}

.header-site-search__panel[hidden] {
  display: none;
}

.header-site-search__status {
  margin: 0;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.header-site-search__results {
  max-height: min(450px, calc(100vh - 180px));
  overflow-y: auto;
}

.header-site-search__result {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.header-site-search__result:hover,
.header-site-search__result[aria-selected="true"] {
  background: var(--blue-soft);
  color: var(--ink);
}

.header-site-search__result strong {
  min-width: 0;
  color: var(--ink-strong);
  font-size: 0.82rem;
  line-height: 1.35;
}

.header-site-search__result small {
  color: var(--blue-dark);
  font-size: 0.65rem;
  font-weight: 760;
  line-height: 1.4;
  text-align: right;
}

.header-site-search__result > span {
  grid-column: 1 / -1;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.38;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-site-search__all {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  background: #eef7f2;
  color: #125d3d;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

/* Elite homepage */
.home-elite {
  --home-navy: #092338;
  --home-navy-light: #123b55;
  --home-green: #1a6d4d;
  --home-green-soft: #edf7f2;
  --home-clay: #b94e31;
  --home-sand: #f3eadc;
  --home-gold: #e8c76b;
}

.home-command {
  width: min(var(--content), calc(100% - 32px));
  margin: 22px auto 0;
  padding: 54px;
  background: var(--home-navy);
  color: var(--white);
}

.home-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
  align-items: center;
  gap: 52px;
}

.home-command .eyebrow {
  color: var(--home-gold);
}

.home-command h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--white);
  font-size: 4.65rem;
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.home-command-lead {
  max-width: 61ch;
  margin: 22px 0 0;
  color: #dce8ef;
  font-size: 1.08rem;
  line-height: 1.58;
}

.home-command-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 27px;
}

.home-command .btn.primary {
  border-color: var(--home-gold);
  background: var(--home-gold);
  color: #13283d;
}

.home-command .btn.primary:hover {
  border-color: #f3dc9c;
  background: #f3dc9c;
  color: #13283d;
}

.home-text-action {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 780;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.home-text-action:hover {
  color: var(--home-gold);
}

.home-command-assurances {
  display: grid;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.home-command-assurances li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  color: #e5edf2;
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-command-assurances li > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 199, 107, 0.55);
  border-radius: 50%;
  color: var(--home-gold);
  font-size: 0.67rem;
}

.home-command-disclosure {
  margin: 21px 0 0;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #aebfca;
  font-size: 0.72rem;
  line-height: 1.48;
}

.home-quote-launcher {
  min-width: 0;
  padding: 25px;
  border-top: 5px solid var(--blue);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 23px 56px rgba(2, 17, 30, 0.27);
}

.home-quote-launcher__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.home-quote-launcher__head p {
  margin: 0 0 2px;
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 820;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-quote-launcher__head h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.65rem;
  line-height: 1.18;
}

.home-quote-live {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #b8dfca;
  background: var(--green-soft);
  color: #145d3b;
  font-size: 0.65rem;
  font-weight: 780;
  line-height: 1.2;
}

.home-quote-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.home-quote-shortcuts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-top: 20px;
}

.home-quote-shortcuts a {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 8px 3px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.home-quote-shortcuts a:hover,
.home-quote-shortcuts a.is-selected {
  border-color: #bfd4ee;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.home-quote-shortcuts a > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9eef3;
  color: var(--ink-strong);
}

.home-quote-shortcuts a.is-selected > span {
  background: var(--blue);
  color: var(--white);
}

.home-quote-shortcuts svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-quote-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.home-quote-field {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.home-quote-field label {
  color: var(--ink-strong);
  font-size: 0.69rem;
  font-weight: 790;
}

.home-quote-field select {
  width: 100%;
  min-width: 0;
  height: 47px;
  padding: 8px 35px 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.79rem;
}

.home-quote-field--cover select {
  border-color: #8fa6bb;
  font-size: 0.88rem;
  font-weight: 720;
}

.home-quote-form__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.home-quote-submit {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 16px;
  border: 1px solid var(--blue);
  border-radius: 5px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 820;
  cursor: pointer;
}

.home-quote-submit:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.home-quote-preview {
  min-height: 1.2em;
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.home-quote-privacy {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 7px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.45;
}

.home-quote-privacy svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-command-visual {
  min-width: 0;
}

.home-command-visual figure {
  margin: 0;
}

.home-command-visual figure a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #153248;
}

.home-command-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.home-command-visual figcaption {
  margin-top: 10px;
  color: #b9c9d3;
  font-size: 0.73rem;
  line-height: 1.45;
}

.home-visual-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.home-visual-index span {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #dce8ef;
  font-size: 0.67rem;
  text-align: center;
}

.home-visual-index b {
  color: var(--home-gold);
  font-size: 0.61rem;
}

.home-proof-rail {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto 64px;
  border-right: 1px solid #c8d3dc;
  border-bottom: 1px solid #c8d3dc;
  border-left: 1px solid #c8d3dc;
  background: var(--white);
}

.home-proof-rail div {
  display: grid;
  gap: 1px;
  padding: 17px 21px;
  border-left: 1px solid #c8d3dc;
}

.home-proof-rail div:first-child {
  border-left: 0;
}

.home-proof-rail strong {
  color: var(--home-navy);
  font-size: 1.38rem;
  line-height: 1.1;
}

.home-proof-rail span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 680;
  text-transform: uppercase;
}

.home-cover-market,
.home-market-scene,
.home-situations,
.home-directory-zone,
.home-guide-shelf {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto 68px;
}

.home-cover-market {
  scroll-margin-top: 105px;
}

.home-cover-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.7fr);
  align-items: end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 24px;
}

.home-cover-heading h2,
.home-search-room h2,
.home-decision-path h2,
.home-directory-zone h2,
.home-trust-desk h2 {
  margin: 0;
  color: var(--home-navy);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.home-cover-heading > p,
.home-cover-heading > a {
  margin: 0;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.58;
}

.home-cover-heading > a {
  color: var(--blue-dark);
  font-weight: 780;
}

.elite-insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.elite-insurance-card {
  position: relative;
  min-width: 0;
  min-height: 252px;
  display: flex;
  flex-direction: column;
  padding: 21px;
  border-top: 4px solid var(--blue);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.elite-insurance-card:nth-child(4n + 2) {
  border-top-color: var(--home-clay);
}

.elite-insurance-card:nth-child(4n + 3) {
  border-top-color: var(--home-green);
}

.elite-insurance-card:nth-child(4n + 4) {
  border-top-color: #937122;
}

.elite-insurance-card:hover {
  z-index: 2;
  background: #f7fafc;
  color: var(--ink);
  transform: translateY(-3px);
}

.elite-insurance-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.elite-insurance-card__top > small {
  color: #8797a7;
  font-size: 0.65rem;
  font-weight: 800;
}

.elite-insurance-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd7e1;
  background: var(--surface);
  color: var(--home-navy-light);
}

.elite-insurance-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.elite-insurance-card__intent {
  margin-top: 18px;
  color: var(--home-clay);
  font-size: 0.65rem;
  font-weight: 820;
  text-transform: uppercase;
}

.elite-insurance-card > strong {
  margin-top: 4px;
  color: var(--home-navy);
  font-size: 1.15rem;
  line-height: 1.25;
}

.elite-insurance-card__support {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.43;
}

.elite-insurance-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.elite-insurance-card__footer b {
  color: var(--home-green);
  font-size: 0.68rem;
}

.elite-insurance-card__footer i {
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 820;
}

.home-market-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 15px;
  margin-top: 16px;
  padding: 17px 20px;
  border-left: 5px solid var(--home-green);
  background: var(--home-green-soft);
}

.home-market-note svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: var(--home-green);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-market-note strong {
  color: #14583f;
}

.home-market-note p {
  margin: 2px 0 0;
  color: #49675c;
  font-size: 0.78rem;
  line-height: 1.5;
}

.home-market-scene {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  border: 1px solid var(--line-strong);
  background: var(--white);
}

.home-market-scene figure {
  min-width: 0;
  margin: 0;
  border-right: 1px solid var(--line-strong);
  background: var(--surface);
}

.home-market-scene figure a {
  display: block;
}

.home-market-scene img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.home-market-scene figcaption {
  padding: 9px 13px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.home-market-scene__copy {
  align-self: center;
  padding: 36px;
}

.home-market-scene__copy h2 {
  max-width: 16ch;
  margin: 0;
  color: var(--home-navy);
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.home-market-scene__copy > p:not(.eyebrow) {
  color: var(--muted);
}

.home-market-scene__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.home-market-scene__links a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 9px 11px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: 0.73rem;
  font-weight: 780;
  line-height: 1.35;
  text-decoration: none;
}

.home-market-scene__links a:hover {
  background: var(--blue-soft);
}

.home-search-room {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1.22fr);
  gap: 50px;
  margin: 0 auto 68px;
  padding: 38px 42px;
  border: 1px solid #d9cdb9;
  background: var(--home-sand);
}

.home-search-room__copy > p:last-child {
  color: #5d625f;
}

.home-search-room__form {
  align-self: center;
  min-width: 0;
}

.home-search-room .content-search label {
  color: var(--home-navy);
}

.home-search-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.home-search-prompts a {
  padding: 5px 9px;
  border: 1px solid #c7b99f;
  background: rgba(255, 255, 255, 0.55);
  color: #5b4a32;
  font-size: 0.68rem;
  font-weight: 720;
  text-decoration: none;
}

.home-decision-path {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
  gap: 52px;
  margin: 0 auto 68px;
  padding: 40px;
  background: var(--home-navy);
}

.home-decision-path h2 {
  color: var(--white);
}

.home-decision-intro .eyebrow {
  color: var(--home-gold);
}

.home-decision-intro > p:last-child {
  color: #b9cad4;
}

.home-decision-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.home-decision-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.home-decision-steps li > span {
  color: var(--home-gold);
  font-size: 0.68rem;
  font-weight: 820;
}

.home-decision-steps h3 {
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.35;
}

.home-decision-steps p {
  margin: 5px 0 0;
  color: #b9cad4;
  font-size: 0.73rem;
  line-height: 1.48;
}

.home-situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.home-situation-grid a {
  min-width: 0;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
}

.home-situation-grid a:hover {
  background: var(--blue-soft);
  color: var(--ink);
}

.home-situation-grid a > span {
  color: var(--home-clay);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-situation-grid strong {
  margin-top: 5px;
  color: var(--home-navy);
  line-height: 1.35;
}

.home-situation-grid small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.home-situation-grid b {
  margin-top: auto;
  padding-top: 12px;
  color: var(--blue-dark);
  font-size: 0.7rem;
}

.home-directory-zone {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: 36px;
  padding: 36px;
  border: 1px solid var(--line-strong);
  background: #f7f9fb;
}

.home-directory-zone__intro > p:last-child {
  color: var(--muted);
}

.home-directory-zone .cover-directory {
  margin-top: 0;
  align-self: start;
}

.home-directory-zone .cover-directory-groups {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
}

.home-directory-zone .cover-directory-group > p {
  min-height: 0;
}

.home-trust-desk {
  width: min(var(--content), calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 46px;
  margin: 0 auto 68px;
  padding: 38px;
  border-left: 7px solid var(--home-clay);
  background: #fff5f1;
}

.home-trust-desk > div > p:not(.eyebrow) {
  color: #6c5d57;
}

.home-trust-desk > div > a {
  color: #8f3924;
  font-weight: 780;
}

.home-trust-desk ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid #dccac2;
  list-style: none;
}

.home-trust-desk li {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid #dccac2;
}

.home-trust-desk li > span {
  color: var(--home-clay);
  font-size: 0.67rem;
  font-weight: 820;
}

.home-trust-desk li div {
  display: grid;
  gap: 2px;
}

.home-trust-desk li strong {
  color: var(--home-navy);
  font-size: 0.83rem;
}

.home-trust-desk li a {
  font-size: 0.76rem;
}

.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.home-guide-grid a {
  min-width: 0;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 19px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
}

.home-guide-grid a:hover {
  background: var(--home-green-soft);
  color: var(--ink);
}

.home-guide-grid a > span {
  color: var(--home-green);
  font-size: 0.67rem;
  font-weight: 820;
}

.home-guide-grid strong {
  color: var(--home-navy);
  line-height: 1.35;
}

.home-guide-grid small {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .topbar {
    gap: 14px;
  }

  .primary-nav > a,
  .insurance-mega > summary {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 0.83rem;
  }

  .header-site-search {
    width: 225px;
    flex-basis: 225px;
  }
}

@media (max-width: 980px) {
  .topbar-actions {
    flex-wrap: wrap;
  }

  .header-site-search {
    width: 210px;
    flex-basis: 210px;
  }

  .insurance-mega__panel {
    position: fixed;
    top: 78px;
    right: 20px;
    left: 20px;
    width: auto;
    max-height: calc(100vh - 98px);
    overflow-y: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .insurance-mega__panel section:nth-child(3) {
    border-right: 0;
  }

  .insurance-mega__panel section:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .home-command {
    padding: 40px;
  }

  .home-command-grid,
  .home-market-scene,
  .home-search-room,
  .home-decision-path,
  .home-directory-zone,
  .home-trust-desk {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-command-visual {
    max-width: 760px;
  }

  .home-market-scene figure {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

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

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

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

@media (max-width: 720px) {
  .topbar-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-left: 0;
  }

  .header-site-search {
    width: 100%;
    flex: 0 0 auto;
    order: -1;
  }

  .header-site-search input {
    font-size: 0.86rem;
  }

  .header-site-search__panel {
    right: auto;
    left: 0;
    width: 100%;
  }

  .primary-nav {
    flex-wrap: wrap;
    overflow: visible;
  }

  .primary-nav > a {
    flex: 0 0 auto;
  }

  .insurance-mega {
    flex: 1 0 100%;
  }

  .insurance-mega > summary {
    width: 100%;
    justify-content: space-between;
    padding-right: 4px;
    padding-left: 0;
  }

  .insurance-mega__panel {
    position: static;
    width: 100%;
    max-height: none;
    margin: 4px 0 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: none;
  }

  .insurance-mega__panel section,
  .insurance-mega__panel section:nth-child(3),
  .insurance-mega__panel section:nth-child(6) {
    padding: 14px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .insurance-mega__panel section:nth-child(2n) {
    border-right: 0;
  }

  .insurance-mega__action {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .header-quote-cta {
    width: 100%;
  }

  .home-command,
  .home-proof-rail,
  .home-cover-market,
  .home-market-scene,
  .home-search-room,
  .home-decision-path,
  .home-situations,
  .home-directory-zone,
  .home-trust-desk,
  .home-guide-shelf {
    width: calc(100% - 20px);
  }

  .home-command {
    margin-top: 10px;
    padding: 28px 18px;
  }

  .home-quote-launcher {
    padding: 20px 15px;
  }

  .home-quote-launcher__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .home-quote-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-quote-form__pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-command-grid {
    gap: 31px;
  }

  .home-command h1 {
    font-size: 2.5rem;
  }

  .home-cover-heading h2,
  .home-market-scene__copy h2,
  .home-search-room h2,
  .home-decision-path h2,
  .home-directory-zone h2,
  .home-trust-desk h2 {
    font-size: 2.25rem;
  }

  .home-command-actions,
  .home-command-actions > * {
    width: 100%;
  }

  .home-text-action {
    display: block;
    padding: 5px 0;
    text-align: center;
  }

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

  .home-proof-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 48px;
  }

  .home-proof-rail div:nth-child(3) {
    border-top: 1px solid #c8d3dc;
    border-left: 0;
  }

  .home-proof-rail div:nth-child(4) {
    border-top: 1px solid #c8d3dc;
  }

  .home-cover-market,
  .home-market-scene,
  .home-search-room,
  .home-decision-path,
  .home-situations,
  .home-directory-zone,
  .home-trust-desk,
  .home-guide-shelf {
    margin-bottom: 48px;
  }

  .home-cover-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .elite-insurance-grid,
  .home-situation-grid,
  .home-decision-steps,
  .home-guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .elite-insurance-card {
    min-height: 0;
  }

  .home-market-note {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 15px;
  }

  .home-market-note svg {
    width: 29px;
    height: 29px;
  }

  .home-market-scene__copy {
    padding: 24px 17px;
  }

  .home-market-scene__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketplace-progress {
    width: calc(100% - 20px);
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }

  .marketplace-progress a {
    flex: 0 0 min(220px, 82vw);
    scroll-snap-align: start;
  }

  .quote-match-receipt {
    width: calc(100% - 20px);
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    padding: 15px;
  }

  .quote-match-receipt > p,
  .quote-match-receipt > a {
    grid-column: 1;
    grid-row: auto;
    margin: 0;
  }

  .home-search-room,
  .home-decision-path,
  .home-directory-zone,
  .home-trust-desk {
    gap: 25px;
    padding: 24px 17px;
  }

  .home-search-room .search-control {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-search-suggestions__results {
    max-height: 350px;
  }

  .content-search-suggestions .header-site-search__result {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    padding: 12px;
  }

  .content-search-suggestions .header-site-search__result small {
    text-align: left;
  }

  .content-search-suggestions .header-site-search__result > span {
    white-space: normal;
  }

  .home-decision-steps li,
  .home-decision-steps li:nth-child(2) {
    border-top: 0;
  }

  .home-situation-grid a,
  .home-guide-grid a {
    min-height: 0;
  }

  .home-directory-zone .cover-directory-panel {
    padding: 18px;
  }
}

@media (max-width: 340px) {
  .primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .primary-nav > a,
  .insurance-mega > summary {
    justify-content: center;
    margin-right: 0;
    padding-right: 5px;
    padding-left: 5px;
    text-align: center;
  }

  .insurance-mega {
    grid-column: 1 / -1;
  }

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

  .insurance-mega__panel section,
  .insurance-mega__panel section:nth-child(2n) {
    border-right: 0;
  }

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

  .home-command h1 {
    font-size: 2.25rem;
  }

  .home-cover-heading h2,
  .home-market-scene__copy h2,
  .home-search-room h2,
  .home-decision-path h2,
  .home-directory-zone h2,
  .home-trust-desk h2 {
    font-size: 2rem;
  }

  .buildings-hero h1 {
    font-size: 2.25rem;
  }
}

/* Hash targets align beneath the measured site header and the sticky jump rail. */
main .content-page [id] {
  scroll-margin-top: 0;
}
