/* Telehealth Billing Services page (v2/who-we-serve/telehealth-billing.blade.php).
   Figma: Meds Nexus Design, node 12737:56 (1440 wide). Built on the EMS billing page's layout
   (12563:125); everything is scoped to .thb-v2 and uses thb-* classes, so no other page is affected.
   Animation: script-v2.js arms every [data-bh-reveal] section (.is-armed hides the
   pieces) and adds .is-in when it scrolls into view, which plays the entrances
   below. [data-bh-count] numbers count up at the same time. Without JS, or with
   prefers-reduced-motion, nothing is hidden and nothing moves. */

/* ============================================================= */
/* Base: tokens, container, section rhythm, shared keyframes     */
/* ============================================================= */
.thb-v2 {
  --thb-blue: #273775;
  --thb-orange: #fc5d61;
  --thb-text: #3d3d3d;
  --thb-white: #ffffff;
  --thb-muted: #5e6888;
  --thb-line: #e3e8f3;
  --thb-soft: #f5f7fc;
  --thb-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  font-family: "Poppins", sans-serif;
  color: var(--thb-text);
  overflow-x: clip;
}

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

/* Resets use :where() so they weigh like one class: they beat style-v2.css element rules
   but never override a section rule's own margin/padding (:is() would add a type selector). */
.thb-v2 :where(h1, h2, h3, h4, h5, p, ul, ol, figure) {
  margin: 0;
}

/* style-v2.css capitalizes every heading site-wide; this page keeps Figma's casing. */
.thb-v2 :where(h1, h2, h3, h4, h5, h6) {
  text-transform: none;
}

.thb-v2 :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.thb-v2 img {
  max-width: 100%;
}

/* Figma content column: 1240px inside the 1440 frame (100px gutters). */
.thb-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section rhythm: every section carries 60px top and bottom padding (no margins).
   This is the only place section spacing is set. */
.thb-v2 > section {
  margin: 0;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Phones: 30px top and bottom. */
@media (max-width: 767px) {
  .thb-v2 > section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* Shared Core Strengths band: style-v2.css gives it a fixed 350px height with 40px
   padding; 390px keeps its 270px content box with the 60px padding. */
.thb-v2 > .strengths {
  height: 390px;
}

@media (max-width: 768px) {
  .thb-v2 > .strengths {
    height: auto;
  }
}

/* Shared section heading pieces (eyebrow chip, orange accent, in-text links). */
.thb-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(39, 55, 117, 0.1);
  color: var(--thb-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 10px;
  text-transform: capitalize;
}

.thb-accent {
  color: var(--thb-orange);
}

.thb-inline-link {
  color: var(--thb-orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.thb-inline-link:hover,
.thb-inline-link:focus-visible {
  color: var(--thb-blue);
}

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

@keyframes thb-rise {
  from { opacity: 0; translate: 0 28px; }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes thb-from-left {
  from { opacity: 0; translate: -48px 0; }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes thb-from-right {
  from { opacity: 0; translate: 48px 0; }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes thb-pop {
  from { opacity: 0; scale: 0.85; }
  to   { opacity: 1; scale: 1; }
}

@keyframes thb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .thb-v2 *,
  .thb-v2 *::before,
  .thb-v2 *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================= */
/* Section: 01-hero                                               */
/* ============================================================= */
/* ============================================================= */
/* 01 HERO — Figma 12737:139 (inside 12737:57)                     */
/* Copy column 658 wide (vertically centred in a 539 row), art     */
/* 687x458 at x523 / y75.5, booking form card below (gap 48).      */
/* The copy and form animate on load (no JS needed, LCP stays      */
/* visible); the art plays when script-v2.js adds .is-in.          */
/* ============================================================= */
.thb-hero {
  position: relative;
  background: linear-gradient(
    to left,
    rgba(239, 242, 255, 0.6) 0%,
    #f9faff 48.866%,
    rgba(239, 242, 255, 0.3) 98.681%
  );
  /* Clip sideways only: the open Service dropdown hangs ~320px below the hero, so it must be
     allowed to overflow vertically, and the hero stacks above the Core Strengths band so the
     list isn't painted underneath it. Nothing else in the hero extends past its edges. */
  overflow-x: clip;
  overflow-y: visible;
  z-index: 2;
}

.thb-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* 539px row: copy centred on the left, art absolutely placed on the right. */
.thb-hero__main {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 539px;
}

.thb-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 658px;
  max-width: 100%;
}

.thb-hero__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.thb-hero__title {
  max-width: 669px;
  width: 669px;
  color: var(--thb-blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 50.4px;
}

.thb-hero__lead {
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 28.8px;
}

.thb-hero__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
}

.thb-hero__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 28.8px;
}

.thb-hero__tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: scale 0.25s var(--thb-ease);
}

.thb-hero__item:hover .thb-hero__tick {
  scale: 1.15;
}

/* ---------- Certification badges (12737:191) ---------- */
.thb-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16.197px;
}

.thb-hero__badge {
  display: flex;
  align-items: center;
  padding: 9.074px;
  border-radius: 7.562px;
  background: #ffffff;
  box-shadow: 0 0 3.781px rgba(0, 0, 0, 0.1);
  transition: translate 0.25s var(--thb-ease), box-shadow 0.25s ease;
}

.thb-hero__badge:hover {
  translate: 0 -3px;
  box-shadow: 0 8px 18px rgba(39, 55, 117, 0.14);
}

/* 121.053 x 55.412 window; each logo is cropped exactly like the Figma fill. */
.thb-hero__badge-frame {
  position: relative;
  display: block;
  width: 121.053px;
  height: 55.412px;
  overflow: hidden;
}

.thb-hero__badge-frame img {
  position: absolute;
  max-width: none;
}

.thb-hero__badge-frame--iso img {
  left: -4.59%;
  top: -9.7%;
  width: 108.84%;
  height: 119.4%;
}

.thb-hero__badge-frame--hipaa img {
  left: -19.23%;
  top: -0.7%;
  width: 122.89%;
  height: 100%;
}

.thb-hero__badge-frame--aapc img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Art (12740:5257 "image 62"): 687 x 458 at x523 / y75.5 of the 539 row ---------- */
/* A single raster (laptop video visit + telehealth claim clipboard and status pills).
   It sits after the copy in Figma, so it paints above the copy column's empty right side. */
.thb-hero__art {
  position: absolute;
  top: 75.5px;
  left: 523px;
  width: 687px;
}

.thb-hero__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 687 / 458;
}

/* Figma crops the 1536x1024 raster to 687x458 with object-fit: cover. */
.thb-hero__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: scale 0.6s var(--thb-ease), filter 0.6s ease;
}

.thb-hero__art:hover .thb-hero__photo {
  scale: 1.02;
  filter: drop-shadow(0 18px 30px rgba(39, 55, 117, 0.12));
}


/* ---------- Booking form card (12737:240) ---------- */
.thb-hero__form-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thb-hero__form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 30px 40px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.thb-hero__fields {
  display: flex;
  flex: 1 0 0;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
  padding: 0 1px;
}

.thb-hero__field {
  position: relative;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.thb-hero__field label {
  margin: 0;
  color: var(--thb-text);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
}

.thb-hero__field :is(input, select) {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #eff2ff;
  color: var(--thb-text);
  font-family: inherit;
  font-size: 14px;
  line-height: normal;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.thb-hero__field input::placeholder {
  color: #9a9a9f;
  opacity: 1;
}

.thb-hero__field :is(input, select):focus-visible,
.thb-hero__field input:focus {
  border-color: var(--thb-blue);
  box-shadow: 0 0 0 3px rgba(39, 55, 117, 0.12);
}

.thb-hero__field select {
  padding-right: 34px;
  color: #9a9a9f;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* octicon chevron-up, flipped as in Figma, 11px from the right edge. */
.thb-hero__chevron {
  position: absolute;
  right: 11px;
  bottom: 12px;
  width: 16px;
  height: 16px;
  max-width: none;
  rotate: 180deg;
  pointer-events: none;
  transition: rotate 0.25s ease;
}

.thb-hero__field--select.is-open .thb-hero__chevron {
  rotate: 0deg;
}

/* [data-bh-select] enhancement: script-v2.js hides the native select and adds
   .bh-select-trigger + .bh-select-list after it. */
.thb-hero__field--select.is-enhanced .bh-select-native {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.thb-hero__field--select .bh-select-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  padding: 0 34px 0 11px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #eff2ff;
  color: var(--thb-text);
  font-family: inherit;
  font-size: 14px;
  line-height: normal;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.thb-hero__field--select .bh-select-trigger.is-placeholder {
  color: #9a9a9f;
}

.thb-hero__field--select .bh-select-trigger:focus-visible,
.thb-hero__field--select.is-open .bh-select-trigger {
  border-color: var(--thb-blue);
  box-shadow: 0 0 0 3px rgba(39, 55, 117, 0.12);
  outline: none;
}

.thb-hero__field--select .bh-select-trigger.is-invalid {
  border-color: var(--thb-orange);
}

.thb-hero__field--select .bh-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thb-hero__field--select .bh-select-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: max-content;
  min-width: 100%;
  max-width: min(612px, calc(100vw - 32px));
  margin: 0;
  padding: 9.5px 21px;
  list-style: none;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  outline: none;
  visibility: hidden;
  opacity: 0;
  translate: 0 -6px;
  transition: opacity 0.2s ease, translate 0.2s ease, visibility 0s 0.2s;
}

.thb-hero__field--select.is-open .bh-select-list {
  visibility: visible;
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.2s ease, translate 0.2s ease, visibility 0s;
}

.thb-hero__field--select .bh-select-option {
  margin: 0 -10px;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.thb-hero__field--select .bh-select-option.is-active {
  background: #eff2ff;
  color: var(--thb-blue);
}

.thb-hero__field--select .bh-select-option[aria-selected="true"] {
  color: var(--thb-blue);
  font-weight: 500;
}

/* Book Now: 150 x 40 pill (the Figma container clips the button to 60px radius). */
.thb-hero .thb-hero__submit {
  flex-shrink: 0;
  width: 150px;
  height: 40px;
  padding: 0 21px;
  border: 1px solid #ffffff;
  border-radius: 60px;
  background: var(--thb-orange);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 12px;
  cursor: pointer;
  transform: none;
  transition: translate 0.2s var(--thb-ease), background-color 0.2s ease, box-shadow 0.2s ease;
}

.thb-hero .thb-hero__submit:hover:not(:disabled) {
  transform: none;
  translate: 0 -2px;
  background: #e94f55;
  box-shadow: 0 8px 18px rgba(252, 93, 97, 0.32);
}

.thb-hero .thb-hero__submit:focus-visible {
  outline: 2px solid var(--thb-blue);
  outline-offset: 2px;
}

.thb-hero .thb-hero__response {
  margin: 0;
}

/* ---------- Motion ---------- */
/* Copy + form: on load, CSS only (the H1 is never hidden before JS). */
.thb-hero__eyebrow { animation: thb-rise 0.6s var(--thb-ease) 0.05s backwards; }
.thb-hero__title   { animation: thb-rise 0.7s var(--thb-ease) 0.12s backwards; }
.thb-hero__lead    { animation: thb-rise 0.6s var(--thb-ease) 0.22s backwards; }
.thb-hero__item    { animation: thb-from-left 0.55s var(--thb-ease) calc(0.28s + var(--i) * 0.06s) backwards; }
.thb-hero__badge   { animation: thb-pop 0.5s var(--thb-ease) calc(0.72s + var(--i) * 0.08s) backwards; }
.thb-hero__form    { animation: thb-rise 0.7s var(--thb-ease) 0.45s backwards; }

/* Art: hidden only once script-v2.js has armed it. The raster slides/fades in from the
   right, then the whole stage floats gently. */
.thb-hero__art.is-armed:not(.is-in) .thb-hero__photo {
  opacity: 0;
}

.thb-hero__art.is-in .thb-hero__photo {
  animation: thb-hero-photo-in 0.9s var(--thb-ease) 0.15s backwards;
}

.thb-hero__art.is-in .thb-hero__stage {
  animation: thb-hero-float 6s ease-in-out 1.2s infinite;
}

@keyframes thb-hero-photo-in {
  from { opacity: 0; translate: 40px 16px; scale: 0.95; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes thb-hero-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

/* ---------- Responsive ---------- */
/* Art can't sit beside the 658px copy below 1240px content: stack it under. */
@media (max-width: 1279px) {
  .thb-hero__main {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    min-height: 0;
  }

  .thb-hero__title {
    width: auto;
  }

  .thb-hero__art {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 687px;
    margin: 0 auto;
  }
}

@media (max-width: 991px) {
  .thb-hero__fields {
    flex-wrap: wrap;
  }

  .thb-hero__field {
    flex: 1 1 calc(50% - 10px);
  }

  .thb-hero__form {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px;
  }

  .thb-hero .thb-hero__submit {
    align-self: flex-start;
  }
}

@media (max-width: 767px) {

  .thb-hero .thb-container {
    padding: 0 16px;
  }

  .thb-hero__inner {
    gap: 32px;
  }

  .thb-hero__main {
    gap: 28px;
  }

  .thb-hero__title {
    font-size: 30px;
    line-height: 38px;
  }

  .thb-hero__item {
    align-items: flex-start;
    font-size: 15px;
    line-height: 24px;
  }

  .thb-hero__badges {
    gap: 10px;
  }

  .thb-hero__badge {
    padding: 6px;
  }

  .thb-hero__badge-frame {
    width: 88px;
    height: 40.28px;
  }

  .thb-hero__fields {
    flex-direction: column;
    gap: 14px;
  }

  .thb-hero__field {
    flex: none;
    width: 100%;
  }

  .thb-hero__form {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .thb-hero .thb-hero__submit {
    align-self: stretch;
    width: 100%;
    height: 44px;
  }
}

/* ============================================================= */
/* Section: 03-why                                               */
/* ============================================================= */
/* Figma 12737:336: copy column (609) + visual card (572 x 528), vertically centred. */
.thb-why__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.thb-why__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 609px;
  max-width: 100%;
}

.thb-why__eyebrow {
  line-height: 9.976px;
}

.thb-why__title {
  color: var(--thb-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.9px;
}

/* Figma separates the paragraphs with empty 28px lines. */
.thb-why__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.thb-why__visual {
  position: relative;
  flex: none;
  width: 572px;
  height: 528px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--thb-white);
  transition: box-shadow 0.4s ease;
}

.thb-why__visual:hover {
  box-shadow: 0 18px 40px rgba(39, 55, 117, 0.14);
}

/* Blurred office photo with a white-to-clear wash from the top (Figma 12737:343). */
.thb-why__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.thb-why__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1.5px);
  scale: 1.02;
  transition: scale 1.2s var(--thb-ease);
}

.thb-why__visual:hover .thb-why__photo img {
  scale: 1.07;
}

.thb-why__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff 1.515%, rgba(255, 255, 255, 0) 94.066%);
}

/* "What Specialized Telehealth Billing Services Delivers" card (Figma 12737:344 / 12737:345). */
.thb-why__card {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4.401px;
  width: 322px;
  max-width: calc(100% - 40px);
  padding: 14.964px 13.204px 8.802px 16.725px;
  border: 0.88px solid #eff2ff;
  border-radius: 14px;
  background: var(--thb-white);
  box-shadow: 0 10px 30px rgba(39, 55, 117, 0.08);
  transition: translate 0.35s var(--thb-ease), box-shadow 0.35s ease;
}

.thb-why__visual:hover .thb-why__card {
  translate: 0 -4px;
  box-shadow: 0 16px 36px rgba(39, 55, 117, 0.16);
}

.thb-why__card-title {
  width: 100%;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--thb-blue);
  color: var(--thb-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.thb-why__benefits {
  display: flex;
  flex-direction: column;
  gap: 8.802px;
  width: 100%;
}

.thb-why__benefit {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12.323px;
  min-height: 29.341px;
  color: var(--thb-text);
  font-size: 12.323px;
  line-height: 12.323px;
  transition: color 0.25s ease, translate 0.25s var(--thb-ease);
}

.thb-why__benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.88px;
  background: #e5e7eb;
}

.thb-why__benefit:hover {
  color: var(--thb-blue);
  translate: 3px 0;
}

.thb-why__check {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 12.323px;
  height: 12.323px;
  border-radius: 6.162px;
  background: var(--thb-blue);
  color: var(--thb-white);
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 8.802px;
  font-weight: 700;
  line-height: 12.323px;
  transition: background-color 0.25s ease, scale 0.25s var(--thb-ease);
}

.thb-why__benefit:hover .thb-why__check {
  background: var(--thb-orange);
  scale: 1.2;
}

/* style-v2.css colours every <p> grey; keep Figma's #3d3d3d. */
.thb-why__body p {
  color: var(--thb-text);
}

/* Entrances: copy from the left, visual from the right, then the card and its rows. */
.thb-why.is-armed:not(.is-in) :is(
  .thb-why__eyebrow, .thb-why__title, .thb-why__body > p,
  .thb-why__visual, .thb-why__card, .thb-why__benefit, .thb-why__check
) {
  opacity: 0;
}

.thb-why.is-in :is(.thb-why__eyebrow, .thb-why__title, .thb-why__body > p) {
  animation: thb-from-left 0.8s var(--thb-ease) backwards;
}

.thb-why.is-in .thb-why__eyebrow               { animation-delay: 0.05s; }
.thb-why.is-in .thb-why__title                 { animation-delay: 0.15s; }
.thb-why.is-in .thb-why__body > p:nth-child(1) { animation-delay: 0.3s; }
.thb-why.is-in .thb-why__body > p:nth-child(2) { animation-delay: 0.42s; }
.thb-why.is-in .thb-why__body > p:nth-child(3) { animation-delay: 0.54s; }

.thb-why.is-in .thb-why__visual {
  animation: thb-from-right 0.9s var(--thb-ease) 0.2s backwards;
}

.thb-why.is-in .thb-why__photo img {
  animation: thb-why-focus 1.6s var(--thb-ease) 0.2s backwards;
}

.thb-why.is-in .thb-why__card {
  animation: thb-pop 0.6s var(--thb-ease) 0.6s backwards;
}

.thb-why.is-in .thb-why__benefit {
  animation: thb-rise 0.5s var(--thb-ease) backwards;
  animation-delay: calc(0.8s + var(--i, 0) * 0.08s);
}

.thb-why.is-in .thb-why__check {
  animation: thb-pop 0.4s var(--thb-ease) backwards;
  animation-delay: calc(0.95s + var(--i, 0) * 0.08s);
}

@keyframes thb-why-focus {
  from { scale: 1.15; filter: blur(10px); }
  to   { scale: 1.02; filter: blur(1.5px); }
}

@media (max-width: 1199px) {
  .thb-why__copy {
    flex: 1 1 0;
    width: auto;
  }

  .thb-why__visual {
    width: 46%;
    height: auto;
    aspect-ratio: 572 / 528;
  }
}

@media (max-width: 991px) {
  .thb-why__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .thb-why__visual {
    width: 100%;
    max-width: 572px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {

  .thb-why__inner {
    gap: 28px;
  }

  .thb-why__title {
    font-size: 26px;
    line-height: 34px;
    letter-spacing: -0.5px;
  }

  .thb-why__body {
    gap: 20px;
    font-size: 15px;
    line-height: 26px;
  }

  .thb-why__visual {
    border-radius: 14px;
  }

  .thb-why__card {
    top: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
  }
}

@media (max-width: 374px) {
  .thb-why__card-title {
    white-space: normal;
  }
}

/* ============================================================= */
/* Section: 04-cta-bar                                           */
/* ============================================================= */
/* Figma 12737:378: 1240 x 132 bar, #eff2ff fill, 2px dashed gradient border, 10px radius. */

.thb-cta-bar__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 132px;
  padding: 22px 24px;
  border-radius: 10px;
  background: #eff2ff;
  box-shadow: 0 2px 15.1px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.35s ease, translate 0.35s var(--thb-ease);
}

.thb-cta-bar__box:hover {
  translate: 0 -3px;
  box-shadow: 0 12px 30px rgba(39, 55, 117, 0.18);
}

.thb-cta-bar__border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.thb-cta-bar__border rect {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  fill: none;
  stroke: url(#thb-cta-bar-stroke);
  stroke-width: 2;
  stroke-dasharray: 10 6;
}

.thb-cta-bar__box:hover .thb-cta-bar__border rect {
  animation: thb-cta-bar-march 1s linear infinite;
}

@keyframes thb-cta-bar-march {
  to { stroke-dashoffset: -32; }
}

.thb-cta-bar__main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 802px;
  max-width: 100%;
}

.thb-cta-bar__badge {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  padding: 15px;
  border-radius: 180px;
  background: var(--thb-white);
  box-shadow: 0 0 10.9px rgba(0, 0, 0, 0.11);
}

/* Soft pulse ring behind the shield. */
.thb-cta-bar__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(39, 55, 117, 0.25);
  animation: thb-cta-bar-pulse 2.4s ease-out infinite;
}

@keyframes thb-cta-bar-pulse {
  0%   { opacity: 0.9; scale: 1; }
  100% { opacity: 0; scale: 1.45; }
}

.thb-cta-bar__badge img {
  display: block;
  width: 42px;
  height: 43px;
  transition: scale 0.35s var(--thb-ease), rotate 0.35s var(--thb-ease);
}

.thb-cta-bar__box:hover .thb-cta-bar__badge img {
  scale: 1.08;
  rotate: -6deg;
}

.thb-cta-bar__divider {
  flex: none;
  width: 1px;
  height: 74px;
  background: #9a9a9f;
}

.thb-cta-bar__copy {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.thb-cta-bar__title {
  color: var(--thb-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.thb-cta-bar__text {
  color: var(--thb-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

.thb-cta-bar__btn {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 260px;
  height: 50px;
  padding: 8px 14px;
  overflow: hidden;
  border-radius: 75px;
  background: var(--thb-orange);
  color: var(--thb-white);
  font-size: 13px;
  font-weight: 600;
  line-height: 20.8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, translate 0.3s var(--thb-ease);
}

/* Light sweep across the button on hover. */
.thb-cta-bar__btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.thb-cta-bar__btn:hover,
.thb-cta-bar__btn:focus-visible {
  color: var(--thb-white);
  background: #f04449;
  box-shadow: 0 10px 22px rgba(252, 93, 97, 0.35);
  translate: 0 -2px;
}

.thb-cta-bar__btn:hover::before {
  left: 120%;
}

.thb-cta-bar__btn-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: var(--thb-white);
  transition: translate 0.3s var(--thb-ease);
}

.thb-cta-bar__btn-icon img {
  display: block;
  width: 11px;
  height: 10px;
}

.thb-cta-bar__btn:hover .thb-cta-bar__btn-icon {
  translate: 4px 0;
}

/* Entrances: bar rises, badge pops, divider grows, copy and button follow. */
.thb-cta-bar.is-armed:not(.is-in) :is(
  .thb-cta-bar__box, .thb-cta-bar__badge, .thb-cta-bar__divider,
  .thb-cta-bar__title, .thb-cta-bar__text, .thb-cta-bar__btn
) {
  opacity: 0;
}

.thb-cta-bar.is-in .thb-cta-bar__box     { animation: thb-rise 0.7s var(--thb-ease) backwards; }
.thb-cta-bar.is-in .thb-cta-bar__badge   { animation: thb-pop 0.5s var(--thb-ease) 0.3s backwards; }
.thb-cta-bar.is-in .thb-cta-bar__divider { animation: thb-cta-bar-grow 0.5s var(--thb-ease) 0.4s backwards; }
.thb-cta-bar.is-in .thb-cta-bar__title   { animation: thb-from-left 0.6s var(--thb-ease) 0.45s backwards; }
.thb-cta-bar.is-in .thb-cta-bar__text    { animation: thb-from-left 0.6s var(--thb-ease) 0.55s backwards; }
.thb-cta-bar.is-in .thb-cta-bar__btn     { animation: thb-from-right 0.6s var(--thb-ease) 0.6s backwards; }

@keyframes thb-cta-bar-grow {
  from { opacity: 0; scale: 1 0; }
  to   { opacity: 1; scale: 1 1; }
}

@media (max-width: 1199px) {
  .thb-cta-bar__main {
    width: auto;
    flex: 1 1 0;
  }

  .thb-cta-bar__title {
    font-size: 22px;
    line-height: 28px;
  }

  .thb-cta-bar__btn {
    width: 230px;
  }
}

@media (max-width: 991px) {
  .thb-cta-bar__box {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }

  .thb-cta-bar__main {
    width: 100%;
  }
}

@media (max-width: 767px) {

  .thb-cta-bar__box {
    align-items: stretch;
    padding: 22px 18px;
  }

  .thb-cta-bar__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .thb-cta-bar__divider {
    width: 74px;
    height: 1px;
  }

  .thb-cta-bar__title {
    font-size: 20px;
    line-height: 26px;
  }

  .thb-cta-bar__btn {
    width: 100%;
  }
}

/* ============================================================= */
/* MOBILE (440px frame / 400px column; the Telehealth file has no   */
/* mobile frame, so this follows the shared v2 mobile layout)      */
/* Kept last so these phone rules win over the per-section          */
/* responsive guesses above. Everything is inside max-width: 767px  */
/* (or narrower), apart from rules that hide mobile-only markup on  */
/* larger screens.                                                  */
/* ============================================================= */

/* ---------- Mobile: 01-hero-why-cta ---------- */
/* ============================================================= */
/* Mobile (<=767px) — 440 frame, 400 column                        */
/* Hero 12737:139, Why 12737:336, CTA bar 12737:378 (desktop ids)  */
/* ============================================================= */
@media (max-width: 767px) {

  /* ---------- 01 Hero ---------- */
  .thb-hero .thb-container {
    padding: 0 20px;
  }

  .thb-hero__inner,
  .thb-hero__main {
    gap: 40px;
  }

  .thb-hero__copy {
    gap: 19.1px;
  }

  .thb-hero__head {
    gap: 19.1px;
  }

  .thb-hero__eyebrow {
    padding: 8px 10px;
    border-radius: 9.069px;
    font-size: 10px;
    line-height: 9.976px;
  }

  .thb-hero__title {
    width: auto;
    font-size: 32px;
    line-height: 40px;
  }

  .thb-hero .thb-hero__lead {
    color: var(--thb-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 28.8px;
  }

  /* Lead -> list is 10px in Figma (the rest of the column is 19.1px apart). */
  .thb-hero__list {
    gap: 9px;
    margin-top: -9.1px;
  }

  .thb-hero__item {
    align-items: center;
    font-size: 14px;
    line-height: 25px;
  }

  /* Badges: three equal cards filling the 400 column. */
  .thb-hero__badges {
    flex-wrap: nowrap;
    gap: 14.398px;
    width: 100%;
  }

  .thb-hero__badge {
    flex: 1 1 0;
    min-width: 0;
    padding: 8.066px;
    border-radius: 6.722px;
    box-shadow: 0 0 3.361px rgba(0, 0, 0, 0.1);
  }

  .thb-hero__badge-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 107.603 / 49.255;
  }

  /* Art: full column width, keeps the 687:458 crop. */
  .thb-hero__art {
    width: 100%;
    max-width: none;
  }

  /* Form */
  .thb-hero__form {
    gap: 30px;
    padding: 20px;
    border-radius: 20px;
  }

  .thb-hero__fields {
    gap: 20px;
  }

  .thb-hero .thb-hero__submit {
    align-self: stretch;
    width: 100%;
    height: 40px;
    margin: 0;
  }

  /* ---------- 03 Why ---------- */
  .thb-why__inner {
    gap: 10px;
  }

  .thb-why__copy {
    gap: 15.1px;
  }

  .thb-why__eyebrow {
    height: 26px;
    padding: 8px 10px;
    border-radius: 9.069px;
    font-size: 10px;
    line-height: 9.976px;
  }

  .thb-why__title {
    padding-top: 6.9px;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: -1.6px;
  }

  .thb-why__body {
    gap: 24px;
    font-size: 14px;
    line-height: 24px;
  }

  .thb-why .thb-why__body p {
    margin: 0;
    color: var(--thb-text);
    font-size: 14px;
    line-height: 24px;
  }

  /* Photo panel: 400 x 354, square corners. */
  .thb-why__visual {
    width: 100%;
    max-width: none;
    height: 354px;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
  }

  .thb-why__photo::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 1.515%, rgba(255, 255, 255, 0) 94.066%);
  }

  /* Card: 250 wide, centred, 63px from the top. */
  .thb-why__card {
    top: 63px;
    left: calc(50% - 125px);
    gap: 3.375px;
    width: 250px;
    max-width: 250px;
    padding: 11.476px 10.125px 6.75px 12.826px;
    border-width: 0.675px;
    border-radius: 10.736px;
    box-shadow: none;
  }

  .thb-why__card-title {
    padding: 3.834px 6.135px;
    border-radius: 5.368px;
    font-size: 10px;
    line-height: 14.3px;
    white-space: normal;
  }

  .thb-why__benefits {
    gap: 6.75px;
    width: 223.926px;
    max-width: 100%;
  }

  .thb-why__benefit {
    gap: 9.45px;
    min-height: 22.501px;
    font-size: 9px;
    line-height: 9.45px;
  }

  .thb-why__benefit:not(:last-child)::after {
    height: 0.675px;
  }

  .thb-why__check {
    width: 9.45px;
    height: 9.45px;
    border-radius: 4.725px;
    font-size: 6.75px;
    line-height: 9.45px;
  }

  /* ---------- 04 CTA bar ---------- */
  .thb-cta-bar__box {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    min-height: 0;
    padding: 20px 22px;
    overflow: hidden;
    border-radius: 20px;
  }

  /* Mobile design has no dashed border or divider. */
  .thb-cta-bar__border,
  .thb-cta-bar__divider {
    display: none;
  }

  .thb-cta-bar__main {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .thb-cta-bar__copy {
    gap: 20px;
  }

  .thb-cta-bar__title {
    font-size: 20px;
    line-height: 30px;
  }

  .thb-cta-bar .thb-cta-bar__text {
    color: var(--thb-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
  }

  .thb-cta-bar__btn {
    width: 100%;
    height: 50px;
    font-size: 14px;
    font-weight: 600;
  }
}


/* QA overrides */

@media (max-width: 767px) {
  .thb-v2 .thb-why__visual { height: 300px; }
  .thb-v2 .thb-why__photo img { object-fit: contain; }
  .thb-v2 .thb-why__card { top: 40px; }
  /* Scale the 418px reference card with its available width, including type.
     Fixed desktop-sized type made the copy wrap into a much taller column. */
  .thb-v2 .thb-cta-bar > .thb-container { container-type: inline-size; }
  .thb-v2 .thb-cta-bar__box {
    gap: 5.742cqw;
    padding: 5.742cqw;
    border: 0;
    border-radius: 5.742cqw;
    background: #eff2ff;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
  }
  .thb-v2 .thb-cta-bar__border,
  .thb-v2 .thb-cta-bar__divider { display: none; }
  .thb-v2 .thb-cta-bar__main {
    display: grid;
    grid-template-columns: 16.746cqw minmax(0, 1fr);
    align-items: start;
    gap: 4.785cqw;
  }
  .thb-v2 .thb-cta-bar__badge { width: 16.746cqw; height: 16.746cqw; padding: 0; }
  .thb-v2 .thb-cta-bar__badge img { width: 10.048cqw; height: 10.287cqw; }
  .thb-v2 .thb-cta-bar__badge::before { display: none; }
  .thb-v2 .thb-cta-bar__copy { gap: 5.742cqw; }
  .thb-v2 .thb-cta-bar__title { font-size: clamp(16px, 4.785cqw, 20px); line-height: 1.55; }
  .thb-v2 .thb-cta-bar__text { font-size: clamp(12px, 3.828cqw, 16px); line-height: 1.5625; font-weight: 400; }
  .thb-v2 .thb-cta-bar__btn { width: 100%; height: 12.919cqw; min-height: 44px; font-size: clamp(12px, 3.349cqw, 14px); }
  .thb-v2 .thb-cta-bar__btn-icon { width: 4.785cqw; height: 4.785cqw; }
  .thb-v2 .thb-cta-bar__btn-icon img { width: 2.632cqw; height: 2.392cqw; }
}


/* ============================================================= */
/* Section: 05-process                                            */
/* ============================================================= */
/* ============================================================= */
/* 05 PROCESS — "Complete Medical Billing Services for Telehealth */
/* Practices" (Figma 12737:393): header, 6 numbered steps in a   */
/* 2-column ruled grid, "What We Review Before Billing" panel.    */
/* ============================================================= */
.thb-process {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

/* 1440 frame wrapper: decoration is positioned against it, like Figma. */
.thb-process__frame {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.thb-process .thb-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ---------- Decoration ---------- */
.thb-process__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.thb-process__ring,
.thb-process__dot,
.thb-process__glow,
.thb-process__tile {
  position: absolute;
  display: block;
}

.thb-process__ring--solid {
  left: -180px;
  top: -235px;
  width: 560px;
  height: 560px;
  border: 1px solid #dce3f2;
  border-radius: 50%;
}

.thb-process__ring--dashed {
  left: -120px;
  top: -175px;
  width: 440px;
  height: 440px;
  border: 1px dashed #e1e7f4;
  border-radius: 50%;
  animation: thb-process-spin 80s linear infinite;
}

.thb-process__dot {
  border-radius: 50%;
}

.thb-process__dot--orange {
  left: 88px;
  top: 47px;
  width: 12px;
  height: 12px;
  background: #fc5d61;
  animation: thb-process-float 6s ease-in-out infinite;
}

.thb-process__dot--faint {
  left: 236px;
  top: 197px;
  width: 8px;
  height: 8px;
  background: #273775;
  opacity: 0.55;
  animation: thb-process-float 7s ease-in-out 1s infinite;
}

.thb-process__dot--blue {
  left: 30px;
  top: 253px;
  width: 16px;
  height: 16px;
  background: #273775;
  animation: thb-process-float 8s ease-in-out 0.5s infinite;
}

.thb-process__glow {
  right: -140px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 233, 248, 1) 0%, rgba(227, 233, 248, 0) 70%);
  opacity: 0.2;
}

.thb-process__tile {
  right: 120px;
  top: 70px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(39, 55, 117, 0.1);
  rotate: -8deg;
  animation: thb-process-float 6.5s ease-in-out infinite;
}

.thb-process__tile img {
  display: block;
  width: 30.0012px;
  height: 30.0012px;
}

@keyframes thb-process-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

@keyframes thb-process-spin {
  to { rotate: 360deg; }
}

/* ---------- Header ---------- */
.thb-process__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.thb-process__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border: 1px solid #e1e7f4;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(39, 55, 117, 0.06);
  color: #273775;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
}

.thb-process__chip img {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}

.thb-process__title {
  padding-top: 21px;
  color: #273775;
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
  letter-spacing: -0.8px;
}

.thb-process__bars {
  display: flex;
  gap: 6px;
  margin-top: 18px;
}

.thb-process__bars span {
  display: block;
  height: 4px;
  border-radius: 4px;
}

.thb-process__bars span:first-child {
  width: 44px;
  background: #fc5d61;
}

.thb-process__bars span:last-child {
  width: 12px;
  background: #273775;
}

.thb-process__intro {
  max-width: 900px;
  padding: 18.75px 3.27px 0 3.25px;
  color: #3d3d3d;
  font-size: 17px;
  line-height: 29.75px;
}

/* ---------- Steps (2-column ruled grid) ---------- */
.thb-process__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thb-process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  transition: background-color 0.3s ease;
}

/* Bottom rule (rows 1-2) and centre rule, drawn as pseudo-elements so they can
   draw in on reveal. Colour/weight from Figma (#c4c6c9, 1px). */
.thb-process__step::after,
.thb-process__step::before {
  content: "";
  position: absolute;
  background: #c4c6c9;
  pointer-events: none;
}

.thb-process__step::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform-origin: left center;
}

.thb-process__step:nth-last-child(-n + 2)::after {
  display: none;
}

.thb-process__step::before {
  display: none;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  transform-origin: center top;
}

.thb-process__step:nth-child(odd)::before {
  display: block;
}

.thb-process__step-title {
  color: #273775;
  font-size: 24px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: -0.3px;
}

.thb-process__num {
  display: inline-block;
  color: #fc5d61;
  transition: scale 0.3s var(--thb-ease);
}

.thb-process__step-text {
  color: #3d3d3d;
  font-size: 16px;
  line-height: 28px;
}

.thb-process__step:hover {
  background-color: #f7f9fd;
}

.thb-process__step:hover .thb-process__num {
  scale: 1.18;
}

/* ---------- Bottom panel ---------- */
.thb-process__panel {
  position: relative;
  padding: 18.5px 25px 22.5px;
  border: 2px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, #273775 0%, #fc5d61 100%) border-box;
  box-shadow: 0 3px 13px rgba(39, 55, 117, 0.07);
  transition: box-shadow 0.35s ease, translate 0.35s var(--thb-ease);
}

.thb-process__panel:hover {
  translate: 0 -4px;
  box-shadow: 0 18px 40px rgba(39, 55, 117, 0.12);
}

.thb-process__panel-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 29px;
  color: #273775;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
}

.thb-process__panel-title img {
  display: block;
  width: 36px;
  height: 36px;
  flex: none;
}

.thb-process__panel-title::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 37.41px;
  width: 46px;
  height: 3px;
  margin-left: -23px;
  border-radius: 2px;
  background: #fc5d61;
  transform-origin: center;
}

.thb-process__checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 36px;
  column-gap: 26px;
  row-gap: 20px;
}

/* Dividers (#e5e7eb, Figma 12737:472-477):
   - ::after  a 181px horizontal rule centred in the column, 9.91px under the item
     (Figma top 45.91 in the 36px-row grid), under every item of rows 1 and 2 (items 1-8);
   - ::before a 146px vertical rule in the column gap, from the first-row items (cols 1-3).
     Figma places them at x 285 / 583 / 880 of the 1186px grid, i.e. 8px / 3px / -3px
     past each column's right edge. */
.thb-process__check:nth-child(-n + 8) {
  position: relative;
}

.thb-process__check:nth-child(-n + 8)::after,
.thb-process__check:nth-child(-n + 3)::before {
  content: "";
  position: absolute;
  background: #e5e7eb;
  pointer-events: none;
}

.thb-process__check:nth-child(-n + 8)::after {
  left: 50%;
  top: 45.91px;
  width: 181px;
  height: 1px;
  margin-left: -90.5px;
  transform-origin: center;
}

.thb-process__check:nth-child(-n + 3)::before {
  top: -0.25px;
  height: 146px;
  width: 1px;
  transform-origin: top;
}

.thb-process__check:nth-child(1)::before { right: -8px; }
.thb-process__check:nth-child(2)::before { right: -3px; }
.thb-process__check:nth-child(3)::before { right: 3px; }

.thb-process__check {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: #273775;
  font-size: 14px;
  line-height: 20px;
}

.thb-process__check img {
  display: block;
  flex: none;
  transition: scale 0.3s var(--thb-ease);
}

.thb-process__check span {
  min-width: 0;
}

.thb-process__check:nth-child(4) span {
  white-space: nowrap;
}

.thb-process__check:hover img {
  scale: 1.2;
}

/* ---------- Reveal (script-v2.js: .is-armed / .is-in) ---------- */
.thb-process.is-armed:not(.is-in) :is(
  .thb-process__head > *,
  .thb-process__step,
  .thb-process__panel,
  .thb-process__check,
  .thb-process__tile,
  .thb-process__ring,
  .thb-process__dot
) {
  opacity: 0;
}

.thb-process.is-in .thb-process__ring { animation: thb-fade 1.2s ease 0s backwards; }
.thb-process.is-in .thb-process__ring--dashed { animation: thb-fade 1.2s ease 0.15s backwards, thb-process-spin 80s linear 1.35s infinite; }
.thb-process.is-in .thb-process__dot--orange { animation: thb-pop 0.6s var(--thb-ease) 0.3s backwards, thb-process-float 6s ease-in-out 0.9s infinite; }
.thb-process.is-in .thb-process__dot--faint { animation: thb-pop 0.6s var(--thb-ease) 0.4s backwards, thb-process-float 7s ease-in-out 1s infinite; }
.thb-process.is-in .thb-process__dot--blue { animation: thb-pop 0.6s var(--thb-ease) 0.5s backwards, thb-process-float 8s ease-in-out 1.1s infinite; }
.thb-process.is-in .thb-process__tile { animation: thb-pop 0.7s var(--thb-ease) 0.45s backwards, thb-process-float 6.5s ease-in-out 1.15s infinite; }

.thb-process.is-in .thb-process__head > * { animation: thb-rise 0.7s var(--thb-ease) backwards; }
.thb-process.is-in .thb-process__chip { animation-delay: 0.05s; }
.thb-process.is-in .thb-process__title { animation-delay: 0.15s; }
.thb-process.is-in .thb-process__bars { animation: thb-pop 0.6s var(--thb-ease) 0.3s backwards; }
.thb-process.is-in .thb-process__intro { animation-delay: 0.35s; }

.thb-process.is-in .thb-process__step {
  animation: thb-rise 0.7s var(--thb-ease) calc(0.45s + var(--i, 0) * 0.1s) backwards;
}

.thb-process.is-in .thb-process__step::after {
  animation: thb-process-draw-x 0.9s var(--thb-ease) calc(0.7s + var(--i, 0) * 0.1s) backwards;
}

.thb-process.is-in .thb-process__step::before {
  animation: thb-process-draw-y 0.9s var(--thb-ease) calc(0.6s + var(--i, 0) * 0.15s) backwards;
}

.thb-process.is-in .thb-process__num {
  animation: thb-pop 0.5s var(--thb-ease) calc(0.65s + var(--i, 0) * 0.1s) backwards;
}

.thb-process.is-in .thb-process__panel { animation: thb-rise 0.8s var(--thb-ease) 1s backwards; }
.thb-process.is-in .thb-process__panel-title::after { animation: thb-process-draw-x 0.6s var(--thb-ease) 1.4s backwards; }
.thb-process.is-in .thb-process__checks { animation: thb-fade 0.8s ease 1.3s backwards; }
.thb-process.is-in .thb-process__check {
  animation: thb-rise 0.55s var(--thb-ease) calc(1.25s + var(--i, 0) * 0.05s) backwards;
}

/* Dividers draw in once their items have landed. */
.thb-process.is-in .thb-process__check:nth-child(-n + 8)::after {
  animation: thb-process-draw-x 0.7s var(--thb-ease) calc(1.6s + var(--i, 0) * 0.1s) backwards;
}

.thb-process.is-in .thb-process__check:nth-child(-n + 3)::before {
  animation: thb-process-draw-y 0.8s var(--thb-ease) calc(1.5s + var(--i, 0) * 0.1s) backwards;
}

@keyframes thb-process-draw-x {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes thb-process-draw-y {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-process__tile {
    right: 40px;
  }

  .thb-process__checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    row-gap: 14px;
  }

  /* The divider layout only fits Figma's 4-column grid. */
  .thb-process__check:nth-child(-n + 8)::after,
  .thb-process__check:nth-child(-n + 3)::before {
    display: none;
  }

  .thb-process__check {
    min-height: 36px;
  }

  .thb-process__check:nth-child(4) span {
    white-space: normal;
  }
}

@media (max-width: 991px) {
  .thb-process .thb-container {
    gap: 44px;
  }

  .thb-process__tile {
    display: none;
  }

  .thb-process__title {
    font-size: 28px;
    line-height: 38px;
  }

  .thb-process__step-title {
    font-size: 21px;
    line-height: 26px;
  }
}

@media (max-width: 767px) {

  .thb-process .thb-container {
    gap: 32px;
    padding: 0 16px;
  }

  .thb-process__ring--solid,
  .thb-process__ring--dashed {
    scale: 0.6;
    transform-origin: 0 0;
  }

  .thb-process__glow {
    display: none;
  }

  .thb-process__chip {
    padding: 8px 14px;
    font-size: 13px;
  }

  .thb-process__title {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.5px;
  }

  .thb-process__intro {
    padding: 16px 0 0;
    font-size: 15px;
    line-height: 26px;
  }

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

  .thb-process__step {
    gap: 12px;
    padding: 20px 4px;
  }

  .thb-process__step::before {
    display: none !important;
  }

  .thb-process__step:nth-last-child(2)::after {
    display: block;
  }

  .thb-process__step-title {
    font-size: 19px;
    line-height: 25px;
  }

  .thb-process__step-text {
    font-size: 15px;
    line-height: 26px;
  }

  .thb-process__panel {
    padding: 18px 16px 20px;
  }

  .thb-process__panel-title {
    margin-bottom: 26px;
    font-size: 20px;
    gap: 10px;
  }

  .thb-process__panel-title img {
    width: 30px;
    height: 30px;
  }

  .thb-process__checks {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
  }
}

/* ============================================================= */
/* Section: 06-coding                                             */
/* ============================================================= */
/* ============================================================= */
/* 06 CODING — "Telehealth Code and Modifier Accuracy That      */
/* Payers Expect" (Figma 12737:528): header, two floating UI     */
/* cards, 12 numbered code/modifier rows in a 2-column grid.      */
/* ============================================================= */
.thb-coding {
  position: relative;
  background: #ffffff;
}

/* Figma "Section" 12737:529: 1440 wide, 60px vertical padding, clips its decoration. */
.thb-coding__frame {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

.thb-coding .thb-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* ---------- Decoration ---------- */
.thb-coding__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.thb-coding__ring,
.thb-coding__dot,
.thb-coding__dots {
  position: absolute;
  display: block;
}

.thb-coding__ring--solid {
  left: -150px;
  top: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid #e1e7f4;
  border-radius: 50%;
}

.thb-coding__ring--dashed {
  left: -90px;
  top: -110px;
  width: 300px;
  height: 300px;
  border: 1px dashed #e1e7f4;
  border-radius: 50%;
  animation: thb-coding-spin 70s linear infinite;
}

.thb-coding__dot {
  border-radius: 50%;
}

.thb-coding__dot--orange {
  left: 112px;
  top: 58px;
  width: 16px;
  height: 16px;
  background: #fc5d61;
  animation: thb-coding-float 6s ease-in-out infinite;
}

.thb-coding__dot--blue {
  left: 150px;
  top: 110px;
  width: 8px;
  height: 8px;
  background: #273775;
  opacity: 0.55;
  animation: thb-coding-float 7s ease-in-out 0.8s infinite;
}

/* 12737:535: dot-grid patch (#c9d2ea) bottom-left, behind the grid. */
.thb-coding__dots {
  left: 100px;
  bottom: 40px;
  width: 120px;
  height: 48px;
  background: radial-gradient(circle, #c9d2ea 1.7px, rgba(201, 210, 234, 0) 1.7px) 0 0 / 12px 12px;
}

@keyframes thb-coding-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

@keyframes thb-coding-spin {
  to { rotate: 360deg; }
}

/* ---------- Floating cards ---------- */
.thb-coding__float {
  position: absolute;
  z-index: 2;
  width: 196px;
  padding: 14px 16px;
  border-radius: 16px;
  transition: translate 0.4s var(--thb-ease), box-shadow 0.4s ease;
}

.thb-coding__float--review {
  left: 100px;
  top: 135px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #e6ebf5;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(39, 55, 117, 0.12);
  rotate: -4deg;
  animation: thb-coding-float 7s ease-in-out infinite;
}

.thb-coding__float--capture {
  right: 100px;
  top: 143px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #273775;
  box-shadow: 0 18px 40px rgba(39, 55, 117, 0.28);
  rotate: 4deg;
  animation: thb-coding-float 7.5s ease-in-out 1s infinite;
}

.thb-coding__review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thb-coding__review-title {
  color: #273775;
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
}

.thb-coding__review-pill {
  padding: 2px 8px 3px;
  border-radius: 999px;
  background: #ffe9ea;
  color: #fc5d61;
  font-size: 9px;
  font-weight: 600;
  line-height: normal;
}

.thb-coding__review-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.thb-coding__review-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3d3d3d;
  font-size: 10px;
  line-height: normal;
}

.thb-coding__code {
  flex: none;
  padding: 2px 7px 3px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  line-height: normal;
}

.thb-coding__code--blue { background: #273775; color: #ffffff; }
.thb-coding__code--orange { background: #fc5d61; color: #ffffff; }
.thb-coding__code--soft { background: #eef2fb; color: #273775; }

.thb-coding__capture-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.thb-coding__capture-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fc5d61;
}

.thb-coding__capture-icon img {
  display: block;
  width: 18.0041px;
  height: 18.0041px;
}

.thb-coding__capture-copy {
  display: flex;
  flex-direction: column;
}

.thb-coding__capture-label {
  color: #d7def1;
  font-size: 11px;
  line-height: normal;
}

.thb-coding__capture-value {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 20.7px;
}

.thb-coding__capture-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
}

.thb-coding__capture-bars span {
  flex: 1 1 0;
  height: var(--h);
  border-radius: 3px;
  background: #4e62ae;
  transform-origin: bottom center;
}

.thb-coding__capture-bars span:last-child {
  background: #fc5d61;
}

/* ---------- Header ---------- */
.thb-coding__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.thb-coding__eyebrow {
  border-radius: 9.069px;
  line-height: 9.976px;
}

.thb-coding__title {
  max-width: 700px;
  color: #273775;
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
  letter-spacing: -1px;
}

.thb-coding__bars {
  display: flex;
  gap: 6px;
}

.thb-coding__bars span {
  display: block;
  height: 4px;
  border-radius: 4px;
}

.thb-coding__bars span:first-child {
  width: 56px;
  background: #fc5d61;
}

.thb-coding__bars span:last-child {
  width: 14px;
  background: #273775;
}

.thb-coding__intro {
  max-width: 744px;
  color: #3d3d3d;
  font-size: 16px;
  line-height: 28px;
}

/* ---------- Code grid ---------- */
.thb-coding__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 16px;
}

.thb-coding__item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 80.39px;
  padding: 16px 22px 16px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #eff2ff;
  transition: translate 0.35s var(--thb-ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.thb-coding__item--rose {
  border-color: #fddcdd;
  background: #fff4f4;
}

.thb-coding__item:hover {
  translate: 0 -4px;
  border-color: #c9d2ea;
  box-shadow: 0 16px 32px rgba(39, 55, 117, 0.1);
}

.thb-coding__item--rose:hover {
  border-color: #f9b9bb;
}

.thb-coding__badge {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #273775;
  box-shadow: 0 8px 18px rgba(39, 55, 117, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  transition: rotate 0.35s var(--thb-ease), scale 0.35s var(--thb-ease);
}

.thb-coding__badge--orange {
  background: #fc5d61;
}

.thb-coding__item:hover .thb-coding__badge {
  rotate: -6deg;
  scale: 1.06;
}

.thb-coding__copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.thb-coding__item-title {
  color: #273775;
  font-size: 16px;
  font-weight: 600;
  line-height: 22.4px;
}

.thb-coding__item-text {
  color: #3d3d3d;
  font-size: 14px;
  line-height: 21px;
}

.thb-coding__check {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transition: scale 0.3s var(--thb-ease), box-shadow 0.3s ease;
}

.thb-coding__item:hover .thb-coding__check {
  scale: 1.15;
  box-shadow: 0 4px 10px rgba(39, 55, 117, 0.15);
}

/* ---------- Reveal (script-v2.js: .is-armed / .is-in) ---------- */
.thb-coding.is-armed:not(.is-in) :is(
  .thb-coding__head > *,
  .thb-coding__item,
  .thb-coding__badge,
  .thb-coding__check,
  .thb-coding__float,
  .thb-coding__ring,
  .thb-coding__dot,
  .thb-coding__dots
) {
  opacity: 0;
}

.thb-coding.is-in .thb-coding__ring { animation: thb-fade 1.2s ease backwards; }
.thb-coding.is-in .thb-coding__ring--dashed { animation: thb-fade 1.2s ease 0.15s backwards, thb-coding-spin 70s linear 1.35s infinite; }
.thb-coding.is-in .thb-coding__dot--orange { animation: thb-pop 0.6s var(--thb-ease) 0.3s backwards, thb-coding-float 6s ease-in-out 0.9s infinite; }
.thb-coding.is-in .thb-coding__dot--blue { animation: thb-pop 0.6s var(--thb-ease) 0.4s backwards, thb-coding-float 7s ease-in-out 1s infinite; }
.thb-coding.is-in .thb-coding__dots { animation: thb-fade 1s ease 0.8s backwards; }

.thb-coding.is-in .thb-coding__float--review { animation: thb-from-left 0.8s var(--thb-ease) 0.35s backwards, thb-coding-float 7s ease-in-out 1.15s infinite; }
.thb-coding.is-in .thb-coding__float--capture { animation: thb-from-right 0.8s var(--thb-ease) 0.45s backwards, thb-coding-float 7.5s ease-in-out 1.25s infinite; }
.thb-coding.is-in .thb-coding__capture-bars span {
  animation: thb-coding-grow 0.7s var(--thb-ease) calc(0.9s + var(--i, 0) * 0.08s) backwards;
}

@keyframes thb-coding-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.thb-coding.is-in .thb-coding__head > * { animation: thb-rise 0.7s var(--thb-ease) backwards; }
.thb-coding.is-in .thb-coding__eyebrow { animation-delay: 0.05s; }
.thb-coding.is-in .thb-coding__title { animation-delay: 0.15s; }
.thb-coding.is-in .thb-coding__bars { animation: thb-pop 0.6s var(--thb-ease) 0.3s backwards; }
.thb-coding.is-in .thb-coding__intro { animation-delay: 0.35s; }

.thb-coding.is-in .thb-coding__item:nth-child(odd) {
  animation: thb-from-left 0.7s var(--thb-ease) calc(0.45s + var(--i, 0) * 0.06s) backwards;
}

.thb-coding.is-in .thb-coding__item:nth-child(even) {
  animation: thb-from-right 0.7s var(--thb-ease) calc(0.45s + var(--i, 0) * 0.06s) backwards;
}

.thb-coding.is-in .thb-coding__badge {
  animation: thb-pop 0.5s var(--thb-ease) calc(0.7s + var(--i, 0) * 0.06s) backwards;
}

.thb-coding.is-in .thb-coding__check {
  animation: thb-pop 0.45s var(--thb-ease) calc(0.9s + var(--i, 0) * 0.06s) backwards;
}

/* ---------- Responsive ---------- */
/* The floating cards sit beside the 744px intro at 1440; below that they would
   collide with the copy, so they tuck in and then hide. */
@media (max-width: 1365px) {
  .thb-coding__float--review { left: 24px; }
  .thb-coding__float--capture { right: 24px; }
}

@media (max-width: 1199px) {
  .thb-coding__float {
    display: none;
  }

  .thb-coding__grid {
    column-gap: 20px;
  }
}

@media (max-width: 991px) {
  .thb-coding__title {
    font-size: 28px;
    line-height: 38px;
  }

  .thb-coding__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
  }

  /* Single column: keep the blue / rose rhythm alternating row by row. */
  .thb-coding__item:nth-child(odd) {
    border-color: #e5e7eb;
    background: #eff2ff;
  }

  .thb-coding__item:nth-child(even) {
    border-color: #fddcdd;
    background: #fff4f4;
  }
}

@media (max-width: 767px) {

  .thb-coding__frame {
    padding: 40px 0;
  }

  .thb-coding .thb-container {
    gap: 32px;
    padding: 0 16px;
  }

  .thb-coding__ring--solid,
  .thb-coding__ring--dashed {
    scale: 0.6;
    transform-origin: 0 0;
  }

  .thb-coding__dots {
    display: none;
  }

  .thb-coding__title {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.5px;
  }

  .thb-coding__intro {
    font-size: 15px;
    line-height: 26px;
  }

  .thb-coding__item {
    gap: 12px;
    padding: 14px 14px 14px 12px;
    border-radius: 16px;
  }

  .thb-coding__badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 12px;
  }

  .thb-coding__item-title {
    font-size: 15px;
    line-height: 21px;
  }

  .thb-coding__item-text {
    font-size: 13px;
    line-height: 19px;
  }
}

/* ---------- Mobile: 02-process-coding ---------- */
/* ============================================================= */
/* MOBILE (<=767px) — 05-process and 06-coding mobile layout     */
/* (440 frame, 20px gutters).                                    */
/* ============================================================= */
@media (max-width: 767px) {

  /* ---------------- 05 PROCESS ---------------- */
  .thb-process .thb-container {
    gap: 32px;
    padding: 0 20px;
  }

  /* Mobile design has no decoration. */
  .thb-process__decor {
    display: none;
  }

  .thb-process__head {
    gap: 18px;
  }

  .thb-process__chip {
    gap: 10px;
    padding: 9px 20px;
    font-size: 14px;
    box-shadow: 0 6px 9px rgba(39, 55, 117, 0.06);
  }

  .thb-process__title {
    padding-top: 0;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: -0.8px;
  }

  .thb-process__bars {
    margin-top: 0;
  }

  .thb-process__intro {
    max-width: none;
    padding: 0;
    color: #3d3d3d;
    font-size: 14px;
    line-height: 28px;
  }

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

  .thb-process__step {
    gap: 12px;
    padding: 24px 0;
  }

  .thb-process__step:first-child {
    padding-top: 0;
  }

  .thb-process__step:last-child {
    padding-bottom: 0;
  }

  .thb-process__step:hover {
    background-color: transparent;
  }

  .thb-process__step::before {
    display: none !important;
  }

  .thb-process__step::after {
    display: block;
    background: #e5e7eb;
  }

  .thb-process__step:last-child::after {
    display: none;
  }

  .thb-process__step-title {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -0.3px;
  }

  .thb-process__step-text {
    color: #3d3d3d;
    font-size: 14px;
    line-height: 28px;
  }

  .thb-process__panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px;
  }

  .thb-process__panel-title {
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0;
    font-size: 20px;
    line-height: 30px;
  }

  .thb-process__panel-title img {
    width: 36px;
    height: 36px;
  }

  .thb-process__panel-title span {
    flex: 1 1 0;
    min-width: 0;
  }

  .thb-process__panel-title::after {
    display: none;
  }

  .thb-process__checks {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    row-gap: 16px;
  }

  .thb-process__check {
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
    font-size: 14px;
    line-height: 22px;
  }

  .thb-process__check img {
    margin-top: 1px;
  }

  /* ---------------- 06 CODING ---------------- */
  /* Frame spans the section's 30px mobile padding so the orbits can run up into it
     (Figma draws them from the frame top); layout is unchanged. */
  .thb-coding__frame {
    display: flex;
    flex-direction: column;
    margin: -30px 0;
    padding: 30px 20px;
  }

  /* Flatten the container so the floating cards can sit between the header
     and the grid, as in the mobile design. */
  .thb-coding .thb-container {
    display: contents;
  }

  .thb-coding__head {
    order: 1;
    gap: 0;
  }

  .thb-coding__eyebrow {
    padding: 8px 10px;
    border-radius: 9.07px;
    font-size: 10px;
    line-height: 14px;
  }

  .thb-coding__title {
    max-width: none;
    margin-top: 12px;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: -1px;
  }

  .thb-coding__bars {
    margin-top: 12px;
  }

  .thb-coding__intro {
    max-width: none;
    margin-top: 20px;
    color: #3d3d3d;
    font-size: 14px;
    line-height: 25px;
  }

  /* Decoration: two solid orbits + orange dot. Positions are
     Figma's, offset by the frame's 30px top padding. */
  .thb-coding__ring--solid,
  .thb-coding__ring--dashed {
    scale: none;
    border: 1px solid #e1e7f4;
  }

  .thb-coding__ring--dashed {
    left: -150px;
    top: -150px;
    width: 300px;
    height: 300px;
  }

  .thb-coding__ring--solid {
    left: -210px;
    top: -210px;
    width: 420px;
    height: 420px;
  }

  .thb-coding__dot--orange {
    left: 47px;
    top: 46px;
    width: 12px;
    height: 12px;
  }

  .thb-coding__dot--blue,
  .thb-coding__dots {
    display: none;
  }

  /* Floating cards: shown inline in a 210px band under the intro. */
  .thb-coding__float {
    display: flex;
    position: relative;
    order: 2;
    left: auto;
    right: auto;
    top: auto;
    flex: none;
  }

  .thb-coding__float--review {
    align-self: flex-start;
    margin-top: 20px;
    /* Figma slot 204.66x144.34 at (0,-1.67): unrotated 196x131 card at (4.33, 5). */
    top: 5px;
    left: 4.33px;
    box-shadow: 0 18px 40px rgba(39, 55, 117, 0.12);
  }

  .thb-coding__float--capture {
    align-self: flex-start;
    /* Figma slot 203.38x126.09 at (189.02,74): unrotated 196x112.7 card at
       (192.71, 80.7) in the 210px band; pulled up over the review card. */
    margin-top: -50.3px;
    margin-left: min(192.71px, calc(100% - 200px));
    margin-bottom: 16.6px;
    box-shadow: 0 18px 40px rgba(39, 55, 117, 0.28);
  }

  .thb-coding__grid {
    order: 3;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
    margin-top: 28px;
  }

  .thb-coding__item {
    gap: 14px;
    min-height: 104px;
    padding: 16px;
    border-radius: 18px;
  }

  /* Mobile keeps the desktop pairs: blue, blue, rose, rose, ... */
  .thb-coding__item--blue,
  .thb-coding__item--blue:nth-child(n) {
    border-color: #e5e7eb;
    background: #eff2ff;
  }

  .thb-coding__item--rose,
  .thb-coding__item--rose:nth-child(n) {
    border-color: #fddcdd;
    background: #fff4f4;
  }

  .thb-coding__badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 13px;
  }

  .thb-coding__copy {
    gap: 4px;
  }

  .thb-coding__item-title {
    font-size: 16px;
    line-height: 22.4px;
  }

  .thb-coding__item-text {
    color: #3d3d3d;
    font-size: 14px;
    line-height: 21px;
  }
}


