/**
 * Homepage extra sections: Dealers hide the truth, Report + Translation, Pricing.
 * All selectors are prefixed .cas- so nothing leaks into the rest of the theme.
 * Markup: template-parts/home-dealers-truth.php, home-report-translation.php, home-pricing.php
 *
 * Accessibility notes
 *  - Text colours were checked against WCAG 2.1 AA (4.5:1 text, 3:1 UI components).
 *  - The theme has a global `a:focus { outline: none }`; focus rings are restored here.
 *  - Motion is disabled for visitors who prefer reduced motion.
 */

.cas-section {
  --cas-navy: #1c1c45;
  --cas-navy-2: #24235a;
  --cas-amber: #ffa521;
  --cas-amber-hover: #f29a12;
  --cas-grey: #6e6c90;          /* 4.99:1 on white, 4.65:1 on #f5f7fa */
  --cas-light: #f5f7fa;
  --cas-line: #ecedf3;
  --cas-line-strong: #c4c6d8;
  --cas-red: #b42727;           /* 6.44:1 on white */
  --cas-on-dark: #d6d6e6;       /* 11.2:1 on navy */
  --cas-on-dark-2: #b9b8d6;     /* 8.4:1 on navy */
  --cas-gold: #ffc266;          /* 10.1:1 on navy */
  --cas-radius: 8px;
  position: relative;
  color: var(--cas-navy);
  padding: 64px 0;
  scroll-margin-top: 100px;
}
@media (min-width: 992px) {
  .cas-section { padding: 96px 0; }
}

/* Screen-reader-only text */
.cas-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus rings (WCAG 2.4.7). Dark surfaces get a light ring. */
.cas-section a:focus-visible,
.cas-section button:focus-visible,
.cas-section [tabindex]:focus-visible {
  outline: 3px solid var(--cas-navy);
  outline-offset: 3px;
  border-radius: 4px;
}
.cas-feature a:focus-visible,
.cas-compare__col--sheet a:focus-visible {
  outline-color: #fff;
}

/* Shared type */
.cas-section p { margin: 0; }
.cas-h2 {
  margin: 0;
  font-size: var(--cas-fs-h2, clamp(1.625rem, 1.05rem + 2.2vw, 2.75rem));
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.cas-h2--light { color: #fff; }
.cas-h3 {
  margin: 16px 0 0;
  font-size: var(--cas-fs-h3-lg, clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem));
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.cas-lead,
.cas-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--cas-grey);
  text-wrap: pretty;
}
.cas-body { margin-top: 16px !important; max-width: 500px; }

/* Buttons & links */
.cas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--cas-navy);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.cas-btn--amber { background: var(--cas-amber); }
.cas-btn--amber:hover { background: var(--cas-amber-hover); color: var(--cas-navy); }
.cas-btn--outline { border-color: var(--cas-navy); background: transparent; }
.cas-btn--outline:hover { background: var(--cas-navy); color: #fff; }
.cas-btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.cas-btn--block { width: 100%; }

.cas-link-arrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--cas-navy);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.cas-link-arrow:hover { color: var(--cas-navy); text-decoration-thickness: 2px; }
.cas-link-arrow--light { color: #fff; font-weight: 500; font-size: 15.5px; }
.cas-link-arrow--light:hover { color: var(--cas-amber); }

/* ───────────────────────── Dealers hide the truth ───────────────────────── */
.cas-dealers { background: #fff; }
.cas-dealers__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 64px;
}
.cas-dealers__head .cas-h2 { max-width: 660px; }
.cas-dealers__head .cas-lead { max-width: 420px; }

.cas-tabs {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}
.cas-tabs__list {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cas-tabs__panels {
  flex: 3 1 560px;
  min-width: 0;
}

.cas-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  padding: 14px 18px;
  text-align: left;
  font: inherit;
  color: var(--cas-navy);
  background: #fff;
  border: 1px solid var(--cas-line-strong);
  border-radius: var(--cas-radius);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.cas-tab:hover { background: var(--cas-light); }
.cas-tab[aria-selected="true"] {
  border-color: var(--cas-navy);
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 28, 69, 0.1);
}
.cas-tab__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--cas-radius);
  background: var(--cas-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cas-tab[aria-selected="true"] .cas-tab__icon { background: #ffebcc; }
.cas-tab__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cas-tab__title { font-size: 16px; font-weight: 600; }
.cas-tab__sub { font-size: 13.5px; color: var(--cas-grey); }
.cas-tab__num { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--cas-grey); }

/* Panels */
.cas-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cas-line-strong);
  border-radius: var(--cas-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(28, 28, 69, 0.08);
}
.cas-panel[hidden] { display: none; }
.cas-panel__title { display: none; }   /* shown only without JavaScript */

