/* ============================================================= */
/* RCM SERVICES FOR ELLIE MENTAL HEALTH (v2)                       */
/* 1. Partner hero — Figma 11284:1772: copy + expertise list on    */
/*    the left, the "Partner with MedsIT" form card on the right,  */
/*    over the brain artwork.                                      */
/* 2. Cost calculator — Figma 11284:1265: heading row with the     */
/*    illustration top right, then an 880px form column (two step */
/*    cards) beside a 336px column (estimated cost + talk to an    */
/*    expert), 24px apart.                                         */
/* ============================================================= */
.el-v2 {
  font-family: Poppins, sans-serif;
  color: var(--c-text);
}

/* style-v2.css capitalizes every heading and greys every <p>. */
.el-v2 :is(h1, h2, h3, h4) {
  text-transform: none;
}

.el-v2 p {
  margin: 0;
  color: var(--c-text);
}

/* ============================================================= */
/* 1. PARTNER HERO — Figma 11284:1772 (1440 x 883)                 */
/* The 1240 x 745 container sits centred (69px above and below);   */
/* the copy column starts 48px down, the 540px card fills the      */
/* container's height on the right.                                */
/* ============================================================= */
.el-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 883px;
  padding: 69px 0;
  overflow: visible;
}

/* Brain artwork: 118.67% x 108.92% of the section, offset up-left, with
   the BG-blue wash fading in from the left (77.8%) to 10% on the right. */
.el-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.el-hero-bg img {
  position: absolute;
  top: -8.64%;
  left: -17.38%;
  width: 118.67%;
  max-width: none;
  height: 108.92%;
  object-fit: cover;
  transform-origin: 40% 45%;
}

.el-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(239, 242, 255, 0.1) 0%, var(--c-bg-blue) 77.812%);
}

.el-hero .container-page {
  position: relative;
  width: 100%;
}

.el-hero-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

/* ---------- Copy column (647px; text block 542px) ---------- */
.el-hero-copy {
  display: flex;
  flex: 0 1 647px;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
  padding-top: 48px;
}

.el-hero-copy > :not(.el-hero-cta) {
  max-width: 542px;
}

.el-hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 9.069px;
  background: rgba(39, 55, 117, 0.1);
  color: var(--c-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 9.976px;
  white-space: nowrap;
}