/* QA overrides */

@media (max-width: 767px) {
  .thb-v2 .thb-process__decor { display: block; opacity: .5; }
  .thb-v2 .thb-process__dot { display: none; }
  .thb-v2 .thb-process__panel-title { padding-bottom: 0; }
  .thb-v2 .thb-process__panel-title::after { display: none; }
  .thb-v2 .thb-process__check { padding-bottom: 10px; border-bottom: 1px solid #e1e7f4; }
  .thb-v2 .thb-coding__ring { display: none; }
}

/* Keep each code / modifier group on one line (no "(98000–" / "98003)" splits). */
.thb-v2 .thb-coding__item-title .thb-accent { white-space: nowrap; }

/* ============================================================= */
/* Section: 07-secure (thb-denials)                               */
/* ============================================================= */
/* ============================================================= */
/* 07 · Billing Compliance Standards — Telehealth Figma 12737:716 */
/* #eff2ff band; copy 600 wide at x100 (eyebrow, title, bar, lead,*/
/* 5-row checklist 12741:5376); documentation-review visual       */
/* clipped to x733..1440, 766-wide box with a #eff2ff fade.       */
/* ============================================================= */

.thb-denials {
  position: relative;
  overflow: hidden;
  background: #eff2ff;
}

.thb-denials__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15.1px;
  width: 600px;
  max-width: 100%;
}

.thb-denials__eyebrow {
  height: 26px;
}

.thb-denials__title {
  color: var(--thb-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -1.6px;
}

.thb-denials__bar {
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 3px;
  background: var(--thb-orange);
  transform-origin: left center;
}

.thb-denials__lead {
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

/* Checklist: rows gap 9, 24px tick + 10px gap, Medium 16/28.8. */
.thb-denials__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
}

.thb-denials__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 28.8px;
  transition: color 0.25s ease, translate 0.3s var(--thb-ease);
}

.thb-denials__tick {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  transition: scale 0.3s var(--thb-ease), rotate 0.3s var(--thb-ease);
}

.thb-denials__item:hover {
  color: var(--thb-blue);
  translate: 4px 0;
}

.thb-denials__item:hover .thb-denials__tick {
  scale: 1.15;
  rotate: -10deg;
}

/* Visual: the 707-wide clip window starts 13px right of centre (x733 at 1440). */
.thb-denials__visual {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 13px);
  right: 0;
  overflow: hidden;
}

/* The 766-wide image box overflows the window by 59px on the right, as in Figma. */
.thb-denials__visual-box {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: -59px;
  overflow: hidden;
}

.thb-denials__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  transition: scale 1.2s var(--thb-ease);
}

.thb-denials__visual-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #eff2ff 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.thb-denials:hover .thb-denials__img {
  scale: 1.03;
}

/* ---------- Entrance ---------- */
@keyframes thb-denials-bar {
  from { scale: 0 1; }
  to   { scale: 1 1; }
}