.cas-compare {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.cas-compare__col {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 576px) {
  .cas-compare__col { padding: 30px 32px; }
}
.cas-compare__col--dealer { background: var(--cas-light); }
.cas-compare__col--sheet { background: var(--cas-navy); color: #fff; }

.cas-compare__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cas-grey);
}
.cas-compare__col--sheet .cas-compare__label { color: var(--cas-gold); }

.cas-compare__quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.3;
  font-weight: 600;
  text-wrap: pretty;
}

.cas-rows {
  margin: auto 0 0;
  border-top: 1px solid var(--cas-line-strong);
}
.cas-compare__col--sheet .cas-rows { border-top-color: rgba(255, 255, 255, 0.2); }
.cas-rows__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cas-line-strong);
  font-size: 14.5px;
}
.cas-compare__col--sheet .cas-rows__row { border-bottom-color: rgba(255, 255, 255, 0.2); }
.cas-rows dt { margin: 0; font-weight: 400; color: var(--cas-grey); }
.cas-rows dd { margin: 0; font-weight: 600; text-align: right; }
.cas-compare__col--sheet .cas-rows dt { color: var(--cas-on-dark-2); }
.cas-compare__col--sheet .cas-rows dd { color: var(--cas-gold); }
.cas-rows del {
  text-decoration: line-through;
  text-decoration-color: #d23b3b;
  text-decoration-thickness: 2px;
}

.cas-verdict {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px 24px;
  background: #fff3e0;
}
@media (min-width: 576px) {
  .cas-verdict { padding: 18px 32px; }
}
.cas-verdict__text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.45;
}
.cas-verdict__badge {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cas-navy);
  color: #fff;
  padding: 5px 9px;
  border-radius: 4px;
}

/* Real case */
.cas-case {
  margin-top: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 72px;
  align-items: center;
}
@media (min-width: 992px) {
  .cas-case { margin-top: 96px; }
}
.cas-case__copy { flex: 1 1 420px; }
.cas-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.cas-eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cas-navy); }
.cas-checks {
  list-style: none;
  margin: 26px 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cas-checks li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; }
.cas-checks img { flex: none; width: 20px; height: auto; }