.el-hero-title {
  margin: 0;
  padding-bottom: 0.605px;
  color: var(--c-blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 50.4px;
}

.el-hero-title .accent,
.el-partner-note a {
  color: var(--c-orange);
}

.el-hero-lead {
  font-size: 16px;
  line-height: normal;
}

.el-hero-sub {
  margin: 0;
  color: var(--c-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 48px;
}

.el-hero-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.el-hero-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 29px;
  font-size: 16px;
  font-weight: 500;
  line-height: 28.8px;
}

.el-hero-list img {
  flex: none;
}

/* 463 x 50 gradient button; 32px below the 503px text block. */
.el-hero-cta {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 463px;
  max-width: 100%;
  height: 50px;
  margin-top: 16px;
  padding: 0 22px;
  border-radius: 14px;
  background: linear-gradient(to right, var(--c-blue) 29.808%, var(--c-orange));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.el-hero-cta:hover,
.el-hero-cta:focus-visible {
  color: #fff;
  box-shadow: 0 8px 20px rgba(39, 55, 117, 0.25);
  transform: translateY(-2px);
}

.el-hero-cta img,
.el-pf-submit img {
  transition: transform 0.25s ease;
}

.el-hero-cta:hover img,
.el-pf-submit:hover img {
  transform: translateX(4px);
}

/* ---------- Partner form card (540 x 745) ---------- */
.el-partner {
  position: relative;
  z-index: 2;
  flex: 0 0 540px;
  min-height: 745px;
  padding: 25px 35px;
  border: 5px solid transparent;
  border-radius: 40px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(to right, var(--c-blue) 29.808%, var(--c-orange)) border-box;
}

.el-v2 > .strengths {
  position: relative;
  z-index: 0;
}

.el-partner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.el-partner-logo {
  display: block;
  width: 84px;
  height: 32px;
  object-fit: cover;
}

.el-v2 .el-partner-tag {
  font-size: 12px;
  line-height: normal;
  text-align: right;
}

.el-partner-title {
  margin: 16px 0 0;
  color: var(--c-blue);
  font-size: 30px;
  font-weight: 700;
  line-height: 34px;
}

.el-v2 .el-partner-lead {
  margin-top: 8px;
  font-size: 14px;
  line-height: 21.6px;
}

.el-v2 .el-partner-step {
  margin-top: 12.4px;
  color: var(--c-orange);
  font-size: 14px;
  font-weight: 600;
  line-height: 21.6px;
}

/* Fields start at Figma's y 187, 1px further in than the copy (36 vs 35). */
.el-partner-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12.4px 1px 0;
}

.el-pf-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.el-pf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.el-pf-field--wide {
  gap: 7px;
}

.el-pf-label {
  margin: 0;
  color: var(--c-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

/* Text inputs: 44px, 3px radius, #E5E7EB border, Poppins Medium 14. */
.el-pf-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  background: #fff;
  color: var(--c-text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.el-pf-input::placeholder {
  color: #9a9a9f;
  opacity: 1;
}

.el-pf-select {
  position: relative;
}

.el-pf-select select {
  padding-right: 38px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* Centred with `translate` (not `transform`) so the open-state `rotate` flips the
   chevron in place instead of rotating the offset with it. */
.el-pf-select img {
  position: absolute;
  top: 50%;
  right: 14px;
  translate: 0 -50%;
  pointer-events: none;
}

/* Both dropdowns use the site's .field-select list (style-v2.css + script-v2.js);
   these keep Figma's field padding over that component's 40px icon gutters. */
.el-pf-select.field-select select {
  padding-left: 14px;
}

.el-pf-box.field-select select {
  padding-left: 11px;
}

/* style-v2.css greys an empty .field-select as #78829A; Figma's placeholder is #9A9A9F Medium. */
.el-partner-form .field-select select:invalid {
  color: #9a9a9f;
  font-weight: 500;
}

/* The open list sits above the fields below it; the chevron flips while it's open. */
.el-partner-form .field-select.is-open {
  z-index: 25;
}

.el-pf-select img,
.el-pf-chip img {
  transition: rotate 0.2s ease;
}

.field-select.is-open > img,
.field-select.is-open .el-pf-chip img {
  rotate: 180deg;
}

/* Wide fields: 44px, 12px radius, #E2E5F0 border, 28px tinted chip on the right. */
.el-pf-box {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid #e2e5f0;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.el-pf-box select,
.el-pf-box input {
  width: 100%;
  height: 100%;
  padding: 0 47px 0 11px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--c-text);
  font: inherit;
  font-size: 14px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* The picker opens from the chip; the browser's own icon is hidden. */
.el-pf-box input::-webkit-calendar-picker-indicator {
  display: none;
}

.el-pf-box input[readonly] {
  cursor: pointer;
}

.datepicker-dropdown {
  z-index: 1060 !important;
  padding: 8px;
  border: 1px solid #dce2f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(39, 55, 117, 0.16);
  font: 500 13px/1.4 Poppins, sans-serif;
}

.datepicker table {
  margin: 0;
  border-collapse: separate;
  border-spacing: 2px;
}

.datepicker table tr th,
.datepicker table tr td {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  text-align: center;
}

.datepicker table tr th.prev,
.datepicker table tr th.next,
.datepicker table tr th.datepicker-switch {
  color: var(--c-blue);
  cursor: pointer;
}

.datepicker table tr td.day:not(.disabled):hover,
.datepicker table tr th.prev:hover,
.datepicker table tr th.next:hover,
.datepicker table tr th.datepicker-switch:hover {
  background: #eff2ff;
}

.datepicker table tr td.day.disabled {
  background: #f0f2f6 !important;
  color: #a4a9b4 !important;
  cursor: not-allowed;
  text-decoration: line-through;
}

.datepicker table tr td.day.disabled:hover {
  background: #f0f2f6 !important;
  color: #a4a9b4 !important;
}

.datepicker table tr td.day.active,
.datepicker table tr td.day.active:hover {
  background: var(--c-blue);
  color: #fff;
}

.el-pf-chip {
  position: absolute;
  top: 50%;
  right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #eef0f7;
  transform: translateY(-50%);
  pointer-events: none;
}

.el-pf-box button.el-pf-chip {
  pointer-events: auto;
  cursor: pointer;
}

button.el-pf-chip {
  cursor: pointer;
  pointer-events: auto;
}

button.el-pf-chip[data-ellie-picker] {
  z-index: 1;
}

/* Empty required selects / date read as placeholders (#9A9A9F). */
.el-pf-input:invalid,
.el-pf-box select:invalid,
.el-pf-box input:invalid {
  color: #9a9a9f;
}

.el-pf-input option,
.el-pf-box option {
  color: var(--c-text);
}

.el-pf-box select option:disabled {
  color: #9a9a9f;
  background-color: #f1f2f5;
}

.el-pf-box .field-select-option.is-disabled {
  color: #9a9a9f;
  background-color: #f7f7f9;
  cursor: not-allowed;
}

.el-pf-box .field-select-option.is-disabled:hover,
.el-pf-box .field-select-option.is-disabled.is-active {
  background-color: #f7f7f9;
}

.el-pf-box select:disabled {
  color: #9a9a9f;
  cursor: not-allowed;
  opacity: 0.7;
}

.el-pf-input:focus,
.el-pf-box:focus-within {
  border-color: var(--c-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 55, 117, 0.12);
}

.el-pf-input.is-invalid,
.el-pf-box.is-invalid {
  border-color: var(--c-orange);
}

.el-pf-input:-webkit-autofill,
.el-pf-input:-webkit-autofill:hover,
.el-pf-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 40px #fff inset;
  -webkit-text-fill-color: var(--c-text);
  transition: background-color 9999s ease-out 0s;
}

.el-pf-submit {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: 12px; /* 24px above the button in Figma (12px gap + 12px) */
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--c-orange);
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.el-pf-submit:hover,
.el-pf-submit:focus-visible {
  background: #e94d51;
}

.el-pf-submit:disabled {
  cursor: default;
  opacity: 0.85;
}

.el-v2 .el-pf-status {
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.el-v2 .el-pf-status.is-error {
  color: var(--c-orange);
}

.el-v2 .el-pf-status.is-success {
  color: #1f8a4c;
}

.el-v2 .el-partner-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 21.6px;
  text-align: center;
}

.el-partner-note a {
  text-decoration: underline;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Copy column: each line rises in, 80ms apart (--i). */
  .el-rise {
    animation: el-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.15s + var(--i, 0) * 0.08s) backwards;
  }

  /* The ticks pop in just after their line. */
  .el-hero-list img {
    animation: el-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.45s + var(--i, 0) * 0.08s) backwards;
  }

  /* The form card slides in from the right, then its parts follow. */
  .el-partner {
    animation: el-card-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s backwards;
  }

  .el-partner-form > * {
    animation: el-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }

  .el-partner-form > :nth-child(2) { animation-delay: 0.55s; }
  .el-partner-form > :nth-child(3) { animation-delay: 0.62s; }
  .el-partner-form > :nth-child(4) { animation-delay: 0.69s; }
  .el-partner-form > :nth-child(5) { animation-delay: 0.76s; }
  .el-partner-form > :nth-child(6) { animation-delay: 0.83s; }
  .el-partner-form > :nth-child(7) { animation-delay: 0.9s; }

  /* The brain artwork breathes slowly behind everything. */
  .el-hero-bg img {
    animation: el-drift 18s ease-in-out infinite alternate;
  }
}

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

@keyframes el-pop {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
}

@keyframes el-card-in {
  from {
    opacity: 0;
    transform: translateX(48px) scale(0.98);
  }
}

@keyframes el-drift {
  from {
    transform: scale(1) translate(0, 0);
  }

  to {
    transform: scale(1.06) translate(-1%, 1.5%);
  }
}

/* ============================================================= */
/* 3. COMPLETE MENTAL HEALTH RCM SERVICES — Figma 11310:6588       */
/* (1440 x 992). Heading block 44px down, then the 724 x 724       */
/* diagram 40px below it; every piece inside the diagram sits at   */
/* its Figma x / y (set inline from the view).                     */
/* ============================================================= */
.el-svc {
  position: relative;
  min-height: 992px;
  padding: 44px 0 33px;
  overflow: hidden;
}

/* Background art: 172.14% x 99.93% of the section, 11.69% to the left. */
.el-svc-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.el-svc-bg img {
  position: absolute;
  top: 0.04%;
  left: -11.69%;
  width: 172.14%;
  max-width: none;
  height: 99.93%;
  object-fit: cover;
}

.el-svc .container-page {
  position: relative;
}

.el-svc-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.el-svc-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 9.069px;
  background: rgba(39, 55, 117, 0.1);
  color: var(--c-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 9.976px;
}

.el-svc-title {
  margin: 0;
  color: var(--c-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 35px;
}

.el-v2 .el-svc-lead {
  width: 946px;
  max-width: 100%;
  font-size: 16px;
  line-height: 25.2px;
}

/* ---------- Diagram (724 x 724) ---------- */
.el-svc-diagram {
  position: relative;
  width: 724px;
  height: 724px;
  margin: 40px auto 0;
}

.el-svc-ring {
  position: absolute;
  top: 207.69px;
  left: 205.74px;
}

/* Brain: 270.85 x 269.21 disc with a 10.42px #E5E7EB rim; the art is 135.58%
   of the disc's inner width, 17.31% left and 49.48px up. */
.el-svc-brain {
  position: absolute;
  top: 231.78px;
  left: 227.88px;
  width: 270.849px;
  height: 269.207px;
  overflow: hidden;
  border: 10.417px solid #e5e7eb;
  border-radius: 50%;
}

.el-svc-brain img {
  position: absolute;
  top: -49.48px;
  left: -17.31%;
  width: 135.58%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Connectors: a 48.18px line rotated inside its box; the SVG is 7.21% longer
   (the end dot) and 6.94px tall, centred on the line. */
.el-svc-line {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.el-svc-line > span {
  position: relative;
  flex: none;
  width: 48.18px;
  height: 0;
}

.el-svc-line img {
  position: absolute;
  top: -3.47px;
  left: 0;
  width: 107.21%;
  max-width: none;
  height: 6.94484px;
}

/* Service circles: 161.47px, 7.81px ring (orange / blue), BG-blue fill, white glow. */
.el-svc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.el-svc-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10.417px;
  align-items: center;
  justify-content: center;
  width: 161.468px;
  height: 161.468px;
  padding: 13.022px;
  overflow: hidden;
  border: 7.813px solid var(--c-orange);
  border-radius: 50%;
  background: var(--c-bg-blue);
  box-shadow: 0 0 10.417px #fff;
  transition: box-shadow 0.3s ease;
}

.el-svc-item--blue {
  border-color: var(--c-blue);
}

.el-svc-item:hover {
  box-shadow: 0 0 10.417px #fff, 0 10px 24px rgba(39, 55, 117, 0.22);
}

.el-svc-icon {
  position: relative;
  flex: none;
  width: 46.878px;
  height: 46.878px;
  border-radius: 6.697px;
}

.el-svc-icon img {
  position: absolute;
  display: block;
  width: auto;
  max-width: none;
  height: auto;
}

.el-svc-label {
  max-width: 100%;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: capitalize;
}

/* ---------- Motion: plays once the section scrolls in ---------- */
/* script-v2.js adds .is-armed (pieces hidden) then .is-in on scroll; without
   JS or with reduced motion neither class is added, so everything just shows. */
.el-svc.is-armed:not(.is-in) :is(.el-svc-head > *, .el-svc-ring, .el-svc-brain, .el-svc-line img, .el-svc-item) {
  opacity: 0;
}

.el-svc.is-in .el-svc-head > * {
  animation: el-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.el-svc.is-in .el-svc-head > :nth-child(2) { animation-delay: 0.08s; }
.el-svc.is-in .el-svc-head > :nth-child(3) { animation-delay: 0.16s; }

/* Hub first: ring blooms, brain zooms in. */
.el-svc.is-in .el-svc-ring {
  animation: el-svc-bloom 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s backwards;
}

.el-svc.is-in .el-svc-brain {
  animation: el-svc-bloom 0.9s cubic-bezier(0.34, 1.3, 0.64, 1) 0.35s backwards;
}

/* Then each connector draws out and its circle pops, clockwise from the top. */
/* Connectors grow out from the hub end. The line image is animated, never its
   wrapper: the straight connectors' wrappers are 0px wide or tall, and Chromium
   drops an animated (composited) zero-size layer together with its overflow. */
.el-svc.is-in .el-svc-line img {
  transform-origin: left center;
  animation: el-svc-grow 0.5s ease-out calc(0.75s + var(--i) * 0.1s) backwards;
}

.el-svc.is-in .el-svc-item {
  animation: el-svc-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.85s + var(--i) * 0.1s) backwards;
}

@media (prefers-reduced-motion: no-preference) {
  /* Ambient, after the entrance: the brain glows, the ring breathes, the circles
     bob. The bob uses `translate`, so it never fights the entrance `transform`.
     Sections the script never arms (no JS) get the ambient loop alone. */
  .el-svc-brain {
    animation: el-svc-glow 3.2s ease-in-out 1.4s infinite;
  }

  .el-svc.is-in .el-svc-brain {
    animation: el-svc-bloom 0.9s cubic-bezier(0.34, 1.3, 0.64, 1) 0.35s backwards, el-svc-glow 3.2s ease-in-out 1.4s infinite;
  }

  .el-svc-ring {
    animation: el-svc-breathe 4s ease-in-out 1.2s infinite;
  }

  .el-svc.is-in .el-svc-ring {
    animation: el-svc-bloom 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s backwards, el-svc-breathe 4s ease-in-out 1.2s infinite;
  }

  .el-svc-item {
    animation: el-svc-bob 5s ease-in-out calc(var(--i) * -0.6s) infinite;
  }

  .el-svc.is-in .el-svc-item {
    animation: el-svc-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.85s + var(--i) * 0.1s) backwards, el-svc-bob 5s ease-in-out calc(2s + var(--i) * 0.2s) infinite;
  }
}

@keyframes el-svc-bloom {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes el-svc-pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

@keyframes el-svc-grow {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
}

@keyframes el-svc-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(39, 55, 117, 0);
  }

  50% {
    box-shadow: 0 0 28px 6px rgba(56, 120, 255, 0.35);
  }
}

@keyframes el-svc-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes el-svc-bob {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -6px;
  }
}

/* ============================================================= */
/* 4. MENTAL HEALTH SUBSPECIALTIES — Figma 11306:2358 (1440 x 876) */
/* BG-blue band, 64px padding; heading block 32px above two rows   */
/* of four 295px cards, 20px apart.                                */
/* ============================================================= */
.el-sub {
  padding: 64px 0;
  background: var(--c-bg-blue);
}

.el-sub-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-bottom: 32px;
  text-align: center;
}

.el-sub-title {
  margin: 0;
  color: var(--c-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 35px;
}

.el-sub-title .accent {
  color: var(--c-orange);
}

.el-v2 .el-sub-lead {
  width: 688px;
  max-width: 100%;
  font-size: 16px;
  line-height: 25.2px;
}

.el-sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 295px);
  gap: 20px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.el-sub-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 295px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  filter: drop-shadow(0 12px 15px rgba(39, 55, 117, 0.07));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.el-sub-card:hover {
  filter: drop-shadow(0 18px 24px rgba(39, 55, 117, 0.14));
  transform: translateY(-6px);
}

.el-sub-icon {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

/* Icons Figma sets on an 80px BG-blue disc (the rest carry their own). */
.el-sub-icon--disc {
  border-radius: 50%;
  background: var(--c-bg-blue);
}

.el-sub-icon img {
  flex: none;
  max-width: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Child & Adolescent: 81 x 74.79, pinned to the top of its 80px slot. */
.el-sub-card:nth-child(4) .el-sub-icon {
  align-items: flex-start;
}

.el-sub-card:hover .el-sub-icon img {
  transform: scale(1.08) rotate(-4deg);
}

.el-sub-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
}

.el-sub-card-title {
  margin: 0;
  color: var(--c-blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
}

.el-v2 .el-sub-card-text {
  font-size: 14px;
  line-height: 25px;
}

/* ---------- Motion: plays once the section scrolls in ---------- */
.el-sub.is-armed:not(.is-in) :is(.el-sub-head > *, .el-sub-card) {
  opacity: 0;
}

.el-sub.is-in .el-sub-head > * {
  animation: el-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.el-sub.is-in .el-sub-head > :nth-child(2) {
  animation-delay: 0.1s;
}

/* Cards rise in a wave: row by row, left to right, 70ms apart. */
.el-sub.is-in .el-sub-card {
  animation: el-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.25s + var(--i) * 0.07s) backwards;
}

/* Each icon pops just after its card lands. */
.el-sub.is-in .el-sub-icon {
  animation: el-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.55s + var(--i) * 0.07s) backwards;
}

/* ============================================================= */
/* 5. REVENUE LEAKS — Figma 11306:2362 (1240 x 568 card)           */
/* Three columns, 413 | 414 | 413: navy intro with the art, pink   */
/* "Where the Revenue Leaks", blue "How We Protect Your Revenue".  */
/* ============================================================= */
.el-leak {
  padding: 60px 0;
}

.el-leak-card {
  display: grid;
  grid-template-columns: minmax(0, 413fr) minmax(0, 414fr) minmax(0, 413fr);
  min-height: 568px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
}

.el-leak-col {
  padding: 20px;
}

/* Navy intro: copy from y 37, the 310 x 233 art window at x 30 / y 310. */
.el-leak-col--intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 37px;
  padding-bottom: 25px;
  background: var(--c-blue);
}

.el-leak-bar {
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: var(--c-orange);
}

.el-leak-title {
  margin: 12px 0 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 33.6px;
  letter-spacing: -0.56px;
}

.el-v2 .el-leak-lead {
  margin: 14px 0 42px; /* 42px: Figma's gap down to the art */
  color: #fff;
  font-size: 14px;
  line-height: 25px;
}

/* 310 x 233 window pinned to the column's bottom (Figma y 310 of 568); the
   310px-square art sits 41px up inside it (133.05% tall, -17.6%). */
.el-leak-art {
  position: relative;
  flex: none;
  width: 310px;
  max-width: 100%;
  height: 233px;
  margin: auto 0 0 10px;
  overflow: hidden;
}

.el-leak-art img {
  position: absolute;
  top: -41px;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
}

.el-leak-col--leaks {
  background: #fff0f0;
}

.el-leak-col--protect {
  background: var(--c-bg-blue);
}

.el-leak-col-title {
  margin: 0 0 20px;
  color: var(--c-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 33.6px;
  letter-spacing: -0.56px;
}

/* Figma sets this heading 8px further in than its list (x 28 vs 20). */
.el-leak-col--protect .el-leak-col-title {
  padding-left: 8px;
}

.el-leak-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.el-leak-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.el-leak-icon {
  flex: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.el-leak-item:hover .el-leak-icon {
  transform: scale(1.12);
}

.el-leak-item-title {
  margin: 0 0 4px;
  color: var(--c-blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
}

.el-v2 .el-leak-item-text {
  font-size: 14px;
  line-height: 25px;
}

/* ---------- Motion: plays once the section scrolls in ---------- */
.el-leak.is-armed:not(.is-in) :is(.el-leak-card, .el-leak-col--intro > *, .el-leak-col-title, .el-leak-item) {
  opacity: 0;
}

.el-leak.is-in .el-leak-card {
  animation: el-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

/* Intro copy rises in order, then the art blooms. */
.el-leak.is-in .el-leak-col--intro > * {
  animation: el-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s backwards;
}

.el-leak.is-in .el-leak-col--intro > :nth-child(2) { animation-delay: 0.33s; }
.el-leak.is-in .el-leak-col--intro > :nth-child(3) { animation-delay: 0.41s; }

.el-leak.is-in .el-leak-art {
  animation: el-svc-bloom 0.8s cubic-bezier(0.34, 1.3, 0.64, 1) 0.5s backwards;
}

.el-leak.is-in .el-leak-col-title {
  animation: el-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s backwards;
}

/* Leaks slide in from the left, then each matching fix from the right. */
.el-leak.is-in .el-leak-col--leaks .el-leak-item {
  animation: el-leak-left 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.55s + var(--i) * 0.1s) backwards;
}

.el-leak.is-in .el-leak-col--protect .el-leak-item {
  animation: el-leak-right 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.75s + var(--i) * 0.1s) backwards;
}

.el-leak.is-in .el-leak-icon {
  animation: el-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.8s + var(--i) * 0.1s) backwards;
}

/* Ambient: the art floats gently (translate, so it never fights the bloom). */
@media (prefers-reduced-motion: no-preference) {
  .el-leak-art img {
    animation: el-svc-bob 5s ease-in-out 1.5s infinite;
  }
}

@keyframes el-leak-left {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
}

@keyframes el-leak-right {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
}

/* ============================================================= */
/* 6. PAYERS & EHR INTEGRATIONS — Figma 11289:5408 (1440 x 880)    */
/* Heading 40px above the 580px diagram, benefits bar 40px below.  */
/* The diagram is fluid: side cards pinned left / right (378px),   */
/* the hub centred, connectors stretched to the gaps, so it holds  */
/* its Figma layout from 1240px down to the 1200px breakpoint.     */
/* ============================================================= */
.el-int {
  padding: 20px 0 60px; /* + the leak section's 60px = Figma's 80px gap */
}

.el-int-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.el-int-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 9.069px;
  background: rgba(39, 55, 117, 0.1);
  color: var(--c-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 9.976px;
}

/* Figma capitalizes this heading ("Payers And EHRs"). */
.el-v2 .el-int-title {
  margin: 0;
  color: var(--c-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
  text-transform: capitalize;
}

.el-v2 .el-int-lead {
  width: 812px;
  max-width: 100%;
  font-size: 16px;
  line-height: 25.2px;
}

/* ---------- Diagram (fluid width x 580) ---------- */
.el-int-diagram {
  position: relative;
  height: 580px;
}

.el-int-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  border-radius: 20px;
  background: #fff;
  filter: drop-shadow(0 4px 13px rgba(39, 55, 117, 0.09));
}

.el-int-card--payers {
  top: 45px;
  left: 0;
  width: 378px;
  min-height: 282px;
  padding: 24px;
}

.el-int-card--ehr {
  top: 45px;
  right: 0;
  width: 378px;
}

.el-int-card--pms {
  top: 385px;
  left: 50%;
  width: 686px;
  translate: -50% 0;
}

.el-int-card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.el-int-card-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eef1fb;
}

/* 18 / 23.76 title over a 26 x 3 orange rule, 8.25px below. */
.el-int-card-title {
  margin: 0;
  color: var(--c-blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 23.76px;
}

.el-int-card-title::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-top: 8.25px;
  border-radius: 2px;
  background: var(--c-orange);
}

.el-v2 .el-int-card-text {
  font-size: 12px;
  line-height: 25.2px;
}

.el-int-chips {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Payers: 3 x 2 grid of equal chips, 20px apart. */
.el-int-chips--payers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
  align-items: center;
}

/* Logos: centred rows of fixed-width chips. */
.el-int-chips--logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.el-int-card--pms .el-int-chips--logos {
  justify-content: flex-start;
}

/* Figma's 1px border sits inside its 10px padding: 9px + 1px here, and 15px
   lines, give its 35px (one line) / 50px (two lines) chips. */
.el-int-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border: 1px solid var(--c-bg-blue);
  border-radius: 10px;
  background: #fff;
  color: #273775;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  font-weight: 600;
}