@keyframes thb-denials-zoom {
  from { opacity: 0; scale: 1.08; }
  to   { opacity: 1; scale: 1; }
}

.thb-denials.is-armed:not(.is-in) :is(
  .thb-denials__eyebrow,
  .thb-denials__title,
  .thb-denials__bar,
  .thb-denials__lead,
  .thb-denials__item,
  .thb-denials__img
) {
  opacity: 0;
}

.thb-denials.is-in .thb-denials__eyebrow { animation: thb-from-left 0.6s var(--thb-ease) 0.05s backwards; }
.thb-denials.is-in .thb-denials__title   { animation: thb-rise 0.7s var(--thb-ease) 0.15s backwards; }
.thb-denials.is-in .thb-denials__bar     { animation: thb-denials-bar 0.6s var(--thb-ease) 0.4s backwards; }
.thb-denials.is-in .thb-denials__lead    { animation: thb-rise 0.7s var(--thb-ease) 0.3s backwards; }
.thb-denials.is-in .thb-denials__img     { animation: thb-denials-zoom 1.2s var(--thb-ease) 0.1s backwards; }
.thb-denials.is-in .thb-denials__item    { animation: thb-from-left 0.6s var(--thb-ease) backwards; }
.thb-denials.is-in .thb-denials__tick    { animation: thb-pop 0.45s var(--thb-ease) backwards; }
.thb-denials.is-in .thb-denials__item:nth-child(1) { animation-delay: 0.45s; }
.thb-denials.is-in .thb-denials__item:nth-child(2) { animation-delay: 0.53s; }
.thb-denials.is-in .thb-denials__item:nth-child(3) { animation-delay: 0.61s; }
.thb-denials.is-in .thb-denials__item:nth-child(4) { animation-delay: 0.69s; }
.thb-denials.is-in .thb-denials__item:nth-child(5) { animation-delay: 0.77s; }
.thb-denials.is-in .thb-denials__item:nth-child(1) .thb-denials__tick { animation-delay: 0.7s; }
.thb-denials.is-in .thb-denials__item:nth-child(2) .thb-denials__tick { animation-delay: 0.78s; }
.thb-denials.is-in .thb-denials__item:nth-child(3) .thb-denials__tick { animation-delay: 0.86s; }
.thb-denials.is-in .thb-denials__item:nth-child(4) .thb-denials__tick { animation-delay: 0.94s; }
.thb-denials.is-in .thb-denials__item:nth-child(5) .thb-denials__tick { animation-delay: 1.02s; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-denials__copy {
    width: calc(50% - 10px);
  }

  .thb-denials__visual {
    left: 50%;
  }

  .thb-denials__item {
    align-items: flex-start;
    line-height: 24px;
  }
}

@media (max-width: 991px) {
  .thb-denials {
    display: flex;
    flex-direction: column;
  }

  .thb-denials__copy {
    width: 100%;
  }

  .thb-denials__visual {
    position: relative;
    order: 2;
    left: auto;
    right: auto;
    width: 100%;
    height: 440px;
    margin-top: 32px;
  }

  .thb-denials__visual-box {
    right: 0;
  }

  .thb-denials__img {
    object-position: 75% 40%;
  }

  .thb-denials__visual-box::after {
    background: linear-gradient(180deg, #eff2ff 0%, rgba(239, 242, 255, 0) 35%);
  }
}

/* ============================================================= */
/* Section: 08-serve                                              */
/* ============================================================= */
/* ============================================================= */
/* 08 · Who We Serve — Telehealth Figma 12737:731                 */
/* white, heading group (gap 10, intro 878 wide) then a row of    */
/* six equal cards (gap 20), 46px icons; section gap 20.          */
/* ============================================================= */

.thb-serve {
  position: relative;
  background: #ffffff;
}

.thb-serve__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto 20px;
  text-align: center;
}

.thb-serve__title {
  color: var(--thb-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
}

.thb-serve__intro {
  max-width: 878px;
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 25.2px;
}

.thb-serve__grid {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.thb-serve__card {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  min-height: 140px;
  /* Figma strokes sit inside the card: 1px border + 17/19/15 = 18/20/16 from the edge. */
  padding: 17px 19px 15px;
  border: 1px solid #cccccc;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 15px rgba(39, 55, 117, 0.07);
  transition: translate 0.35s var(--thb-ease), box-shadow 0.35s var(--thb-ease), border-color 0.35s ease;
}

.thb-serve__card:hover {
  translate: 0 -6px;
  border-color: rgba(39, 55, 117, 0.35);
  box-shadow: 0 20px 30px rgba(39, 55, 117, 0.14);
}

.thb-serve__icon {
  position: relative;
  display: block;
  flex: none;
  width: 46px;
  height: 46px;
  overflow: hidden;
  transition: scale 0.35s var(--thb-ease), rotate 0.35s var(--thb-ease);
}

.thb-serve__icon img {
  display: block;
  width: 46px;
  height: 46px;
  max-width: none;
}

/* Glyphs that sit inside their 46px icon frame at Figma's offsets. */
.thb-serve__icon .thb-serve__glyph {
  position: absolute;
}

/* hugeicons:brain-02 — 8.33% inset, bled by 2.61%. */
.thb-serve__icon .thb-serve__glyph--head {
  top: 2.833px;
  left: 2.833px;
  width: 40.3336px;
  height: 40.3339px;
}

/* fluent-emoji-high-contrast:brain — 39.27x36 centred at (-0.36, +0.41). */
.thb-serve__icon .thb-serve__glyph--brain {
  top: 5.41px;
  left: 3.005px;
  width: 39.27px;
  height: 36px;
}

/* carbon:hospital — inset 13.65% top, 15.22% left. */
.thb-serve__icon .thb-serve__glyph--clinic {
  top: 6.279px;
  left: 7px;
  width: 33px;
  height: 33px;
}

/* akar-icons:location (Multi-State Provider Groups) — 32.67 x 40.33 at 6.67 / 2.83. */
.thb-serve__icon .thb-serve__glyph--pin {
  top: 2.833px;
  left: 6.667px;
  width: 32.6667px;
  height: 40.3333px;
}

.thb-serve__card:hover .thb-serve__icon {
  scale: 1.12;
  rotate: -6deg;
}

.thb-serve__name {
  color: var(--thb-blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
}

/* ---------- Entrance ---------- */
.thb-serve.is-armed:not(.is-in) :is(
  .thb-serve__head > *,
  .thb-serve__card,
  .thb-serve__icon
) {
  opacity: 0;
}

.thb-serve.is-in .thb-serve__head > :nth-child(1) { animation: thb-pop 0.5s var(--thb-ease) 0.05s backwards; }
.thb-serve.is-in .thb-serve__head > :nth-child(2) { animation: thb-rise 0.7s var(--thb-ease) 0.12s backwards; }
.thb-serve.is-in .thb-serve__head > :nth-child(3) { animation: thb-rise 0.7s var(--thb-ease) 0.22s backwards; }

.thb-serve.is-in .thb-serve__card { animation: thb-rise 0.7s var(--thb-ease) backwards; }
.thb-serve.is-in .thb-serve__icon { animation: thb-pop 0.5s var(--thb-ease) backwards; }

.thb-serve.is-in .thb-serve__card:nth-child(1) { animation-delay: 0.3s; }
.thb-serve.is-in .thb-serve__card:nth-child(2) { animation-delay: 0.38s; }
.thb-serve.is-in .thb-serve__card:nth-child(3) { animation-delay: 0.46s; }
.thb-serve.is-in .thb-serve__card:nth-child(4) { animation-delay: 0.54s; }
.thb-serve.is-in .thb-serve__card:nth-child(5) { animation-delay: 0.62s; }
.thb-serve.is-in .thb-serve__card:nth-child(6) { animation-delay: 0.7s; }
.thb-serve.is-in .thb-serve__card:nth-child(1) .thb-serve__icon { animation-delay: 0.6s; }
.thb-serve.is-in .thb-serve__card:nth-child(2) .thb-serve__icon { animation-delay: 0.68s; }
.thb-serve.is-in .thb-serve__card:nth-child(3) .thb-serve__icon { animation-delay: 0.76s; }
.thb-serve.is-in .thb-serve__card:nth-child(4) .thb-serve__icon { animation-delay: 0.84s; }
.thb-serve.is-in .thb-serve__card:nth-child(5) .thb-serve__icon { animation-delay: 0.92s; }
.thb-serve.is-in .thb-serve__card:nth-child(6) .thb-serve__icon { animation-delay: 1s; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-serve__grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .thb-serve__card {
    flex: 0 1 calc((100% - 40px) / 3);
  }
}

/* ============================================================= */
/* Section: 09-types                                              */
/* ============================================================= */
/* ============================================================= */
/* 09 · Telehealth Service Types — Figma 12737:772 (in 12737:771) */
/* #eff2ff, heading (gap 10, intro 1006 wide), two rows of four   */
/* 295x150 cards (gap 20): 24x26 badge + 10 gap + text column     */
/* (title 18/25, text 14/20, gap 4). Decorations: rings + dots    */
/* top-left, radial glow + tilted pill outline top-right.         */
/* ============================================================= */

.thb-types {
  position: relative;
  overflow: hidden;
  background: #eff2ff;
}

/* ---------- Decorations ---------- */
.thb-types__deco {
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.thb-types__deco--left {
  left: 0;
}

.thb-types__deco--right {
  right: 0;
}

.thb-types__deco > span {
  position: absolute;
  display: block;
}

.thb-types__ring {
  border: 1px solid #e1e7f4;
  border-radius: 50%;
}

.thb-types__ring--outer {
  top: -169.64px;
  left: -150px;
  width: 420px;
  height: 420px;
}

.thb-types__ring--dashed {
  top: -109.64px;
  left: -90px;
  width: 300px;
  height: 300px;
  border-style: dashed;
  animation: thb-types-spin 60s linear infinite;
}

.thb-types__dot {
  border-radius: 50%;
}

.thb-types__dot--orange {
  top: 58.36px;
  left: 112px;
  width: 16px;
  height: 16px;
  background: var(--thb-orange);
}

.thb-types__dot--blue {
  top: 110.36px;
  left: 150px;
  width: 8px;
  height: 8px;
  background: var(--thb-blue);
  opacity: 0.55;
}

.thb-types__glow {
  top: -114.36px;
  right: -288.1px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle 415.78px at 126px 126px, rgba(146, 168, 231, 0.35) 0%, rgba(146, 168, 231, 0) 70%);
  filter: blur(1px);
}

/* 234.8x122.1 outline, rotated -7.56deg, centred 64.6px in from the right edge at y106.6. */
.thb-types__pill {
  top: 45.56px;
  right: -52.8px;
  width: 234.8px;
  height: 122.1px;
  border: 1px solid rgba(39, 55, 117, 0.12);
  border-radius: 86px;
  rotate: -7.56deg;
}

@keyframes thb-types-spin {
  to { rotate: 360deg; }
}

@keyframes thb-types-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 8px; }
}

.thb-types.is-in .thb-types__dot--orange { animation: thb-pop 0.5s var(--thb-ease) 0.3s backwards, thb-types-float 5s ease-in-out 1s infinite; }
.thb-types.is-in .thb-types__dot--blue   { animation: thb-pop 0.5s var(--thb-ease) 0.4s backwards, thb-types-float 4s ease-in-out 1.2s infinite reverse; }

/* ---------- Heading ---------- */
.thb-types .thb-container {
  z-index: 1;
}

.thb-types__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto 20px;
  text-align: center;
}

.thb-types__title {
  color: var(--thb-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
}

.thb-types__intro {
  max-width: 1006px;
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 25.2px;
}

/* ---------- Cards ---------- */
.thb-types__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.thb-types__card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 150px;
  padding: 18px 17px;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 15px rgba(39, 55, 117, 0.07);
  transition: translate 0.35s var(--thb-ease), box-shadow 0.35s var(--thb-ease);
}

.thb-types__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--thb-orange), var(--thb-blue));
  scale: 0 1;
  transform-origin: left center;
  transition: scale 0.45s var(--thb-ease);
}

.thb-types__card:hover {
  translate: 0 -6px;
  box-shadow: 0 22px 32px rgba(39, 55, 117, 0.14);
}

.thb-types__card:hover::after {
  scale: 1 1;
}

/* icon-park-solid:success frame (24x26); the badge glyph sits at Figma's inset. */
.thb-types__check {
  position: relative;
  flex: none;
  width: 24px;
  height: 26px;
  overflow: hidden;
  transition: scale 0.35s var(--thb-ease), rotate 0.35s var(--thb-ease);
}

.thb-types__check img {
  position: absolute;
  top: 3.316px;
  left: 2.152px;
  display: block;
  width: 19.6949px;
  height: 20.5472px;
  max-width: none;
}

.thb-types__card:hover .thb-types__check {
  scale: 1.15;
  rotate: 12deg;
}

.thb-types__body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  color: var(--thb-blue);
}

