:root {
  --bg: #f4f7f3;
  --surface: #ffffff;
  --surface-2: #e8f0e8;
  --ink: #10211b;
  --muted: #53635c;
  --line: rgba(16, 33, 27, 0.13);
  --accent: #2f6f4e;
  --accent-2: #d9f06f;
  --dark: #10211b;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 70px rgba(29, 55, 43, 0.14);
  --container: min(1180px, calc(100vw - 40px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% -10%, rgba(217, 240, 111, 0.34), transparent 30rem),
    linear-gradient(180deg, #fbfcf8 0%, var(--bg) 42%, #eef4ee 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.035;
  background-image:
    linear-gradient(90deg, var(--ink) 1px, transparent 1px),
    linear-gradient(180deg, var(--ink) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid rgba(47, 111, 78, 0.45);
  outline-offset: 4px;
  border-radius: 10px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--dark);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 0;
}

.site-header__inner {
  width: var(--container);
  min-height: 66px;
  margin: 0 auto;
  padding: 9px 10px 9px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(16, 33, 27, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 38px rgba(16, 33, 27, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand__text {
  font-size: clamp(17px, 1.9vw, 22px);
}

.custom-logo {
  max-width: 220px;
  max-height: 46px;
  object-fit: contain;
}

.primary-nav {
  justify-self: center;
}

.aib-menu,
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aib-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
}

.aib-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: rgba(16, 33, 27, 0.74);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 240ms cubic-bezier(0.16, 1, 0.3, 1), transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.aib-menu a:hover,
.current-menu-item > a {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-cta,
.button,
.mobile-nav__cta,
.wp-block-button__link,
.stk-button,
.cta-btn,
.readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(16, 33, 27, 0.18);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), background 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover,
.button:hover,
.mobile-nav__cta:hover,
.wp-block-button__link:hover,
.stk-button:hover,
.cta-btn:hover {
  transform: translateY(-2px);
  background: #17382b;
  box-shadow: 0 20px 42px rgba(16, 33, 27, 0.22);
}

.nav-cta:active,
.button:active,
.mobile-nav__cta:active,
.wp-block-button__link:active,
.stk-button:active,
.cta-btn:active {
  transform: translateY(1px) scale(0.99);
}

.button--secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button--light {
  background: var(--accent-2);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-toggle span:first-child {
  top: 18px;
}

.nav-toggle span:last-child {
  top: 26px;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.site-main {
  min-height: 70vh;
}

.page-shell,
.single-shell,
.archive-shell,
.not-found {
  width: var(--container);
  margin: 0 auto;
}

.page-hero,
.single-hero {
  min-height: clamp(430px, 64svh, 720px);
  padding: clamp(74px, 8vw, 116px) 0 clamp(44px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

body.page-slug-home .entry-content > .hero:first-child,
body.home .entry-content > .hero:first-child {
  min-height: calc(100svh - 94px);
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: clamp(72px, 8vw, 108px) max(20px, calc((100vw - 1180px) / 2)) clamp(54px, 7vw, 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  background:
    radial-gradient(circle at 72% 22%, rgba(217, 240, 111, 0.22), transparent 26rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 247, 243, 0));
  color: var(--ink);
}

body.page-slug-home .entry-content > .hero:first-child::after,
body.home .entry-content > .hero:first-child::after {
  content: "";
  width: 100%;
  min-height: clamp(320px, 42vw, 520px);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(180deg, rgba(16, 33, 27, 0.06), rgba(16, 33, 27, 0.22)),
    url("https://autoinsurancebridge.com/wp-content/uploads/2026/02/how-to-check-vehicle-insurance-policy-status1-1200x675-1.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

body.page:not(.page-slug-home) .entry-content > .hero:first-child {
  width: 100vw;
  max-width: none;
  min-height: calc(100svh - 94px);
  margin-left: calc(50% - 50vw);
  padding: clamp(72px, 8vw, 108px) max(20px, calc((100vw - 1180px) / 2)) clamp(54px, 7vw, 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  background:
    radial-gradient(circle at 72% 22%, rgba(217, 240, 111, 0.22), transparent 26rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 247, 243, 0));
}

body.page:not(.page-slug-home) .entry-content > .hero:first-child::after {
  content: "";
  width: 100%;
  min-height: clamp(320px, 42vw, 520px);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(180deg, rgba(16, 33, 27, 0.08), rgba(16, 33, 27, 0.28)),
    url("https://autoinsurancebridge.com/wp-content/uploads/2026/02/how-to-check-vehicle-insurance-policy-status1-1200x675-1.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

body.page.page-slug-car-insurance-quotes .entry-content > .hero:first-child::after,
body.page.page-slug-cheap-car-insurance .entry-content > .hero:first-child::after {
  background:
    linear-gradient(180deg, rgba(16, 33, 27, 0.04), rgba(16, 33, 27, 0.2)),
    url("https://autoinsurancebridge.com/wp-content/uploads/2026/02/istockphoto-1456102192-612x612-1.jpg") center / cover no-repeat !important;
}

body.page.page-slug-car-insurance-bad-credit .entry-content > .hero:first-child::after,
body.page.page-slug-high-risk-car-insurance .entry-content > .hero:first-child::after {
  background:
    linear-gradient(180deg, rgba(16, 33, 27, 0.06), rgba(16, 33, 27, 0.24)),
    url("https://autoinsurancebridge.com/wp-content/uploads/2026/02/user_4.jpeg") center / cover no-repeat !important;
}

body.page.page-slug-no-license-car-insurance .entry-content > .hero:first-child::after,
body.page.page-slug-non-owner-car-insurance .entry-content > .hero:first-child::after {
  background:
    linear-gradient(180deg, rgba(16, 33, 27, 0.06), rgba(16, 33, 27, 0.24)),
    url("https://autoinsurancebridge.com/wp-content/uploads/2026/02/user_6.jpeg") center / cover no-repeat !important;
}

body.page-slug-home .entry-content > .hero:first-child .container,
body.home .entry-content > .hero:first-child .container,
body.page:not(.page-slug-home) .entry-content > .hero:first-child .container {
  max-width: 820px;
  margin: 0;
}

body.page-slug-home .entry-content > .hero:first-child .has-text-align-center,
body.page-slug-home .entry-content > .hero:first-child .stk-block-content,
body.home .entry-content > .hero:first-child .has-text-align-center,
body.home .entry-content > .hero:first-child .stk-block-content,
body.page:not(.page-slug-home) .entry-content > .hero:first-child .has-text-align-center,
body.page:not(.page-slug-home) .entry-content > .hero:first-child .stk-block-content {
  text-align: left;
  justify-content: flex-start;
}

.entry-content > .hero:first-child h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.entry-content > .hero:first-child p {
  max-width: 680px;
  margin-top: 20px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

body.page-slug-home .entry-content > .hero:first-child h1,
body.home .entry-content > .hero:first-child h1,
.page-hero h1,
.single-hero h1,
.not-found h1,
.archive-shell h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.page-hero h1,
.single-hero h1,
.archive-shell h1,
.not-found h1 {
  max-width: 820px;
}

.page-hero__copy > p:not(.kicker),
.single-hero p,
body.page-slug-home .entry-content > .hero:first-child p,
body.home .entry-content > .hero:first-child p,
.not-found p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(16, 33, 27, 0.68);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
  text-wrap: pretty;
}

body.page-slug-home .entry-content > .hero:first-child h1,
body.home .entry-content > .hero:first-child h1,
body.page-slug-home .entry-content > .hero:first-child p,
body.home .entry-content > .hero:first-child p {
  color: var(--ink);
}

.kicker,
.meta,
.resource-card > span {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-panel {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.quote-panel span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quote-panel strong {
  display: block;
  margin-bottom: 24px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.entry-content {
  margin: 0 auto;
  padding-bottom: clamp(64px, 10vw, 128px);
}

.entry-content > * {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignwide,
.entry-content > .section-pad,
.entry-content > .wp-block-group,
.entry-content > .partners,
.entry-content > .benefits,
.entry-content > .steps,
.entry-content > .faq,
.entry-content > .cta-band,
.entry-content > .states,
.entry-content > .articles {
  max-width: none;
}

.entry-content h2 {
  margin: clamp(54px, 8vw, 96px) auto 18px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.entry-content h3 {
  margin: 30px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.entry-content p,
.entry-content li {
  color: rgba(16, 33, 27, 0.72);
  text-wrap: pretty;
}

.entry-content p {
  max-width: 68ch;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.2em;
}

.entry-content a:not(.button):not(.wp-block-button__link):not(.resource-card):not(.article-card a) {
  color: #1f6847;
  font-weight: 700;
}

.section-pad,
.wp-block-group.section-pad,
.benefits,
.steps,
.faq,
.states,
.articles,
.partners,
.categories,
.cta-band {
  padding: clamp(64px, 9vw, 120px) 0;
}

.container,
.entry-content > .wp-block-group > .wp-block-group__inner-container {
  width: var(--container);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.benefit-grid,
.step-grid,
.category-grid,
.cov-grid,
.resource-grid,
.article-grid,
.testimonial-grid {
  width: var(--container);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-grid,
.cov-grid {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.card,
.benefit-card,
.step,
.category-card,
.resource-card,
.article-card,
.testimonial,
.company,
.state-chip {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(16, 33, 27, 0.08);
}

.card,
.benefit-card,
.step,
.category-card,
.resource-card,
.testimonial {
  padding: clamp(22px, 3vw, 34px);
}

.benefit-card:first-child,
.resource-card:nth-child(5n + 1),
.category-card:first-child {
  background: var(--dark);
  color: #fff;
}

.benefit-card:first-child p,
.resource-card:nth-child(5n + 1) p,
.category-card:first-child p {
  color: rgba(255, 255, 255, 0.74);
}

.resource-card,
.article-card a,
.company,
.state-chip {
  display: block;
  color: inherit;
  text-decoration: none;
}

.resource-card img,
.article-card img,
.company img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
  margin-bottom: 18px;
  background: var(--surface-2);
}

.resource-card h3,
.article-card h2,
.article-card h3 {
  margin: 0 0 12px;
}

.resource-card strong,
.article-card span,
.readmore {
  margin-top: 18px;
}

.article-card {
  overflow: hidden;
  padding: 0;
}

.article-card__body {
  padding: 24px;
}

.article-card .meta {
  margin-bottom: 12px;
}

.states-grid,
.companies {
  width: var(--container);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.state-chip {
  padding: 16px 18px;
  font-weight: 800;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.state-chip:hover {
  transform: translateY(-2px);
  background: var(--accent-2);
}

.cta-band-inner,
.horizontal-band {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: center;
  border-radius: calc(var(--radius) + 8px);
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band-inner p,
.horizontal-band p {
  color: rgba(255, 255, 255, 0.74);
}

.faq-wrap {
  width: min(880px, calc(100vw - 40px));
  margin: 34px auto 0;
}

.faq-wrap details,
.wp-block-details {
  margin: 12px 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.faq-wrap summary,
.wp-block-details summary {
  cursor: pointer;
  font-weight: 850;
}

.discount-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px auto;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.discount-panel label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.discount-panel input {
  margin-top: 6px;
  accent-color: var(--accent);
}

.discount-panel strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.discount-panel .button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
}

.wpcf7 form,
.quote-form {
  max-width: 760px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.wpcf7 label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 33, 27, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.wpcf7 input[type="submit"] {
  width: auto;
  min-width: 180px;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 900;
}

.single-hero__image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.entry-content--article {
  max-width: 820px;
}

.archive-shell,
.not-found {
  padding: clamp(86px, 12vw, 150px) 0;
}

.archive-shell__intro,
.not-found {
  max-width: 780px;
}

.site-footer {
  margin-top: clamp(40px, 7vw, 90px);
  padding: clamp(42px, 7vw, 76px) 0 26px;
  background: var(--dark);
  color: #fff;
}

.site-footer__grid,
.site-footer__bottom {
  width: var(--container);
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr) minmax(180px, 0.45fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand__mark {
  background: var(--accent-2);
  color: var(--ink);
}

.footer-cta {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.footer-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.footer-menu {
  display: grid;
  gap: 10px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 700;
}

.site-footer__bottom {
  margin-top: 48px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.empty-note {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

/* Custom CRO homepage. */
.aib-home {
  width: 100%;
}

.aib-home section {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 126px) 0;
}

.aib-home__hero {
  min-height: min(780px, calc(100svh - 94px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.55fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  padding-top: clamp(38px, 5vw, 70px);
}

.aib-home__hero h1,
.aib-home h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.07em;
  line-height: 0.96;
  text-wrap: balance;
}

.aib-home__hero h1 {
  font-size: clamp(48px, 7vw, 92px);
}

.aib-home h2 {
  max-width: 820px;
  font-size: clamp(36px, 5vw, 66px);
}

.aib-home__lead,
.aib-home__intro p,
.aib-home__copy p {
  max-width: 68ch;
  color: rgba(16, 33, 27, 0.7);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.aib-home__lead {
  margin: 24px 0 0;
}

.aib-home__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.aib-home__note {
  color: rgba(16, 33, 27, 0.62);
  font-size: 15px;
  font-weight: 750;
}

.aib-home__visual {
  display: grid;
  gap: 18px;
}

.aib-home__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius) + 10px);
  box-shadow: var(--shadow);
}

.aib-home__quote-card {
  margin-top: -72px;
  margin-left: -56px;
  width: min(340px, 86%);
  padding: 22px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  box-shadow: 0 24px 64px rgba(16, 33, 27, 0.22);
}

.aib-home__quote-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.aib-home__quote-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
}

.aib-home__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.aib-home__proof {
  display: grid;
  gap: 14px;
}

.aib-home__proof article,
.aib-home__card,
.aib-home__step,
.aib-home__guide,
.aib-home__faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(16, 33, 27, 0.08);
}

.aib-home__proof article {
  padding: 22px;
}

.aib-home__proof strong,
.aib-home__card strong,
.aib-home__step strong,
.aib-home__guide strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.aib-home__proof p,
.aib-home__card p,
.aib-home__step p,
.aib-home__guide p {
  margin: 9px 0 0;
  color: rgba(16, 33, 27, 0.68);
  font-size: 15px;
  line-height: 1.5;
}

.aib-home__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.aib-home__step {
  padding: 28px;
}

.aib-home__step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.aib-home__situations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.aib-home__card {
  min-height: 230px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.aib-home__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(16, 33, 27, 0.14);
}

.aib-home__card:first-child {
  background: var(--dark);
}

.aib-home__card:first-child strong,
.aib-home__card:first-child p {
  color: #fff;
}

.aib-home__card em {
  margin-top: auto;
  color: var(--accent);
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
}

.aib-home__card:first-child em {
  color: var(--accent-2);
}

.aib-home__split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.65fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.aib-home__panel {
  padding: clamp(28px, 5vw, 54px);
  border-radius: calc(var(--radius) + 8px);
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.aib-home__panel h2,
.aib-home__panel p {
  color: #fff;
}

.aib-home__panel p {
  color: rgba(255, 255, 255, 0.76);
}

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

.aib-home__logos img {
  width: 100%;
  height: 92px;
  padding: 20px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.76);
}

.aib-home__guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.aib-home__guide {
  overflow: hidden;
  text-decoration: none;
  min-height: 220px;
  padding: 26px;
  display: flex;
  align-items: flex-end;
  position: relative;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 240, 111, 0.34), transparent 11rem),
    rgba(255, 255, 255, 0.78);
}

.aib-home__guide::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(16, 33, 27, 0.08);
}

.aib-home__guide div {
  padding: 0;
  position: relative;
  z-index: 1;
}

.aib-home__guide-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aib-home__faq {
  max-width: 860px;
}

.aib-home__faq details {
  padding: 20px 22px;
  margin-top: 12px;
}

.aib-home__faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

.aib-home__faq p {
  margin: 12px 0 0;
  color: rgba(16, 33, 27, 0.68);
}

.aib-home__final {
  padding: clamp(38px, 6vw, 64px) !important;
  border-radius: calc(var(--radius) + 10px);
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.aib-home__final h2,
.aib-home__final p {
  color: #fff;
}

.aib-home__final p {
  color: rgba(255, 255, 255, 0.76);
}

.aib-home__final .button--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.aib-home__final .button--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Repair layer for migrated Gutenberg group wrappers. */
.entry-content .wp-block-group:is(.step-grid, .category-grid, .benefit-grid, .benefit-left, .cov-grid) {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: min(1180px, calc(100vw - 40px)) !important;
  margin: 34px auto 0 !important;
}

.entry-content .wp-block-group:is(.step-grid, .category-grid, .benefit-grid, .benefit-left, .cov-grid) > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  gap: 18px;
  align-items: stretch;
}

.entry-content .wp-block-group.step-grid > .wp-block-group__inner-container {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.entry-content .wp-block-group.category-grid > .wp-block-group__inner-container {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.entry-content .wp-block-group:is(.benefit-grid, .benefit-left) > .wp-block-group__inner-container {
  grid-template-columns: repeat(4, minmax(190px, 1fr));
}

.entry-content .wp-block-group.cov-grid > .wp-block-group__inner-container {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.entry-content .wp-block-group:is(.step-grid, .category-grid, .benefit-grid, .benefit-left, .cov-grid) > .wp-block-group__inner-container > * {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
}

.entry-content :is(.card, .benefit-card, .category-card, .step, .resource-card) :is(h3, .stk-block-heading__text) {
  margin: 0 0 10px !important;
  font-size: clamp(18px, 1.55vw, 24px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
}

.entry-content :is(.card, .benefit-card, .category-card, .step, .resource-card) :is(p, .stk-block-text__text) {
  max-width: none;
  font-size: 15px !important;
  line-height: 1.5 !important;
  text-wrap: pretty;
}

.entry-content :is(.card-title, .category-top) :is(p, .stk-block-text__text) {
  color: var(--ink);
  font-size: 18px !important;
  font-weight: 850;
  line-height: 1.15 !important;
}

.entry-content .step-number :is(p, .stk-block-text__text) {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
  font-size: 13px !important;
  font-weight: 900;
}

.entry-content :is(.benefit-card:first-child, .category-card:first-child) :is(h3, p, .stk-block-heading__text, .stk-block-text__text) {
  color: #fff !important;
}

.entry-content :is(.benefit-card:first-child, .category-card:first-child) .step-number :is(p, .stk-block-text__text) {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-2) !important;
}

.entry-content .section-title,
.entry-content .section-subtitle,
.entry-content .stk-block.section-title,
.entry-content .stk-block.section-subtitle {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-content .section-subtitle p,
.entry-content .section-subtitle .stk-block-text__text {
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
  color: rgba(16, 33, 27, 0.62);
}

.entry-content .articles .article-grid,
.entry-content .article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: min(880px, var(--container));
}

.entry-content .testimonial-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.entry-content .testimonial {
  min-height: 210px;
}

.entry-content .testimonial img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 0 18px;
}

.entry-content .testimonial blockquote {
  margin: 0 0 16px;
  color: rgba(16, 33, 27, 0.74);
  font-size: 15px;
  line-height: 1.45;
}

.entry-content .testimonial figcaption {
  color: var(--ink);
  font-weight: 850;
}

.entry-content .partners-slider.wp-block-gallery {
  width: var(--container);
  max-width: 900px !important;
  margin: 34px auto 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px !important;
  align-items: center;
}

.entry-content .partners-slider.wp-block-gallery figure {
  width: auto !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center;
  padding: 18px 22px;
  min-height: 98px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.entry-content .partners-slider.wp-block-gallery img {
  max-width: 180px !important;
  max-height: 62px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.entry-content :is(.cta-band-inner, .horizontal-band) :is(h2, h3, p, .stk-block-heading__text, .stk-block-text__text) {
  color: #fff !important;
}

.entry-content :is(.cta-band-inner, .horizontal-band) p,
.entry-content :is(.cta-band-inner, .horizontal-band) .stk-block-text__text {
  color: rgba(255, 255, 255, 0.76) !important;
}

@media (prefers-reduced-motion: no-preference) {
  .entry-content > .wp-block-group,
  .page-hero,
  .single-hero,
  .article-card,
  .resource-card {
    animation: aib-rise 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes aib-rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1060px) {
  .primary-nav,
  .nav-cta {
    display: none;
  }

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

  .nav-toggle {
    display: block;
    grid-column: 3;
  }

  .mobile-nav {
    width: var(--container);
    margin: 10px auto 0;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-open .mobile-nav {
    display: block;
  }

  .mobile-nav .aib-menu {
    display: grid;
    justify-content: stretch;
    gap: 4px;
  }

  .mobile-nav .aib-menu a {
    min-height: 44px;
  }

  .mobile-nav__cta {
    width: 100%;
    margin-top: 12px;
  }

  .page-hero,
  .single-hero,
  .site-footer__grid,
  .cta-band-inner,
  .horizontal-band {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding: 10px 0;
  }

  .site-header__inner {
    min-height: 58px;
    padding-left: 10px;
  }

  .brand__text {
    font-size: 16px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .page-hero,
  .single-hero {
    min-height: auto;
    padding: 54px 0 38px;
  }

  body.page-slug-home .entry-content > .hero:first-child,
  body.home .entry-content > .hero:first-child,
  body.page:not(.page-slug-home) .entry-content > .hero:first-child {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 68px 20px 48px;
  }

  body.page-slug-home .entry-content > .hero:first-child::after,
  body.home .entry-content > .hero:first-child::after,
  body.page:not(.page-slug-home) .entry-content > .hero:first-child::after {
    display: none;
  }

  body.page-slug-home .entry-content > .hero:first-child h1,
  body.home .entry-content > .hero:first-child h1,
  .page-hero h1,
  .single-hero h1,
  .not-found h1,
  .archive-shell h1 {
    font-size: clamp(38px, 12vw, 58px);
    line-height: 0.98;
  }

  .aib-home section {
    width: min(100vw - 28px, 1180px);
    padding: 54px 0;
  }

  .aib-home__hero,
  .aib-home__intro,
  .aib-home__split,
  .aib-home__steps,
  .aib-home__situations,
  .aib-home__logos,
  .aib-home__guides {
    grid-template-columns: 1fr;
  }

  .aib-home__hero {
    min-height: auto;
    padding-top: 70px;
  }

  .aib-home__hero h1,
  .aib-home h2 {
    font-size: clamp(38px, 11vw, 58px);
    line-height: 0.98;
  }

  .aib-home__lead,
  .aib-home__intro p,
  .aib-home__copy p {
    font-size: 18px;
  }

  .aib-home__visual {
    display: none;
  }

  .aib-home__steps,
  .aib-home__situations,
  .aib-home__guides {
    gap: 14px;
  }

  .aib-home__step,
  .aib-home__card {
    min-height: auto;
    padding: 22px;
  }

  .aib-home__logos {
    grid-template-columns: 1fr 1fr;
  }

  .aib-home__final {
    padding: 28px !important;
  }

  .benefit-grid,
  .step-grid,
  .category-grid,
  .cov-grid,
  .resource-grid,
  .article-grid,
  .testimonial-grid,
  .states-grid,
  .companies,
  .discount-panel {
    grid-template-columns: 1fr;
  }

  .entry-content .wp-block-group:is(.step-grid, .category-grid, .benefit-grid, .benefit-left, .cov-grid) > .wp-block-group__inner-container,
  .entry-content .article-grid,
  .entry-content .testimonial-grid,
  .entry-content .partners-slider.wp-block-gallery {
    grid-template-columns: 1fr !important;
  }

  .entry-content .partners-slider.wp-block-gallery {
    max-width: min(330px, var(--container)) !important;
  }

  .section-pad,
  .wp-block-group.section-pad,
  .benefits,
  .steps,
  .faq,
  .states,
  .articles,
  .partners,
  .categories,
  .cta-band {
    padding: 54px 0;
  }

  .site-footer__bottom {
    display: grid;
  }
}