/* --w / --bw / --bh: Figma's chip width and logo box (set per logo in the view);
   --s scales them down on phones. */
.el-int-chip--logo {
  --s: 1;
  width: calc(var(--w) * var(--s));
  height: 45px;
}

.el-int-chip:hover {
  border-color: #dce2f2;
  box-shadow: 0 6px 14px rgba(39, 55, 117, 0.1);
  transform: translateY(-2px);
}

/* Logo window with Figma's crop of the image inside it. */
.el-int-logo {
  position: relative;
  display: block;
  flex: none;
  width: calc(var(--bw) * var(--s, 1));
  height: calc(var(--bh) * var(--s, 1));
  overflow: hidden;
}

/* Phone-only flow arrows between the stacked cards. */
.el-int-arrow {
  display: none;
}

.el-int-logo img {
  position: absolute;
  max-width: none;
}

/* ---------- Hub (216px; 194px dashed disc) ---------- */
.el-int-hub {
  position: absolute;
  top: 44.78px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 216px;
  height: 216px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(39, 55, 117, 0.12);
  translate: -50% 0;
}

.el-int-hub-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 194px;
  height: 194px;
  padding-bottom: 2px;
  border-radius: 50%;
  background: #fcfcfe;
  text-align: center;
}

/* Match the Behavioral Health hub: orange on the right, navy on the left. */
.el-int-hub-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed;
  border-color: var(--c-orange) var(--c-orange) var(--c-blue) var(--c-blue);
  border-radius: 50%;
  rotate: 45deg;
}