.cas-report {
  flex: 1 1 420px;
  max-width: 540px;
  margin: 0;
  border-radius: var(--cas-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--cas-line-strong);
  box-shadow: 0 20px 54px rgba(28, 28, 69, 0.12);
}
.cas-report__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: var(--cas-navy);
  color: #fff;
}
.cas-report__bar img { border-radius: 4px; }
.cas-report__bar-text { flex: 1; min-width: 0; }
.cas-report__bar-title { font-size: 15px; font-weight: 600; }
.cas-report__bar-sub { font-size: 13px; color: var(--cas-on-dark-2); }
.cas-report__status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.cas-report__dot { width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; }
.cas-report__body { padding: 22px 24px 10px; }
.cas-report__vehicle { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cas-report__model { font-size: 21px; font-weight: 600; }
.cas-report__chassis,
.cas-sheet__chassis {
  margin-top: 4px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--cas-grey);
}
.cas-report__grade {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: var(--cas-radius);
  background: #fdecec;
  border: 1px solid #e8b4b4;
  color: var(--cas-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cas-report__grade-letter { font-size: 24px; font-weight: 700; line-height: 1; }
.cas-report__grade-label { margin-top: 3px; font-size: 10.5px; letter-spacing: 0.08em; }
.cas-report__kicker {
  margin-top: 24px !important;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cas-grey);
}
.cas-meter { margin-top: 12px; display: flex; flex-direction: column; gap: 14px; }
.cas-meter__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.cas-meter__label { color: var(--cas-grey); }
.cas-meter__value { font-weight: 600; }
.cas-meter__track { margin-top: 6px; height: 12px; display: flex; gap: 3px; }
.cas-meter__fill--full { flex: 1; border-radius: 4px; background: var(--cas-navy); }
.cas-meter__fill--part { width: 45%; border-radius: 4px 0 0 4px; background: #ffd08a; }
.cas-meter__gap {
  flex: 1;
  border-radius: 0 4px 4px 0;
  border: 1.5px dashed #d23b3b;
  background: #fdf1f1;
}
.cas-meter__missing {
  margin-top: 6px !important;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: var(--cas-red);
}
.cas-findings { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--cas-line); }
.cas-findings li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--cas-line);
}
.cas-findings li:last-child { border-bottom: 0; }
.cas-findings__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fdecec;
  color: var(--cas-red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cas-findings__title { font-size: 15px; font-weight: 600; }
.cas-findings__desc { margin-top: 2px !important; font-size: 14px; line-height: 1.5; color: var(--cas-grey); }

/* ───────────────────────── Report + Translation ───────────────────────── */
.cas-feature { background: var(--cas-navy); overflow: hidden; }
.cas-feature__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 72px;
  align-items: center;
}
.cas-feature__copy { flex: 1 1 480px; }
.cas-feature__text {
  margin-top: 22px !important;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--cas-on-dark);
  text-wrap: pretty;
}
.cas-feature__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.cas-sheet {
  flex: 1 1 420px;
  max-width: 520px;
  margin: 0;
  padding: 24px 22px 26px;
  color: #fff;
  background: var(--cas-navy-2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--cas-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
@media (min-width: 576px) {
  .cas-sheet { padding: 24px 26px 26px; }
}
.cas-sheet__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.cas-sheet__bar img { border-radius: 4px; }
.cas-sheet__bar-title { font-size: 15px; font-weight: 600; }
.cas-sheet__bar-sub { font-size: 13px; color: var(--cas-on-dark-2); }
.cas-sheet__vehicle {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cas-sheet__model { font-size: 20px; font-weight: 600; }
.cas-sheet .cas-sheet__chassis { color: var(--cas-on-dark-2); }
.cas-sheet__grade {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--cas-radius);
  background: rgba(255, 194, 102, 0.12);
  border: 1px solid rgba(255, 194, 102, 0.4);
}
.cas-sheet__grade-num { font-size: 30px; font-weight: 700; line-height: 1; color: var(--cas-gold); }
.cas-sheet__grade-label { font-size: 11.5px; line-height: 1.35; letter-spacing: 0.06em; color: #ffd9a0; }

.cas-translation { width: 100%; margin-top: 20px; border-collapse: collapse; }
.cas-translation th,
.cas-translation td {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  vertical-align: top;
  text-align: left;
  font-size: 14.5px;
}
.cas-translation th {
  width: 42%;
  padding-right: 16px;
  font-weight: 400;
  font-size: 13.5px;
  color: var(--cas-on-dark-2);
}
.cas-translation strong { color: var(--cas-gold); font-weight: 700; }

/* ───────────────────────── Pricing ───────────────────────── */
.cas-pricing { background: #fff; }
.cas-pricing__head { text-align: center; max-width: 760px; margin: 0 auto; }
.cas-pricing__head .cas-lead { max-width: 600px; margin: 18px auto 0 !important; }

.cas-plans {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 30px 22px;
  align-items: stretch;
}
.cas-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px 28px;
  background: #fff;
  border: 1px solid #e6e8f0;          /* the section is white, so the cards need an edge besides the soft shadow */
  border-radius: var(--cas-radius);
  box-shadow: 0 6px 24px rgba(28, 28, 69, 0.06);
}
@media (min-width: 576px) {
  .cas-plan { padding: 36px 32px 32px; }
}
.cas-plan--featured {
  border-color: transparent;          /* the amber outline below is the edge */
  box-shadow: 0 18px 44px rgba(28, 28, 69, 0.14);
  outline: 2px solid var(--cas-amber);
  outline-offset: -2px;
}
.cas-plan__badge {
  position: absolute;
  top: -14px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--cas-amber);
  color: var(--cas-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cas-plan__name { margin: 0; font-size: 18px; font-weight: 600; }
.cas-plan__price { margin-top: 18px !important; display: flex; align-items: baseline; gap: 8px; }
.cas-plan__amount { font-size: 52px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.cas-plan__per { font-size: 15px; color: var(--cas-grey); }
.cas-plan__tagline {
  margin-top: 16px !important;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cas-line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--cas-grey);
}
.cas-plan__features {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  line-height: 1.4;
}
.cas-plan__features li { display: flex; gap: 12px; }
.cas-plan__tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffebcc;
  color: var(--cas-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cas-plan__features .is-off { color: var(--cas-grey); }
.cas-plan__features .is-off .cas-plan__tick { background: #eef0f5; color: var(--cas-grey); }
.cas-plan .cas-btn { margin-top: 32px; min-height: 50px; font-size: 15.5px; }

.cas-pricing__bulk {
  margin-top: 32px !important;
  text-align: center;
  font-size: 15px;
  color: var(--cas-grey);
}
.cas-pricing__bulk a {
  font-weight: 600;
  color: var(--cas-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cas-pricing__bulk a:hover { text-decoration-thickness: 2px; color: var(--cas-navy); }

/* No transitions for people who ask for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .cas-btn,
  .cas-tab { transition: none; }
}

/* Windows High Contrast / forced colours: keep state visible without colour. */
@media (forced-colors: active) {
  .cas-tab[aria-selected="true"] { border-width: 3px; }
  .cas-plan--featured { outline: 3px solid CanvasText; }
  .cas-rows del { text-decoration-color: currentColor; }
}

/* ───────────── "Why car Auction Sheets are important" – inline SVG icons ───────────── */
/* Left bullets: flat rows with dividers and a pale-amber icon circle (matches the design). */
.get-auction-sheet-section .text-bars { margin-top: 28px; }
.get-auction-sheet-section .text-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  margin-bottom: 0 !important;      /* overrides Bootstrap .mb-3 */
  border: 0;
  border-bottom: 1px solid #ecedf3;
  border-radius: 0;
  box-shadow: none;
  font-size: 15.5px;
  line-height: 1.5;
}
.get-auction-sheet-section .text-bar:last-child { border-bottom: 0; }
.get-auction-sheet-section .cas-icon-wrap {
  flex: none;
  width: 42px;
  height: 42px;
  margin: 0 !important;             /* overrides Bootstrap .me-3; spacing comes from gap */
  border-radius: 50%;
  background: #fff3e0;
  color: #1c1c45;
  display: flex;
  align-items: center;
  justify-content: center;
}
.get-auction-sheet-section .cas-icon { display: block; flex: none; }
.get-auction-sheet-section .cas-icon--amber { width: 20px; height: 20px; color: #1c1c45; }

/* Right column: four separate soft cards (matches the design). */
.cas-why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 250px), calc(50% - 9px)), 1fr));
  gap: 18px;
}
.cas-why-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 26px;
  background: #f5f7fa;
  border-radius: 8px;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.cas-why-card:hover {
  background: #fff;
  box-shadow: 0 14px 40px rgba(28, 28, 69, 0.1);
}
.cas-why-card__head { display: flex; align-items: center; gap: 12px; }
.cas-why-card__icon { flex: none; display: flex; color: #ffb547; }   /* decorative */
.cas-why-card__icon svg { display: block; }
.cas-why-card__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  color: #1c1c45;
}
.cas-why-card__text { margin: 0; font-size: 15px; line-height: 1.6; color: #6e6c90; }
@media (prefers-reduced-motion: reduce) {
  .cas-why-card { transition: none; }
}

/* ───────────── "What do we bring to you?" – compact link cards: icon beside the title ─────────────
   DOM order stays title → icon → text → arrow (good for screen readers); CSS grid places the icon left. */
.services-section a.ca-simple-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "body body"
    "arrow arrow";
  grid-template-rows: auto 1fr auto;
  column-gap: 14px;
  row-gap: 12px;
  align-items: center;
  min-height: 0;
  padding: 34px 24px 18px;
  margin-bottom: 0;
}
.services-section a.ca-simple-card > .card-title {
  grid-area: title;
  margin: 0 !important;
  font-size: 20px;
  line-height: 1.25;
}
.services-section a.ca-simple-card > .card-icon {
  grid-area: icon;
  width: 40px;
  height: 40px;
  margin: 0;
}
.services-section a.ca-simple-card > .ca-card-body { grid-area: body; align-self: start; }
.services-section a.ca-simple-card > .text-end { grid-area: arrow; align-self: end; }
.services-section a.ca-simple-card > .text-end img { display: inline-block; width: 24px; height: auto; }
.services-section a.ca-simple-card .card-desc p { font-size: 15px; line-height: 1.55; margin-bottom: 0; }
/* Keyboard focus for the whole card (theme removes link outlines globally). */
.services-section a.ca-simple-card:focus-visible { outline: 3px solid #1c1c45; outline-offset: 3px; }
@media (max-width: 480px) {
  .services-section a.ca-simple-card { padding: 20px; }
}
/* The orange "Verify" card shares .ca-simple-card; drop its tall minimum so row 2 can tighten too. */
.services-section .ca-simple-card.bg-secondary { min-height: 0; padding-top: 24px; padding-bottom: 24px; }
/* Accessibility: theme grey #989ebb is ~2.7:1 on white; #6e6c90 is 5:1 (WCAG AA). */
.services-section a.ca-simple-card .card-desc { color: #6e6c90; }

/* ── "What do we bring to you?": equal-height cards + clearer arrow ── */
@media (min-width: 768px) {
  /* Every card takes the height of the tallest one, across both rows. */
  .services-section .row.g-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 24px;
    margin: 0;
  }
  .services-section .row.g-4 > [class*="col-"] { width: auto; max-width: none; margin: 0; padding: 0; }
  .services-section .row.g-4 .ca-simple-card { max-width: none; margin: 0; height: 100%; }
}
@media (min-width: 992px) {
  .services-section .row.g-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cas-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #1c1c45;
  border-radius: 50%;
  color: #1c1c45;
  background: transparent;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.services-section a.ca-simple-card:hover .cas-card-arrow,
.services-section a.ca-simple-card:focus-visible .cas-card-arrow {
  background: #ffa521;
  border-color: #ffa521;
  transform: translate(2px, -2px);
}
@media (prefers-reduced-motion: reduce) {
  .cas-card-arrow { transition: none; }
  .services-section a.ca-simple-card:hover .cas-card-arrow,
  .services-section a.ca-simple-card:focus-visible .cas-card-arrow { transform: none; }
}
@media (forced-colors: active) {
  .cas-card-arrow { border-color: CanvasText; }
}

/* ═════════════ Homepage reorder: new and restyled sections ═════════════ */

/* ── Brands strip (was a full section with an auto-scrolling slider) ── */
.cas-brands { background: #fff; padding: 28px 0; scroll-margin-top: 88px; }
.cas-brands__title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #6e6c90;
}
.cas-brands__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 40px;
}
.cas-brands__list img { display: block; width: 56px; height: 56px; object-fit: contain; }
@media (min-width: 768px) {
  .cas-brands__list img { width: 64px; height: 64px; }
  .cas-brands__list { gap: 16px 56px; }
}

/* ── How it works ── */
.cas-steps { background: #f5f7fa; }
.cas-steps__head { max-width: 720px; margin: 0 auto; text-align: center; }
.cas-steps__head .cas-lead { margin-top: 16px !important; }
.cas-steps__list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  counter-reset: none;
}
.cas-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(28, 28, 69, 0.06);
}
.cas-step__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff3e0;
  color: #1c1c45;
}
.cas-step__title {
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  color: #1c1c45;
}
.cas-step__num {
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1c1c45;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.cas-step__text { margin: 0; font-size: 15px; line-height: 1.6; color: #6e6c90; }
.cas-steps__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
}

/* ── Sample report figures (were dead "#" links) ── */
.cas-sample { margin: 0; text-align: center; }
.cas-sample img { display: block; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(28, 28, 69, 0.1); }
.cas-sample__title { margin: 14px 0 0; font-size: 20px; line-height: 1.3; font-weight: 600; color: #1c1c45; }

/* ── Pricing notes ── */
.cas-pricing__notes {
  max-width: 760px;
  margin: 28px auto 0 !important;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.6;
  color: #6e6c90;
}
.cas-pricing__notes a { color: #1c1c45; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cas-pricing__notes a:hover { text-decoration-thickness: 2px; color: #1c1c45; }

/* ── More services: 3 cards. On tablet the third card spans the row instead of sitting alone. ── */
@media (min-width: 768px) and (max-width: 991px) {
  .services-section .row.g-4 > [class*="col-"]:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ── Closing CTA (navy band after the FAQ) ── */
.cas-closing { background: #1c1c45; text-align: center; padding: 56px 0; scroll-margin-top: 88px; }
@media (min-width: 992px) { .cas-closing { padding: 72px 0; } }
.cas-closing__inner { max-width: 760px; margin: 0 auto; }
.cas-closing__text {
  margin: 20px auto 0 !important;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.65;
  color: #d6d6e6;
  text-wrap: pretty;
}
.cas-closing__text strong { color: #fff; }
.cas-closing .cas-search { margin: 32px auto 0; max-width: 640px; text-align: left; }
.cas-closing__links {
  margin-top: 18px !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
}
.cas-closing__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cas-closing__links a:hover { color: #ffa521; }
/* Focus on the navy band: the bar border must contrast with navy, so use amber. */
.cas-closing a:focus-visible,
.cas-closing button:focus-visible { outline-color: #fff; }
@supports selector(:has(*)) {
  .cas-closing .cas-search:has(input:focus-visible) { border-color: #ffa521; box-shadow: 0 0 0 2px #ffa521; }
}

/* Keep the buy path short: How it works doesn't need the full 96px section padding. */
.cas-steps { padding: 48px 0; }
@media (min-width: 992px) { .cas-steps { padding: 64px 0; } }
.cas-steps__list { margin-top: 36px; }

/* ═════════════ Sticky "Verify now" bar (phones only) ═════════════ */
.cas-sticky { display: none; }
@media (max-width: 767px) {
  .cas-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;                         /* below the site header and the WhatsApp button */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #1c1c45;
    box-shadow: 0 -6px 24px rgba(28, 28, 69, 0.25);
    transform: translateY(100%);
    visibility: hidden;                   /* hidden = out of the tab order and screen readers */
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .cas-sticky.is-visible {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.25s ease, visibility 0s;
  }
  .cas-sticky__text { margin: 0; display: flex; flex-direction: column; min-width: 0; color: #fff; }
  .cas-sticky__title { font-size: 15px; font-weight: 600; line-height: 1.25; }
  .cas-sticky__sub { font-size: 13px; line-height: 1.3; color: #d6d6e6; }   /* 11:1 on navy */
  .cas-sticky__btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 4px;
    background: #ffa521;
    color: #1c1c45;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }
  .cas-sticky__btn:hover { background: #f29a12; color: #1c1c45; }
  .cas-sticky__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

  /* Lift the floating WhatsApp button above the bar while it is showing.
     Uses transform (compositor-only) rather than animating `bottom`, which re-ran layout every frame. */
  .floating { transition: transform 0.25s ease; }
  body.cas-sticky-on .floating { transform: translateY(-52px); }
}
@media (prefers-reduced-motion: reduce) {
  .cas-sticky,
  .cas-sticky.is-visible,
  .floating { transition: none; }
}

/* ═════════════ Scroll flicker fixes ═════════════ */

/* 1. The Trustindex review cards each carry `backdrop-filter: blur(0px)`. It blurs nothing, but it still
      makes every card its own backdrop-reading compositing layer, a known cause of flicker while
      scrolling. `none` looks identical. */
.ti-widget .ti-inner { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* 2. The Google reviews widget starts at height 0 and expands (about 260px desktop / 470px phone)
      when it initialises as you scroll near it, which made the whole page jump. Reserve the space up
      front. Values are the measured PEAK heights (initial layout can be taller than the settled one, so
      reserving the peak avoids both a grow and a shrink); the widget is at most ~28px shorter once settled. */
.testimonials-section > .container { min-height: 355px; }
@media (min-width: 1600px) { .testimonials-section > .container { min-height: 365px; } }
@media (max-width: 575px) { .testimonials-section > .container { min-height: 600px; } }
@media (max-width: 430px) { .testimonials-section > .container { min-height: 645px; } }
@media (max-width: 360px) { .testimonials-section > .container { min-height: 665px; } }

/* ═════════════ Brands: continuous logo marquee ═════════════
   The default markup already lays out as a single clipped row, so nothing jumps when home-hero.js adds
   .is-animated and starts the belt (the second, identical group sits off-screen to the right; translating
   to -50% moves exactly one group, so the loop has no seam).
   Reduced motion: a compact static grid, from CSS alone. No JavaScript: the same via a <noscript> rule
   (see functions.php). */
.cas-marquee { --cas-gap: 40px; --cas-logo: 64px; position: relative; margin-top: 28px; }
@media (min-width: 768px) { .cas-marquee { --cas-gap: 56px; --cas-logo: 80px; } }

/* Soft edges: two gradient overlays in the section's background colour instead of a CSS mask. A mask makes
   the browser draw the moving belt into an off-screen surface and re-composite it every frame, which can
   shimmer while scrolling; overlays are plain layers. Keep --cas-fade equal to the section background. */
.cas-marquee__viewport { position: relative; overflow: hidden; }
.cas-marquee__viewport::before,
.cas-marquee__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7%;
  z-index: 1;
  pointer-events: none;
}
.cas-marquee__viewport::before { left: 0;  background: linear-gradient(90deg,  var(--cas-fade, #fff), rgba(255, 255, 255, 0)); }
.cas-marquee__viewport::after  { right: 0; background: linear-gradient(270deg, var(--cas-fade, #fff), rgba(255, 255, 255, 0)); }
.cas-marquee__track { display: flex; width: max-content; }
.cas-marquee__group {
  display: flex;
  flex: none;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--cas-gap);
  margin: 0;
  padding: 0 var(--cas-gap) 0 0;   /* the gap after the last logo keeps spacing even across the seam */
  list-style: none;
}
.cas-marquee__group[data-cas-clone] { display: none; }
.cas-marquee.is-animated .cas-marquee__group[data-cas-clone] { display: flex; }
.cas-marquee__group li { flex: none; margin: 0; }
.cas-marquee__group img { display: block; width: var(--cas-logo); height: var(--cas-logo); object-fit: contain; }

.cas-marquee.is-animated .cas-marquee__track {
  animation: casMarquee var(--cas-marquee-duration, 70s) linear infinite;
  will-change: transform;
}
@keyframes casMarquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Pause: button, keyboard focus anywhere inside, pointer hover (real pointers only), or scrolled out of view. */
.cas-marquee.is-paused .cas-marquee__track,
.cas-marquee.is-offscreen .cas-marquee__track,
.cas-marquee:focus-within .cas-marquee__track { animation-play-state: paused; }
@media (hover: hover) {
  .cas-marquee.is-animated:hover .cas-marquee__track { animation-play-state: paused; }
}

.cas-marquee__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 12px 0 0 auto;
  padding: 0;
  border: 1px solid #c4c6d8;
  border-radius: 50%;
  background: #fff;
  color: #1c1c45;
  cursor: pointer;
}
.cas-marquee__toggle[hidden] { display: none; }
.cas-marquee__toggle:hover { border-color: #1c1c45; }
.cas-marquee__toggle:focus-visible { outline: 3px solid #1c1c45; outline-offset: 3px; }
.cas-marquee__toggle .cas-icon-play { display: none; }
.cas-marquee__toggle[aria-pressed="true"] .cas-icon-pause { display: none; }
.cas-marquee__toggle[aria-pressed="true"] .cas-icon-play { display: block; }

/* Reduced motion: compact, centred, wrapping grid; no belt, no pause button. */
@media (prefers-reduced-motion: reduce) {
  .cas-marquee { --cas-gap: 28px; --cas-logo: 52px; }
  .cas-marquee__viewport::before,
  .cas-marquee__viewport::after { display: none; }
  .cas-marquee__track { display: block; width: auto; animation: none !important; }
  .cas-marquee__group { flex-wrap: wrap; justify-content: center; gap: 18px var(--cas-gap); padding: 0; }
  .cas-marquee__group[data-cas-clone],
  .cas-marquee.is-animated .cas-marquee__group[data-cas-clone] { display: none; }
  .cas-marquee__toggle { display: none; }
  @media (max-width: 575px) {
    .cas-marquee { --cas-gap: 14px; --cas-logo: 46px; }
    .cas-marquee__group { gap: 12px var(--cas-gap); }
  }
}

/* Section images carry width/height attributes so the browser reserves their space before they load (no layout
   shift). The theme's global `img` rule has no `height: auto`, so without this the attribute height would
   stretch them when the CSS width differs from the attribute width. */
#sample-reports img,
#verify-now img.max-w-xxl { height: auto; }

/* Closing band offer card: a sales-style panel. Left: promise, benefits, price-led button and proof. Right: the LC300 photo with
   a sample auction sheet carrying a green "verified" check, and a "from $9" badge. All text is live (not baked into an image). */
#verify-now .cas-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  max-width: 1100px;
  margin: 40px auto 0;
  text-align: left;
  background: #1c1c45;
  color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(28, 28, 69, 0.28);
}
#verify-now .cas-offer__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 16px 44px 48px;
  position: relative;
  z-index: 2;
}
#verify-now .cas-offer__eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffa520;
}
#verify-now .cas-offer__title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem);
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
}
#verify-now .cas-offer__lede {
  margin: 0 0 22px;
  max-width: 40ch;
  text-wrap: pretty;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #d9dbf0;
}
#verify-now .cas-offer__list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}
#verify-now .cas-offer__list li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
  line-height: 1.4;
  color: #fff;
}
#verify-now .cas-offer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a05a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
#verify-now .cas-offer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
#verify-now .cas-offer__link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#verify-now .cas-offer__link:hover { color: #ffa520; }
#verify-now .cas-offer a:focus-visible { outline-color: #fff; }
#verify-now .cas-offer__proof {
  margin: 22px 0 0;
  font-size: 0.9375rem;
  color: #d9dbf0;
}
#verify-now .cas-offer__proof span { color: #ffa520; letter-spacing: 2px; margin-right: 6px; }

#verify-now .cas-offer__visual { position: relative; min-height: 100%; }
#verify-now .cas-offer__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 55%;   /* the Vezel's damaged front is on the left of the photo */
}
/* Blend the photo into the navy panel on its left edge so the text side stays clean. */
#verify-now .cas-offer__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1c1c45 0%, rgba(28, 28, 69, 0.55) 9%, rgba(28, 28, 69, 0) 26%);
  pointer-events: none;
}
#verify-now .cas-offer__sheet {
  position: absolute;
  z-index: 2;
  right: 5%;              /* on the empty ground at the right, so it does not cover the damage */
  bottom: 26px;
  width: 33%;
  transform: rotate(4deg);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}
#verify-now .cas-offer__sheet img { display: block; width: 100%; height: auto; }
#verify-now .cas-offer__check {
  position: absolute;
  top: -16px;
  right: -14px;
  width: 30%;
  max-width: 64px;
  height: auto;
  transform: rotate(10deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
#verify-now .cas-offer__price {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  width: 96px;
  height: 96px;
  margin: 0;
  border-radius: 50%;
  background: #ffa520;
  color: #1c1c45;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: rotate(8deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
#verify-now .cas-offer__from { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
#verify-now .cas-offer__amount { margin-top: 2px; font-size: 2.25rem; font-weight: 800; }

/* Tablets and phones: stack the card (text first, then the photo). Two columns get too narrow below 992px and would crop the car. */
@media (max-width: 991.98px) {
  #verify-now .cas-offer { grid-template-columns: minmax(0, 1fr); margin-top: 28px; border-radius: 16px; }
  #verify-now .cas-offer__copy { padding: 36px 36px 30px; }
  #verify-now .cas-offer__lede { max-width: none; }
  #verify-now .cas-offer__visual { min-height: 380px; }
  #verify-now .cas-offer__visual::after { background: linear-gradient(180deg, #1c1c45 0%, rgba(28, 28, 69, 0) 28%); }
  #verify-now .cas-offer__photo { object-position: 50% 60%; }
  #verify-now .cas-offer__sheet { width: 26%; right: 6%; bottom: 20px; }
}
@media (max-width: 575.98px) {
  #verify-now .cas-offer__copy { padding: 30px 22px 26px; }
  #verify-now .cas-offer__visual { min-height: 300px; }
  #verify-now .cas-offer__sheet { width: 34%; right: 5%; bottom: 16px; }
  #verify-now .cas-offer__price { width: 78px; height: 78px; top: 16px; right: 16px; }
  #verify-now .cas-offer__amount { font-size: 1.875rem; }
}
@media (max-width: 380px) {
  #verify-now .cas-offer__cta .ca-btn { width: 100%; justify-content: center; }
}

/* ═════════════ Section rhythm: 48px above and below every homepage section ═════════════
   The theme's .section-padding (70px, then 60/50 on smaller screens) and the hero/.cas-section values
   (28-96px) gave every section a different amount of space. `body.home` keeps this to the front page
   and out-ranks those single-class rules. */
body.home .cas-hero,
body.home .car-brands-section,
body.home #sample-reports,
body.home #report-translation,
body.home #pricing,
body.home #reviews,
body.home #dealers-hide-the-truth,
body.home .services-section,
body.home #car-tips,
body.home .blog-section,
body.home .faqs-section,
body.home #verify-now { padding-top: 48px; padding-bottom: 48px; }

/* The blog section's container added its own 24px on top of the section padding. */
body.home .blog-section > .container.pb-4 { padding-bottom: 0 !important; }


/* ═════════════ Heading scale (fluid) ═════════════
   One scale for the whole homepage, so every level shrinks smoothly from desktop to tablet to phone instead of
   jumping at breakpoints (the theme's own h2 stayed at 38px even on a 320px phone). Sizes in rem, so they also
   follow the visitor's browser font-size setting; the vw part makes them fluid; clamp() sets the floor
   (phones) and ceiling (large desktops).
     h1            32px -> 60px
     h2  section   26px -> 44px
     h3  large     24px -> 34px   (story headline)
     h3  card      20px -> 24px   (card group titles)
     h3  small     17px -> 20px   (plan, service, "why" and blog card titles) */
:root {
  --cas-fs-h1: clamp(2rem, 1rem + 3vw, 3.75rem);
  --cas-fs-h2: clamp(1.625rem, 1.05rem + 2.2vw, 2.75rem);
  --cas-fs-h3-lg: clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem);
  --cas-fs-h3: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);
  --cas-fs-h3-sm: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
}

/* Section titles that still use the theme's plain <h2> */
body.home .car-brands-section h2,
body.home #sample-reports h2,
body.home #reviews h2,
body.home .services-section h2,
body.home #car-tips h2,
body.home .blog-section h2,
body.home .faqs-section h2,
body.home #verify-now h2 {
  font-size: var(--cas-fs-h2);
  line-height: 1.2;
  text-wrap: balance;
}
/* Card-group titles (these were <h4> and are <h3> now; the theme's h3 size would be too big) */
body.home #sample-reports h3,
body.home .services-section .ca-simple-card.bg-secondary .card-title,
body.home .blog-card-2 h3 {
  font-size: var(--cas-fs-h3);
  line-height: 1.2;
}
/* Small card titles */
body.home .blog-card-1-body h3,
body.home .cas-plan__name,
body.home .services-section a.ca-simple-card > .card-title,
body.home .cas-why-card__title {
  font-size: var(--cas-fs-h3-sm);
  line-height: 1.25;
}
/* FAQ questions are <h3> now; the visible text is the button, so the heading box takes the same size */
body.home .faqs-section .accordion-header,
body.home .faqs-section .accordion-button { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); }
/* Tab-panel titles (only shown without JavaScript) */
body.home .cas-panel__title { font-size: var(--cas-fs-h3); }
/* Never let a long word push a heading wider than the screen */
body.home h1,
body.home h2,
body.home h3 { overflow-wrap: break-word; }

/* ═════════════ Accessibility fixes found by the audit ═════════════ */
/* White on the amber "Verify" card was 1.97:1 (needs 3:1 for large text, 4.5:1 for normal). Navy on amber is ~8:1. */
body.home .services-section .ca-simple-card.bg-secondary .card-title { color: #1c1c45 !important; }
/* Small text links need a 24px-high target (WCAG 2.2 AA 2.5.8); padding + equal negative margin keeps the layout. */
.cas-link-arrow { display: inline-block; padding: 3px 0; margin: -3px 0; }