.thb-types__name {
  color: var(--thb-blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
}

.thb-types__text {
  color: var(--thb-blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

/* ---------- Entrance ---------- */
.thb-types.is-armed:not(.is-in) :is(
  .thb-types__head > *,
  .thb-types__card,
  .thb-types__check,
  .thb-types__ring,
  .thb-types__dot,
  .thb-types__glow,
  .thb-types__pill
) {
  opacity: 0;
}

.thb-types.is-in .thb-types__ring--outer { animation: thb-pop 0.9s var(--thb-ease) 0s backwards; }
.thb-types.is-in .thb-types__ring--dashed { animation: thb-fade 0.9s ease 0.15s backwards, thb-types-spin 60s linear 0.15s infinite; }
.thb-types.is-in .thb-types__glow { animation: thb-fade 1.2s ease 0.1s backwards; }
.thb-types.is-in .thb-types__pill { animation: thb-from-right 0.9s var(--thb-ease) 0.2s backwards; }

.thb-types.is-in .thb-types__head > :nth-child(1) { animation: thb-pop 0.5s var(--thb-ease) 0.05s backwards; }
.thb-types.is-in .thb-types__head > :nth-child(2) { animation: thb-rise 0.7s var(--thb-ease) 0.12s backwards; }
.thb-types.is-in .thb-types__head > :nth-child(3) { animation: thb-rise 0.7s var(--thb-ease) 0.22s backwards; }

.thb-types.is-in .thb-types__card  { animation: thb-rise 0.7s var(--thb-ease) backwards; }
.thb-types.is-in .thb-types__check { animation: thb-pop 0.45s var(--thb-ease) backwards; }

.thb-types.is-in .thb-types__card:nth-child(1) { animation-delay: 0.3s; }
.thb-types.is-in .thb-types__card:nth-child(2) { animation-delay: 0.38s; }
.thb-types.is-in .thb-types__card:nth-child(3) { animation-delay: 0.46s; }
.thb-types.is-in .thb-types__card:nth-child(4) { animation-delay: 0.54s; }
.thb-types.is-in .thb-types__card:nth-child(5) { animation-delay: 0.5s; }
.thb-types.is-in .thb-types__card:nth-child(6) { animation-delay: 0.58s; }
.thb-types.is-in .thb-types__card:nth-child(7) { animation-delay: 0.66s; }
.thb-types.is-in .thb-types__card:nth-child(8) { animation-delay: 0.74s; }
.thb-types.is-in .thb-types__card:nth-child(1) .thb-types__check { animation-delay: 0.65s; }
.thb-types.is-in .thb-types__card:nth-child(2) .thb-types__check { animation-delay: 0.75s; }
.thb-types.is-in .thb-types__card:nth-child(3) .thb-types__check { animation-delay: 0.85s; }
.thb-types.is-in .thb-types__card:nth-child(4) .thb-types__check { animation-delay: 0.95s; }
.thb-types.is-in .thb-types__card:nth-child(5) .thb-types__check { animation-delay: 1.05s; }
.thb-types.is-in .thb-types__card:nth-child(6) .thb-types__check { animation-delay: 1.15s; }
.thb-types.is-in .thb-types__card:nth-child(7) .thb-types__check { animation-delay: 1.25s; }
.thb-types.is-in .thb-types__card:nth-child(8) .thb-types__check { animation-delay: 1.35s; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-types__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thb-types__card {
    min-height: 0;
    padding-bottom: 22px;
  }
}

/* ============================================================= */
/* Section: 09b-payments                                          */
/* ============================================================= */
/* ============================================================= */
/* 09b · AI-Driven Telehealth Billing — Figma 12737:883 (second   */
/* half of 12737:771, directly under 09 · Service Types, no gap). */
/* #273775 band; copy 600 at x100; visual window x702..1440 with  */
/* the image at 119.8% width, -10.37% left and a #273775 fade.    */
/* ============================================================= */

.thb-payments {
  position: relative;
  overflow: hidden;
  background: var(--thb-blue);
  color: #ffffff;
}

.thb-payments__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15.1px;
  width: 600px;
  max-width: 100%;
}

.thb-payments .thb-payments__eyebrow {
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.thb-payments__title {
  margin-top: 6.9px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: -1.6px;
}

.thb-payments__bar {
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 3px;
  background: var(--thb-orange);
  transform-origin: left center;
}

.thb-payments__text {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

/* Visual window: starts 18px left of centre (x702 at 1440). */
.thb-payments__visual {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 18px);
  right: 0;
  overflow: hidden;
}

.thb-payments__visual-box {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Figma crop: image 119.8% of the window wide, shifted 10.37% left (.thb-v2 prefix beats the base img max-width). */
.thb-v2 .thb-payments__img {
  position: absolute;
  top: 0;
  left: -10.37%;
  display: block;
  width: 119.8%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: scale 1.2s var(--thb-ease);
}

.thb-payments__visual-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #273775 0%, rgba(39, 55, 117, 0) 100%);
  pointer-events: none;
}

/* One-off light sweep across the visual when the section reveals. */
.thb-payments__visual-box::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 30%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(160, 200, 255, 0.18) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  pointer-events: none;
}

.thb-payments:hover .thb-payments__img {
  scale: 1.03;
}

/* ---------- Entrance ---------- */
@keyframes thb-payments-bar {
  from { scale: 0 1; }
  to   { scale: 1 1; }
}

@keyframes thb-payments-zoom {
  from { opacity: 0; scale: 1.08; }
  to   { opacity: 1; scale: 1; }
}

@keyframes thb-payments-sweep {
  0%   { opacity: 0; translate: -100% 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; translate: 380% 0; }
}

.thb-payments.is-armed:not(.is-in) :is(
  .thb-payments__eyebrow,
  .thb-payments__title,
  .thb-payments__bar,
  .thb-payments__text,
  .thb-payments__img
) {
  opacity: 0;
}

.thb-payments.is-in .thb-payments__eyebrow { animation: thb-from-left 0.6s var(--thb-ease) 0.05s backwards; }
.thb-payments.is-in .thb-payments__title   { animation: thb-rise 0.7s var(--thb-ease) 0.15s backwards; }
.thb-payments.is-in .thb-payments__bar     { animation: thb-payments-bar 0.6s var(--thb-ease) 0.4s backwards; }
.thb-payments.is-in .thb-payments__text    { animation: thb-rise 0.7s var(--thb-ease) 0.3s backwards; }
.thb-payments.is-in .thb-payments__img     { animation: thb-payments-zoom 1.2s var(--thb-ease) 0.1s backwards; }
.thb-payments.is-in .thb-payments__visual-box::before { animation: thb-payments-sweep 1.6s ease-in-out 0.9s 1 both; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-payments__copy {
    width: calc(50% - 10px);
  }

  .thb-payments__visual {
    left: 50%;
  }
}

@media (max-width: 991px) {
  .thb-payments {
    display: flex;
    flex-direction: column;
  }

  .thb-payments__copy {
    width: 100%;
  }

  .thb-payments__visual {
    position: relative;
    order: 2;
    left: auto;
    right: auto;
    width: 100%;
    height: 420px;
    margin-top: 32px;
  }

  .thb-v2 .thb-payments__img {
    left: 0;
    width: 100%;
    object-position: 70% 50%;
  }

  .thb-payments__visual-box::after {
    background: linear-gradient(180deg, #273775 0%, rgba(39, 55, 117, 0) 35%);
  }
}

/* ---------- Mobile: 07 secure, 08 serve, 09 types, 09b payments ---------- */
/* ============================================================= */
/* Mobile (<=767px) — 440-wide frame, 20px gutters.               */
/* ============================================================= */

@media (max-width: 767px) {

  /* ---------- 07 · Billing Compliance Standards ---------- */
  .thb-denials .thb-container {
    padding: 0 20px;
  }

  .thb-denials__copy {
    gap: 15.1px;
    width: 100%;
  }

  .thb-denials__eyebrow {
    height: 26px;
    font-size: 10px;
    line-height: 9.976px;
  }

  .thb-denials__title {
    margin-top: 6.9px;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: -1px;
  }

  /* No orange rule under the heading on mobile. */
  .thb-denials__bar {
    display: none;
  }

  .thb-denials__lead {
    font-size: 16px;
    line-height: 24px;
  }

  .thb-denials__item {
    font-size: 15px;
    line-height: 24px;
  }

  /* 440x378 window, 38px under the copy, flush with the section's bottom edge. */
  .thb-denials__visual {
    height: 378px;
    margin-top: 38px;
    margin-bottom: -30px;
  }

  .thb-denials__img {
    object-position: 80% 50%;
  }

  .thb-denials__visual-box::after {
    background: linear-gradient(180deg, #eff2ff 1.515%, rgba(255, 255, 255, 0) 94.066%);
  }

  /* ---------- 08 · Who We Serve ---------- */
  .thb-serve .thb-container {
    padding: 0 20px;
  }

  .thb-serve__head {
    gap: 10px;
    margin-bottom: 40px;
  }

  .thb-serve__title {
    font-size: 24px;
    line-height: 30px;
  }

  .thb-serve__intro {
    font-size: 14px;
    line-height: 25.2px;
  }

  .thb-serve__grid {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .thb-serve__card {
    flex: none;
    width: 100%;
    min-height: 110px;
    padding: 18px;
  }

  .thb-serve__name {
    font-size: 16px;
    line-height: 24px;
  }

  /* ---------- 09 · Service Types ---------- */
  .thb-types .thb-container {
    padding: 0 20px;
  }

  .thb-types__deco--right {
    display: none;
  }

  .thb-types__ring--outer {
    top: -210px;
    left: -230px;
  }

  .thb-types__ring--dashed {
    top: -150px;
    left: -170px;
  }

  .thb-types__dot--orange {
    top: 18px;
    left: 32px;
  }

  .thb-types__dot--blue {
    top: 70px;
    left: 70px;
  }

  .thb-types__head {
    gap: 12px;
    margin-bottom: 20px;
  }

  .thb-types__eyebrow {
    font-size: 10px;
    line-height: 16px;
  }

  .thb-types__title {
    font-size: 24px;
    line-height: 30px;
  }

  .thb-types__intro {
    font-size: 14px;
    line-height: 25px;
  }

  .thb-types__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .thb-types__card {
    min-height: 0;
    padding: 18px 20px;
  }

  /* ---------- 09b · AI-Driven Telehealth Billing ---------- */
  .thb-payments .thb-container {
    padding: 0 20px;
  }

  .thb-payments__copy {
    gap: 15.1px;
    width: 100%;
  }

  .thb-payments__title {
    margin-top: 6.9px;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -1px;
  }

  .thb-payments__text {
    font-size: 14px;
    line-height: 24px;
  }

  /* 440x294 image under the copy, flush with the section's bottom edge. */
  .thb-payments__visual {
    height: 294px;
    margin-top: 23.8px;
    margin-bottom: -30px;
  }

  .thb-v2 .thb-payments__img {
    object-position: 60% 50%;
  }

  .thb-payments__visual-box::after {
    background: linear-gradient(179.426deg, #273775 2.6432%, rgba(39, 55, 117, 0) 94.838%);
  }
}

/* QA overrides */

/* Figma 12737:716 and 12737:883 are full-bleed image bands with 40px top/bottom padding
   (575px and 1133px frames), not the page's 60px section rhythm. Phones keep 30px. */
@media (min-width: 768px) {
  .thb-v2 > section.thb-denials,
  .thb-v2 > section.thb-payments {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ============================================================= */
/* Section: 11-why-choose                                         */
/* ============================================================= */
/* ===== Why Practices Choose Us for Telehealth Billing Services — Figma node 12737:1029 =====
   Band 12737:1030 (1440 x 718): 28% BG-blue wash, 2px #eff2ff stroke, 64px inset glow,
   40px padding (38 + the 2px stroke); the trust band starts 60px below it. */

.thb-v2 > .thb-why-choose {
  padding-top: 38px;
  padding-bottom: 38px;
  margin-bottom: 60px;
  border: 2px solid #eff2ff;
  background: rgba(239, 242, 255, 0.28);
  box-shadow: inset 0 0 64px #eff2ff, 0 2.704px 11.561px #eff2ff;
  overflow: clip;
}

.thb-why-choose-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ---------- Left column (12737:1032) ---------- */
.thb-why-choose-copy {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  min-width: 0;
}

.thb-why-choose-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 493px;
  max-width: 100%;
}

.thb-why-choose-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Figma's title box is 519px, wider than the 493px copy block. */
.thb-why-choose-title {
  width: 519px;
  max-width: calc(100vw - 40px);
  color: var(--thb-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 35px;
}

.thb-why-choose-bar {
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 9999px;
  background: var(--thb-orange);
  transform-origin: left center;
}

.thb-why-choose-lead {
  display: flex;
  flex-direction: column;
  gap: 25.2px; /* the empty paragraph between Figma's three blocks */
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 25.2px;
}

/* style-v2.css colours every <p> grey; keep Figma's #3d3d3d. */
.thb-why-choose-lead p {
  color: var(--thb-text);
  font-size: inherit;
  line-height: inherit;
}

.thb-why-choose-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 413px;
  max-width: 100%;
  height: 50px;
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--thb-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: none;
  overflow: hidden;
  transition: background-color 0.3s var(--thb-ease), box-shadow 0.3s var(--thb-ease), transform 0.3s var(--thb-ease);
}

/* A soft light sweep across the button every few seconds. */
.thb-why-choose-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  translate: -120% 0;
  pointer-events: none;
}

.thb-why-choose-btn-arrow {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #fff;
  transition: transform 0.3s var(--thb-ease);
}

.thb-why-choose-btn-arrow img {
  display: block;
  max-width: none;
}

.thb-why-choose-btn:hover,
.thb-why-choose-btn:focus-visible {
  background: #1d2a5e;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(39, 55, 117, 0.28);
}

.thb-why-choose-btn:hover .thb-why-choose-btn-arrow,
.thb-why-choose-btn:focus-visible .thb-why-choose-btn-arrow {
  transform: translateX(4px);
}

/* ---------- Card grid (12737:1051) ---------- */
.thb-why-choose-grid-wrap {
  position: relative;
  flex: none;
  width: 695px;
}

.thb-why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.thb-why-choose-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px; /* Figma 16 / 20 with the 2px stroke outside layout */
  border: 2px solid #eff2ff;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2.704px 11.561px #eff2ff;
  overflow: clip;
  transition: transform 0.35s var(--thb-ease), border-color 0.35s var(--thb-ease), box-shadow 0.35s var(--thb-ease);
}

/* Card 2 (12737:1065) is inset 30px on the left in the design. */
@media (min-width: 768px) {
  .thb-why-choose-card:nth-child(2) {
    padding-left: 28px;
  }
}

.thb-why-choose-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 64px #eff2ff;
  pointer-events: none;
}

.thb-why-choose-card:hover {
  transform: translateY(-5px);
  border-color: rgba(39, 55, 117, 0.16);
  box-shadow: 0 18px 30px -16px rgba(39, 55, 117, 0.3);
}

/* 50px icon disc (20px above the title, with the 10px gap). */
.thb-why-choose-icon {
  position: relative;
  z-index: 1;
  flex: none;
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  transition: transform 0.35s var(--thb-ease);
}

.thb-why-choose-card:hover .thb-why-choose-icon {
  transform: rotate(-8deg) scale(1.06);
}

.thb-why-choose-disc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 35.833px;
  background: #fff;
  filter: drop-shadow(0 0 2.083px rgba(0, 0, 0, 0.25));
}

.thb-why-choose-glyphs {
  position: relative;
  display: block;
  width: 33.333px;
  height: 33.333px;
}

.thb-why-choose-glyph {
  position: absolute;
  display: block;
  max-width: none;
}

/* Cards 1 and 4 (12737:1055 / 1079) are single exports carrying their disc, arc and shadow bleed. */
.thb-why-choose-icon-art {
  position: absolute;
  top: -4.165px;
  left: -4.165px;
  display: block;
  max-width: none;
}

/* Orange arc (Line 131) hugging the disc's lower right. */
.thb-why-choose-arc {
  position: absolute;
  top: 26.39px;
  left: 29.17px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23.718px;
  height: 27.21px;
}

.thb-why-choose-arc > span {
  position: relative;
  display: block;
  flex: none;
  width: 29.779px;
  height: 6.436px;
  rotate: 128.93deg;
}

.thb-why-choose-arc img {
  position: absolute;
  top: -0.416px;
  left: -2.222px;
  display: block;
  max-width: none;
}

.thb-why-choose-card-title {
  position: relative;
  z-index: 1;
  color: var(--thb-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.thb-why-choose-card-text {
  position: relative;
  z-index: 1;
  color: var(--thb-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 19.2px;
}

/* MedsIT badge (12737:1097): 120px plus its ring/shadow bleed; Figma sits it 9.5px left of the grid centre. */
.thb-why-choose-badge {
  position: absolute;
  top: 50%;
  left: calc(50% - 9.5px);
  z-index: 2;
  display: block;
  width: 143.4px;
  height: 143.4px;
  max-width: none;
  translate: -50% -50%;
  pointer-events: none;
}

/* ---------- Animation ---------- */
@keyframes thb-why-in {
  from { opacity: 0; translate: var(--from-x, 0) var(--from-y, 0); }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes thb-why-badge-pop {
  0%   { opacity: 0; scale: 0.3; rotate: -90deg; }
  70%  { opacity: 1; scale: 1.1; rotate: 8deg; }
  100% { opacity: 1; scale: 1; rotate: 0deg; }
}

@keyframes thb-why-breathe {
  0%, 100% { scale: 1; }
  50%      { scale: 1.05; }
}

@keyframes thb-why-grow-x {
  from { scale: 0 1; }
  to   { scale: 1 1; }
}

@keyframes thb-why-arc-spin {
  from { rotate: -240deg; opacity: 0; }
  to   { rotate: 0deg; opacity: 1; }
}

@keyframes thb-why-shine {
  0%, 72% { translate: -120% 0; }
  100%    { translate: 420% 0; }
}

.thb-why-choose-card:nth-child(1) { --from-x: -40px; --from-y: -30px; }
.thb-why-choose-card:nth-child(2) { --from-x: 40px;  --from-y: -30px; }
.thb-why-choose-card:nth-child(3) { --from-x: -40px; --from-y: 30px; }
.thb-why-choose-card:nth-child(4) { --from-x: 40px;  --from-y: 30px; }

.thb-why-choose.is-armed:not(.is-in) :is(.thb-why-choose-head > *, .thb-why-choose-btn, .thb-why-choose-card, .thb-why-choose-badge) {
  opacity: 0;
}

.thb-why-choose.is-in .thb-why-choose-head > * {
  animation: thb-rise 0.7s var(--thb-ease) backwards;
}

.thb-why-choose.is-in .thb-why-choose-head > :nth-child(2) { animation-delay: 0.1s; }
.thb-why-choose.is-in .thb-why-choose-head > :nth-child(3) { animation-delay: 0.25s; }

.thb-why-choose.is-in .thb-why-choose-bar {
  animation: thb-why-grow-x 0.6s var(--thb-ease) 0.35s backwards;
}

.thb-why-choose.is-in .thb-why-choose-btn {
  animation: thb-rise 0.7s var(--thb-ease) 0.4s backwards;
}

.thb-why-choose.is-in .thb-why-choose-btn::after {
  animation: thb-why-shine 5s ease-in-out 2.5s infinite;
}

.thb-why-choose.is-in .thb-why-choose-card {
  animation: thb-why-in 0.8s var(--thb-ease) 0.2s backwards;
}

.thb-why-choose.is-in .thb-why-choose-card:nth-child(2) { animation-delay: 0.32s; }
.thb-why-choose.is-in .thb-why-choose-card:nth-child(3) { animation-delay: 0.44s; }
.thb-why-choose.is-in .thb-why-choose-card:nth-child(4) { animation-delay: 0.56s; }

.thb-why-choose.is-in .thb-why-choose-icon {
  animation: thb-pop 0.6s var(--thb-ease) 0.6s backwards;
}

.thb-why-choose.is-in .thb-why-choose-card:nth-child(2) .thb-why-choose-icon { animation-delay: 0.72s; }
.thb-why-choose.is-in .thb-why-choose-card:nth-child(3) .thb-why-choose-icon { animation-delay: 0.84s; }
.thb-why-choose.is-in .thb-why-choose-card:nth-child(4) .thb-why-choose-icon { animation-delay: 0.96s; }

/* The arc sweeps round the disc into place. */
.thb-why-choose-arc {
  transform-origin: -4.17px -1.39px; /* the disc centre, in the arc box */
}

.thb-why-choose.is-in .thb-why-choose-arc {
  animation: thb-why-arc-spin 0.9s var(--thb-ease) 0.9s backwards;
}

.thb-why-choose.is-in .thb-why-choose-card:nth-child(2) .thb-why-choose-arc { animation-delay: 1.02s; }
.thb-why-choose.is-in .thb-why-choose-card:nth-child(3) .thb-why-choose-arc { animation-delay: 1.14s; }

.thb-why-choose.is-in .thb-why-choose-badge {
  animation:
    thb-why-badge-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s backwards,
    thb-why-breathe 4s ease-in-out 1.8s infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-why-choose-row {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .thb-why-choose-copy {
    flex: none;
    width: 100%;
  }

  .thb-why-choose-head {
    width: 100%;
    max-width: 720px;
  }

  .thb-why-choose-title {
    width: auto;
    max-width: 640px;
  }

  .thb-why-choose-grid-wrap {
    width: 100%;
    max-width: 695px;
    margin: 0 auto;
  }
}

@media (max-width: 991px) {
  .thb-why-choose-title {
    font-size: 30px;
    line-height: 38px;
  }
}

@media (max-width: 767px) {

  .thb-why-choose-head {
    gap: 20px;
  }

  .thb-why-choose-title {
    font-size: 24px;
    line-height: 30px;
  }

  .thb-why-choose-lead {
    font-size: 15px;
    line-height: 24px;
    gap: 16px;
  }

  .thb-why-choose-btn {
    width: 100%;
  }

  .thb-why-choose-grid {
    gap: 20px;
  }

  .thb-why-choose-badge {
    width: 110px;
    height: 110px;
  }
}

/* Phones: one column; the badge sits above the cards instead of between them. */
@media (max-width: 575px) {
  .thb-why-choose-grid-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .thb-why-choose-badge {
    position: static;
    order: -1;
    width: 100px;
    height: 100px;
    translate: none;
  }

  .thb-why-choose-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .thb-why-choose-card {
    min-height: 0;
  }
}

/* ============================================================= */
/* Section: 12-trust                                              */
/* ============================================================= */
/* ===== Trusted Standards — Figma node 12737:1106 (1440 x 466 dark band, 64px padding, 60px below the previous band) =====
   Radial gradient centred at (1008, 139.8) with radii 1167 x 647.3:
   #273775 -> #142048 (50%) -> #0b1431 (75%) -> #01081a; the wave photo on top at 10%. */

.thb-trust {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding-left: 16px;
  padding-right: 16px;
  overflow: hidden;
}

.thb-v2 > .thb-trust {
  padding-top: 64px;
  padding-bottom: 64px;
  background: radial-gradient(81.04% 138.91% at 70% 30%, #273775 0%, #142048 50%, #0b1431 75%, #01081a 100%);
}

.thb-trust-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.thb-trust-bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.1;
}

.thb-trust-title,
.thb-trust-logos,
.thb-trust-text {
  position: relative;
  z-index: 1;
}

.thb-trust-title {
  width: 1026px;
  max-width: 100%;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
}

/* Logos 60px apart with 1px 40%-white rules (Line 111, 142.8px tall) between them. */
.thb-trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.thb-trust-logo {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
}

.thb-trust-logo + .thb-trust-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30.5px;
  width: 1px;
  height: 142.814px;
  background: rgba(255, 255, 255, 0.4);
  translate: 0 -50%;
  rotate: 0.45deg; /* Figma's rules sit at 89.55deg */
}

.thb-trust-logo img {
  display: block;
  max-width: none;
  transition: transform 0.35s var(--thb-ease), filter 0.35s var(--thb-ease);
}

.thb-trust-logo:hover img {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35));
}

.thb-trust-logo:nth-child(1) img { width: 171px; height: 170px; }
.thb-trust-logo:nth-child(2) img { width: 130px; height: 178px; }
.thb-trust-logo:nth-child(3) img { width: 176px; height: 178px; }
.thb-trust-logo:nth-child(4) img { width: 169px; height: 132px; }

.thb-trust-text {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  text-align: center;
  white-space: nowrap;
}

/* ---------- Animation ---------- */
/* Title rises, logos pop in one by one as their rules draw down, then the copy line;
   the wave photo drifts slowly behind. */
@keyframes thb-trust-pop {
  0%   { opacity: 0; scale: 0.6; }
  70%  { opacity: 1; scale: 1.08; }
  100% { opacity: 1; scale: 1; }
}

@keyframes thb-trust-rule {
  from { scale: 1 0; }
  to   { scale: 1 1; }
}

@keyframes thb-trust-rule-x {
  from { scale: 0 1; }
  to   { scale: 1 1; }
}

@keyframes thb-trust-drift {
  0%, 100% { scale: 1; translate: 0 0; }
  50%      { scale: 1.06; translate: -1.5% 1%; }
}

.thb-trust.is-armed:not(.is-in) :is(.thb-trust-title, .thb-trust-logo, .thb-trust-text) {
  opacity: 0;
}

.thb-trust.is-in .thb-trust-title {
  animation: thb-rise 0.7s var(--thb-ease) backwards;
}

.thb-trust.is-in .thb-trust-logo {
  animation: thb-trust-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.25s + var(--i, 0) * 0.15s) backwards;
}

.thb-trust.is-in .thb-trust-logo + .thb-trust-logo::before {
  animation: thb-trust-rule 0.6s ease-out calc(0.4s + var(--i, 0) * 0.15s) backwards;
}

.thb-trust.is-in .thb-trust-text {
  animation: thb-rise 0.7s var(--thb-ease) 0.9s backwards;
}

.thb-trust.is-in .thb-trust-bg img {
  animation: thb-trust-drift 18s ease-in-out infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-trust-logos {
    gap: 40px;
  }

  .thb-trust-logo + .thb-trust-logo::before {
    left: -20.5px;
    height: 120px;
  }

  /* Scale the four marks by the same factor so they keep their ratio. */
  .thb-trust-logo:nth-child(1) img { width: 145px; height: 144px; }
  .thb-trust-logo:nth-child(2) img { width: 110px; height: 151px; }
  .thb-trust-logo:nth-child(3) img { width: 150px; height: 151px; }
  .thb-trust-logo:nth-child(4) img { width: 143px; height: 112px; }

  .thb-trust-text {
    max-width: 900px;
    white-space: normal;
  }
}

/* Tablets: a 2 x 2 grid, no vertical rules. */
@media (max-width: 991px) {
  .thb-trust-logos {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 40px 80px;
  }

  .thb-trust-logo + .thb-trust-logo::before {
    display: none;
  }
}

/* Phones: logos stack 60px apart with a 142.8px horizontal rule centred in each gap. */
@media (max-width: 767px) {

  .thb-trust {
    gap: 40px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .thb-trust-title {
    font-size: 24px;
    line-height: 32px;
  }

  .thb-trust-logos {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  .thb-trust-logo + .thb-trust-logo::before {
    display: block;
    top: -30.5px;
    left: 50%;
    width: 142.814px;
    height: 1px;
    translate: -50% 0;
    rotate: none;
  }

  .thb-trust.is-in .thb-trust-logo + .thb-trust-logo::before {
    animation-name: thb-trust-rule-x;
  }

  .thb-trust-text {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ---------- Mobile: why-choose / trust ---------- */
/* ============================================================= */
/* Mobile (<=767px): the Telehealth file has no mobile frame, so these follow the shared mobile pattern. */
/* ============================================================= */

/* ---------- 11-why-choose (mobile) ---------- */
@media (max-width: 767px) {
  .thb-v2 > .thb-why-choose {
    padding-top: 28px;
    padding-bottom: 28px;
    margin-bottom: 30px;
  }

  .thb-v2 > .thb-trust {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .thb-v2 > .thb-why-choose {
    position: relative;
  }

  /* Decorative orbit behind the cards. */
  .thb-v2 > .thb-why-choose::before {
    content: "";
    position: absolute;
    top: 580.05px;
    left: 254.3px;
    width: 651.508px;
    height: 654.546px;
    background: url("../../images/telehealth-billing-v2/why-choose/mobile/orbit.svg") no-repeat 0 0 / 100% 100%;
    pointer-events: none;
  }

  .thb-why-choose > .thb-container {
    position: relative;
    z-index: 1;
  }

  .thb-why-choose-row {
    gap: 20px;
  }

  .thb-why-choose-copy {
    gap: 40px;
  }

  .thb-why-choose .thb-eyebrow {
    font-size: 10px;
  }

  .thb-why-choose-head {
    gap: 20px;
  }

  .thb-why-choose-title {
    max-width: none;
    font-size: 24px;
    line-height: 30px;
  }

  .thb-why-choose-lead {
    gap: 25.2px;
    font-size: 14px;
    line-height: 25.2px;
  }

  .thb-why-choose-btn {
    width: 100%;
  }

  /* No MedsIT badge on mobile: the four cards simply stack. */
  .thb-why-choose-badge {
    display: none;
  }

  .thb-why-choose-grid-wrap {
    display: block;
    max-width: none;
  }

  .thb-why-choose-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 100%;
  }

  .thb-why-choose-card {
    min-height: 0;
    padding: 14px 18px; /* Figma 16/20 with the 2px stroke outside layout */
  }
}

/* ---------- 12-trust (mobile) ---------- */
@media (max-width: 767px) {
  .thb-trust {
    gap: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .thb-trust-title {
    font-size: 24px;
    line-height: 35px;
  }

  /* Logos 30px either side of a zero-height 142.8px rule. */
  .thb-trust-logos {
    gap: 60px;
  }

  .thb-trust-logo + .thb-trust-logo::before {
    top: -30.5px;
  }

  .thb-trust-logo:nth-child(1) img { width: 171px; height: 170px; }
  .thb-trust-logo:nth-child(2) img { width: 130px; height: 178px; }
  .thb-trust-logo:nth-child(3) img { width: 176px; height: 178px; }
  .thb-trust-logo:nth-child(4) img { width: 169px; height: 132px; }

  .thb-trust-text {
    max-width: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
  }
}

/* QA overrides: full-width CTA once the columns stack (desktop keeps Figma 413px). */
@media (max-width: 1199px) { .thb-v2 .thb-why-choose-btn { width: 100%; } }

/* ============================================================= */
/* Section: 14-integrations                                       */
/* ============================================================= */
/* ============================================================= */
/* 14. Telehealth Billing Software Integrations ("C2") — 12737:1205 */
/* ============================================================= */
.thb-integrations__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.thb-integrations__title {
  color: var(--thb-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
}

.thb-integrations__lead {
  max-width: 812px;
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 25.2px;
}

/* ---------- Diagram (12737:1211, 1240 x 580) ---------- */
/* Both side cards and the hub sit on the same top line (y 45). The EHR card is 269px tall
   but Figma lets it hang below the 220px row, so the vertical connector still starts
   right under the hub. */
.thb-integrations__diagram {
  display: grid;
  grid-template-columns: minmax(0, 378px) 484px minmax(0, 378px);
  justify-content: space-between;
  align-items: start;
  margin-top: 40px;
  padding: 44.6px 0 36px;
}

.thb-integrations__card--ehr {
  margin-bottom: -49px;
}

.thb-integrations__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 26px 24px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 4px 13px rgba(39, 55, 117, 0.09);
  transition: translate 0.35s var(--thb-ease), box-shadow 0.35s var(--thb-ease);
}

.thb-integrations__card:hover {
  translate: 0 -4px;
  box-shadow: 0 14px 30px rgba(39, 55, 117, 0.14);
}

.thb-integrations__card--pms {
  grid-column: 1 / -1;
  justify-self: center;
  width: 516px;
  max-width: 100%;
  min-height: 0;
}

.thb-integrations__card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.thb-integrations__card-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eef1fb;
  transition: background-color 0.35s ease;
}

.thb-integrations__card-icon img {
  display: block;
  max-width: none;
}

.thb-integrations__card:hover .thb-integrations__card-icon {
  background: rgba(252, 93, 97, 0.14);
}

.thb-integrations__card-heading {
  display: flex;
  flex-direction: column;
  gap: 8.25px;
}

.thb-integrations__card-title {
  color: var(--thb-blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 23.76px;
}

.thb-integrations__card-bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--thb-orange);
  transition: width 0.35s var(--thb-ease);
}

.thb-integrations__card:hover .thb-integrations__card-bar {
  width: 42px;
}

.thb-integrations__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.thb-integrations__card--clearing .thb-integrations__logos:last-child {
  width: 319px;
  max-width: 100%;
}

.thb-integrations__logo {
  flex: 0 1 139px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 10px;
  border: 1px solid #eff2ff;
  border-radius: 10px;
  background: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.thb-integrations__logo:hover {
  border-color: rgba(39, 55, 117, 0.25);
  box-shadow: 0 6px 14px rgba(39, 55, 117, 0.1);
}

.thb-integrations__logo-box {
  position: relative;
  display: block;
  flex: none;
  max-width: 100%;
  overflow: hidden;
  transition: scale 0.3s var(--thb-ease);
}

.thb-integrations__logo:hover .thb-integrations__logo-box {
  scale: 1.06;
}

.thb-integrations__logo-box img {
  position: absolute;
  display: block;
  max-width: none;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* Per-logo slot sizes and crops, copied from the Figma image fills. */
/* EHR & Telehealth Platforms (12741:5491 / 5496 / 5511) */
.thb-integrations__logo--athenahealth .thb-integrations__logo-box { width: 130px; aspect-ratio: 130 / 38; }
.thb-integrations__logo--athenahealth img { left: 0.91%; top: -1.58%; width: 97.44%; height: 100%; }
.thb-integrations__logo--eclinicalworks .thb-integrations__logo-box { width: 122px; aspect-ratio: 122 / 25; }
.thb-integrations__logo--eclinicalworks img { left: 0.04%; top: 20.44%; width: 99.96%; height: 59.12%; }
.thb-integrations__logo--epic .thb-integrations__logo-box { width: 114px; aspect-ratio: 114 / 34; }
.thb-integrations__logo--epic img { left: 12.79%; top: 0.73%; width: 74.75%; height: 98.1%; }
.thb-integrations__logo--simplepractice .thb-integrations__logo-box { width: 122px; aspect-ratio: 122 / 25; }
.thb-integrations__logo--drchrono .thb-integrations__logo-box { width: 125px; aspect-ratio: 125 / 37; }
.thb-integrations__logo--drchrono img { left: 0.8%; top: 2.68%; width: 97.6%; height: 93.56%; }
:is(.thb-integrations__logo--simplepractice, .thb-integrations__logo--availity) img { object-fit: cover; }
/* Logos wider than the tile's padding box overhang it, as in Figma. */
@media (min-width: 1280px) {
  .thb-integrations__logo-box { max-width: none; }
}
/* Clearinghouses (12737:1242 / 1247) */
.thb-integrations__logo--availity .thb-integrations__logo-box { width: 101px; aspect-ratio: 101 / 25; }
.thb-integrations__logo--office-ally { flex-basis: 150px; }
.thb-integrations__logo--office-ally .thb-integrations__logo-box { width: 143px; aspect-ratio: 143 / 25; }
.thb-integrations__logo--office-ally img { left: 2.21%; width: 95.57%; }
.thb-integrations__logo--waystar .thb-integrations__logo-box { width: 119px; aspect-ratio: 119 / 25; }
.thb-integrations__logo--waystar img { left: 0.96%; width: 97.25%; }
.thb-integrations__logo--trizetto .thb-integrations__logo-box { width: 116px; aspect-ratio: 116 / 24; }
.thb-integrations__logo--trizetto img { left: 6.47%; top: -9.62%; width: 87.07%; height: 190.08%; }
/* PMS & Billing Tools (12741:5518) */
.thb-integrations__logo--advancedmd .thb-integrations__logo-box { width: 129px; aspect-ratio: 129 / 25; }
.thb-integrations__logo--advancedmd img { left: 2.46%; top: -1.62%; width: 95.07%; height: 100%; }
.thb-integrations__logo--tebra .thb-integrations__logo-box { width: 119px; aspect-ratio: 119 / 23; }
.thb-integrations__logo--tebra img { left: 9.89%; top: 1.76%; width: 80.59%; height: 100%; }
.thb-integrations__logo--nextgen { flex-basis: 150px; }
.thb-integrations__logo--nextgen .thb-integrations__logo-box { width: 86px; aspect-ratio: 86 / 32; }
.thb-integrations__logo--nextgen img { left: 3.49%; top: 1.26%; width: 90.7%; height: 98.87%; }

/* Center: connectors + hub */
.thb-integrations__mid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.thb-integrations__hline {
  position: relative;
  flex: none;
  width: 102px;
  height: 10.667px;
}

.thb-integrations__hline--left { margin: 0 17px 0 15px; }
.thb-integrations__hline--right { margin: 0 17px 0 15px; }

.thb-integrations__hline img,
.thb-integrations__vline img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112.667px;
  height: 10.667px;
  max-width: none;
  translate: -50% -50%;
}

.thb-integrations__hline--left img {
  rotate: 180deg;
}

.thb-integrations__vline {
  position: relative;
  grid-column: 1 / -1;
  justify-self: center;
  width: 10.667px;
  height: 102px;
  margin: 6.8px 0 11px 2px;
}

.thb-integrations__vline img {
  rotate: 90deg;
}

.thb-integrations__hub {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 216px;
  height: 216px;
  border-radius: 108px;
  box-shadow: 0 4px 20px rgba(39, 55, 117, 0.12);
  transition: box-shadow 0.4s var(--thb-ease);
}

.thb-integrations__hub:hover {
  box-shadow: 0 8px 34px rgba(39, 55, 117, 0.22);
}

.thb-integrations__hub-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 194px;
  height: 194px;
  border-radius: 97px;
  background: #fcfcfe;
  text-align: center;
}

/* Dashed ring lives on a pseudo-element so it can turn without turning the text. */
.thb-integrations__hub-core::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed var(--thb-blue);
  border-radius: 50%;
  pointer-events: none;
}

.thb-integrations.is-in .thb-integrations__hub-core::before {
  animation: thb-integrations-spin 18s linear 1.2s infinite;
}

/* Ongoing motion once revealed (same idea as the bh-int / el-int hubs on other pages):
   the hub radiates a soft ripple, its linked rings drift, and data pulses travel from the
   hub out along each connector to the three cards. */
.thb-integrations__hub {
  position: relative;
}

.thb-integrations__hub::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(39, 55, 117, 0.18);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.thb-integrations.is-in .thb-integrations__hub::after {
  animation: thb-integrations-ripple 2.8s ease-out 1.6s infinite;
}

.thb-integrations.is-in .thb-integrations__hub-mark span {
  animation: thb-integrations-drift 3.6s ease-in-out 1.4s infinite;
}

.thb-integrations.is-in .thb-integrations__hub-mark span + span {
  animation-direction: reverse;
}

.thb-integrations__hline::after,
.thb-integrations__vline::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--thb-orange);
  box-shadow: 0 0 0 3px rgba(252, 93, 97, 0.22), 0 0 12px rgba(252, 93, 97, 0.65);
  opacity: 0;
  pointer-events: none;
}

.thb-integrations__hline::after {
  top: 50%;
  margin-top: -4.5px;
}

.thb-integrations__vline::after {
  left: 50%;
  margin-left: -4.5px;
}

/* Left connector: hub is on its right, so the pulse runs right-to-left. */
.thb-integrations.is-in .thb-integrations__hline--left::after {
  animation: thb-integrations-pulse-rev 2.4s ease-in-out 1.8s infinite;
}

.thb-integrations.is-in .thb-integrations__hline--right::after {
  animation: thb-integrations-pulse 2.4s ease-in-out 2.2s infinite;
}

.thb-integrations.is-in .thb-integrations__vline::after {
  animation: thb-integrations-pulse-down 2.4s ease-in-out 2.6s infinite;
}

@keyframes thb-integrations-pulse {
  0%   { opacity: 0; left: 4%; }
  12%, 80% { opacity: 1; }
  100% { opacity: 0; left: 88%; }
}

@keyframes thb-integrations-pulse-rev {
  0%   { opacity: 0; left: 88%; }
  12%, 80% { opacity: 1; }
  100% { opacity: 0; left: 4%; }
}

@keyframes thb-integrations-pulse-down {
  0%   { opacity: 0; top: 4%; }
  12%, 80% { opacity: 1; }
  100% { opacity: 0; top: 88%; }
}

@keyframes thb-integrations-ripple {
  0%   { opacity: 0.9; scale: 1; }
  100% { opacity: 0; scale: 1.22; }
}

@keyframes thb-integrations-drift {
  0%, 100% { translate: 0 0; }
  50%      { translate: 3px 0; }
}

.thb-integrations__hub-mark {
  position: relative;
  display: block;
  width: 50px;
  height: 32px;
}

.thb-integrations__hub-mark span {
  position: absolute;
  top: -0.37px;
  left: 0;
  width: 32px;
  height: 32px;
  border: 3px solid var(--thb-blue);
  border-radius: 16px;
  transition: translate 0.4s var(--thb-ease);
}

.thb-integrations__hub-mark span + span {
  left: 18px;
  border-color: var(--thb-orange);
}

.thb-integrations__hub-title {
  color: var(--thb-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 15px;
}

.thb-integrations__hub-text {
  color: var(--thb-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

/* ---------- Benefits bar ---------- */
.thb-integrations__bar {
  position: relative;
  padding: 20px 12px;
  border-radius: 18px;
  background: #ffffff;
  filter: drop-shadow(0 10px 15px rgba(39, 55, 117, 0.08));
}

.thb-integrations__bar-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.thb-integrations__bar-border rect {
  width: calc(100% - 1px);
  height: calc(100% - 1px);
  fill: none;
  stroke: url(#thb-integrations-bar-stroke);
  stroke-width: 1;
  stroke-dasharray: 4 3;
}

.thb-integrations__bar:hover .thb-integrations__bar-border rect {
  animation: thb-integrations-march 1.2s linear infinite;
}

.thb-integrations__benefits {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thb-integrations__benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 0 19px;
}

.thb-integrations__benefit:first-child {
  padding-left: 18px;
}

.thb-integrations__benefit-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #ffffff;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.15));
  transition: scale 0.3s var(--thb-ease);
}

.thb-integrations__benefit-icon img {
  display: block;
  max-width: none;
}

.thb-integrations__benefit:hover .thb-integrations__benefit-icon {
  scale: 1.12;
}

.thb-integrations__benefit-label {
  padding-bottom: 1px;
  color: var(--thb-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

.thb-integrations__divider {
  flex: none;
  width: 1px;
  height: 43px;
  background: #e5e7eb;
}

/* ---------- Entrance ---------- */
.thb-integrations.is-armed:not(.is-in) :is(.thb-integrations__eyebrow, .thb-integrations__title, .thb-integrations__lead, .thb-integrations__card, .thb-integrations__logo, .thb-integrations__hub, .thb-integrations__hline img, .thb-integrations__vline img, .thb-integrations__bar, .thb-integrations__benefit) {
  opacity: 0;
}

.thb-integrations.is-in .thb-integrations__eyebrow { animation: thb-fade 0.6s var(--thb-ease) 0.05s backwards; }
.thb-integrations.is-in .thb-integrations__title { animation: thb-rise 0.7s var(--thb-ease) 0.12s backwards; }
.thb-integrations.is-in .thb-integrations__lead { animation: thb-rise 0.7s var(--thb-ease) 0.2s backwards; }
.thb-integrations.is-in .thb-integrations__hub { animation: thb-pop 0.8s var(--thb-ease) 0.3s backwards; }
.thb-integrations.is-in .thb-integrations__hline img,
.thb-integrations.is-in .thb-integrations__vline img { animation: thb-integrations-draw 0.7s var(--thb-ease) 0.75s backwards; }
.thb-integrations.is-in .thb-integrations__vline img { animation-delay: 0.9s; }
.thb-integrations.is-in .thb-integrations__card--ehr { animation: thb-from-left 0.7s var(--thb-ease) 1s backwards; }
.thb-integrations.is-in .thb-integrations__card--clearing { animation: thb-from-right 0.7s var(--thb-ease) 1s backwards; }
.thb-integrations.is-in .thb-integrations__card--pms { animation: thb-rise 0.7s var(--thb-ease) 1.15s backwards; }
.thb-integrations.is-in .thb-integrations__logo { animation: thb-pop 0.5s var(--thb-ease) 1.3s backwards; }
.thb-integrations.is-in .thb-integrations__logos:nth-of-type(1) .thb-integrations__logo:nth-child(2) { animation-delay: 1.38s; }
.thb-integrations.is-in .thb-integrations__logos:nth-of-type(1) .thb-integrations__logo:nth-child(3) { animation-delay: 1.46s; }
.thb-integrations.is-in .thb-integrations__logos:nth-of-type(2) .thb-integrations__logo:nth-child(1) { animation-delay: 1.46s; }
.thb-integrations.is-in .thb-integrations__logos:nth-of-type(2) .thb-integrations__logo:nth-child(2) { animation-delay: 1.54s; }
.thb-integrations.is-in .thb-integrations__logos:nth-of-type(3) .thb-integrations__logo { animation-delay: 1.62s; }
.thb-integrations.is-in .thb-integrations__bar { animation: thb-rise 0.7s var(--thb-ease) 0.5s backwards; }
.thb-integrations.is-in .thb-integrations__benefit { animation: thb-rise 0.6s var(--thb-ease) 0.7s backwards; }
.thb-integrations.is-in .thb-integrations__benefit:nth-child(3) { animation-delay: 0.8s; }
.thb-integrations.is-in .thb-integrations__benefit:nth-child(5) { animation-delay: 0.9s; }
.thb-integrations.is-in .thb-integrations__benefit:nth-child(7) { animation-delay: 1s; }

@keyframes thb-integrations-draw {
  from { opacity: 1; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes thb-integrations-spin {
  to { rotate: 360deg; }
}

@keyframes thb-integrations-march {
  to { stroke-dashoffset: -14; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .thb-integrations__diagram {
    grid-template-columns: minmax(0, 1fr) 450px minmax(0, 1fr);
    column-gap: 0;
  }

  .thb-integrations__hline {
    width: 85px;
  }

  .thb-integrations__hline--left,
  .thb-integrations__hline--right {
    margin: 0 8px;
  }

  .thb-integrations__hline img {
    width: 95.667px;
  }

  .thb-integrations__card {
    padding: 26px 18px;
  }

  .thb-integrations__logos {
    gap: 12px;
  }

  .thb-integrations__card--pms {
    width: 480px;
  }
}

@media (max-width: 1199px) {

  .thb-integrations__diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    padding: 0;
  }

  .thb-integrations__mid {
    grid-column: 1 / -1;
    order: -2;
  }

  .thb-integrations__hline {
    display: none;
  }

  .thb-integrations__vline {
    order: -1;
    margin: 10px 0 14px;
  }

  .thb-integrations__card {
    padding: 26px 24px;
  }

  .thb-integrations__card--pms {
    margin-top: 24px;
  }

  .thb-integrations__card--ehr {
    margin-bottom: 0;
  }

  .thb-integrations__diagram {
    align-items: stretch;
  }

  .thb-integrations__card--clearing .thb-integrations__logos:last-child {
    width: auto;
  }

  .thb-integrations__bar {
    margin-top: 40px;
  }

  .thb-integrations__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .thb-integrations__divider {
    display: none;
  }

  .thb-integrations__benefit,
  .thb-integrations__benefit:first-child {
    padding: 0 12px;
  }
}

@media (max-width: 767px) {

  .thb-integrations .thb-container {
    padding: 0 16px;
  }

  .thb-integrations__title {
    font-size: 26px;
    line-height: 36px;
  }

  .thb-integrations__lead {
    font-size: 15px;
  }

  .thb-integrations__diagram {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
    margin-top: 32px;
  }

  .thb-integrations__vline {
    margin: -6px 0 -6px;
    height: 70px;
  }

  .thb-integrations__vline img {
    width: 80.667px;
  }

  .thb-integrations__card--pms {
    margin-top: 0;
    width: 100%;
  }

  .thb-integrations__card {
    min-height: 0;
    padding: 22px 16px;
  }

  .thb-integrations__logos {
    flex-wrap: wrap;
    gap: 10px;
  }

  .thb-integrations__logo,
  .thb-integrations__logo--office-ally,
  .thb-integrations__logo--nextgen {
    flex: 1 1 120px;
  }

  .thb-integrations__card--clearing .thb-integrations__logos:last-child {
    width: auto;
  }

  .thb-integrations__bar {
    margin-top: 32px;
    padding: 20px 8px;
  }

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

  .thb-integrations__benefit-label {
    white-space: normal;
  }
}

/* ============================================================= */
/* Section: 15-coverage                                           */
/* ============================================================= */
/* ============================================================= */
/* 15. Nationwide Coverage — Figma 12737:1316                    */
/* ============================================================= */
.thb-coverage__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 909px;
  margin: 0 auto;
  text-align: center;
}

.thb-coverage__title {
  color: var(--thb-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
}

.thb-coverage__lead {
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 25.2px;
}

.thb-coverage__grid {
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin-top: 40px;
}

/* Shared card skin (both "Key Impact Highlights" frames) */
.thb-coverage__intro,
.thb-coverage__panel {
  position: relative;
  border: 1px solid #eff2ff;
  border-radius: 16px;
  background: rgba(239, 242, 255, 0.28);
  box-shadow: 0 2.704px 11.561px #eff2ff, inset 0 0 64px #eff2ff;
}

/* ---------- Intro card (12737:1323) ---------- */
.thb-coverage__intro {
  flex: 0 0 297px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 25px 21px;
}

.thb-coverage__logo {
  display: block;
  width: 227px;
  height: 37px;
}

.thb-coverage__intro-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thb-coverage__intro-title {
  color: var(--thb-blue);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.thb-coverage__intro-text {
  color: var(--thb-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.thb-coverage__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none;
  width: 267px;
  max-width: none;
  height: 50px;
  padding: 8px 14px;
  border-radius: 75px;
  background: var(--thb-orange);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 20.8px;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, translate 0.3s var(--thb-ease);
}

.thb-coverage__btn:hover,
.thb-coverage__btn:focus-visible {
  background: var(--thb-blue);
  color: #ffffff;
  text-decoration: none;
  translate: 0 -2px;
  box-shadow: 0 10px 20px rgba(39, 55, 117, 0.2);
}

.thb-coverage__btn-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #ffffff;
  transition: translate 0.3s var(--thb-ease);
}

.thb-coverage__btn-icon img {
  display: block;
  max-width: none;
}

.thb-coverage__btn:hover .thb-coverage__btn-icon,
.thb-coverage__btn:focus-visible .thb-coverage__btn-icon {
  translate: 4px 0;
}

/* ---------- Map panel (12737:1384): Figma's absolute layout at 1240 ---------- */
.thb-coverage__panel {
  flex: 1 1 0;
  min-width: 0;
  height: 441px;
  overflow: hidden;
}

.thb-coverage__map {
  position: absolute;
  left: 93px;
  top: 28.4px;
  display: block;
  width: 596.442px;
  height: 338.023px;
  max-width: none;
}

.thb-coverage__line {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.thb-coverage__line-turn {
  position: relative;
  flex: none;
  display: block;
}

.thb-coverage__line-turn img {
  position: absolute;
  display: block;
  max-width: none;
  width: auto;
  height: auto;
}

.thb-coverage__line--california { left: 217.29px; top: 167.29px; width: 37.739px; height: 82.439px; }
.thb-coverage__line--california .thb-coverage__line-turn { width: 81.043px; height: 16.353px; rotate: 105.75deg; }
.thb-coverage__line--california img { left: -3.29%; top: -2.75%; }

.thb-coverage__line--texas { left: 320.98px; top: 250.31px; width: 103.992px; height: 111.843px; }
.thb-coverage__line--texas .thb-coverage__line-turn { width: 97.492px; height: 56.548px; rotate: 127.21deg; }
.thb-coverage__line--texas img { left: -2.74%; top: 0.53%; }

.thb-coverage__line--florida { left: 583.4px; top: 278.82px; width: 112.603px; height: 119.626px; }
.thb-coverage__line--florida .thb-coverage__line-turn { width: 101.184px; height: 64.557px; }
.thb-coverage__line--florida img { left: -2.64%; top: 0.47%; }

.thb-coverage__line--georgia { left: 594.94px; top: 195.72px; width: 102.057px; height: 106.365px; }
.thb-coverage__line--georgia .thb-coverage__line-turn { width: 85.609px; height: 63.141px; }
.thb-coverage__line--georgia img { left: -3.11%; top: -4.22%; }

.thb-coverage__line--illinois { left: 528.5px; top: 79.9px; width: 168.5px; height: 168.806px; }
.thb-coverage__line--illinois .thb-coverage__line-turn { width: 121.164px; height: 119.57px; }
.thb-coverage__line--illinois img { left: -2.2%; top: -2.23%; }

/* Figma: -scale-y-100 + rotate(52.79deg) — scale applies first, as with these properties. */
:is(.thb-coverage__line--florida, .thb-coverage__line--georgia, .thb-coverage__line--illinois) .thb-coverage__line-turn {
  rotate: 52.79deg;
  scale: 1 -1;
}

.thb-coverage__states {
  position: static;
}

.thb-coverage__state {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 190px;
  height: 72px;
  padding: 0 17px;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transition: translate 0.35s var(--thb-ease), box-shadow 0.35s var(--thb-ease);
}

.thb-coverage__state:hover {
  translate: 0 -4px;
  box-shadow: 0 12px 26px rgba(39, 55, 117, 0.16);
}

.thb-coverage__state--california { left: 20px; top: 212.41px; width: 197px; }
.thb-coverage__state--texas { left: 249px; top: 341.41px; width: 197px; box-shadow: 0 0 15px -3px rgba(0, 0, 0, 0.1); }
.thb-coverage__state--new-york { left: 695px; top: 44.41px; }
.thb-coverage__state--illinois { left: 695px; top: 137.41px; }
.thb-coverage__state--georgia { left: 695px; top: 230.41px; }
.thb-coverage__state--florida { left: 695px; top: 323.41px; }

.thb-coverage__state-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--thb-blue);
  transition: scale 0.35s var(--thb-ease);
}

.thb-coverage__state-icon--orange {
  background: var(--thb-orange);
}

.thb-coverage__state-icon img {
  display: block;
  max-width: none;
}

.thb-coverage__state:hover .thb-coverage__state-icon {
  scale: 1.1;
}

.thb-coverage__state-copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3.25px;
}

.thb-coverage__state-name {
  color: var(--thb-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.thb-coverage__state-note {
  display: block;
  padding-bottom: 0.75px;
  color: var(--thb-text);
  font-size: 10px;
  font-weight: 400;
  line-height: 12.5px;
}

/* ---------- Entrance ---------- */
.thb-coverage.is-armed:not(.is-in) :is(.thb-coverage__eyebrow, .thb-coverage__title, .thb-coverage__lead, .thb-coverage__intro, .thb-coverage__logo, .thb-coverage__intro-copy, .thb-coverage__btn, .thb-coverage__panel, .thb-coverage__map, .thb-coverage__line, .thb-coverage__state) {
  opacity: 0;
}

.thb-coverage.is-in .thb-coverage__eyebrow { animation: thb-fade 0.6s var(--thb-ease) 0.05s backwards; }
.thb-coverage.is-in .thb-coverage__title { animation: thb-rise 0.7s var(--thb-ease) 0.12s backwards; }
.thb-coverage.is-in .thb-coverage__lead { animation: thb-rise 0.7s var(--thb-ease) 0.2s backwards; }
.thb-coverage.is-in .thb-coverage__intro { animation: thb-from-left 0.7s var(--thb-ease) 0.3s backwards; }
.thb-coverage.is-in .thb-coverage__logo { animation: thb-fade 0.6s var(--thb-ease) 0.55s backwards; }
.thb-coverage.is-in .thb-coverage__intro-copy { animation: thb-rise 0.6s var(--thb-ease) 0.62s backwards; }
.thb-coverage.is-in .thb-coverage__btn { animation: thb-pop 0.6s var(--thb-ease) 0.75s backwards; }
.thb-coverage.is-in .thb-coverage__panel { animation: thb-rise 0.7s var(--thb-ease) 0.35s backwards; }
.thb-coverage.is-in .thb-coverage__map { animation: thb-coverage-map 1s var(--thb-ease) 0.5s backwards; }
.thb-coverage.is-in .thb-coverage__state { animation: thb-pop 0.55s var(--thb-ease) 0.9s backwards; }
.thb-coverage.is-in .thb-coverage__state--texas { animation-delay: 1s; }
.thb-coverage.is-in .thb-coverage__state--new-york { animation-delay: 1.1s; }
.thb-coverage.is-in .thb-coverage__state--illinois { animation-delay: 1.2s; }
.thb-coverage.is-in .thb-coverage__state--georgia { animation-delay: 1.3s; }
.thb-coverage.is-in .thb-coverage__state--florida { animation-delay: 1.4s; }
.thb-coverage.is-in .thb-coverage__line { animation: thb-fade 0.6s var(--thb-ease) 1.15s backwards; }
.thb-coverage.is-in .thb-coverage__line--texas { animation-delay: 1.25s; }
.thb-coverage.is-in .thb-coverage__line--illinois { animation-delay: 1.45s; }
.thb-coverage.is-in .thb-coverage__line--georgia { animation-delay: 1.55s; }
.thb-coverage.is-in .thb-coverage__line--florida { animation-delay: 1.65s; }

@keyframes thb-coverage-map {
  from { opacity: 0; scale: 0.94; }
  to   { opacity: 1; scale: 1; }
}

/* ---------- Responsive ---------- */
/* The map panel needs its full 901px Figma stage; below that the callouts move under the map. */
@media (max-width: 1279px) {
  .thb-coverage__grid {
    flex-direction: column;
    gap: 24px;
  }

  .thb-coverage__intro {
    flex: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 32px;
  }

  .thb-coverage__logo {
    grid-column: 1 / -1;
  }

  .thb-coverage__btn {
    width: auto;
    padding: 8px 24px;
  }

  .thb-coverage__panel {
    flex: none;
    height: auto;
    padding: 28px 24px 24px;
  }

  .thb-coverage__map {
    position: static;
    width: 100%;
    max-width: 596.442px;
    height: auto;
    margin: 0 auto;
  }

  .thb-coverage__line {
    display: none;
  }

  .thb-coverage__states {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
  }

  .thb-coverage__state,
  .thb-coverage__state--california,
  .thb-coverage__state--texas {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    min-height: 72px;
    padding: 12px 16px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 991px) {

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

@media (max-width: 767px) {

  .thb-coverage .thb-container {
    padding: 0 16px;
  }

  .thb-coverage__title {
    font-size: 26px;
    line-height: 36px;
  }

  .thb-coverage__lead {
    font-size: 15px;
  }

  .thb-coverage__grid {
    margin-top: 32px;
  }

  .thb-coverage__intro {
    display: flex;
    padding: 22px 18px;
  }

  .thb-coverage__logo {
    max-width: 100%;
    height: auto;
  }

  .thb-coverage__btn {
    width: 100%;
  }

  .thb-coverage__panel {
    padding: 20px 14px 16px;
  }

  .thb-coverage__states {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .thb-coverage__state-note {
    font-size: 12px;
    line-height: 16px;
  }
}

/* ============================================================= */
/* Section: 16a-payers                                            */
/* ============================================================= */
/* ============================================================= */
/* 16 TELEHEALTH PAYER RULES GROUP — Figma 12737:1857 (1240 wide) */
/* One white frame with a 1px dashed navy border, 20px inset and  */
/* 40px between its three blocks: 16a payers (py 40), 16b banner, */
/* 16c multi-state coordination (py 40).                          */
/* ============================================================= */
.thb-payer-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
}

/* Border on a pseudo-element so it can draw in without hiding the blocks. */
.thb-payer-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed var(--thb-blue);
  border-radius: 20px;
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.thb-payer-frame:hover::before {
  border-color: var(--thb-orange);
}

.thb-payer-group.is-armed:not(.is-in) .thb-payer-frame::before {
  opacity: 0;
}

.thb-payer-group.is-in .thb-payer-frame::before {
  animation: thb-payer-frame-in 0.9s var(--thb-ease) 0s backwards;
}

@keyframes thb-payer-frame-in {
  from { opacity: 0; scale: 0.985; }
  to   { opacity: 1; scale: 1; }
}

/* 16a — Payer logos, Figma 12737:1858 (1200 x 400) */
.thb-payers {
  padding: 40px 0;
  background: #ffffff;
}

.thb-payers-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 29px;
}

.thb-payers-copy {
  display: flex;
  flex: 0 0 452px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.thb-payers .thb-payers-title {
  color: var(--thb-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.thb-payers-line {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--thb-orange);
  transform-origin: left center;
}

.thb-payers-text {
  max-width: 448px;
  color: #4b5563;
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
}

.thb-payers-board {
  display: flex;
  flex: 0 1 719px;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  min-width: 0;
}

.thb-payers .thb-payers-board-title {
  align-self: center;
  background: linear-gradient(90deg, #273775 29.808%, #fc5d61 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.thb-payers .thb-payers-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 60px;
  gap: 12px;
}

.thb-payers-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: translate 0.3s var(--thb-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.thb-payers-logo img {
  display: block;
  height: auto;
  object-fit: contain;
  transition: scale 0.3s var(--thb-ease);
}

.thb-payers-logo:hover {
  translate: 0 -3px;
  border-color: rgba(39, 55, 117, 0.25);
  box-shadow: 0 10px 20px -12px rgba(39, 55, 117, 0.35);
}

.thb-payers-logo:hover img {
  scale: 1.06;
}

.thb-payers-logo--more {
  background: #eff2ff;
  border-color: #eff2ff;
  color: var(--thb-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.thb-payers-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  background: #eff2ff;
  border-radius: 9999px;
  color: var(--thb-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.thb-payers-status img {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}

.thb-payers-status span {
  flex: 1 1 0;
  min-width: 0;
}

/* ---------- Entrance ---------- */
@keyframes thb-payers-grow {
  from { scale: 0 1; }
  to   { scale: 1 1; }
}

@keyframes thb-payers-ping {
  0%, 100% { scale: 1; }
  50%      { scale: 1.12; }
}

.thb-payers.is-armed:not(.is-in) :is(.thb-payers-eyebrow, .thb-payers-title, .thb-payers-line, .thb-payers-text, .thb-payers-board-title, .thb-payers-logo, .thb-payers-status) {
  opacity: 0;
}

.thb-payers.is-in .thb-payers-eyebrow { animation: thb-from-left 0.7s var(--thb-ease) 0.05s backwards; }
.thb-payers.is-in .thb-payers-title   { animation: thb-from-left 0.7s var(--thb-ease) 0.15s backwards; }
.thb-payers.is-in .thb-payers-line    { animation: thb-payers-grow 0.6s var(--thb-ease) 0.4s backwards; }
.thb-payers.is-in .thb-payers-text    { animation: thb-rise 0.7s var(--thb-ease) 0.3s backwards; }
.thb-payers.is-in .thb-payers-board-title { animation: thb-fade 0.7s ease 0.2s backwards; }
.thb-payers.is-in .thb-payers-logo {
  animation: thb-pop 0.5s var(--thb-ease) calc(0.3s + var(--i, 0) * 0.05s) backwards;
}
.thb-payers.is-in .thb-payers-status { animation: thb-rise 0.7s var(--thb-ease) 1s backwards; }
.thb-payers.is-in .thb-payers-status img { animation: thb-payers-ping 1.6s ease-in-out 1.7s 2; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-payers-layout {
    flex-direction: column;
    gap: 40px;
  }

  .thb-payers-copy {
    flex: none;
    width: 100%;
    max-width: 720px;
  }

  .thb-payers-text {
    max-width: none;
  }

  .thb-payers-board {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 767px) {

  .thb-payers .thb-payers-title {
    font-size: 26px;
    line-height: 34px;
  }

  .thb-payers-text {
    font-size: 15px;
    line-height: 24px;
  }

  .thb-payers .thb-payers-board-title {
    font-size: 18px;
  }

  .thb-payers .thb-payers-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 56px;
    gap: 10px;
  }

  .thb-payers-logo {
    padding: 10px;
  }

  .thb-payers-status {
    align-items: flex-start;
    padding: 10px 16px;
    border-radius: 16px;
  }
}

@media (max-width: 399px) {
  .thb-payers .thb-payers-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================= */
/* Section: 16b-rules                                             */
/* ============================================================= */
/* ============================================================= */
/* 16b TELEHEALTH PAYER RULES BANNER — Figma 12737:1920 (1200 x 278.5) */
/* Sits 40px under 16a and 40px above 16c (frame 12737:1857).     */
/* The dashed arcs draw in, then a light spark travels each one.   */
/* ============================================================= */
.thb-rules {
  background: #ffffff;
}

.thb-rules-banner {
  position: relative;
  overflow: hidden;
  padding: 40px;
  background: var(--thb-blue);
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  isolation: isolate;
}

.thb-rules .thb-rules-texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
  border-radius: 16px;
  pointer-events: none;
}

.thb-rules-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* ---------- Title block ---------- */
.thb-rules-head {
  display: flex;
  flex: 0 0 237px;
  flex-direction: column;
  align-items: flex-start;
  gap: 18.5px;
  padding-right: 1px;
  border-right: 1px solid rgba(71, 85, 105, 0.5);
}

.thb-rules-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 9.069px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 9.976px;
  text-transform: capitalize;
  white-space: nowrap;
}

.thb-rules .thb-rules-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
  white-space: nowrap;
}

.thb-rules-line {
  display: block;
  width: 40px;
  height: 4px;
  background: var(--thb-orange);
  transform-origin: left center;
}

/* ---------- Steps ---------- */
.thb-rules-flow {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-width: 0;
  height: 198.5px;
}

.thb-rules .thb-rules-steps {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
}

.thb-rules-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 110px;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 110px;
  height: 170px;
  color: #ffffff;
  text-align: center;
}

.thb-rules-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 9999px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25);
  transition: scale 0.35s var(--thb-ease), box-shadow 0.35s ease;
}

.thb-rules-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.thb-rules-step:hover .thb-rules-icon {
  scale: 1.08;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
}

.thb-rules .thb-rules-step-title {
  width: 100%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.thb-rules-step-text {
  width: 100%;
  color: #ffffff;
  font-size: 10px;
  font-weight: 400;
  line-height: 12.5px;
}

/* Dashed arcs (Figma 12737:1964-1967): 87 x 9 boxes at x 89 / 241 / 393 / 543
   of the 678px steps area, y 10. The SVG keeps its own 88.16 x 11.52 size. */
.thb-rules-connector {
  position: absolute;
  top: 10px;
  width: 87px;
  height: 9px;
  pointer-events: none;
}

.thb-rules-connector--1 { left: 13.127%; }
.thb-rules-connector--2 { left: 35.546%; }
.thb-rules-connector--3 { left: 57.965%; }
.thb-rules-connector--4 { left: 80.088%; }

.thb-rules .thb-rules-connector img {
  position: absolute;
  top: -0.5px;
  left: -0.66px;
  display: block;
  max-width: none;
}

.thb-rules-spark {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.7);
  opacity: 0;
  offset-path: path("M1 9.5 C 24 -2.5, 63 -2.5, 87.4 9.5");
  offset-rotate: 0deg;
  offset-anchor: 50% 50%;
}

/* ---------- Proof column ---------- */
.thb-rules-proof {
  display: flex;
  flex: 0 0 165px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 10px;
  padding: 0 24px 0 25px;
  border-left: 1px solid #ffffff;
}

.thb-rules .thb-rules-clip {
  display: block;
  width: 50px;
  height: 63px;
  margin: -2px;
  max-width: none;
}

.thb-rules-proof p {
  width: 142px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  line-height: 16.25px;
  text-align: center;
}

/* ---------- Entrance + motion ---------- */
@keyframes thb-rules-grow {
  from { scale: 0 1; }
  to   { scale: 1 1; }
}

@keyframes thb-rules-draw {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes thb-rules-travel {
  0%   { offset-distance: 0%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@keyframes thb-rules-tick {
  0%, 80%, 100% { rotate: 0deg; }
  85% { rotate: -6deg; }
  90% { rotate: 5deg; }
  95% { rotate: -3deg; }
}

.thb-rules.is-armed:not(.is-in) :is(.thb-rules-banner, .thb-rules-chip, .thb-rules-title, .thb-rules-line, .thb-rules-step, .thb-rules-connector, .thb-rules-proof) {
  opacity: 0;
}

.thb-rules.is-in .thb-rules-banner { animation: thb-rise 0.8s var(--thb-ease) 0s backwards; }
.thb-rules.is-in .thb-rules-chip   { animation: thb-from-left 0.6s var(--thb-ease) 0.25s backwards; }
.thb-rules.is-in .thb-rules-title  { animation: thb-from-left 0.7s var(--thb-ease) 0.35s backwards; }
.thb-rules.is-in .thb-rules-line   { animation: thb-rules-grow 0.6s var(--thb-ease) 0.6s backwards; }

.thb-rules.is-in .thb-rules-step {
  animation: thb-rise 0.6s var(--thb-ease) calc(0.45s + var(--i, 0) * 0.22s) backwards;
}

.thb-rules.is-in .thb-rules-step .thb-rules-icon {
  animation: thb-pop 0.5s var(--thb-ease) calc(0.5s + var(--i, 0) * 0.22s) backwards;
}

.thb-rules.is-in .thb-rules-connector {
  animation: thb-rules-draw 0.5s ease-out calc(0.7s + var(--i, 0) * 0.22s) backwards;
}

.thb-rules.is-in .thb-rules-spark {
  animation: thb-rules-travel 1.6s ease-in-out calc(1.8s + var(--i, 0) * 0.4s) infinite;
}

.thb-rules.is-in .thb-rules-proof { animation: thb-from-right 0.7s var(--thb-ease) 1.5s backwards; }
.thb-rules.is-in .thb-rules-clip  { animation: thb-rules-tick 4s ease-in-out 2.4s infinite; transform-origin: 50% 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-rules-inner {
    flex-wrap: wrap;
    gap: 28px 20px;
  }

  .thb-rules-head {
    flex: 1 1 100%;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .thb-rules .thb-rules-title {
    white-space: normal;
  }

  .thb-rules .thb-rules-title br {
    display: none;
  }

  .thb-rules-flow {
    flex: 1 1 100%;
    height: auto;
  }

  .thb-rules-step {
    height: auto;
    min-height: 150px;
  }

  .thb-rules-proof {
    flex: 1 1 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .thb-rules-proof p {
    width: auto;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .thb-rules-banner {
    padding: 28px 20px;
  }

  .thb-rules .thb-rules-title {
    font-size: 26px;
    line-height: 32px;
  }

  .thb-rules .thb-rules-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    width: 100%;
  }

  .thb-rules-step {
    width: auto;
    min-height: 0;
  }

  .thb-rules-step:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 180px;
  }

  .thb-rules-step-text {
    font-size: 12px;
    line-height: 16px;
  }

  .thb-rules-connector {
    display: none;
  }
}

/* ============================================================= */
/* Section: 16c-coord                                             */
/* ============================================================= */
/* ============================================================= */
/* 16c MULTI-STATE COORDINATION — Figma 12737:1971 (1200 x 427)   */
/* ============================================================= */
.thb-coord {
  padding: 40px 0;
  background: #ffffff;
}

.thb-coord-layout {
  display: flex;
  align-items: flex-start;
  gap: 70px;
}

/* ---------- Copy ---------- */
.thb-coord-copy {
  display: flex;
  flex: 0 0 315px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.thb-coord .thb-coord-title {
  color: var(--thb-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 35px;
}

.thb-coord-line {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--thb-orange);
  transform-origin: left center;
}

.thb-coord-text {
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
}

/* ---------- Orbit (12737:1981, 385 x 300) ---------- */
.thb-coord-orbit {
  position: relative;
  display: flex;
  flex: 0 0 385px;
  align-items: center;
  justify-content: center;
  width: 385px;
  height: 300px;
}

.thb-coord-ring {
  position: absolute;
  top: calc(50% + 1.2px);
  left: calc(50% + 0.5px);
  width: 220px;
  height: 220px;
  border: 2px dashed #e5e7eb;
  border-radius: 110px;
  translate: -50% -50%;
}

.thb-coord-dot {
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
}

.thb-coord-dot--tl { top: 47.2px; left: 137px; background: #273775; }
.thb-coord-dot--tr { top: 47.2px; right: 136px; background: #563e85; }
.thb-coord-dot--bl { bottom: 43.8px; left: 137px; background: #fc5d61; }
.thb-coord-dot--br { bottom: 43.8px; right: 136px; background: #8f4588; }

.thb-coord-center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  padding: 20px;
  background: #ffffff;
  border: 4px solid #eff2ff;
  border-radius: 9999px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.thb-coord-center p {
  width: 100%;
  color: var(--thb-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 22.5px;
  letter-spacing: -0.9px;
  text-align: center;
  text-transform: uppercase;
}

.thb-coord .thb-coord-cards {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.thb-coord-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 160px;
  height: 48px;
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: scale 0.3s var(--thb-ease), box-shadow 0.3s ease;
}

.thb-coord-card:hover {
  scale: 1.05;
  box-shadow: 0 16px 24px -6px rgba(39, 55, 117, 0.22);
}

.thb-coord-card--commercial { top: 16.2px; left: -30px; --dx: 90px; --dy: 80px; }
.thb-coord-card--medicare   { top: 15.24px; right: -61px; width: 164px; --dx: -90px; --dy: 80px; }
.thb-coord-card--medicaid       { top: 222.24px; left: -30px; --dx: 90px; --dy: -80px; }
.thb-coord-card--behavioral    { top: 222.24px; right: -61px; width: 164px; --dx: -90px; --dy: -80px; }

.thb-coord-card-ico {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
}

.thb-coord-card-ico img {
  display: block;
  width: 16px;
  height: 16px;
}

.thb-coord-card-label {
  flex: 1 1 0;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.thb-coord-card--commercial .thb-coord-card-ico { background: #dbeafe; }
.thb-coord-card--commercial .thb-coord-card-label { color: #273775; }
.thb-coord-card--medicare .thb-coord-card-ico { background: rgba(86, 62, 133, 0.1); }
.thb-coord-card--medicare .thb-coord-card-label { color: #563e85; }
.thb-coord-card--medicaid .thb-coord-card-ico { background: #ffedd5; }
.thb-coord-card--medicaid .thb-coord-card-label { color: #fc5d61; }
.thb-coord-card--behavioral .thb-coord-card-ico { background: #f3e8ff; }
.thb-coord-card--behavioral .thb-coord-card-label { flex: 0 0 101px; color: #c64d76; }
.thb-coord-card--medicare { padding: 8px 10px; }
.thb-coord-card--medicare .thb-coord-card-label { flex: 0 0 108px; font-size: 10px; }
.thb-coord-card--medicaid .thb-coord-card-label { flex: 0 0 93px; }

/* ---------- Payer types (12737:2014) ---------- */
.thb-coord-proof {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  min-width: 0;
  height: 300px;
  padding: 48px 20px 48px 21px;
  border-left: 1px solid #f1f5f9;
}

.thb-coord .thb-coord-proof-title {
  color: var(--thb-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.thb-coord .thb-coord-types {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.thb-coord-type {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 13px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 46px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
  transition: translate 0.3s var(--thb-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.thb-coord-type img {
  display: block;
  width: 30px;
  height: 30px;
}

.thb-coord-type:hover {
  translate: 0 -4px;
  border-color: rgba(39, 55, 117, 0.3);
  box-shadow: 0 10px 18px -10px rgba(39, 55, 117, 0.45);
}

.thb-coord-proof-text {
  width: 100%;
  color: var(--thb-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 22.75px;
  text-align: center;
}

/* ---------- Entrance + motion ---------- */
@keyframes thb-coord-grow {
  from { scale: 0 1; }
  to   { scale: 1 1; }
}

@keyframes thb-coord-spin {
  to { rotate: 360deg; }
}

@keyframes thb-coord-in {
  from { opacity: 0; translate: var(--dx, 0) var(--dy, 0); scale: 0.6; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes thb-coord-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -5px; }
}

@keyframes thb-coord-pulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; }
  60%      { box-shadow: 0 0 0 7px transparent; }
}

.thb-coord-dot--tl { color: rgba(39, 55, 117, 0.35); }
.thb-coord-dot--tr { color: rgba(86, 62, 133, 0.35); }
.thb-coord-dot--bl { color: rgba(252, 93, 97, 0.35); }
.thb-coord-dot--br { color: rgba(143, 69, 136, 0.35); }

.thb-coord.is-armed:not(.is-in) :is(.thb-coord-eyebrow, .thb-coord-title, .thb-coord-line, .thb-coord-text, .thb-coord-ring, .thb-coord-dot, .thb-coord-center, .thb-coord-card, .thb-coord-proof-title, .thb-coord-type, .thb-coord-proof-text) {
  opacity: 0;
}

.thb-coord.is-in .thb-coord-eyebrow { animation: thb-from-left 0.7s var(--thb-ease) 0.05s backwards; }
.thb-coord.is-in .thb-coord-title   { animation: thb-from-left 0.7s var(--thb-ease) 0.15s backwards; }
.thb-coord.is-in .thb-coord-line    { animation: thb-coord-grow 0.6s var(--thb-ease) 0.4s backwards; }
.thb-coord.is-in .thb-coord-text    { animation: thb-rise 0.7s var(--thb-ease) 0.3s backwards; }

.thb-coord.is-in .thb-coord-ring {
  animation:
    thb-fade 0.8s ease 0.2s backwards,
    thb-coord-spin 40s linear 1s infinite;
}

.thb-coord.is-in .thb-coord-center { animation: thb-pop 0.7s var(--thb-ease) 0.25s backwards; }

.thb-coord.is-in .thb-coord-dot {
  animation:
    thb-pop 0.4s var(--thb-ease) 0.9s backwards,
    thb-coord-pulse 2.4s ease-out 1.4s infinite;
}

.thb-coord.is-in .thb-coord-dot--tr { animation-delay: 0.95s, 2s; }
.thb-coord.is-in .thb-coord-dot--bl { animation-delay: 1s, 2.6s; }
.thb-coord.is-in .thb-coord-dot--br { animation-delay: 1.05s, 3.2s; }

.thb-coord.is-in .thb-coord-card {
  animation:
    thb-coord-in 0.8s var(--thb-ease) calc(0.45s + var(--i, 0) * 0.12s) backwards,
    thb-coord-bob 4.5s ease-in-out calc(1.6s + var(--i, 0) * 0.6s) infinite;
}

.thb-coord.is-in .thb-coord-proof-title { animation: thb-fade 0.7s ease 0.4s backwards; }
.thb-coord.is-in .thb-coord-type {
  animation: thb-pop 0.5s var(--thb-ease) calc(0.6s + var(--i, 0) * 0.1s) backwards;
}
.thb-coord.is-in .thb-coord-proof-text { animation: thb-rise 0.7s var(--thb-ease) 1.1s backwards; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-coord-layout {
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 40px;
  }

  .thb-coord-copy {
    flex: 1 1 100%;
    max-width: none;
  }

  .thb-coord-orbit {
    margin: 0 61px 0 30px;
  }

  .thb-coord-proof {
    flex: 1 1 300px;
    max-width: 420px;
  }

  .thb-coord .thb-coord-types {
    flex-wrap: wrap;
  }
}

@media (max-width: 991px) {
  .thb-coord-proof {
    flex: 1 1 100%;
    max-width: none;
    height: auto;
    padding: 32px 0 0;
    border-left: 0;
    border-top: 1px solid #f1f5f9;
  }
}

@media (max-width: 767px) {

  .thb-coord .thb-coord-title {
    font-size: 22px;
    line-height: 32px;
  }

  .thb-coord-text {
    font-size: 15px;
    line-height: 24px;
  }
}

/* Phones: the orbit no longer fits (476px with its overhanging cards), so the
   centre badge sits on top and the four payer cards drop into a 2 x 2 grid. */
@media (max-width: 575px) {
  .thb-coord-orbit {
    flex: 1 1 100%;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .thb-coord-ring,
  .thb-coord-dot {
    display: none;
  }

  .thb-coord .thb-coord-cards {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  .thb-coord-card,
  .thb-coord-card--medicare,
  .thb-coord-card--behavioral {
    position: static;
    width: auto;
    height: auto;
    min-height: 48px;
    padding: 8px 12px;
  }

  .thb-coord-card--behavioral .thb-coord-card-label {
    flex: 1 1 0;
  }

  .thb-coord.is-in .thb-coord-card {
    animation: thb-rise 0.6s var(--thb-ease) calc(0.45s + var(--i, 0) * 0.1s) backwards;
  }
}

/* ---------- Mobile: 05-integrations-coverage-payers ---------- */
/* ============================================================= */
/* Mobile (<=767px) — sections 14-integrations, 15-coverage,      */
/* 16a-payers, 16b-rules, 16c-coord.                              */
/* ============================================================= */

/* Mobile-only integrations CTA — never shown above 767px. */
.thb-integrations__cta {
  display: none;
}

@media (max-width: 767px) {

  /* =========================== 14 Integrations =========================== */
  /* c2-mobile is 400 wide with 16px inner padding -> 368px column. */
  .thb-integrations .thb-container {
    padding: 0 36px;
  }

  .thb-integrations__head {
    gap: 12px;
  }

  .thb-integrations .thb-integrations__eyebrow {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    line-height: 14px;
  }

  .thb-integrations .thb-integrations__title {
    font-size: 24px;
    line-height: 30px;
  }

  .thb-integrations .thb-integrations__lead {
    color: #3d3d3d;
    font-size: 14px;
    line-height: 20px;
  }

  /* Diagram: EHR card, arrow, hub, arrow, Clearinghouses, arrow, PMS & Billing Tools */
  .thb-integrations__diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 0;
  }

  .thb-integrations__mid,
  .thb-integrations__vline {
    order: 0;
  }

  .thb-integrations__mid {
    flex-direction: column;
    gap: 16px;
  }

  /* Connectors become the 24px dashed down-arrows; the data pulse now runs downward. */
  .thb-integrations__hline,
  .thb-integrations__vline,
  .thb-integrations__hline--left,
  .thb-integrations__hline--right {
    display: block;
    flex: none;
    width: 24px;
    height: 24px;
    margin: 0;
    background: url("../../images/telehealth-billing-v2/integrations/mobile/arrow-down.svg") center / 24px 24px no-repeat;
  }

  .thb-integrations__hline img,
  .thb-integrations__vline img {
    display: none;
  }

  .thb-integrations__hline::after,
  .thb-integrations__vline::after {
    top: auto;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: 0 0 0 -3px;
    box-shadow: 0 0 0 2px rgba(252, 93, 97, 0.22), 0 0 8px rgba(252, 93, 97, 0.65);
  }

  .thb-integrations.is-in .thb-integrations__hline--left::after {
    animation: thb-integrations-pulse-down 2.4s ease-in-out 1.8s infinite;
  }

  .thb-integrations.is-in .thb-integrations__hline--right::after {
    animation: thb-integrations-pulse-down 2.4s ease-in-out 2.2s infinite;
  }

  .thb-integrations.is-armed:not(.is-in) :is(.thb-integrations__hline, .thb-integrations__vline) {
    opacity: 0;
  }

  .thb-integrations.is-in :is(.thb-integrations__hline, .thb-integrations__vline) {
    animation: thb-fade 0.6s var(--thb-ease) 0.75s backwards;
  }

  .thb-integrations.is-in .thb-integrations__vline {
    animation-delay: 0.9s;
  }

  /* Hub: one 180px dashed circle */
  .thb-integrations__hub {
    width: 180px;
    height: 180px;
    border-radius: 90px;
    box-shadow: 0 4px 10px rgba(39, 55, 117, 0.12);
  }

  .thb-integrations__hub-core {
    gap: 4px;
    width: 180px;
    height: 180px;
    padding: 16px;
    border-radius: 90px;
    background: #ffffff;
  }

  .thb-integrations__hub-mark {
    width: 38px;
    height: 24px;
  }

  .thb-integrations__hub-mark span {
    top: 0;
    width: 24px;
    height: 24px;
    border-width: 2.25px;
    border-radius: 12px;
  }

  .thb-integrations__hub-mark span + span {
    left: 14px;
  }

  .thb-integrations .thb-integrations__hub-title {
    font-size: 15px;
    line-height: normal;
  }

  .thb-integrations .thb-integrations__hub-text {
    color: #3d3d3d;
    font-size: 10px;
    line-height: 14px;
  }

  /* Cards */
  .thb-integrations__card,
  .thb-integrations__card--pms {
    gap: 12px;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: none;
    filter: drop-shadow(0 4px 10px rgba(39, 55, 117, 0.09));
  }

  .thb-integrations__card:hover {
    box-shadow: none;
  }

  .thb-integrations__card-head {
    align-items: center;
    gap: 10px;
  }

  .thb-integrations__card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .thb-integrations__card-icon img {
    width: 20px;
    height: 20px;
  }

  .thb-integrations__card--pms .thb-integrations__card-icon img {
    width: 18.46px;
    height: 18.46px;
  }

  .thb-integrations__card-heading {
    gap: 2px;
  }

  .thb-integrations .thb-integrations__card-title {
    font-size: 16px;
    line-height: 24px;
  }

  .thb-integrations__card-bar {
    width: 20px;
    border-radius: 1.5px;
  }

  .thb-integrations__card:hover .thb-integrations__card-bar {
    width: 32px;
  }

  /* Logo rows */
  .thb-integrations__logos,
  .thb-integrations__card--clearing .thb-integrations__logos:last-child {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    width: auto;
  }

  .thb-integrations__logo,
  .thb-integrations__logo--office-ally,
  .thb-integrations__logo--nextgen {
    flex: none;
    height: 37px;
    padding: 6px;
    border-radius: 6px;
  }

  .thb-integrations__logo-box {
    max-width: none;
  }

  /* EHR & Telehealth Platforms: 140 x 40 tiles, 6px padding, 5px radius */
  .thb-integrations__card--ehr .thb-integrations__logo {
    width: 140px;
    height: 40px;
    padding: 6px;
    border-radius: 5px;
  }

  .thb-integrations__logo--athenahealth .thb-integrations__logo-box { width: 92px; }
  .thb-integrations__logo--eclinicalworks .thb-integrations__logo-box { width: 110px; }
  .thb-integrations__logo--epic .thb-integrations__logo-box { width: 84px; }
  .thb-integrations__logo--simplepractice .thb-integrations__logo-box { width: 110px; }
  .thb-integrations__logo--drchrono .thb-integrations__logo-box { width: 92px; }

  /* Clearinghouses: 90px tiles (Office Ally hugs its logo), rows 8px apart */
  .thb-integrations__card--clearing .thb-integrations__logos + .thb-integrations__logos {
    margin-top: -4px;
  }

  .thb-integrations__logo--availity,
  .thb-integrations__logo--waystar,
  .thb-integrations__logo--trizetto {
    width: 90px;
  }



  .thb-integrations__logo--availity .thb-integrations__logo-box { width: 68px; aspect-ratio: 68 / 17; }
  .thb-integrations__logo--office-ally .thb-integrations__logo-box { width: 78px; aspect-ratio: 78 / 14; }
  .thb-integrations__logo--office-ally img,
  .thb-integrations__logo--waystar img { left: 0; width: 100%; object-fit: cover; }
  .thb-integrations__logo--waystar .thb-integrations__logo-box { width: 78px; aspect-ratio: 78 / 16.387; }
  .thb-integrations__logo--trizetto .thb-integrations__logo-box { width: 78px; aspect-ratio: 116 / 24; }

  /* PMS & Billing Tools: three tiles in one row */
  .thb-integrations__card--pms .thb-integrations__logo { height: 40px; }
  .thb-integrations__logo--advancedmd .thb-integrations__logo-box { width: 88px; }
  .thb-integrations__logo--tebra .thb-integrations__logo-box { width: 80px; }
  .thb-integrations__logo--nextgen .thb-integrations__logo-box { width: 64px; }

  /* Benefits: bordered vertical list */
  .thb-integrations__bar {
    margin-top: 32px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
  }

  .thb-integrations__bar-border {
    display: none;
  }

  .thb-integrations__benefits {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .thb-integrations__divider {
    display: block;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
  }

  .thb-integrations__benefit,
  .thb-integrations__benefit:first-child {
    gap: 12px;
    padding: 0;
  }

  .thb-integrations__benefit-icon {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    filter: drop-shadow(0 0 2.4px rgba(0, 0, 0, 0.15));
  }

  .thb-integrations__benefit:nth-child(1) .thb-integrations__benefit-icon img { width: 19.2px; height: 19.2px; }
  .thb-integrations__benefit:nth-child(3) .thb-integrations__benefit-icon img { width: 17.68px; height: 17.04px; }
  .thb-integrations__benefit:nth-child(5) .thb-integrations__benefit-icon img { width: 16.2px; height: 16.18px; }
  .thb-integrations__benefit:nth-child(7) .thb-integrations__benefit-icon img { width: 19.2px; height: 19.2px; }

  .thb-integrations__benefit-label {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    color: #273775;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    white-space: normal;
  }

  /* CTA */
  .thb-integrations__cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
  }

  .thb-integrations__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 8px 14px;
    border-radius: 75px;
    background: var(--thb-orange);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20.8px;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, translate 0.3s var(--thb-ease);
  }

  .thb-integrations__btn:hover,
  .thb-integrations__btn:focus-visible {
    background: var(--thb-blue);
    color: #ffffff;
    text-decoration: none;
    translate: 0 -2px;
    box-shadow: 0 10px 20px rgba(39, 55, 117, 0.2);
  }

  .thb-integrations__btn-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    background: #ffffff;
    transition: translate 0.3s var(--thb-ease);
  }

  .thb-integrations__btn-icon img {
    display: block;
    max-width: none;
  }

  .thb-integrations__btn:hover .thb-integrations__btn-icon,
  .thb-integrations__btn:focus-visible .thb-integrations__btn-icon {
    translate: 4px 0;
  }

  .thb-integrations.is-armed:not(.is-in) .thb-integrations__btn {
    opacity: 0;
  }

  .thb-integrations.is-in .thb-integrations__btn {
    animation: thb-pop 0.6s var(--thb-ease) 1.1s backwards;
  }

  /* ============================= 15 Coverage ============================= */
  .thb-coverage .thb-container {
    padding: 0 20px;
  }

  .thb-coverage__head {
    gap: 12px;
  }

  .thb-coverage .thb-coverage__eyebrow {
    padding: 8px 10px;
    border-radius: 9.069px;
    font-size: 10px;
    line-height: 9.976px;
    text-transform: uppercase;
  }

  .thb-coverage .thb-coverage__title {
    font-size: 24px;
    line-height: 32px;
  }

  .thb-coverage .thb-coverage__lead {
    color: #3d3d3d;
    font-size: 13px;
    line-height: 18px;
  }

  .thb-coverage__grid {
    gap: 28px;
    margin-top: 28px;
  }

  /* Intro card */
  .thb-coverage__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
  }

  .thb-coverage__logo {
    width: 227px;
    max-width: 100%;
    height: auto;
    grid-column: auto;
  }

  .thb-coverage__intro-copy {
    gap: 20px;
  }

  .thb-coverage .thb-coverage__intro-title {
    font-size: 18px;
    line-height: 24px;
  }

  .thb-coverage .thb-coverage__intro-text {
    color: #3d3d3d;
    font-size: 14px;
    line-height: 25px;
  }

  .thb-coverage__btn {
    gap: 8px;
    width: 100%;
    height: auto;
    margin-top: -4px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: normal;
    filter: drop-shadow(0 4px 6px rgba(252, 93, 97, 0.25));
  }

  .thb-coverage__btn-icon {
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: url("../../images/telehealth-billing-v2/coverage/mobile/arrow-right.svg") center / 16px 16px no-repeat;
  }

  .thb-coverage__btn-icon img {
    display: none;
  }

  /* Map + state cards: no panel card on mobile */
  .thb-coverage__panel {
    height: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  /* MAP frame 400 x 194.25; the map art sits at 4.18% / 3.49% insets, 369.3 x 192.5 */
  .thb-coverage__map {
    width: 92.33%;
    max-width: none;
    height: auto;
    aspect-ratio: 369.3 / 192.5;
    margin: 0 0 1.75px 4.18%;
  }

  /* State grid: "Highlighted Regions" label + 2-column cards */
  .thb-coverage__states {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }

  .thb-coverage__states::before {
    content: "Highlighted Regions";
    grid-column: 1 / -1;
    color: #273775;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.5px;
  }

  .thb-coverage__state,
  .thb-coverage__state--california,
  .thb-coverage__state--texas {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: 32px auto;
    align-content: start;
    gap: 8px;
    height: 100px;
    min-height: 0;
    padding: 14px;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    box-shadow: none;
    filter: drop-shadow(0 4px 6px rgba(39, 55, 117, 0.06));
  }

  .thb-coverage__state:hover {
    box-shadow: none;
  }

  .thb-coverage__state--california { order: 1; }
  .thb-coverage__state--texas { order: 2; }
  .thb-coverage__state--illinois { order: 3; }
  .thb-coverage__state--new-york { order: 4; }
  .thb-coverage__state--florida { order: 5; }
  .thb-coverage__state--georgia { order: 6; }

  .thb-coverage__state-icon {
    width: 32px;
    height: 32px;
  }

  .thb-coverage__state-copy {
    display: contents;
  }

  .thb-coverage .thb-coverage__state-name {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 14px;
    line-height: normal;
    white-space: nowrap;
  }

  .thb-coverage .thb-coverage__state-note {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0;
    color: #3d3d3d;
    font-size: 12px;
    line-height: 20px;
  }

  /* ======================= 16a / 16b / 16c shared ======================= */
  /* 400px frame with 20px inner padding -> 360px column. */
  .thb-payer-group .thb-container {
    padding: 0 20px;
  }

  .thb-payer-frame {
    gap: 30px;
    padding: 20px;
  }

  .thb-payers,
  .thb-coord {
    padding: 10px 0;
  }

  :is(.thb-payers-eyebrow, .thb-coord-eyebrow),
  .thb-rules .thb-rules-chip {
    padding: 8px 10px;
    border-radius: 9.069px;
    font-size: 10px;
    line-height: 9.976px;
  }

  /* =============================== 16a Payers ============================== */
  .thb-payers-layout {
    gap: 20px;
  }

  .thb-payers-copy {
    gap: 20px;
  }

  .thb-payers .thb-payers-title {
    font-size: 24px;
    line-height: 35px;
  }

  .thb-payers .thb-payers-text {
    color: #4b5563;
    font-size: 14px;
    line-height: 29.25px;
  }

  .thb-payers-board {
    gap: 24px;
  }

  .thb-payers .thb-payers-board-title {
    font-size: 16px;
    line-height: 20px;
  }

  .thb-payers .thb-payers-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 60px;
    gap: 12px;
  }

  .thb-payers-logo {
    min-width: 0;
    padding: 13px;
  }

  .thb-payers-logo--more {
    white-space: nowrap;
  }

  .thb-payers-logo img {
    flex: none;
    max-width: none;
  }

  /* Mobile grid order: Optum, UHC, Aetna / Cigna, Anthem, Kaiser / Humana, Medicaid,
     Medicare / Tricare, BCBS, Molina / Centene, Wellpoint, + More */
  .thb-payers-logo:nth-child(1) { order: 1; }
  .thb-payers-logo:nth-child(2) { order: 2; }
  .thb-payers-logo:nth-child(3) { order: 3; }
  .thb-payers-logo:nth-child(4) { order: 5; }
  .thb-payers-logo:nth-child(5) { order: 4; }
  .thb-payers-logo:nth-child(6) { order: 6; }
  .thb-payers-logo:nth-child(7) { order: 7; }
  .thb-payers-logo:nth-child(8) { order: 10; }
  .thb-payers-logo:nth-child(9) { order: 8; }
  .thb-payers-logo:nth-child(10) { order: 9; }
  .thb-payers-logo:nth-child(11) { order: 11; }
  .thb-payers-logo:nth-child(12) { order: 12; }
  .thb-payers-logo:nth-child(13) { order: 13; }
  .thb-payers-logo:nth-child(14) { order: 14; }
  .thb-payers-logo:nth-child(15) { order: 15; }

  .thb-payers .thb-payers-status {
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 9999px;
    color: #3d3d3d;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
  }

  /* 26px export holds an 18px badge; trim to Figma's 18px slot */
  .thb-payers-status img {
    flex: 0 0 26px;
    margin: -4px -4px -4px -4px;
  }

  /* =============================== 16b Rules =============================== */
  .thb-rules-banner {
    padding: 20px;
    border-radius: 16px;
  }

  .thb-rules-inner {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
  }

  .thb-rules-head {
    flex: none;
    width: 100%;
    gap: 18.5px;
    padding: 0 1px 0 0;
    border-bottom: 0;
    border-right: 1px solid rgba(71, 85, 105, 0.5);
  }

  .thb-rules .thb-rules-title {
    width: 100%;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    white-space: normal;
  }

  .thb-rules-flow {
    flex: none;
    width: 100%;
    height: auto;
  }

  .thb-rules .thb-rules-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .thb-rules-step,
  .thb-rules-step:last-child {
    flex: none;
    gap: 10px;
    width: 174px;
    max-width: none;
    height: auto;
    min-height: 0;
  }

  .thb-rules .thb-rules-step-title {
    font-size: 14px;
    line-height: 16px;
  }

  .thb-rules .thb-rules-step-text {
    color: #ffffff;
    font-size: 12px;
    line-height: 12.5px;
  }

  /* Vertical dashed arcs: 9 x 87 boxes alternating right / left
     of the 174px step column; the 87 x 9 connector is turned 90deg about its centre. */
  .thb-rules-connector {
    display: block;
  }

  .thb-rules-connector--1 { top: 135.93px; left: calc(50% + 51px); rotate: 90deg; }
  .thb-rules-connector--2 { top: 273.93px; left: calc(50% - 147px); rotate: 90deg; scale: 1 -1; }
  .thb-rules-connector--3 { top: 406.93px; left: calc(50% + 51px); rotate: 90deg; }
  .thb-rules-connector--4 { top: 523.93px; left: calc(50% - 147px); rotate: 90deg; scale: 1 -1; }

  .thb-rules-proof {
    flex: none;
    flex-direction: column;
    justify-content: center;
    align-self: auto;
    gap: 10px;
    width: 100%;
    height: 198.5px;
    padding: 1px 24px 0;
    border-left: 0;
    border-top: 1px solid #ffffff;
  }

  .thb-rules .thb-rules-proof p {
    width: auto;
    color: #ffffff;
    font-size: 12px;
    line-height: 16.25px;
    text-align: center;
  }

  /* =============================== 16c Coord =============================== */
  .thb-coord-layout {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 30px;
  }

  .thb-coord-copy {
    flex: none;
    width: 100%;
    gap: 24px;
  }

  .thb-coord .thb-coord-title {
    font-size: 24px;
    line-height: 35px;
  }

  .thb-coord .thb-coord-text {
    color: #4b5563;
    font-size: 14px;
    line-height: 25px;
  }

  /* Orbit: 309 x 226 stage, cards overhang both sides */
  .thb-coord-orbit {
    flex: none;
    flex-direction: row;
    gap: 0;
    width: 309px;
    height: 226.098px;
    margin: 0;
  }

  .thb-coord-ring,
  .thb-coord-dot {
    display: block;
  }

  .thb-coord-ring {
    top: calc(50% - 0.07px);
    left: 50%;
    width: 165.805px;
    height: 165.805px;
    border-width: 1.507px;
    border-radius: 82.902px;
  }

  .thb-coord-dot {
    width: 9.044px;
    height: 9.044px;
  }

  .thb-coord-dot--tl { top: 34.6px; left: 112.3px; }
  .thb-coord-dot--tr { top: 34.6px; right: 112.3px; }
  .thb-coord-dot--bl { top: auto; bottom: 33.99px; left: 112.3px; }
  .thb-coord-dot--br { top: auto; bottom: 33.99px; right: 112.3px; }

  .thb-coord-center {
    width: 120.585px;
    height: 120.585px;
    padding: 15.074px;
    border-width: 3.015px;
    box-shadow: 0 18.841px 37.683px -9.044px rgba(0, 0, 0, 0.25);
  }

  .thb-coord .thb-coord-center p {
    font-size: 13.566px;
    line-height: 16.957px;
    letter-spacing: -0.6783px;
  }

  .thb-coord .thb-coord-cards {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
  }

  .thb-coord-card,
  .thb-coord-card--medicare,
  .thb-coord-card--behavioral {
    position: absolute;
    gap: 6.029px;
    width: 120.585px;
    height: 36.176px;
    min-height: 0;
    padding: 6.029px 12.059px;
    border-radius: 37.683px;
    box-shadow: 0 7.537px 11.305px -2.261px rgba(0, 0, 0, 0.1);
  }

  .thb-coord-card--commercial { top: 11.99px; left: -22.61px; }
  .thb-coord-card--medicare   { top: 11.26px; right: -27.13px; width: 123.6px; }
  .thb-coord-card--medicaid       { top: 167.27px; left: -22.61px; }
  .thb-coord-card--behavioral    { top: 167.27px; right: -27.13px; width: 123.6px; }

  .thb-coord-card-ico {
    flex: 0 0 24.117px;
    width: 24.117px;
    height: 24.117px;
  }

  .thb-coord-card-ico img {
    width: 12.059px;
    height: 12.059px;
  }

  .thb-coord-card-label {
    font-size: 9.044px;
    line-height: 12.059px;
  }

  .thb-coord-card--behavioral .thb-coord-card-label {
    flex: 0 0 76.12px;
  }

  .thb-coord-card--medicare {
    padding: 6.029px 8px;
  }

  .thb-coord-card--medicare .thb-coord-card-label {
    flex: 1 1 0;
    font-size: 7.6px;
    line-height: 10px;
  }

  .thb-coord-card--medicaid .thb-coord-card-label {
    flex: 1 1 0;
  }

  .thb-coord.is-in .thb-coord-card {
    animation:
      thb-coord-in 0.8s var(--thb-ease) calc(0.45s + var(--i, 0) * 0.12s) backwards,
      thb-coord-bob 4.5s ease-in-out calc(1.6s + var(--i, 0) * 0.6s) infinite;
  }

  .thb-coord-card--commercial { --dx: 60px; --dy: 50px; }
  .thb-coord-card--medicare   { --dx: -60px; --dy: 50px; }
  .thb-coord-card--medicaid       { --dx: 60px; --dy: -50px; }
  .thb-coord-card--behavioral    { --dx: -60px; --dy: -50px; }

  /* Payer types */
  .thb-coord-proof {
    flex: none;
    gap: 20px;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 0 20px 0 21px;
    border-top: 0;
    border-left: 1px solid #f1f5f9;
  }

  .thb-coord .thb-coord-types {
    flex-wrap: nowrap;
    gap: 16px;
  }

  .thb-coord-type {
    flex: none;
  }

  .thb-coord .thb-coord-proof-text {
    color: #3d3d3d;
    font-size: 14px;
    font-weight: 500;
    line-height: 22.75px;
  }
}

/* Narrow phones: fall back to the standard 20px gutters so nothing overflows. */
@media (max-width: 399px) {
  .thb-integrations .thb-container,
  .thb-payer-group .thb-container {
    padding: 0 12px;
  }

  .thb-payer-frame {
    padding: 16px 12px;
  }

  .thb-integrations__card--ehr .thb-integrations__logos {
    gap: 12px;
  }

  .thb-integrations__card--ehr .thb-integrations__logo {
    flex: 0 1 140px;
    min-width: 0;
  }

  .thb-integrations__card--ehr .thb-integrations__logo-box {
    max-width: 100%;
  }

  .thb-payers .thb-payers-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .thb-payers-logo {
    padding: 8px;
  }

  .thb-payers-logo img {
    max-width: 100%;
  }

  .thb-coord .thb-coord-types {
    gap: 10px;
  }
}


/* QA overrides */
.thb-v2 .thb-rules-connector { top: 20px; width: 9%; }
.thb-v2 .thb-rules-connector img { width: 100%; height: auto; }
.thb-v2 .thb-rules-spark { display: none; }
@media (max-width: 767px) {
  .thb-v2 .thb-integrations__diagram > * { order: 0; }
  .thb-v2 .thb-integrations__btn {
    width: 100%;
    max-width: 340px;
    min-height: 48px;
    height: auto;
    padding: 12px 16px;
    gap: 8px;
    font-size: clamp(12px, 3.4vw, 14px);
    line-height: 20px;
    white-space: normal;
    text-align: center;
  }
  .thb-v2 .thb-integrations__btn-icon { width: 18px; height: 18px; }
  .thb-v2 .thb-integrations__card--pms .thb-integrations__logos { display: flex; flex-direction: row; gap: 8px; }
  .thb-v2 .thb-integrations__card--pms .thb-integrations__logo { flex: 1 1 0; min-width: 0; width: auto; }
  .thb-v2 .thb-integrations__logo-box { max-width: 100%; }
  .thb-v2 .thb-integrations__logo img { max-width: 100%; object-fit: contain; }
  .thb-v2 .thb-payers .thb-payers-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .thb-v2 .thb-payers-logo { padding: 8px; }
  .thb-v2 .thb-payers-logo img { max-width: 100%; height: auto; object-fit: contain; }
  .thb-v2 .thb-coverage__state { height: auto; min-height: 120px; }
  .thb-v2 .thb-rules-connector { width: 87px; }
  .thb-v2 .thb-rules-connector--1 { top: 135.93px; }
  .thb-v2 .thb-rules-connector--2 { top: 273.93px; }
  .thb-v2 .thb-rules-connector--3 { top: 406.93px; }
  .thb-v2 .thb-rules-connector--4 { top: 523.93px; }
}


/* ============================================================= */
/* Section: 17-reviews                                            */
/* ============================================================= */
/* ============================================================= */
/* 17 CLIENT REVIEWS — Figma 12737:2033 (1440 x 1102)              */
/* Full-bleed tinted band with 72px / 56px inner padding.          */
/* Carousel: script-v2.js [data-dme-testi] swaps the is-prev /     */
/* is-center / is-next / is-after slot classes and FLIPs the move. */
/* ============================================================= */
.thb-reviews {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 475.85px at 50% 0, #ffffff 0%, #f5f7fc 55%, #eef1f8 100%),
    #eef1f8;
  isolation: isolate;
}

.thb-v2 > .thb-reviews {
  padding-top: 72px;
  padding-bottom: 56px;
}

.thb-reviews > .thb-container {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

/* ---------- Decorations (positions from the 1440 frame) ---------- */
.thb-reviews-blob,
.thb-reviews-dotgrid,
.thb-reviews-ring,
.thb-reviews-speck,
.thb-reviews-bubble {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.thb-reviews-blob {
  border-radius: 50%;
}

.thb-reviews-blob--left {
  top: 380px;
  left: calc(50% - 880px);
  width: 420px;
  height: 420px;
  background: rgba(39, 55, 117, 0.04);
}

.thb-reviews-blob--right {
  top: 120px;
  right: calc(50% - 860px);
  width: 360px;
  height: 360px;
  background: rgba(252, 93, 97, 0.04);
}

.thb-reviews-dotgrid {
  top: 44px;
  left: calc(50% + 280px);
  display: grid;
  grid-template-columns: repeat(3, 6px);
  grid-template-rows: repeat(3, 6px);
  gap: 8px;
  opacity: 0.55;
}

.thb-reviews-dotgrid i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
}

.thb-reviews-dotgrid i:nth-child(1) { grid-area: 1 / 1; background: #9daedc; }
.thb-reviews-dotgrid i:nth-child(2) { grid-area: 1 / 3; background: #c6d1ee; }
.thb-reviews-dotgrid i:nth-child(3) { grid-area: 2 / 2; background: #9daedc; }
.thb-reviews-dotgrid i:nth-child(4) { grid-area: 3 / 1; background: #c6d1ee; }
.thb-reviews-dotgrid i:nth-child(5) { grid-area: 3 / 3; background: #9daedc; }

.thb-reviews-ring {
  top: 250px;
  left: calc(50% - 360px);
  width: 10px;
  height: 10px;
  border: 2px solid rgba(252, 93, 97, 0.4);
  border-radius: 5px;
}

.thb-reviews-speck {
  top: 96px;
  right: calc(50% - 390px);
  width: 8px;
  height: 8px;
  background: rgba(39, 55, 117, 0.2);
  border-radius: 4px;
}

.thb-reviews-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(230, 235, 247, 0.5);
}

.thb-reviews-bubble > span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dce3f3;
}

.thb-reviews-bubble img {
  display: block;
}

.thb-reviews-bubble--left {
  top: 58px;
  left: calc(50% - 600px);
  width: 96px;
  height: 96px;
}

.thb-reviews-bubble--left > span { width: 64px; height: 64px; }

.thb-reviews-bubble--right {
  top: 48px;
  right: calc(50% - 600px);
  width: 100px;
  height: 100px;
}

.thb-reviews-bubble--right > span { width: 68px; height: 68px; }

/* ---------- Heading ---------- */
.thb-reviews-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  text-align: center;
}

.thb-reviews-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px 8px;
  background: #ffffff;
  border: 1px solid rgba(39, 55, 117, 0.15);
  border-radius: 40px;
  box-shadow: 0 4px 14px -6px rgba(39, 55, 117, 0.2);
  color: var(--thb-blue);
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.78px;
  text-transform: uppercase;
}

.thb-reviews .thb-reviews-title {
  color: var(--thb-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: -1.08px;
}

.thb-reviews-lead {
  max-width: 738px;
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
}

/* ---------- Carousel ---------- */
.thb-reviews-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.thb-reviews-carousel:focus-visible {
  outline: 2px solid var(--thb-blue);
  outline-offset: 6px;
}

.thb-reviews-track {
  display: grid;
  align-items: center;
  min-height: max(544px, var(--dme-testi-track-height, 0px));
}

/* Slot geometry as % of the 1240px track (Figma row 12737:2055: three flex:1
   side cards around a 422px centre card, 20px gaps -> 252.67px sides). */
.thb-reviews-card {
  --x: 79.624%;
  --w: 20.376%;
  position: relative;
  left: var(--x);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 17px;
  grid-area: 1 / 1;
  width: var(--w);
  min-height: 500px;
  padding: 25px 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow: 0 12px 30px -20px rgba(39, 55, 117, 0.25), 0 0 0 1px rgba(39, 55, 117, 0.05);
  cursor: pointer;
  transition: box-shadow 0.65s ease, border-color 0.65s ease, opacity 0.45s ease, translate 0.3s ease;
  will-change: transform;
}

.thb-reviews-card.is-prev  { --x: 0%; }
.thb-reviews-card.is-next  { --x: 57.634%; }
.thb-reviews-card.is-after { --x: 79.624%; }

/* 12737:2092: 422 x 544, 4px gradient bar then 30px to the 351px content. */
.thb-reviews-card.is-center {
  --x: 21.989%;
  --w: 34.032%;
  z-index: 2;
  justify-content: flex-start;
  gap: 17px;
  min-height: 544px;
  padding: 34px 34px 30px;
  border-color: #ffffff;
  box-shadow: 0 30px 60px -24px rgba(39, 55, 117, 0.36), 0 0 0 1px rgba(39, 55, 117, 0.08);
  cursor: default;
}

.thb-reviews-card.is-hidden {
  z-index: 0;
  visibility: hidden;
  opacity: 0;
}

.thb-reviews-card.is-jump {
  opacity: 0;
  transition: none;
}

.thb-reviews-card:not(.is-center):hover {
  translate: 0 -4px;
  box-shadow: 0 20px 36px -20px rgba(39, 55, 117, 0.4), 0 0 0 1px rgba(39, 55, 117, 0.08);
}

/* Gradient top bar of the centre card (12737:2117). */
.thb-reviews-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #273775 29.808%, #fc5d61 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.thb-reviews-card.is-center::before {
  opacity: 1;
}

.thb-reviews-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 38.39px;
}

.thb-reviews-mark {
  color: #eff2ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 38.4px;
}

.thb-reviews-card.is-center .thb-reviews-card-top { min-height: 51.2px; }
.thb-reviews-card.is-center .thb-reviews-mark { font-size: 64px; line-height: 51.2px; }

.thb-reviews-verified {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 6px;
  background: #eff2ff;
  border-radius: 30px;
  color: var(--thb-blue);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

.thb-reviews-verified-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  background: #22a55b;
  border-radius: 7.5px;
}

.thb-reviews-verified-ico img {
  display: block;
  width: 9px;
  height: 9px;
}

.thb-reviews .thb-reviews-quote {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--thb-text);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24.3px;
}

.thb-reviews .thb-reviews-card.is-center .thb-reviews-quote {
  margin-top: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 30.78px;
}

.thb-reviews-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Side cards keep Figma's 137px author column (long titles wrap). */
.thb-reviews-card:not(.is-center) .thb-reviews-who {
  flex: 0 1 137px;
}

.thb-reviews-stars {
  display: flex;
  gap: 3px;
}

.thb-reviews-stars img {
  display: block;
  width: 18px;
  height: 18px;
}

.thb-reviews-rating b {
  color: var(--thb-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}

.thb-reviews .thb-reviews-sep {
  width: 100%;
  height: 1px;
  margin: 0;
  background: #eff2ff;
  border: 0;
  opacity: 1;
}

.thb-reviews-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.thb-reviews-avatar {
  display: flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--thb-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #dce3f3;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
  transition: background-color 0.45s ease;
}

.thb-reviews-card.is-center .thb-reviews-avatar {
  flex-basis: 56px;
  width: 56px;
  height: 56px;
  background: var(--thb-orange);
}

.thb-reviews-who {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.thb-reviews-who b {
  color: var(--thb-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 18.2px;
}

.thb-reviews-card.is-center .thb-reviews-who b {
  font-size: 17px;
  line-height: 22.1px;
}

.thb-reviews-who small {
  color: #9a9a9f;
  font-size: 10px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.thb-reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.thb-reviews-dotbtn {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(39, 55, 117, 0.4);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: width 0.35s var(--thb-ease), background-color 0.35s ease;
}

.thb-reviews-dotbtn:hover {
  background: rgba(39, 55, 117, 0.7);
}

.thb-reviews-dotbtn.is-active {
  width: 30px;
  background: var(--thb-orange);
}

.thb-reviews-arrow {
  position: absolute;
  top: calc(50% + 3.93px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: #ffffff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 8px 22px -8px rgba(39, 55, 117, 0.35);
  cursor: pointer;
  translate: 0 -50%;
  transition: scale 0.25s var(--thb-ease), box-shadow 0.25s ease, background-color 0.25s ease;
}

.thb-reviews-arrow img {
  display: block;
  width: 18px;
  height: 18px;
}

.thb-reviews-arrow--prev { left: -80px; }
.thb-reviews-arrow--next { right: -80px; }

.thb-reviews-arrow:hover,
.thb-reviews-arrow:focus-visible {
  scale: 1.08;
  background: #fff5f5;
  box-shadow: 0 12px 26px -8px rgba(252, 93, 97, 0.45);
}

.thb-reviews-arrow:focus-visible {
  outline: 2px solid var(--thb-blue);
  outline-offset: 3px;
}

/* ---------- Rating strip (12737:2210) ---------- */
.thb-reviews-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.thb-reviews-score {
  display: flex;
  flex: none;
  align-items: center;
  gap: 26px;
  height: 115px;
  padding: 20px 30px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 34px -18px rgba(39, 55, 117, 0.25), 0 0 0 1px rgba(39, 55, 117, 0.05);
  transition: translate 0.35s var(--thb-ease), box-shadow 0.35s var(--thb-ease);
}

.thb-reviews-score--trustpilot { width: 371px; }
.thb-reviews-score--google { width: 337px; }

.thb-reviews-score:hover {
  translate: 0 -4px;
  box-shadow: 0 22px 40px -18px rgba(39, 55, 117, 0.35), 0 0 0 1px rgba(39, 55, 117, 0.08);
}

.thb-reviews-score-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.thb-reviews-score-brand--google { gap: 6px; }

.thb-reviews-tp-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 1px;
  color: #191919;
  font-size: 26px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.52px;
}

.thb-reviews-tp-logo img,
.thb-reviews-g-stars img {
  display: block;
  flex: none;
}

.thb-reviews-tp-stars,
.thb-reviews-g-stars {
  display: flex;
  gap: 3px;
}

.thb-reviews-g-stars { gap: 2px; }

.thb-reviews-tp-star {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #00b67a;
}

.thb-reviews-tp-star.is-partial {
  background: linear-gradient(90deg, #00b67a 80%, #dcdce6 80%);
}

.thb-reviews-tp-star img {
  display: block;
}

.thb-reviews-g-logo {
  color: #4285f4;
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.96px;
}

.thb-reviews-g-logo i { font-style: normal; }
.thb-reviews-g-logo .is-red { color: #fc5d61; }
.thb-reviews-g-logo .is-yellow { color: #fbbc05; }
.thb-reviews-g-logo .is-green { color: #34a853; }

.thb-reviews-score-line {
  flex: none;
  width: 1px;
  height: 58px;
  background: #e1e5ef;
}

.thb-reviews .thb-reviews-score-value {
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

.thb-reviews-score-value b {
  color: var(--thb-blue);
  font-size: 30px;
  font-weight: 700;
  line-height: 33px;
}

.thb-reviews-score-value span {
  color: #9a9a9f;
  font-size: 15px;
  font-weight: 500;
  line-height: 16.5px;
}

.thb-reviews-badge {
  display: flex;
  flex: 0 1 452.11px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.thb-reviews-badge-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.thb-reviews-badge-line {
  flex: 1 1 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 210, 234, 0) 0%, #c9d2ea 100%);
}

.thb-reviews-badge-line--right {
  background: linear-gradient(90deg, #c9d2ea 0%, rgba(201, 210, 234, 0) 100%);
}

.thb-reviews-badge-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 20px -8px rgba(39, 55, 117, 0.4);
  transition: scale 0.35s var(--thb-ease), rotate 0.35s var(--thb-ease);
}

.thb-reviews-badge-icon img {
  display: block;
}

.thb-reviews-badge:hover .thb-reviews-badge-icon {
  scale: 1.1;
  rotate: -8deg;
}

.thb-reviews .thb-reviews-badge-text {
  color: #5b6584;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- Entrance + ambient motion ---------- */
@keyframes thb-reviews-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

@keyframes thb-reviews-twinkle {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.2; }
}

.thb-reviews.is-armed:not(.is-in) :is(.thb-reviews-pill, .thb-reviews-title, .thb-reviews-lead, .thb-reviews-card, .thb-reviews-dots, .thb-reviews-arrow, .thb-reviews-bubble, .thb-reviews-score, .thb-reviews-badge) {
  opacity: 0;
}

.thb-reviews.is-in .thb-reviews-pill  { animation: thb-pop 0.6s var(--thb-ease) 0.05s backwards; }
.thb-reviews.is-in .thb-reviews-title { animation: thb-rise 0.7s var(--thb-ease) 0.12s backwards; }
.thb-reviews.is-in .thb-reviews-lead  { animation: thb-rise 0.7s var(--thb-ease) 0.22s backwards; }

.thb-reviews.is-in .thb-reviews-bubble--left {
  animation: thb-pop 0.7s var(--thb-ease) 0.2s backwards, thb-reviews-float 6s ease-in-out 1s infinite;
}

.thb-reviews.is-in .thb-reviews-bubble--right {
  animation: thb-pop 0.7s var(--thb-ease) 0.3s backwards, thb-reviews-float 7s ease-in-out 1.8s infinite;
}

.thb-reviews.is-in .thb-reviews-dotgrid { animation: thb-reviews-twinkle 3.5s ease-in-out 1s infinite; }

.thb-reviews.is-in .thb-reviews-card { animation: thb-rise 0.8s var(--thb-ease) 0.4s backwards; }
.thb-reviews.is-in .thb-reviews-card.is-center { animation-delay: 0.3s; }
.thb-reviews.is-in .thb-reviews-card.is-prev   { animation-delay: 0.42s; }
.thb-reviews.is-in .thb-reviews-card.is-next   { animation-delay: 0.5s; }
.thb-reviews.is-in .thb-reviews-card.is-after  { animation-delay: 0.58s; }

.thb-reviews.is-in .thb-reviews-dots  { animation: thb-fade 0.6s ease 0.8s backwards; }
.thb-reviews.is-in .thb-reviews-arrow--prev { animation: thb-from-left 0.6s var(--thb-ease) 0.7s backwards; }
.thb-reviews.is-in .thb-reviews-arrow--next { animation: thb-from-right 0.6s var(--thb-ease) 0.7s backwards; }

.thb-reviews.is-in .thb-reviews-score--trustpilot { animation: thb-from-left 0.7s var(--thb-ease) 0.85s backwards; }
.thb-reviews.is-in .thb-reviews-badge { animation: thb-pop 0.6s var(--thb-ease) 0.95s backwards; }
.thb-reviews.is-in .thb-reviews-score--google { animation: thb-from-right 0.7s var(--thb-ease) 0.85s backwards; }

/* Rating strip: the badge takes its own row once the three no longer fit. */
@media (max-width: 1279px) {
  .thb-reviews-proof {
    flex-wrap: wrap;
    gap: 28px 24px;
  }

  .thb-reviews-badge {
    order: -1;
    flex: 0 0 100%;
  }

  .thb-reviews-badge-row {
    max-width: 452px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
  .thb-reviews-arrow--prev { left: -12px; }
  .thb-reviews-arrow--next { right: -12px; }
}

@media (max-width: 1299px) {
  .thb-reviews-bubble--left { left: 20px; }
  .thb-reviews-bubble--right { right: 20px; }
}

/* Three slots: the "after" card waits behind the next one. */
@media (max-width: 1199px) {
  .thb-reviews-card { --w: 26%; }
  .thb-reviews-card.is-prev { --x: 0%; }
  .thb-reviews-card.is-next,
  .thb-reviews-card.is-after { --x: 74%; }
  .thb-reviews-card.is-center { --x: 28%; --w: 44%; }

  .thb-reviews-card.is-after {
    z-index: 0;
    visibility: hidden;
    opacity: 0;
  }

}

@media (max-width: 991px) {

  .thb-reviews .thb-reviews-title {
    font-size: 28px;
    line-height: 34px;
  }

  .thb-reviews-bubble {
    display: none;
  }

  .thb-reviews-card { --w: 30%; padding: 22px 18px 20px; }
  .thb-reviews-card.is-next,
  .thb-reviews-card.is-after { --x: 70%; }
  .thb-reviews-card.is-center { --x: 31.5%; --w: 37%; padding: 28px 24px 24px; }

  .thb-reviews .thb-reviews-card.is-center .thb-reviews-quote {
    font-size: 16px;
    line-height: 27px;
  }
}

/* Phones: one card at a time, every card wears the centre styling so the
   track height (the JS-measured tallest card) holds while slides change. */
@media (max-width: 767px) {

  .thb-reviews > .thb-container {
    gap: 32px;
  }

  .thb-reviews .thb-reviews-title {
    font-size: 24px;
    line-height: 31px;
    letter-spacing: -0.6px;
  }

  .thb-reviews-lead {
    font-size: 15px;
    line-height: 24px;
  }

  .thb-reviews-dotgrid,
  .thb-reviews-ring,
  .thb-reviews-speck {
    display: none;
  }

  .thb-reviews-track {
    align-items: start;
    min-height: 0;
  }

  .thb-reviews-card,
  .thb-reviews-card.is-center {
    --x: 0%;
    --w: 100%;
    justify-content: flex-start;
    gap: 17px;
    min-height: var(--dme-testi-mobile-card-height, 0px);
    padding: 28px 22px 24px;
  }

  .thb-reviews-card:not(.is-center) {
    z-index: 0;
    visibility: hidden;
    opacity: 0;
  }

  .thb-reviews-card .thb-reviews-card-top { min-height: 51.2px; }
  .thb-reviews-card .thb-reviews-mark { font-size: 64px; line-height: 51.2px; }

  .thb-reviews .thb-reviews-card .thb-reviews-quote,
  .thb-reviews .thb-reviews-card.is-center .thb-reviews-quote {
    margin-top: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
  }

  .thb-reviews-card .thb-reviews-rating { margin-top: auto; }

  .thb-reviews-card .thb-reviews-who b,
  .thb-reviews-card.is-center .thb-reviews-who b {
    font-size: 16px;
    line-height: 21px;
  }

  .thb-reviews-arrow {
    top: auto;
    bottom: -9px;
    width: 40px;
    height: 40px;
    translate: none;
  }

  .thb-reviews-arrow--prev { left: 0; }
  .thb-reviews-arrow--next { right: 0; }

  .thb-reviews-dots {
    min-height: 22px;
    align-items: center;
  }

}

/* ============================================================= */
/* Section: 18-start                                              */
/* ============================================================= */
/* ============================================================= */
/* 18. Get started CTA — Figma 12753:5562 (1240 x 384 card)       */
/* Card: 2px #eff2ff stroke, 20px radius, 40px padding; copy       */
/* column 725 wide; shape, dot grid and illustration sit on the    */
/* right edge (positions from the right of the 1240 card).         */
/* ============================================================= */
.thb-start-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 384px;
  /* Figma strokes sit outside the layout box: 38 + 2px border = 40px inset. */
  padding: 38px 38px 23px;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
  border: 2px solid #eff2ff;
  border-radius: 20px;
  box-shadow: 0 2.704px 41.56px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.4s var(--thb-ease);
}

.thb-start-card:hover {
  box-shadow: 0 10px 48px rgba(39, 55, 117, 0.16);
}

.thb-start-shape {
  position: absolute;
  top: -56.04px;
  right: -176.5px;
  z-index: -1;
  width: 487.5px;
  height: 553px;
  max-width: none;
  pointer-events: none;
}

/* 12753:5602: white 40% dot grid (2.75px dots on a 19.3px pitch) clipped to a circle. */
.thb-start-dots {
  position: absolute;
  top: 34.5px;
  right: 0;
  z-index: -1;
  width: 292px;
  height: 295px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 1.35px, transparent 1.6px) 0 0 / 19.3px 19.3px;
  -webkit-mask: radial-gradient(closest-side, #000 99%, transparent 100%);
  mask: radial-gradient(closest-side, #000 99%, transparent 100%);
  pointer-events: none;
}

.thb-start-copy {
  position: relative;
  display: flex;
  flex: 0 1 725px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}

.thb-start-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thb-start .thb-start-title {
  max-width: 584px;
  color: var(--thb-blue);
  font-size: 36px;
  font-weight: 700;
  line-height: 45px;
}

.thb-start .thb-start-lead {
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 25.2px;
}

.thb-start .thb-start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 250px;
  height: 50px;
  padding: 8px 20px;
  background: var(--thb-orange);
  border-radius: 60px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 20.8px;
  text-decoration: none;
  transition: background-color 0.25s ease, translate 0.25s var(--thb-ease), box-shadow 0.25s ease;
}

.thb-start-btn img {
  display: block;
  flex: none;
  transition: translate 0.3s var(--thb-ease);
}

.thb-start .thb-start-btn:hover,
.thb-start .thb-start-btn:focus-visible {
  background: var(--thb-blue);
  color: #ffffff;
  translate: 0 -2px;
  box-shadow: 0 12px 24px -8px rgba(39, 55, 117, 0.45);
}

.thb-start-btn:hover img,
.thb-start-btn:focus-visible img {
  translate: 4px 0;
}

.thb-start .thb-start-btn:focus-visible {
  outline: 2px solid var(--thb-blue);
  outline-offset: 3px;
}

/* 12753:5842: 400 x 277 frame, image overscanned 103.92% wide. */
.thb-start-art {
  position: absolute;
  top: 46.81px;
  right: 34px;
  width: 400px;
  height: 277px;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.thb-start-art img {
  position: absolute;
  top: 0.12%;
  left: -2.07%;
  width: 103.92%;
  max-width: none;
  height: 100%;
}

/* ---------- Entrance + ambient motion ---------- */
@keyframes thb-start-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

.thb-start.is-armed:not(.is-in) :is(.thb-start-card, .thb-start-chip, .thb-start-title, .thb-start-lead, .thb-start-btn, .thb-start-art, .thb-start-shape, .thb-start-dots) {
  opacity: 0;
}

.thb-start.is-in .thb-start-card  { animation: thb-rise 0.8s var(--thb-ease) 0.05s backwards; }
.thb-start.is-in .thb-start-shape { animation: thb-from-right 1s var(--thb-ease) 0.3s backwards; }
.thb-start.is-in .thb-start-dots  { animation: thb-fade 0.8s ease 0.5s backwards; }
.thb-start.is-in .thb-start-chip  { animation: thb-pop 0.6s var(--thb-ease) 0.25s backwards; }
.thb-start.is-in .thb-start-title { animation: thb-rise 0.7s var(--thb-ease) 0.33s backwards; }
.thb-start.is-in .thb-start-lead  { animation: thb-rise 0.7s var(--thb-ease) 0.43s backwards; }
.thb-start.is-in .thb-start-btn   { animation: thb-pop 0.55s var(--thb-ease) 0.58s backwards; }
.thb-start.is-in .thb-start-art {
  animation: thb-from-right 0.9s var(--thb-ease) 0.4s backwards, thb-start-float 6s ease-in-out 1.6s infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-start-copy {
    flex-basis: calc(100% - 330px);
  }

  .thb-start .thb-start-title {
    font-size: 32px;
    line-height: 41px;
  }

  .thb-start-art {
    top: 50%;
    right: 16px;
    width: 300px;
    height: 208px;
    margin-top: -104px;
  }
}

@media (max-width: 991px) {
  .thb-start-card {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 38px 38px 32px;
  }

  .thb-start-copy {
    flex: none;
  }

  .thb-start .thb-start-title {
    max-width: none;
  }

  .thb-start-art {
    position: relative;
    top: auto;
    right: auto;
    align-self: center;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0;
    aspect-ratio: 400 / 277;
  }

  .thb-start-shape {
    top: auto;
    bottom: -140px;
  }

  .thb-start-dots {
    top: auto;
    bottom: 20px;
  }
}

@media (max-width: 767px) {
  .thb-start-card {
    gap: 24px;
    min-height: 0;
    padding: 28px 18px 24px;
    border-radius: 16px;
  }

  .thb-start-copy {
    gap: 16px;
  }

  .thb-start .thb-start-chip {
    padding: 8px 10px;
    font-size: 10px;
  }

  .thb-start .thb-start-title {
    font-size: 26px;
    line-height: 34px;
  }

  .thb-start .thb-start-lead {
    font-size: 14px;
    line-height: 24px;
  }

  .thb-start .thb-start-btn {
    width: 100%;
    max-width: 250px;
    font-size: 15px;
  }

  .thb-start-shape {
    right: -260px;
  }
}


/* ============================================================= */
/* Section: 19-faq                                                */
/* ============================================================= */
/* ============================================================= */
/* 19. FAQ — Figma 12737:2389 (1440 x 890)                        */
/* ============================================================= */
.thb-faq {
  position: relative;
  background: #fff;
}

.thb-faq-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

/* ---------- Left block (518 wide) ---------- */
.thb-faq-intro {
  display: flex;
  flex: 0 1 518px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  min-width: 0;
}

.thb-faq-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.thb-faq .thb-faq-title {
  color: var(--thb-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
}

.thb-faq .thb-faq-lead {
  max-width: 512px;
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 29.25px;
}

.thb-faq-pills {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.thb-faq-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 426px;
  max-width: 100%;
  height: 50px;
  padding: 0 20px;
  border-radius: 5px;
  background: #eff2ff;
  color: var(--thb-blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  transition: translate 0.35s var(--thb-ease), box-shadow 0.35s var(--thb-ease), background-color 0.35s ease;
}

.thb-faq-pill:hover {
  translate: 6px 0;
  background: #e6eaff;
  box-shadow: 0 8px 18px rgba(39, 55, 117, 0.08);
}

.thb-faq-pill-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
  transition: rotate 0.4s var(--thb-ease);
}

.thb-faq-pill-icon img {
  display: block;
  max-width: none;
}

.thb-faq-pill:hover .thb-faq-pill-icon {
  rotate: -10deg;
}

.thb-faq .thb-faq-note {
  width: 100%;
  padding-left: 24px;
  border-left: 4px solid var(--thb-orange);
  color: var(--thb-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

/* ---------- Accordion (660 wide) ---------- */
.thb-faq-list {
  display: flex;
  flex: 0 1 660px;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 1px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px 10px 12px 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.thb-faq-item {
  position: relative;
}

.thb-faq .thb-faq-q {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.thb-faq .thb-faq-btn {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 65px;
  margin: 0;
  padding: 8px 20px;
  border: 0;
  border-bottom: 1px solid #eff2ff;
  border-radius: 0;
  background: #fff;
  color: var(--thb-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.thb-faq .thb-faq-btn:hover {
  background: #fff;
  filter: none;
}

.thb-faq .thb-faq-btn:focus-visible {
  outline: 2px solid var(--thb-blue);
  outline-offset: -3px;
}

.thb-faq-num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  background: #eff2ff;
  color: var(--thb-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: background-color 0.3s ease, color 0.3s ease, scale 0.3s var(--thb-ease);
}

.thb-faq-btn:hover .thb-faq-num {
  scale: 1.06;
}

/* Figma 12737:2430 keeps the open item's number on the light pill; hover tints it. */
.thb-faq-btn:hover .thb-faq-num {
  background: #e2e7fb;
}

.thb-faq-q-text {
  flex: 1 1 auto;
  min-width: 0;
  transition: color 0.25s ease;
}

.thb-faq-item.is-open .thb-faq-q-text {
  font-weight: 700;
}

.thb-faq-btn:hover .thb-faq-q-text {
  color: var(--thb-blue);
}

.thb-faq-chevron {
  flex: none;
  transition: rotate 0.35s var(--thb-ease);
}

.thb-faq-item.is-open .thb-faq-chevron {
  rotate: 180deg;
}

/* Answer: height animates via grid rows 0fr -> 1fr. */
.thb-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  background: #eff2ff;
  transition: grid-template-rows 0.4s var(--thb-ease);
}

.thb-faq-item.is-open .thb-faq-a {
  grid-template-rows: 1fr;
}

.thb-faq-a-inner {
  min-height: 0;
  overflow: hidden;
}

.thb-faq .thb-faq-a-inner p {
  margin: 32px;
  padding-left: 20px;
  border-left: 3px solid var(--thb-blue);
  color: var(--thb-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  opacity: 0;
  translate: 0 -6px;
  transition: opacity 0.3s ease, translate 0.4s var(--thb-ease);
}

.thb-faq-item.is-open .thb-faq-a-inner p {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.1s;
}

/* ---------- Entrance (script-v2.js .is-armed / .is-in) ---------- */
.thb-faq.is-armed:not(.is-in) :is(.thb-faq-chip, .thb-faq-title, .thb-faq-lead, .thb-faq-pill, .thb-faq-note, .thb-faq-list, .thb-faq-item) {
  opacity: 0;
}

.thb-faq.is-in .thb-faq-chip { animation: thb-rise 0.6s var(--thb-ease) 0.05s backwards; }
.thb-faq.is-in .thb-faq-title { animation: thb-rise 0.7s var(--thb-ease) 0.12s backwards; }
.thb-faq.is-in .thb-faq-lead { animation: thb-rise 0.7s var(--thb-ease) 0.22s backwards; }
.thb-faq.is-in .thb-faq-pill { animation: thb-from-left 0.6s var(--thb-ease) calc(0.35s + var(--i, 0) * 0.1s) backwards; }
.thb-faq.is-in .thb-faq-note { animation: thb-fade 0.6s ease 0.7s backwards; }
.thb-faq.is-in .thb-faq-list { animation: thb-fade 0.5s ease 0.1s backwards; }
.thb-faq.is-in .thb-faq-item { animation: thb-from-right 0.6s var(--thb-ease) calc(0.15s + var(--i, 0) * 0.06s) backwards; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .thb-faq-intro {
    flex-basis: 400px;
  }

  .thb-faq-list {
    flex: 1 1 600px;
  }
}

@media (max-width: 991px) {

  .thb-faq-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }

  .thb-faq-intro {
    flex: none;
    gap: 28px;
  }

  .thb-faq-pills {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .thb-faq-pill {
    width: auto;
  }

  .thb-faq-list {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 767px) {

  .thb-faq .thb-container {
    padding: 0 16px;
  }

  .thb-faq .thb-faq-title {
    font-size: 28px;
    line-height: 38px;
  }

  .thb-faq .thb-faq-lead {
    font-size: 15px;
    line-height: 26px;
  }

  .thb-faq-pills {
    flex-direction: column;
  }

  .thb-faq-pill {
    width: 100%;
    font-size: 15px;
  }

  .thb-faq .thb-faq-btn {
    gap: 14px;
    min-height: 60px;
    padding: 10px 14px;
    font-size: 15px;
    line-height: 22px;
  }

  .thb-faq-num {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .thb-faq .thb-faq-a-inner p {
    margin: 20px 16px;
    padding-left: 14px;
  }
}

/* ---------- Mobile: 06-reviews-start-faq ---------- */
/* ============================================================= */
/* Mobile (<=767px) — 17 reviews, 19 faq (18 start CTA mobile      */
/* rules live with its section above).                             */
/* ============================================================= */

/* Mobile-only "5.0 | Verified Review" tag in the review rating row. */
.thb-reviews-rating-verified {
  display: none;
}

@media (max-width: 767px) {

  /* ---------- 17 Reviews ---------- */
  .thb-v2 > .thb-reviews {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .thb-reviews-proof {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .thb-reviews-badge {
    flex: none;
    max-width: none;
  }

  .thb-reviews .thb-reviews-badge-text {
    font-size: 13px;
  }

  .thb-reviews-score,
  .thb-reviews-score--trustpilot,
  .thb-reviews-score--google {
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: auto;
    min-height: 100px;
    padding: 18px 16px;
  }

  .thb-reviews-tp-logo { font-size: 22px; }
  .thb-reviews-g-logo { font-size: 28px; line-height: 28px; }

  .thb-reviews {
    background:
      radial-gradient(365.2px 816.08px at 50% 0, #ffffff 0%, #f5f7fc 55%, #eef1f8 100%),
      #eef1f8;
  }

  .thb-reviews > .thb-container {
    gap: 32px;
  }

  .thb-reviews-head {
    align-items: flex-start;
    gap: 17px;
    text-align: left;
  }

  .thb-reviews-pill {
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: rgba(39, 55, 117, 0.1);
    box-shadow: none;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 0;
    text-transform: none;
  }

  .thb-reviews .thb-reviews-title {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -1.08px;
  }

  .thb-reviews .thb-reviews-lead {
    max-width: none;
    color: #3d3d3d;
    font-size: 14px;
    line-height: 25px;
  }

  .thb-reviews-carousel {
    gap: 0;
    padding-top: 0;
  }

  .thb-reviews-carousel:focus-visible {
    outline: 0;
  }

  .thb-reviews-arrow,
  .thb-reviews-dots {
    display: none;
  }

  .thb-reviews-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
  }

  .thb-reviews-card,
  .thb-reviews-card.is-center,
  .thb-reviews-card.is-prev,
  .thb-reviews-card.is-next,
  .thb-reviews-card.is-after,
  .thb-reviews-card.is-hidden,
  .thb-reviews-card:not(.is-center) {
    --x: 0%;
    --w: 100%;
    left: 0;
    z-index: 1;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 0;
    padding: 28px;
    border: 0.7px solid #f3f4f6;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.11);
    visibility: visible;
    opacity: 1;
    cursor: default;
  }

  .thb-reviews-card.is-jump {
    opacity: 1;
  }

  .thb-reviews-card:not(.is-center):hover {
    translate: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.11);
  }

  .thb-reviews-card::before,
  .thb-reviews-card.is-center::before {
    display: none;
  }

  .thb-reviews-card .thb-reviews-card-top,
  .thb-reviews-card.is-center .thb-reviews-card-top {
    align-items: flex-start;
    min-height: 0;
    height: 29px;
  }

  .thb-reviews-card .thb-reviews-mark,
  .thb-reviews-card.is-center .thb-reviews-mark {
    width: 25px;
    height: 29px;
    font-size: 48px;
    line-height: 38.4px;
  }

  .thb-reviews .thb-reviews-card .thb-reviews-quote,
  .thb-reviews .thb-reviews-card.is-center .thb-reviews-quote {
    margin-top: 0;
    color: #3d3d3d;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.04px;
  }

  .thb-reviews-card .thb-reviews-rating,
  .thb-reviews-card.is-center .thb-reviews-rating {
    gap: 11px;
    margin-top: 0;
  }

  /* star.svg draws a 14.25px star inside an 18px box: trim the box to the
     14px stars on a 17.87px pitch of Figma's 85.48 x 14 rating. */
  .thb-reviews-card .thb-reviews-stars {
    gap: 0;
    height: 14px;
    align-items: center;
  }

  .thb-reviews-card .thb-reviews-stars img {
    width: 18px;
    height: 18px;
    margin: -2px -0.065px;
  }

  .thb-reviews-card .thb-reviews-stars img:first-child { margin-left: -1.9px; }
  .thb-reviews-card .thb-reviews-stars img:last-child { margin-right: -1.9px; }

  .thb-reviews-card .thb-reviews-rating b {
    padding-left: 11px;
    border-left: 0.7px solid #d1d5db;
    color: #3d3d3d;
    font-size: 10px;
    font-weight: 700;
    line-height: normal;
  }

  .thb-reviews-rating-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: -4px;
    color: #3b82f6;
    font-size: 10px;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
  }

  .thb-reviews-rating-verified img {
    display: block;
    width: 10px;
    height: 10px;
  }

  .thb-reviews .thb-reviews-sep {
    height: 0.7px;
    background: #e2e8f0;
  }

  .thb-reviews-card .thb-reviews-author {
    gap: 11px;
  }

  .thb-reviews-card .thb-reviews-avatar,
  .thb-reviews-card.is-center .thb-reviews-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: var(--thb-blue);
    box-shadow: none;
    font-size: 13px;
  }

  /* Figma colours the second review's avatar orange. */
  .thb-reviews-card:nth-child(2) .thb-reviews-avatar,
  .thb-reviews-card.is-center:nth-child(2) .thb-reviews-avatar {
    background: var(--thb-orange);
  }

  .thb-reviews-card .thb-reviews-who {
    flex: 1 1 auto;
    gap: 4px;
  }

  .thb-reviews-card .thb-reviews-who b,
  .thb-reviews-card.is-center .thb-reviews-who b {
    font-size: 12px;
    line-height: 16px;
  }

  .thb-reviews-card .thb-reviews-who small {
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
  }

  /* Stacked cards rise in order instead of by carousel slot. */
  .thb-reviews.is-in .thb-reviews-card,
  .thb-reviews.is-in .thb-reviews-card.is-center,
  .thb-reviews.is-in .thb-reviews-card.is-prev,
  .thb-reviews.is-in .thb-reviews-card.is-next,
  .thb-reviews.is-in .thb-reviews-card.is-after {
    animation-delay: calc(0.3s + var(--i, 0) * 0.1s);
  }

  /* ---------- 19 FAQ ---------- */
  .thb-faq .thb-container {
    padding: 0 20px;
  }

  .thb-faq-layout {
    gap: 50px;
  }

  .thb-faq-intro {
    gap: 40px;
  }

  .thb-faq-head {
    gap: 16px;
  }

  .thb-faq .thb-faq-chip {
    padding: 8px 10px;
    border-radius: 9.069px;
    font-size: 10px;
    line-height: 9.976px;
  }

  .thb-faq .thb-faq-title {
    font-size: 24px;
    line-height: 35px;
  }

  .thb-faq .thb-faq-lead {
    color: #3d3d3d;
    font-size: 14px;
    line-height: 29.25px;
  }

  .thb-faq-pills {
    flex-direction: column;
    gap: 20px;
  }

  .thb-faq-pill {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    gap: 12px;
    font-size: 14px;
    line-height: 24px;
  }

  .thb-faq .thb-faq-note {
    color: #3d3d3d;
    font-size: 14px;
    line-height: 20px;
  }

  .thb-faq .thb-faq-btn {
    gap: 10px;
    min-height: 0;
    padding: 20px 20px 21px;
    font-size: 14px;
    line-height: 24px;
  }

  /* 24px between number and question, 10px before the chevron. */
  .thb-faq-num {
    width: 40px;
    height: 40px;
    margin-right: 14px;
    font-size: 14px;
    line-height: 20px;
  }

  /* Figma keeps the open item's number on the light pill. */
  .thb-faq-item.is-open .thb-faq-num {
    background: #eff2ff;
    color: var(--thb-blue);
  }

  .thb-faq .thb-faq-a-inner p {
    margin: 32px;
    padding-left: 20px;
    color: #3d3d3d;
    font-size: 14px;
    line-height: 22.75px;
  }
}



/* QA overrides */
.thb-v2 .thb-faq-btn { cursor: default; }
.thb-v2 .thb-faq-chevron { cursor: pointer; flex-shrink: 0; box-sizing: content-box; padding: 12px; margin: -12px; }
@media (max-width: 767px) {
  .thb-v2 .thb-reviews-track { display: grid; min-height: var(--dme-testi-mobile-card-height, 460px); }
  .thb-v2 .thb-reviews-card { grid-area: 1 / 1; }
  .thb-v2 .thb-reviews-card:not(.is-center) { visibility: hidden; opacity: 0; pointer-events: none; }
  .thb-v2 .thb-reviews-card.is-center { visibility: visible; opacity: 1; }
  .thb-v2 .thb-reviews-carousel { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 12px; align-items: center; }
  .thb-v2 .thb-reviews-track { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
  .thb-v2 .thb-reviews-dots { display: flex; grid-column: 2; grid-row: 2; min-height: 44px; padding: 0; justify-content: center; align-items: center; }
  .thb-v2 .thb-reviews-arrow { display: flex; position: static; grid-row: 2; width: 36px; height: 36px; margin: 0; translate: none; justify-self: center; }
  .thb-v2 .thb-reviews-arrow--prev { grid-column: 1; }
  .thb-v2 .thb-reviews-arrow--next { grid-column: 3; }
  .thb-v2 .thb-reviews-arrow img { width: 16px; height: 16px; }
  .thb-v2 .thb-reviews-verified { display: inline-flex; }
}



/* ============================================================= */
/* MOBILE — Figma 12737:2770 (440 frame, 20px gutters / 400 column). */
/* Kept last so these phone rules win over the earlier responsive  */
/* rules. Everything sits inside max-width queries, so desktop     */
/* (>=768px) is untouched.                                          */
/* ============================================================= */

/* Telehealth mobile WIP — group A
   Hero (Figma mobile 12737:2771 / 12737:2840), Why (12737:3022), CTA bar (12737:3065).
   440 frame, 20px gutters -> 400 column. Phones only; nothing here applies at >=768px.
   Selectors carry .thb-v2 so they beat the main file's mobile + "QA overrides" rules. */

@media (max-width: 767px) {

  /* ---------- Hero (12737:2840): content starts 20px below the header ---------- */
  .thb-v2 > .thb-hero {
    padding-top: 20px;
  }

  /* Heading 1 frame carries 0.605px bottom padding (120.6 tall). */
  .thb-v2 .thb-hero__title {
    padding-bottom: 0.605px;
  }

  /* Rows are 29px (28.8 line) with a 9px gap; lead -> list is 10px. */
  .thb-v2 .thb-hero__list {
    gap: 9px;
    margin-top: -9.1px;
  }

  .thb-v2 .thb-hero__item {
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 28.8px;
    min-height: 29px;
  }

  /* ---------- Why (12737:3022): 40px top/bottom, 10px copy -> visual ---------- */
  .thb-v2 > .thb-why {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* Visual 12737:3029: 400 x 354, square, photo cover + 3px blur, 75% white wash. */
  .thb-v2 .thb-why__visual {
    width: 100%;
    height: 354px;
    border-radius: 0;
  }

  .thb-v2 .thb-why__photo img {
    object-fit: cover;
    filter: blur(3px);
  }

  .thb-v2 .thb-why.is-in .thb-why__photo img {
    animation-name: thb-a-why-focus;
  }

  /* Card 12758:6072: 250 wide at 20 / 20 inside the visual. */
  .thb-v2 .thb-why__card {
    top: 20px;
    left: 20px;
    gap: 3.417px;
    width: 250px;
    max-width: calc(100% - 40px);
    padding: 11.618px 10.251px 6.834px 12.985px;
    border: 0.683px solid #eff2ff;
    border-radius: 10.87px;
    box-shadow: none;
  }

  .thb-v2 .thb-why__card-title {
    padding: 3.882px 6.211px;
    border-radius: 5.435px;
    font-size: 10.87px;
    line-height: 15.528px;
    white-space: normal;
  }

  .thb-v2 .thb-why__benefits {
    gap: 6.834px;
    width: 226.708px;
    max-width: 100%;
  }

  .thb-v2 .thb-why__benefit {
    gap: 9.568px;
    min-height: 22.781px;
    font-size: 9.568px;
    line-height: 9.568px;
  }

  .thb-v2 .thb-why__benefit:not(:last-child)::after {
    height: 0.683px;
  }

  .thb-v2 .thb-why__check {
    width: 9.568px;
    height: 9.568px;
    border-radius: 4.784px;
    font-size: 6.834px;
    line-height: 9.568px;
  }

  /* ---------- CTA bar (12737:3065): 50px below the Why frame ---------- */
  .thb-v2 > .thb-cta-bar {
    padding-top: 10px;
  }

  /* Fixed Figma sizes (replaces the container-relative QA scaling). */
  .thb-v2 .thb-cta-bar__box {
    gap: 20px;
    padding: 20px 22px;
    border-radius: 20px;
    box-shadow: 0 2px 15.1px rgba(0, 0, 0, 0.15);
  }

  .thb-v2 .thb-cta-bar__main {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 20px;
  }

  .thb-v2 .thb-cta-bar__badge {
    width: 66px;
    height: 66px;
    padding: 0;
    box-shadow: 0 0 10.9px rgba(0, 0, 0, 0.11);
  }

  .thb-v2 .thb-cta-bar__badge img {
    width: 42px;
    height: 43px;
  }

  .thb-v2 .thb-cta-bar__copy {
    gap: 20px;
  }

  .thb-v2 .thb-cta-bar__title {
    font-size: 20px;
    line-height: 30px;
  }

  .thb-v2 .thb-cta-bar__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
  }

  .thb-v2 .thb-cta-bar__btn {
    width: 100%;
    height: 50px;
    min-height: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20.8px;
  }

  .thb-v2 .thb-cta-bar__btn-icon {
    width: 20px;
    height: 20px;
  }

  .thb-v2 .thb-cta-bar__btn-icon img {
    width: 11px;
    height: 10px;
  }
}

@keyframes thb-a-why-focus {
  from { scale: 1.15; filter: blur(10px); }
  to   { scale: 1.02; filter: blur(3px); }
}

/* Telehealth mobile — group B
   05 PROCESS  (#thb-process) -> Figma mobile 12737:3079
   06 CODING   (#thb-coding)  -> Figma mobile 12737:3180
   Mobile only (<=767px); desktop untouched. */

@media (max-width: 767px) {

  /* ================= 05 PROCESS ================= */
  /* Figma frame: 40px top/bottom padding, 20px gutters. */
  .thb-v2 > .thb-process {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* Mobile design has no decoration. */
  .thb-v2 .thb-process__decor {
    display: none;
  }

  /* Chip: 42px tall in Figma (text box has 1px bottom padding). */
  .thb-v2 .thb-process__chip {
    padding: 9px 20px 10px;
  }

  /* Steps: title 20/25, rows 24px apart with a 1px #e5e7eb rule under each. */
  .thb-v2 .thb-process__step-title {
    font-size: 20px;
    line-height: 25px;
    letter-spacing: -0.3px;
  }

  .thb-v2 .thb-process__step {
    padding: 24px 0 25px;
  }

  .thb-v2 .thb-process__step:first-child {
    padding-top: 0;
  }

  .thb-v2 .thb-process__step:last-child {
    padding-bottom: 0;
  }

  /* Checklist panel: solid 2px navy border, 24px / 20px padding. */
  .thb-v2 .thb-process__panel {
    border: 2px solid #273775;
    background: #ffffff;
    box-shadow: 0 3px 13px rgba(39, 55, 117, 0.07);
  }

  .thb-v2 .thb-process__checks {
    row-gap: 16px;
  }

  .thb-v2 .thb-process__check {
    align-items: center;
    gap: 11px;
    min-height: 0;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .thb-v2 .thb-process__check img {
    margin-top: 0;
  }

  /* ================= 06 CODING ================= */
  .thb-v2 > .thb-coding {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* Frame spans the section padding so the orbits are placed from the section top. */
  .thb-v2 .thb-coding__frame {
    margin: -40px 0;
    padding: 40px 20px;
  }

  /* Heading: 24/30 (two lines = 60px). */
  .thb-v2 .thb-coding__title {
    line-height: 30px;
  }

  /* Orbits (solid #e1e7f4) + 12px accent dot — Figma positions in section coords. */
  .thb-v2 .thb-coding__ring {
    display: block;
  }

  .thb-v2 .thb-coding__ring--dashed {
    left: -150px;
    top: -170px;
    width: 300px;
    height: 300px;
  }

  .thb-v2 .thb-coding__ring--solid {
    left: -210px;
    top: -230px;
    width: 420px;
    height: 420px;
  }

  .thb-v2 .thb-coding__dot--orange {
    left: 47px;
    top: 26px;
  }

  /* Floating cards band (210px under the intro). Review centre (122.3, 443.5),
     capture centre (310.7, 510) in section coords; grid starts 28px under the band. */
  /* The 400px band is centred on wider phones/tablets; review card stacks on top
     (Figma layer order), so its text stays readable where the cards overlap (<440). */
  .thb-v2 .thb-coding__float--review {
    z-index: 3;
    top: 4px;
    margin-left: max(0px, (100% - 400px) / 2);
  }

  .thb-v2 .thb-coding__float--capture {
    margin-top: -51.3px;
    margin-bottom: 16.6px;
    margin-left: calc(min(192.71px, 100% - 200px) + max(0px, (100% - 400px) / 2));
  }

  /* Code rows: 16 / 22 / 16 / 16 padding, 18px gaps (copy column = 256px at 440). */
  .thb-v2 .thb-coding__item {
    gap: 18px;
    min-height: 0;
    padding: 16px 22px 16px 16px;
    border-radius: 18px;
  }

  .thb-v2 .thb-coding__copy {
    gap: 0;
  }

}

/* Figma (440 frame) spaces the two-line descriptions 10px under the title, and row 09
   by 3px. Kept to phone widths, where those descriptions actually wrap. */
@media (max-width: 479px) {
  .thb-v2 .thb-coding__item:is(:nth-child(2), :nth-child(4), :nth-child(6), :nth-child(7), :nth-child(8), :nth-child(10)) .thb-coding__copy {
    gap: 10px;
  }

  .thb-v2 .thb-coding__item:nth-child(9) .thb-coding__copy {
    gap: 3px;
  }
}

/* Telehealth mobile — group C (Figma mobile frame 12737:2770, 440 wide, 20px gutters).
   07 Secure Workflows (12737:3354), 08 Who We Serve (12737:3369),
   09 Service Types (12737:3409), 09b AI-Driven band (12737:3519).
   Figma stacks the mobile frames with a 50px gap; each section here carries it as
   margin-top (vertical margins collapse, so a matching margin-bottom on the
   previous section does not double it). */

@media (max-width: 767px) {

  .thb-v2 > section.thb-denials,
  .thb-v2 > section.thb-serve,
  .thb-v2 > section.thb-types,
  .thb-v2 > section.thb-payments {
    margin-top: 50px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* ---------- 07 · Secure Workflows — 12737:3354 (440 x 1017) ---------- */
  /* Image window sits flush with the band's bottom edge. */
  .thb-v2 > section.thb-denials {
    padding-bottom: 0;
  }

  .thb-denials__eyebrow {
    height: 26px;
    font-size: 10px;
    line-height: 9.976px;
  }

  .thb-denials__title {
    margin-top: 6.9px;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -1.6px;
  }

  .thb-denials__bar {
    display: block;
  }

  .thb-denials__lead {
    font-size: 16px;
    line-height: 24px;
  }

  .thb-denials__list {
    gap: 9px;
  }

  .thb-denials__item {
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 28.8px;
  }

  /* 440x378 clip window 44.5px under the copy; the 440x396 image box overflows it at the bottom. */
  .thb-denials__visual {
    height: 378px;
    margin-top: 44.5px;
    margin-bottom: 0;
  }

  .thb-denials__visual-box {
    bottom: auto;
    right: 0;
    height: 396px;
  }

  .thb-denials__img {
    object-position: 50% 50%;
  }

  .thb-denials__visual-box::after {
    background: linear-gradient(180deg, #eff2ff 1.515%, rgba(255, 255, 255, 0) 94.066%);
  }

  /* ---------- 08 · Who We Serve — 12737:3369 (440 x 1092) ---------- */
  .thb-serve__head {
    gap: 10px;
    margin-bottom: 40px;
  }

  .thb-serve__eyebrow {
    font-size: 12px;
    line-height: 9.976px;
  }

  .thb-serve__title {
    font-size: 24px;
    line-height: 30px;
  }

  .thb-serve__intro {
    font-size: 14px;
    line-height: 25.2px;
  }

  .thb-serve__grid {
    gap: 20px;
  }

  /* 400 x 115: 1px stroke inside, content at 20 / 18 (16 + 2) from the edge. */
  .thb-serve__card {
    min-height: 115px;
    padding: 17px 19px 15px;
  }

  .thb-serve__name {
    font-size: 18px;
    line-height: 25px;
  }


  /* ---------- 09 · Service Types — 12737:3409 (440 x 1441) ---------- */
  .thb-types__head {
    gap: 12px;
    margin-bottom: 20px;
  }

  .thb-types__eyebrow {
    font-size: 10px;
    line-height: 16px;
  }

  .thb-types__title {
    font-size: 24px;
    line-height: 30px;
  }

  .thb-types__intro {
    font-size: 14px;
    line-height: 25px;
  }

  .thb-types__grid {
    gap: 20px;
  }

  /* 400 x 120 cards, 17 / 18 padding; 24x26 badge + 10 gap + 332 text column. */
  .thb-types__card {
    min-height: 120px;
    padding: 18px 17px;
  }

  .thb-types__text {
    color: var(--thb-text);
  }

  /* ---------- 09b · AI-Driven Telehealth Billing — 12737:3519 (440 x 867) ---------- */
  .thb-v2 > section.thb-payments {
    padding-bottom: 0;
  }

  .thb-payments .thb-payments__eyebrow {
    font-size: 12px;
    line-height: 9.976px;
  }

  .thb-payments__title {
    margin-top: 6.9px;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -1.6px;
  }

  .thb-payments__bar {
    display: block;
  }

  .thb-payments__text {
    font-size: 14px;
    line-height: 24px;
  }

  /* 440 x 245 image flush with the band's bottom edge, 50px under the copy. */
  .thb-payments__visual {
    height: 245px;
    margin-top: 50px;
    margin-bottom: 0;
  }

  .thb-v2 .thb-payments__img {
    left: 0;
    width: 100%;
    object-position: 50% 0;
  }

  .thb-payments__visual-box::after {
    background: linear-gradient(179.52deg, #273775 2.6432%, rgba(39, 55, 117, 0) 94.838%);
  }
}

/* Telehealth mobile WIP — group D */
/* Why Practices Choose Us (mobile Figma 12737:3657) + Trusted Standards (12737:3736).
   Mobile only (<=767px); desktop rendering is untouched. */

@media (max-width: 767px) {
  /* ---------- Why Practices Choose Us ----------
     440 frame, 2px inside stroke, 20px padding -> content at x/y 20, 400 wide; 50px to the trust band. */
  .thb-v2 > .thb-why-choose {
    padding-top: 18px;
    padding-bottom: 18px;
    margin-bottom: 50px;
  }

  .thb-v2 .thb-why-choose > .thb-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Orbit (12737:3659) at (254.3, 570.05) from the frame's outer edge; ::before is placed from the padding box. */
  .thb-v2 > .thb-why-choose::before {
    top: 568.05px;
    left: 252.3px;
  }

  .thb-why-choose-card {
    min-height: 179px; /* Figma card height (two 19.2px text lines round to 39) */
    box-shadow: 0 2.704px 19.56px #eff2ff;
  }

  /* Mobile cards are plain white (no inner glow). */
  .thb-why-choose-card::after {
    display: none;
  }

  /* Card 2 (12758:7180) is inset 30px on the left. */
  .thb-why-choose-card:nth-child(2) {
    padding-left: 28px;
  }

  /* Cards stack in one column: rise straight up instead of flying in sideways. */
  .thb-why-choose-card:nth-child(n) {
    --from-x: 0px;
    --from-y: 30px;
  }

  /* ---------- Trusted Standards ----------
     64px top/bottom padding (frame 440 x 1211). */
  .thb-v2 > .thb-trust {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* Telehealth mobile — group E (Figma mobile frame 12737:2770, 440 wide, 20px gutters).
   14 Integrations (c2-mobile 12737:3829), 15 Coverage (mobile-state-services 12737:3942),
   16 Payer group (12737:4468: payers 12737:4469, rules banner 12737:4529, coord 12737:4580).
   Mobile only (<=767px); desktop rendering is untouched.
   Figma stacks the mobile frames with a 50px gap; each section carries it as margin-top
   (vertical margins collapse with a matching margin on the neighbour). */

/* Animatable start angle for the hub's dashed ring (dashes turn, gradient stays put). */
@property --thb-e-dash {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes thb-e-dash-turn {
  to { --thb-e-dash: 360deg; }
}

@media (max-width: 767px) {

  /* ======================= 14 Integrations — 12737:3829 ======================= */
  /* 400 frame, 20px top/bottom padding, 16px sides -> 368 column at x 36. */
  .thb-v2 > section.thb-integrations {
    margin-top: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  /* Hub (12737:3858): 180 circle, 2px dashed stroke with the navy -> coral gradient. */
  .thb-v2 .thb-integrations__hub-core::before {
    border: 0;
    background: linear-gradient(90deg, #273775 0%, #fc5d61 100%);
    -webkit-mask:
      radial-gradient(farthest-side, transparent calc(100% - 2.4px), #000 calc(100% - 2px)),
      repeating-conic-gradient(from var(--thb-e-dash), #000 0deg 4.6deg, transparent 4.6deg 8.18deg);
    -webkit-mask-composite: source-in;
    mask:
      radial-gradient(farthest-side, transparent calc(100% - 2.4px), #000 calc(100% - 2px)),
      repeating-conic-gradient(from var(--thb-e-dash), #000 0deg 4.6deg, transparent 4.6deg 8.18deg);
    mask-composite: intersect;
  }

  .thb-v2 .thb-integrations.is-in .thb-integrations__hub-core::before {
    animation: thb-e-dash-turn 18s linear 1.2s infinite;
  }

  /* Cards and the benefits card: Figma strokes sit inside the 16px padding. */
  .thb-v2 .thb-integrations__card,
  .thb-v2 .thb-integrations__bar {
    padding: 15px;
  }

  /* Benefit dividers are 0-height lines (1px stroke drawn above). */
  .thb-v2 .thb-integrations__divider {
    margin-bottom: -1px;
  }

  /* EHR rows 2 and 3 are 319px wide and sit at the left of the 334px row 1 (12758:8562 / 8567),
     i.e. 7.5px left of centre; kept centred-minus-7.5 so wider cards stay aligned. */
  .thb-v2 .thb-integrations__card--ehr .thb-integrations__logos:nth-of-type(n+2) {
    align-self: center;
    width: 319px;
    max-width: calc(100% - 15px);
    margin-right: 15px;
  }

  /* Logo tiles: images keep their Figma crops and may overhang the tile padding, as in Figma. */
  .thb-v2 .thb-integrations__logo-box {
    max-width: calc(100% + 18px);
  }

  .thb-v2 .thb-integrations__logo img {
    max-width: none;
    object-fit: fill;
  }

  .thb-v2 :is(.thb-integrations__logo--simplepractice, .thb-integrations__logo--availity, .thb-integrations__logo--office-ally, .thb-integrations__logo--waystar) img {
    object-fit: cover;
  }

  /* EHR & Telehealth Platforms + PMS & Billing Tools: 139 x 45 tiles, 10px padding, 10px radius, 20px apart. */
  .thb-v2 .thb-integrations__card--ehr .thb-integrations__logo,
  .thb-v2 .thb-integrations__card--pms .thb-integrations__logo {
    flex: 0 1 139px;
    width: auto;
    min-width: 0;
    height: 45px;
    padding: 10px;
    border-radius: 10px;
  }

  .thb-v2 .thb-integrations__logo--athenahealth .thb-integrations__logo-box { width: 130px; }
  .thb-v2 .thb-integrations__logo--eclinicalworks .thb-integrations__logo-box { width: 122px; }
  .thb-v2 .thb-integrations__logo--epic .thb-integrations__logo-box { width: 114px; }
  .thb-v2 .thb-integrations__logo--simplepractice .thb-integrations__logo-box { width: 122px; }
  .thb-v2 .thb-integrations__logo--drchrono .thb-integrations__logo-box { width: 125px; }

  /* PMS: AdvancedMD + Tebra on row 1, NextGen (150px tile) centred on row 2, 12px apart. */
  .thb-v2 .thb-integrations__card--pms .thb-integrations__logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    width: 100%;
    max-width: 298px;
    margin: 0 auto;
  }

  .thb-v2 .thb-integrations__card--pms .thb-integrations__logo--nextgen {
    flex: 0 1 150px;
  }

  .thb-v2 .thb-integrations__logo--advancedmd .thb-integrations__logo-box { width: 129px; }
  .thb-v2 .thb-integrations__logo--tebra .thb-integrations__logo-box { width: 117px; }
  .thb-v2 .thb-integrations__logo--nextgen .thb-integrations__logo-box { width: 86px; }

  /* Clearinghouses: 90 x 37 tiles (Office Ally hugs its logo), 6px padding, logo pinned left.
     Row 2 reads TriZetto, Waystar. */
  .thb-v2 .thb-integrations__card--clearing .thb-integrations__logo {
    justify-content: flex-start;
  }

  .thb-v2 .thb-integrations__logo--trizetto {
    order: -1;
  }

  .thb-v2 .thb-integrations__logo--trizetto .thb-integrations__logo-box {
    width: 78px;
    aspect-ratio: 78 / 25;
  }

  .thb-v2 .thb-integrations__logo--trizetto img {
    left: 0;
    top: -12.39%;
    width: 100%;
    height: 140.92%;
  }

  /* Benefits: the last label is SemiBold in Figma (12737:3936). */
  .thb-v2 .thb-integrations__benefit:last-child .thb-integrations__benefit-label {
    font-weight: 600;
  }

  /* c2-mobile ends with the benefits card: no CTA below it. */
  .thb-v2 .thb-integrations__cta {
    display: none;
  }

  /* ======================== 15 Coverage — 12737:3942 ========================= */
  /* 400 column, 20px top/bottom padding. */
  .thb-v2 > section.thb-coverage {
    margin-top: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  /* Promo card (12737:3948) is 352 tall with an inside 1px stroke: 20px to the content. */
  .thb-v2 .thb-coverage__intro {
    padding: 19px;
  }

  /* State cards are a fixed 100px (12737:4074 ...); 14px padding inside the 1px stroke. */
  .thb-v2 .thb-coverage__state {
    height: 100px;
    min-height: 0;
    padding: 13px;
  }

  /* =================== 16 Payer group — 12737:4468 (400 x 2963.6) =================== */
  /* The dashed frame starts right at the section top; 20px padding, 40px between blocks. */
  .thb-v2 > section.thb-payer-group {
    margin-top: 50px;
    margin-bottom: 50px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .thb-v2 .thb-payer-frame {
    gap: 40px;
    padding: 20px;
    border-radius: 16px;
  }

  /* 1px dashed stroke, navy -> coral left to right, 16px corners. */
  .thb-v2 .thb-payer-frame::before {
    border: 0;
    border-radius: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%23273775'/%3E%3Cstop offset='1' stop-color='%23fc5d61'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100%25' height='100%25' rx='16' fill='none' stroke='url(%23g)' stroke-width='2' stroke-dasharray='8 10'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  }

  /* 16a Payers (12737:4469): 40px top/bottom padding. */
  .thb-v2 .thb-payers {
    padding: 40px 0;
  }

  .thb-v2 .thb-payers .thb-payers-text {
    color: #3d3d3d;
  }

  /* 16b Rules (12737:4529): each step is 122px tall in Figma (three 12.5px lines round to 38). */
  .thb-v2 .thb-rules .thb-rules-step-text {
    min-height: 38px;
  }

  /* 16c Coord (12737:4580): 20px top/bottom padding. */
  .thb-v2 .thb-coord {
    padding: 20px 0;
  }

  .thb-v2 .thb-coord .thb-coord-text {
    color: #3d3d3d;
  }

  /* State Medicaid Programs card: location pin (12758:8593), 73px label on two lines. */
  .thb-v2 .thb-coord-card--medicaid .thb-coord-card-ico img {
    content: url("../../images/telehealth-billing-v2/coord/mobile/icon-location.svg");
    width: 12px;
    height: 12px;
  }

  .thb-v2 .thb-coord-card--medicaid .thb-coord-card-label {
    flex: 0 0 73px;
  }

  /* Proof column: 1px stroke inside 21px left padding -> 319px text column. */
  .thb-v2 .thb-coord-proof {
    padding-left: 20px;
  }
}

/* Below the 440 design width the state notes can wrap to three lines: let the cards grow. */
@media (max-width: 439px) {
  .thb-v2 .thb-coverage__state {
    height: auto;
    min-height: 100px;
  }
}

/* Telehealth mobile — group F
   17 Client reviews  -> Figma mobile 12737:4642
   18 Get started CTA -> Figma mobile 12768:2
   19 FAQ             -> Figma mobile 12737:4886
   Figma stacks these on a 440 frame (20px gutters): reviews band (40/40 padding),
   50px, CTA card, 50px, FAQ, 50px. Phones only; >=768px is untouched. */

@media (max-width: 767px) {

  /* =============================================================
     17 CLIENT REVIEWS (12737:4642)
     Figma stacks all four cards (no arrows / dots), then the
     "Trusted by" badge, then Trustpilot + Google tiles side by side.
     The [data-dme-testi] hook keeps rotating slot classes; every
     slot looks the same here, so its FLIP has nothing to move.
     ============================================================= */
  .thb-v2 > .thb-reviews {
    padding-top: 40px;
    padding-bottom: 40px;
    background:
      radial-gradient(365.2px 840.73px at 50% 0, #ffffff 0%, #f5f7fc 55%, #eef1f8 100%),
      #eef1f8;
  }

  .thb-v2 .thb-reviews > .thb-container {
    gap: 32px;
  }

  .thb-v2 .thb-reviews .thb-reviews-carousel {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
  }

  .thb-v2 .thb-reviews .thb-reviews-arrow,
  .thb-v2 .thb-reviews .thb-reviews-dots {
    display: none;
  }

  /* 12737:4648: 24px between cards. */
  .thb-v2 .thb-reviews .thb-reviews-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
  }

  .thb-v2 .thb-reviews .thb-reviews-card,
  .thb-v2 .thb-reviews .thb-reviews-card:not(.is-center),
  .thb-v2 .thb-reviews .thb-reviews-card.is-jump {
    grid-area: auto;
    left: 0;
    z-index: 1;
    width: 100%;
    min-height: 0;
    gap: 14px;
    padding: 28px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    cursor: default;
  }

  .thb-v2 .thb-reviews .thb-reviews-card:hover {
    translate: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.11);
  }

  /* Author row (12758:8596): 46px avatar with a white + #dce3f3 ring. */
  .thb-v2 .thb-reviews .thb-reviews-card .thb-reviews-author {
    gap: 14px;
  }

  .thb-v2 .thb-reviews .thb-reviews-card .thb-reviews-avatar {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    background: var(--thb-blue);
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #dce3f3;
    font-size: 15px;
    font-weight: 700;
  }

  .thb-v2 .thb-reviews .thb-reviews-card .thb-reviews-who {
    flex: 1 1 auto;
    gap: 3px;
  }

  .thb-v2 .thb-reviews .thb-reviews-card .thb-reviews-who b {
    font-size: 14px;
    line-height: 18.2px;
  }

  .thb-v2 .thb-reviews .thb-reviews-card .thb-reviews-who small {
    font-size: 10px;
    font-weight: 600;
    line-height: normal;
  }

  /* Second card (12758:8605): 56px orange avatar, 17px name. */
  .thb-v2 .thb-reviews .thb-reviews-card:nth-child(2) .thb-reviews-avatar {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    background: var(--thb-orange);
  }

  .thb-v2 .thb-reviews .thb-reviews-card:nth-child(2) .thb-reviews-who b {
    font-size: 17px;
    line-height: 22.1px;
  }

  /* Cards 3 and 4 (12737:4705 / 4733) draw the separator under the author. */
  .thb-v2 .thb-reviews .thb-reviews-card:nth-child(n + 3) .thb-reviews-sep {
    order: 1;
  }

  /* ---------- Rating strip ---------- */
  /* Badge row (12737:4761) on its own line, then the two 80px tiles
     (12737:4772) side by side with a 20px gap; 32px between the rows. */
  .thb-v2 .thb-reviews .thb-reviews-proof {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 32px 20px;
  }

  .thb-v2 .thb-reviews .thb-reviews-badge {
    order: -1;
    flex: 0 0 100%;
    gap: 14px;
  }

  .thb-v2 .thb-reviews .thb-reviews-badge-row {
    max-width: none;
  }

  .thb-v2 .thb-reviews .thb-reviews-badge-text {
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
  }

  .thb-v2 .thb-reviews .thb-reviews-score {
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto;
    min-width: 0;
    height: 80px;
    min-height: 0;
    padding: 10px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 7.56px rgba(0, 0, 0, 0.1);
  }

  .thb-v2 .thb-reviews .thb-reviews-score:hover {
    box-shadow: 0 6px 16px rgba(39, 55, 117, 0.16);
  }

  .thb-v2 .thb-reviews .thb-reviews-score-brand {
    gap: 0;
    align-items: center;
  }

  .thb-v2 .thb-reviews .thb-reviews-tp-stars,
  .thb-v2 .thb-reviews .thb-reviews-g-stars,
  .thb-v2 .thb-reviews .thb-reviews-score-line,
  .thb-v2 .thb-reviews .thb-reviews-score-value span {
    display: none;
  }

  /* Wordmarks drawn from the Figma logo images (12737:4774 / 12737:4779). */
  .thb-v2 .thb-reviews .thb-reviews-tp-logo {
    display: block;
    width: 111px;
    height: 27px;
    padding: 0;
    overflow: hidden;
    background: url("../../images/telehealth-billing-v2/reviews/mobile/trustpilot-logo.webp") 0 0 / 111px 27px no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 0;
  }

  .thb-v2 .thb-reviews .thb-reviews-tp-logo img {
    display: none;
  }

  .thb-v2 .thb-reviews .thb-reviews-g-logo {
    display: block;
    width: 96.48px;
    height: 29.13px;
    overflow: hidden;
    background: url("../../images/telehealth-billing-v2/reviews/mobile/google-logo.webp") 1.4px -0.2px / 93.67px 29.13px no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 0;
  }

  .thb-v2 .thb-reviews .thb-reviews-g-logo > span {
    display: none;
  }

  /* 12737:4775: 13px star + "4.8" (11px medium, 80%). */
  .thb-v2 .thb-reviews .thb-reviews-score-value {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .thb-v2 .thb-reviews .thb-reviews-score-value::before {
    content: "";
    flex: none;
    width: 13px;
    height: 13px;
    background: url("../../images/telehealth-billing-v2/reviews/mobile/rating-star.svg") 1.98px 1.79px / 9.04px 8.68px no-repeat;
  }

  .thb-v2 .thb-reviews .thb-reviews-card .thb-reviews-rating b,
  .thb-v2 .thb-reviews .thb-reviews-rating-verified {
    line-height: 15px;
  }

  .thb-v2 .thb-reviews .thb-reviews-score-value b {
    color: #3d3d3d;
    font-size: 11px;
    font-weight: 500;
    line-height: normal;
    opacity: 0.8;
  }

  /* Stacked cards rise one after another; the tiles rise in place
     (no sideways entrance on a 400px column). */
  .thb-v2 .thb-reviews.is-in .thb-reviews-card {
    animation: thb-rise 0.8s var(--thb-ease) calc(0.3s + var(--i, 0) * 0.1s) backwards;
  }

  .thb-v2 .thb-reviews.is-in .thb-reviews-score--trustpilot {
    animation: thb-rise 0.7s var(--thb-ease) 0.85s backwards;
  }

  .thb-v2 .thb-reviews.is-in .thb-reviews-score--google {
    animation: thb-rise 0.7s var(--thb-ease) 0.95s backwards;
  }

  /* =============================================================
     18 GET STARTED CTA (12768:2) — 400px card, 2px #eff2ff stroke,
     content inset 24 / 32 / 24 (stroke included), 24px gap to the
     352 x 243.76 illustration; shape + white tick grid behind.
     ============================================================= */
  .thb-v2 > .thb-start {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .thb-v2 .thb-start .thb-start-card {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    min-height: 0;
    padding: 30px 22px 22px;
    border-radius: 20px;
  }

  .thb-v2 .thb-start .thb-start-copy {
    flex: none;
    gap: 20px;
  }

  .thb-v2 .thb-start .thb-start-chip {
    padding: 8px 10px;
    border-radius: 9.069px;
    font-size: 10px;
    font-weight: 700;
    line-height: 9.976px;
    text-transform: capitalize;
  }

  .thb-v2 .thb-start .thb-start-head {
    gap: 12px;
  }

  .thb-v2 .thb-start .thb-start-title {
    max-width: none;
    font-size: 24px;
    line-height: 31.2px;
  }

  .thb-v2 .thb-start .thb-start-lead {
    font-size: 14px;
    line-height: 22px;
  }

  .thb-v2 .thb-start .thb-start-btn {
    width: 224px;
    max-width: 100%;
    height: 48px;
    padding: 8px 20px;
    gap: 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .thb-v2 .thb-start .thb-start-art {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 352 / 243.76;
  }

  /* 12768:3 at (94, 378) of the card; positions are from the padding box. */
  .thb-v2 .thb-start .thb-start-shape {
    top: 376px;
    right: auto;
    bottom: auto;
    left: 92px;
  }

  /* 12768:18: 16 x 16 white 40% ticks (6.2 x 19.2 pitch) at (106, 377.76),
     drawn over the copy so the row under the label shows on the button. */
  .thb-v2 .thb-start .thb-start-dots {
    top: 375.76px;
    right: auto;
    bottom: auto;
    left: 104px;
    z-index: 1;
    width: 94.07px;
    height: 291.6px;
    background: radial-gradient(ellipse 0.7px 1.9px at 1.8px 5.6px, rgba(255, 255, 255, 0.4) 90%, transparent 100%) 0 0 / 6.2px 19.2px repeat;
    -webkit-mask: none;
    mask: none;
    background-position: 0 13.6px;
  }

  /* The illustration sits above the tick grid. */
  .thb-v2 .thb-start .thb-start-art {
    z-index: 2;
  }

  /* =============================================================
     19 FAQ (12737:4886) — 400px column, 50px before / after.
     ============================================================= */
  .thb-v2 > .thb-faq {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* Accordion 12737:4920: square top corners, 12px bottom corners. */
  .thb-v2 .thb-faq .thb-faq-list {
    padding: 0;
    border-radius: 0 0 12px 12px;
  }

  /* Closed rows are 89px including their 1px rule (20 + 48 + 20). */
  .thb-v2 .thb-faq .thb-faq-btn {
    padding-bottom: 20px;
  }

  /* Open item (12737:4921): no gap before the chevron, 24px after the number. */
  .thb-v2 .thb-faq .thb-faq-item.is-open .thb-faq-btn {
    gap: 0;
    padding-bottom: 21px;
  }

  .thb-v2 .thb-faq .thb-faq-item.is-open .thb-faq-num {
    margin-right: 24px;
  }

}