.el-int-hub-mark {
  position: relative;
  width: 50px;
  height: 32px;
}

.el-int-hub-mark i {
  position: absolute;
  top: -0.37px;
  left: 0;
  width: 32px;
  height: 32px;
  border: 3px solid var(--c-blue);
  border-radius: 50%;
}

.el-int-hub-mark i + i {
  left: 18px;
  border-color: var(--c-orange);
}

.el-int-hub strong {
  color: var(--c-blue);
  font-size: 19px;
  font-weight: 700;
  line-height: normal;
}

.el-int-hub-inner > span:last-child {
  color: var(--c-text);
  font-size: 11.5px;
  line-height: 17.25px;
}

/* ---------- Connectors (dotted, a dot at each end) ---------- */
/* Each line box runs between a card and the hub (Figma: 15px off the card,
   17px off the hub); the SVG spans it plus its 5.33px end dots. */
.el-int-line {
  position: absolute;
  height: 0;
  pointer-events: none;
}

.el-int-line img {
  position: absolute;
  top: -5.33px;
  left: -5.33px;
  width: calc(100% + 10.667px);
  max-width: none;
  height: 10.6667px;
  rotate: 180deg;
}

.el-int-line--left {
  top: 152px;
  left: 393px;
  right: calc(50% + 125px);
}

.el-int-line--right {
  top: 152px;
  left: calc(50% + 123px);
  right: 395px;
}

/* Down: 102px from the hub (y 272) to the PMS card, on the centre line. */
.el-int-line--down {
  top: 272px;
  left: 50%;
  width: 0;
  height: 102px;
}

.el-int-line--down img {
  top: 45.67px;
  left: -56.33px;
  width: 112.667px;
  rotate: 90deg;
}

.el-int-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(252, 93, 97, 0.18);
  opacity: 0;
  translate: 0 -50%;
}

.el-int-line--down::after {
  top: 8%;
  left: 0;
  translate: -50% 0;
}

/* ---------- Benefits bar ---------- */
.el-int-benefits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0 0;
  padding: 20px 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 15px rgba(39, 55, 117, 0.08);
  list-style: none;
}

.el-int-benefit {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 18px;
  color: var(--c-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

.el-int-benefit-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.15));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.el-int-benefit:hover .el-int-benefit-icon {
  transform: scale(1.12) rotate(-8deg);
}

.el-int-divider {
  flex: none;
  width: 1px;
  height: 43px;
  background: #e5e7eb;
}

/* ---------- Motion: plays once the section scrolls in ---------- */
.el-int.is-armed:not(.is-in) :is(.el-int-head > *, .el-int-hub, .el-int-card, .el-int-line img, .el-int-arrow, .el-int-chip, .el-int-benefit, .el-int-divider) {
  opacity: 0;
}

.el-int.is-in .el-int-head > * {
  animation: el-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.el-int.is-in .el-int-head > :nth-child(2) { animation-delay: 0.08s; }
.el-int.is-in .el-int-head > :nth-child(3) { animation-delay: 0.16s; }

/* Hub first, then the connectors reach out, then each card arrives from its side. */
.el-int.is-in .el-int-hub {
  animation: el-svc-bloom 0.8s cubic-bezier(0.34, 1.3, 0.64, 1) 0.25s backwards;
}

.el-int.is-in .el-int-line img {
  animation: el-svc-grow 0.5s ease-out 0.7s backwards;
}

.el-int.is-in .el-int-arrow {
  animation: el-rise 0.5s ease-out 0.7s backwards;
}

.el-int.is-in .el-int-card--payers {
  animation: el-leak-left 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.85s backwards;
}

.el-int.is-in .el-int-card--ehr {
  animation: el-leak-right 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.95s backwards;
}

.el-int.is-in .el-int-card--pms {
  animation: el-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 1.05s backwards;
}

.el-int.is-in .el-int-chip {
  animation: el-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) calc(1.2s + var(--i) * 0.06s) backwards;
}

.el-int.is-in :is(.el-int-benefit, .el-int-divider) {
  animation: el-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 1.3s backwards;
}

.el-int.is-in .el-int-benefit {
  animation-delay: calc(1.3s + var(--i) * 0.1s);
}

/* Ambient: the hub's dashed ring turns slowly and its two rings drift together. */
@media (prefers-reduced-motion: no-preference) {
  .el-int-hub-inner::before {
    animation: el-int-spin 24s linear infinite;
  }

  .el-int.is-in .el-int-line--right::after,
  .el-int.is-in .el-int-line--down::after {
    animation: el-int-pulse-forward 2.4s 2s ease-in-out infinite;
  }

  .el-int.is-in .el-int-line--left::after {
    animation: el-int-pulse-reverse 2.4s 2.4s ease-in-out infinite;
  }

  .el-int.is-in .el-int-line--down::after {
    animation-name: el-int-pulse-down;
    animation-delay: 2.8s;
  }

  .el-int-hub-mark i {
    animation: el-int-drift 3.6s ease-in-out infinite;
  }

  .el-int-hub-mark i + i {
    animation-direction: reverse;
  }
}

@keyframes el-int-spin {
  to {
    rotate: 405deg;
  }
}

@keyframes el-int-drift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 3px 0;
  }
}

@keyframes el-int-pulse-forward {
  0% { opacity: 0; left: 8%; }
  10%, 80% { opacity: 1; }
  100% { opacity: 0; left: 88%; }
}

@keyframes el-int-pulse-reverse {
  0% { opacity: 0; left: 88%; }
  10%, 80% { opacity: 1; }
  100% { opacity: 0; left: 8%; }
}

@keyframes el-int-pulse-down {
  0% { opacity: 0; top: 8%; }
  10%, 80% { opacity: 1; }
  100% { opacity: 0; top: 88%; }
}

/* ============================================================= */
/* 7. FAQs — Figma 11289:5851 (1240 x 672)                         */
/* Heading 20px above the row: the 459 x 426 image (centred on a   */
/* 30% decoration) beside the 720px accordion, items 22px apart.   */
/* ============================================================= */
.el-faq {
  padding: 60px 0 40px; /* Figma's 40px inside + the 20px left of the 80px gap */
}

.el-v2 .el-faq-title {
  margin: 0 0 20px;
  color: var(--c-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 45px;
  text-align: center;
  text-transform: capitalize;
}

.el-faq-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.el-faq-art {
  position: relative;
  flex: none;
  width: 459px;
  height: 426px;
}

.el-faq-deco {
  position: absolute;
  top: 49.26px;
  left: 50%;
  width: 357px;
  height: 328px;
  max-width: none;
  opacity: 0.3;
  translate: -50% 0;
}

/* 312 x 426 window at x 70; the 360px photo shown 165% x 115%, shifted up-left. */
.el-faq-photo {
  position: absolute;
  top: -0.37px;
  left: 70px;
  width: 312px;
  height: 426px;
  overflow: hidden;
}

.el-faq-photo img {
  position: absolute;
  top: -15.33%;
  left: -33.33%;
  width: 165.06%;
  max-width: none;
  height: 115.33%;
}

/* ---------- Accordion ---------- */
.el-faq-list {
  display: flex;
  flex: 0 1 720px;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

/* Closed: navy, white question; open: BG blue, bold dark question + answer. */
.el-faq-item {
  overflow: hidden;
  border: 1px solid var(--c-blue);
  border-radius: 4px;
  background: var(--c-blue);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.el-faq-item.is-open {
  border-color: #e5e7eb;
  background: var(--c-bg-blue);
}

.el-faq-q {
  margin: 0;
}

.el-faq-q button {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 9px 10.99px 10px 11px;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 28.8px;
  letter-spacing: -0.4px;
  text-align: left;
  cursor: pointer;
}

.el-faq-item.is-open .el-faq-q button {
  align-items: flex-start;
  padding-bottom: 0;
  color: var(--c-text);
  font-weight: 700;
  letter-spacing: 0;
}

.el-faq-q button:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: -2px;
}

.el-faq-icon {
  flex: none;
  transition: transform 0.3s ease;
}

.el-faq-item:not(.is-open) .el-faq-q button:hover .el-faq-icon {
  transform: rotate(90deg);
}

.el-faq-item.is-open .el-faq-icon--plus,
.el-faq-item:not(.is-open) .el-faq-icon--minus {
  display: none;
}

/* Height animates with grid rows (0fr -> 1fr). The answer stops short of the
   icon column, as in Figma (674px of 720). */
.el-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.el-faq-item.is-open .el-faq-a {
  grid-template-rows: 1fr;
}

.el-faq-a-inner {
  overflow: hidden;
}

/* Figma's 11px bottom inset includes the 1px border. */
.el-v2 .el-faq-a-inner p {
  padding: 0 35px 10px 11px;
  color: var(--c-text);
  font-size: 16px;
  line-height: 28.8px;
}

/* ---------- Motion: plays once the section scrolls in ---------- */
.el-faq.is-armed:not(.is-in) :is(.el-faq-title, .el-faq-art, .el-faq-item) {
  opacity: 0;
}

.el-faq.is-in .el-faq-title {
  animation: el-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.el-faq.is-in .el-faq-art {
  animation: el-leak-left 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s backwards;
}

.el-faq.is-in .el-faq-item {
  animation: el-leak-right 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.3s + var(--i) * 0.08s) backwards;
}

/* Ambient: the decoration turns slowly behind the photo. */
@media (prefers-reduced-motion: no-preference) {
  .el-faq-deco {
    animation: el-faq-sway 9s ease-in-out infinite alternate;
  }
}

@keyframes el-faq-sway {
  from {
    rotate: -4deg;
  }

  to {
    rotate: 4deg;
  }
}

/* ============================================================= */
/* 2. COST CALCULATOR — Figma 11284:1265                           */
/* ============================================================= */
.el-calc {
  position: relative;
  padding: 60px 0 60px;
  overflow: hidden;
}

/* image 14: 354 x 204 at x 941, the artwork 122.88% wide and offset inside it. */
.el-calc-art {
  position: absolute;
  top: 20px;
  left: calc(50% + 221px);
  width: 354px;
  height: 204px;
  overflow: hidden;
  pointer-events: none;
}

.el-calc-art img {
  position: absolute;
  top: -4.53%;
  left: -11.58%;
  width: 122.88%;
  max-width: none;
  height: 106.62%;
}

.el-calc .container-page {
  position: relative;
}

/* ---------- Heading row ---------- */
.el-head {
  display: flex;
  gap: 34px;
  align-items: flex-start;
  margin-bottom: 46px;
}

.el-head-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 78.5px;
  height: 78.5px;
  border-radius: 50%;
  background: #fff;
  filter: drop-shadow(0 1.402px 1.402px rgba(0, 0, 0, 0.3)) drop-shadow(0 2.804px 2.1px rgba(0, 0, 0, 0.15));
}

.el-head-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 655px;
  max-width: 100%;
}

.el-head-title {
  margin: 0;
  color: var(--c-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.25px;
}

.el-head-title .accent {
  color: var(--c-orange);
}

.el-head-lead {
  font-size: 16px;
  line-height: normal;
}

/* ---------- Layout ---------- */
/* Equal-height columns: both start at Figma's y 204 and end together; when the
   form grows (validation message) the expert card stretches to match. */
.el-layout {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.el-form {
  display: flex;
  flex: 0 1 880px;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.el-side {
  display: flex;
  flex: 0 0 336px;
  flex-direction: column;
  gap: 24px;
}

/* ---------- Step cards ---------- */
.el-card {
  padding: 23px;
  border: 1px solid var(--c-bg-blue);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
}

.el-card-head {
  min-height: 38px; /* Figma's title block: 33.6px line + 4px rule, rounded to 38 */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

/* 24 / 33.6 title over a 52 x 4 orange rule. */
.el-card-title {
  margin: 0;
  color: var(--c-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 33.6px;
  letter-spacing: -0.56px;
}

.el-card-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: var(--c-orange);
}

.el-card-step {
  margin-top: 8px;
  color: var(--c-text);
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

/* Two rows of two fields: 397 | 411 wide, 24px apart both ways. */
.el-fields {
  display: grid;
  grid-template-columns: minmax(0, 397fr) minmax(0, 411fr);
  gap: 24px;
}

.el-field {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.el-field-icon {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
}

/* The exported SVG holds its own disc and shadow: 58.67px, nudged up-left. */
.el-field-icon--art img {
  position: absolute;
  top: -4px;
  left: -5.333px;
  max-width: none;
}

.el-field-icon--disc {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.333px 5.333px rgba(0, 0, 0, 0.25);
}

.el-field-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.el-label {
  margin: 0;
  padding: 1px 0;
  color: var(--c-blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.el-input,
.el-money {
  width: 100%;
  height: 40px;
  border: 1px solid #e2e5f0;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.el-input {
  padding: 0 11px;
  color: var(--c-text);
  font: inherit;
  font-size: 14px;
}

.el-input::placeholder,
.el-money-input::placeholder {
  color: #9a9a9f;
  opacity: 1;
}

.el-input:focus,
.el-money:focus-within {
  border-color: var(--c-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 55, 117, 0.12);
}

.el-input.is-invalid,
.el-money.is-invalid {
  border-color: var(--c-orange);
}

/* Keep Chrome's autofill from tinting the fields blue; Figma's inputs stay white. */
.el-input:-webkit-autofill,
.el-input:-webkit-autofill:hover,
.el-input:-webkit-autofill:focus,
.el-money-input:-webkit-autofill,
.el-money-input:-webkit-autofill:hover,
.el-money-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 40px #fff inset;
  -webkit-text-fill-color: var(--c-text);
  caret-color: var(--c-text);
  transition: background-color 9999s ease-out 0s;
}

/* ---------- Step 2: monthly collections ---------- */
.el-monthly {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.el-monthly-row {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.el-monthly-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 63px;
  height: 63px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.el-monthly-field {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.el-money {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 5px 0 11px;
}

.el-money-sign {
  color: var(--c-blue);
  font-size: 16px;
  font-weight: 700;
}

.el-money-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-text);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.el-money-help {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef0f7;
  color: var(--c-blue);
  font-size: 14px;
  font-weight: 600;
  cursor: help;
}

.el-money-tip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 2;
  width: 240px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--c-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.el-money-help:hover .el-money-tip,
.el-money-help:focus .el-money-tip {
  opacity: 1;
  transform: none;
}

.el-submit {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 384px;
  max-width: 100%;
  height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--c-orange);
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.el-submit:hover,
.el-submit:focus-visible {
  background: #e94d51;
}

.el-submit:disabled {
  cursor: default;
  opacity: 0.85;
}

.el-submit-label {
  display: flex;
  gap: 14px;
  align-items: center;
}

.el-form-status {
  font-size: 14px;
  text-align: center;
}

.el-v2 .el-form-status.is-error {
  color: var(--c-orange);
}

/* ---------- Estimated cost ---------- */
.el-result {
  height: 352px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(to right, var(--c-blue) 29.808%, var(--c-orange));
}

.el-card-head--light .el-card-title {
  color: #fff;
}

/* 240px white ring, 7.2px stroke and 7.2px padding, centred under the title;
   the amount block inside keeps Figma's 21.6px side padding. */
.el-result-ring {
  display: flex;
  flex-direction: column;
  gap: 4.134px;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
  margin: 2px auto 0;
  position: relative;
  padding: 7.2px 28.8px;
  border: 7.2px solid transparent;
  border-radius: 50%;
  text-align: center;
}

/* The white stroke is drawn here so it can sweep like the main calculator's ring:
   --el-progress (0-100, set by script-v2.js) is how much of it is solid white; the
   rest shows as a faint track. It rests at 100 (Figma's full white ring). */
.el-result-ring::before {
  content: "";
  position: absolute;
  inset: -7.2px;
  border-radius: 50%;
  background: conic-gradient(#fff calc(var(--el-progress, 100) * 1%), rgba(255, 255, 255, 0.25) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7.2px), #000 calc(100% - 7.2px + 0.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7.2px), #000 calc(100% - 7.2px + 0.5px));
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .el-result-ring::before {
    --el-progress: 100 !important;
  }
}

/* script-v2.js scales the font down (from 62.4px) when a total is too wide for the ring. */
.el-v2 .el-result-amount {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 62.4px;
  font-weight: 700;
  line-height: 62.4px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.el-v2 .el-result-label {
  color: #fff;
  font-size: 16.8px;
  line-height: 22.68px;
}

/* ---------- Talk to an expert ---------- */
/* Figma's 183px is the minimum; it grows with the form column (e.g. when the
   validation message shows) so both columns keep a shared top and bottom edge. */
.el-expert {
  flex: 1 0 auto;
  min-height: 183px;
  padding: 23px 23px 16px; /* Figma: the 34px arrow ends 17px above the bottom edge */
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: var(--c-bg-blue);
}

.el-expert-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.el-expert-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.25));
}

.el-expert-title {
  margin: 0 0 4px;
  padding: 1px 0;
  color: var(--c-orange);
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
}

.el-v2 .el-expert-text {
  font-size: 14px;
  line-height: 19.5px;
}

.el-expert-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 16px 0 0 62px;
  border-radius: 50%;
  background: var(--c-orange);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.el-expert-btn:hover,
.el-expert-btn:focus-visible {
  background: #e04a4f;
  transform: translateX(2px);
}

/* ============================================================= */
/* RESPONSIVE                                                      */
/* ============================================================= */
@media (max-width: 1299px) {
  .el-calc-art {
    left: auto;
    right: 0;
  }
}

@media (max-width: 1199px) {
  .el-calc-art {
    display: none;
  }

  .el-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .el-form {
    flex-basis: auto;
  }

  .el-side {
    flex-direction: row;
    flex-basis: auto;
  }

  .el-result,
  .el-expert {
    flex: 1;
  }

  .el-expert {
    height: auto;
    align-self: flex-start;
  }
}

@media (max-width: 767px) {
  .el-calc {
    padding: 32px 0 40px;
  }

  .el-head {
    gap: 16px;
    margin-bottom: 28px;
  }

  .el-head-icon {
    width: 56px;
    height: 56px;
  }

  .el-head-icon img {
    width: 28px;
    height: 28px;
  }

  .el-head-title {
    font-size: 24px;
  }

  .el-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .el-card {
    padding: 18px;
  }

  .el-card-head {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
  }

  .el-card-step {
    margin-top: 0;
    font-size: 14px;
  }

  .el-card-title {
    font-size: 20px;
    line-height: 28px;
  }

  .el-monthly-icon {
    width: 48px;
    height: 48px;
  }

  .el-submit {
    gap: 12px;
    padding: 0 16px;
    font-size: 16px;
    white-space: nowrap;
  }

  .el-submit-label {
    gap: 10px;
  }

  .el-side {
    flex-direction: column;
  }

  .el-expert {
    align-self: stretch;
  }
}

/* ---------- Partner hero: tablet and phone ---------- */
@media (max-width: 1199px) {
  .el-hero {
    min-height: 0;
    padding: 56px 0;
  }

  .el-hero-layout {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }

  .el-hero-copy {
    flex-basis: auto;
    padding-top: 0;
  }

  .el-hero-copy > :not(.el-hero-cta) {
    max-width: 640px;
  }

  .el-partner {
    flex-basis: auto;
    width: 100%;
    max-width: 540px;
    min-height: 0;
    margin: 0 auto;
  }

  /* The wash covers the whole width once the card stacks below. */
  .el-hero-bg::after {
    background: linear-gradient(to left, rgba(239, 242, 255, 0.55) 0%, var(--c-bg-blue) 70%);
  }
}

@media (max-width: 767px) {
  .el-hero {
    padding: 40px 0 48px;
  }

  .el-hero-title {
    font-size: 30px;
    line-height: 38px;
  }

  .el-hero-sub {
    font-size: 20px;
    line-height: 32px;
  }

  .el-hero-list li {
    align-items: flex-start;
    line-height: 24px;
  }

  /* Two lines on phones: the button grows instead of squeezing the copy. */
  .el-hero-cta {
    gap: 12px;
    height: auto;
    min-height: 50px;
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
  }

  .el-pf-submit {
    gap: 12px;
    font-size: 16px;
    white-space: nowrap;
  }

  .el-partner {
    padding: 20px;
    border-radius: 28px;
  }

  .el-partner-title {
    font-size: 26px;
    line-height: 32px;
  }

  .el-pf-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .el-partner-form {
    margin-right: 0;
    margin-left: 0;
  }
}

/* ---------- Services diagram + subspecialties: tablet and phone ---------- */
/* The 724px diagram keeps its Figma geometry and scales down as a unit. */
/* 1200-1439px (e.g. 1280 laptops): the four 295px columns shrink to fit the
   container instead of dropping to two rows of two. */
@media (max-width: 1439px) {
  .el-sub-grid {
    grid-template-columns: repeat(4, minmax(0, 295px));
  }

  /* Cards in a row still match heights (grid stretch); text sets the height. */
  .el-sub-card {
    min-height: 0;
  }
}

@media (max-width: 1199px) {
  .el-sub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .el-svc {
    min-height: 0;
    padding-bottom: 48px;
  }

  .el-svc-diagram {
    margin-bottom: -109px; /* 724 * (1 - 0.85): the space the scale frees up */
    transform: scale(0.85);
    transform-origin: top center;
  }
}

@media (max-width: 767px) {
  .el-svc {
    padding-top: 40px;
  }

  .el-svc-title,
  .el-sub-title {
    font-size: 26px;
    line-height: 32px;
  }

  /* Phones: the hub and the eight circles become a stacked layout. */
  .el-svc-diagram {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    justify-items: center;
    width: auto;
    height: auto;
    margin: 32px 0 0;
    transform: none;
  }

  .el-svc-ring,
  .el-svc-line {
    display: none;
  }

  .el-svc-brain {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1 / -1;
    width: 220px;
    height: 220px;
    border-width: 8px;
  }

  .el-svc-brain img {
    top: -40px;
  }

  .el-svc-list {
    display: contents;
  }

  .el-svc-item {
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 150px;
    height: 150px;
  }

  .el-sub {
    padding: 48px 0;
  }

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

  .el-sub-card {
    min-height: 0;
  }
}

/* ---------- Revenue leaks: tablet and phone ---------- */
/* Under 1200px the intro spans the top (copy beside the art), with the two
   lists side by side below; phones stack all three. */
@media (max-width: 1199px) {
  .el-leak-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .el-leak-col--intro {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 310px;
    grid-template-rows: auto auto 1fr;
    column-gap: 32px;
    padding-bottom: 20px;
  }

  .el-leak-col--intro > :not(.el-leak-art) {
    grid-column: 1;
  }

  .el-v2 .el-leak-lead {
    margin-bottom: 0;
  }

  .el-leak-art {
    grid-row: 1 / -1;
    grid-column: 2;
    align-self: center;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .el-leak {
    padding: 40px 0;
  }

  .el-leak-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .el-leak-col--intro {
    display: flex;
  }

  .el-v2 .el-leak-lead {
    margin-bottom: 24px;
  }

  .el-leak-art {
    align-self: center;
    margin: 0;
  }

  .el-leak-title,
  .el-leak-col-title {
    font-size: 21px;
    line-height: 29px;
  }

  .el-leak-col--protect .el-leak-col-title {
    padding-left: 0;
  }
}

/* ---------- Integrations: tablet and phone ---------- */
/* Under 1200px the diagram becomes a stack: hub, then the payer and EHR cards
   side by side, then the PMS card; the connectors drop out. */
@media (max-width: 1199px) {
  .el-int-diagram {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    height: auto;
  }

  .el-int-line {
    display: none;
  }

  .el-int-hub {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1 / -1;
    justify-self: center;
    translate: none;
  }

  .el-int-card,
  .el-int-card--payers,
  .el-int-card--ehr,
  .el-int-card--pms {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
    translate: none;
  }

  .el-int-card--pms {
    grid-column: 1 / -1;
  }

  .el-int-card--pms .el-int-chips--logos {
    justify-content: center;
  }

  .el-int-benefits {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 0;
  }
}

/* Phone — Figma 11388:379 (400 wide): heading, then one column flowing
   payers ↓ hub ↓ EHR ↓ PMS (16px apart), then the benefits as a list; 32px
   between the three blocks. */
@media (max-width: 767px) {
  .el-int {
    padding: 20px 0 40px;
  }

  .el-int .container-page {
    --page-gutter: 16px;
  }

  .el-int-head {
    gap: 12px;
    margin-bottom: 32px;
  }

  .el-int-pill {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    line-height: 14px;
  }

  .el-v2 .el-int-title {
    font-size: 24px;
    line-height: 32px;
  }

  .el-v2 .el-int-lead {
    font-size: 14px;
    line-height: 20px;
  }

  .el-int-diagram {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .el-int-card--payers { order: 1; }
  .el-int-arrow--a { order: 2; }
  .el-int-hub { order: 3; }
  .el-int-arrow--b { order: 4; }
  .el-int-card--ehr { order: 5; }
  .el-int-arrow--c { order: 6; }
  .el-int-card--pms { order: 7; }

  .el-int-arrow {
    display: block;
    flex: none;
  }

  .el-int-arrow img {
    display: block;
  }

  .el-int-card,
  .el-int-card--payers,
  .el-int-card--ehr,
  .el-int-card--pms {
    width: 100%;
    min-height: 0;
  }

  /* Payers keeps the desktop card (26 x 24 padding, 52px icon); EHR and PMS
     are the compact bordered variant. */
  .el-int-card--payers {
    padding: 26px 24px;
  }

  .el-v2 .el-int-card--payers .el-int-card-text {
    line-height: 22px;
  }

  .el-int-card--ehr,
  .el-int-card--pms {
    gap: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    filter: drop-shadow(0 4px 10px rgba(39, 55, 117, 0.09));
  }

  .el-int-card--ehr .el-int-card-head,
  .el-int-card--pms .el-int-card-head {
    gap: 10px;
    align-items: center;
  }

  .el-int-card--ehr .el-int-card-icon,
  .el-int-card--pms .el-int-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .el-int-card--ehr .el-int-card-icon img {
    width: 24px;
    height: 24px;
  }

  .el-int-card--pms .el-int-card-icon img {
    width: 20px;
    height: 20px;
  }

  .el-int-card--ehr .el-int-card-title,
  .el-int-card--pms .el-int-card-title {
    font-size: 16px;
    line-height: normal;
  }

  .el-int-card--ehr .el-int-card-title::after,
  .el-int-card--pms .el-int-card-title::after {
    width: 20px;
    margin-top: 2px;
    border-radius: 1.5px;
  }

  .el-v2 .el-int-card--ehr .el-int-card-text,
  .el-v2 .el-int-card--pms .el-int-card-text {
    line-height: 20px;
  }

  .el-int-chips--payers {
    gap: 10px 20px;
  }

  .el-int-chips--payers .el-int-chip {
    min-height: 50px;
    padding: 9px 4px;
    font-size: 10px;
  }

  .el-int-chips--payers .el-int-chip:nth-child(-n + 3) {
    min-height: 56px;
  }

  /* EHR logos: Figma's chips at 0.8 (111 x 36), 16px apart, rows 12px apart. */
  .el-int-card--ehr .el-int-chips--logos {
    gap: 16px;
  }

  .el-int-card--ehr .el-int-chip--logo {
    --s: 0.8;
    height: 36px;
    padding: 7px;
    border-radius: 8px;
  }

  /* PMS logos: two rows of two, 94 x 37 chips 20px apart, rows 8px apart. */
  .el-int-card--pms .el-int-chips--logos {
    max-width: 208px;
    margin: 0 auto;
    gap: 8px 20px;
  }

  .el-int-card--pms .el-int-chip--logo {
    --s: 0.67;
    width: 94px;
    height: 37px;
    padding: 5px;
    border-radius: 6px;
  }

  /* Hub: a single 180px dashed disc. */
  .el-int-hub {
    width: 180px;
    height: 180px;
    box-shadow: 0 4px 10px rgba(39, 55, 117, 0.12);
  }

  .el-int-hub-inner {
    width: 180px;
    height: 180px;
    gap: 4px;
    padding: 16px;
    background: #fff;
  }

  .el-int-hub-mark {
    width: 38px;
    height: 24px;
  }

  .el-int-hub-mark i {
    top: 0;
    width: 24px;
    height: 24px;
    border-width: 2.25px;
  }

  .el-int-hub-mark i + i {
    left: 14px;
  }

  .el-int-hub strong {
    font-size: 15px;
  }

  .el-int-hub-inner > span:last-child {
    font-size: 10px;
    line-height: 14px;
  }

  /* Benefits: a bordered list, items 12px apart with a rule between. */
  .el-int-benefits {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: stretch;
    margin-top: 32px;
    padding: 16px;
    border: 1px solid #e5e7eb;
  }

  .el-int-benefit {
    padding: 0;
    font-weight: 500;
    white-space: normal;
  }

  .el-int-benefit-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.15));
  }

  .el-int-benefit-icon img {
    width: 18px;
    height: 18px;
  }

  .el-int-divider {
    width: 100%;
    height: 1px;
  }
}

/* Narrow phones (320–379px): tighten the payer grid so two-line labels fit. */
@media (max-width: 379px) {
  .el-int-card--payers {
    padding: 22px 16px;
  }

  .el-int-chips--payers {
    column-gap: 8px;
  }
}

/* ---------- FAQs: tablet and phone ---------- */
@media (max-width: 1199px) {
  .el-faq-art {
    width: 340px;
    height: 426px;
  }

  .el-faq-photo {
    left: 14px;
  }
}

@media (max-width: 991px) {
  .el-faq-art {
    display: none;
  }

  .el-faq-list {
    flex-basis: 100%;
  }
}

@media (max-width: 767px) {
  .el-faq {
    padding: 40px 0;
  }

  .el-v2 .el-faq-title {
    font-size: 26px;
    line-height: 34px;
  }

  .el-faq-q button {
    font-size: 15px;
    line-height: 24px;
  }

  .el-v2 .el-faq-a-inner p {
    padding-right: 11px;
    font-size: 15px;
    line-height: 26px;
  }
}

/* Small phones: the $ disc gives its width to the collections input. */
@media (max-width: 479px) {
  .el-monthly-icon {
    display: none;
  }
}
