/* Keep the care-process phone art from sinking below the cards on wide or zoomed viewports. */
.process-quiz .process-visual.has-process-image img,
.process-journey .process-visual.has-process-image img {
  position: absolute;
  bottom: auto;
  width: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.process-quiz .process-visual.has-process-image img {
  top: clamp(0px, 1.5vw, 28px);
  left: 34%;
  height: clamp(315px, 24vw, 430px);
  transform: translateX(-50%);
}

.process-journey .process-visual.has-process-image img {
  top: clamp(36px, 4.4vw, 76px);
  left: 50%;
  height: clamp(290px, 22vw, 390px);
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .process-quiz .process-visual.has-process-image img {
    top: clamp(0px, 3vw, 22px);
    height: clamp(315px, 56vw, 430px);
  }

  .process-journey .process-visual.has-process-image img {
    top: clamp(34px, 8vw, 70px);
    height: clamp(285px, 52vw, 390px);
  }
}

@media (max-width: 420px) {
  .process-quiz .process-visual.has-process-image img {
    left: 36%;
    height: 300px;
  }

  .process-journey .process-visual.has-process-image img {
    top: 48px;
    height: 275px;
  }
}

/* Three evenly balanced pricing cards after removing the oral medication path. */
.pricing-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1080px;
  margin-inline: auto;
}

.pricing-card-grid > .pricing-card:nth-child(2) {
  background:
    radial-gradient(circle at 50% 38%, rgba(220, 236, 218, 0.55) 0 28%, transparent 29%),
    linear-gradient(180deg, #ffffff, #f6fbf8);
}

.pricing-card-grid > .pricing-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, #fafafa);
}

.pricing-trust-row {
  max-width: 1080px;
}

@media (max-width: 1120px) {
  .pricing-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .pricing-card-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

@media (max-width: 640px) {
  .pricing-card-grid {
    display: flex !important;
    max-width: none;
  }
}

.hero-redesign .hero-shell {
  position: relative;
}

.hero-patient-count {
  position: absolute;
  top: 52px;
  left: 0;
  z-index: 1;
  width: min(430px, 100%);
  margin: 0;
  color: #111827;
  font-size: clamp(0.96rem, 1vw, 1.05rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.hero-patient-count strong {
  font-weight: 900;
}

@media (max-width: 860px) {
  .hero-patient-count {
    position: static;
    order: -1;
    width: 100%;
    margin: 0;
    font-size: clamp(0.96rem, 3.8vw, 1.08rem);
    text-align: center;
  }
}

.customer-proof-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 8vw, 122px) 0 clamp(58px, 7vw, 98px);
  background:
    radial-gradient(circle at 50% 53%, rgba(228, 241, 236, 0.78) 0 9%, rgba(255, 255, 255, 0.92) 33%, #ffffff 68%),
    #ffffff;
  color: #060807;
}

.customer-proof-shell {
  max-width: min(1280px, calc(100% - 40px));
  text-align: center;
}

.customer-proof-kicker {
  margin: 0 0 6px;
  color: #4a433d;
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 900;
  line-height: 1.2;
}

.customer-proof-stars {
  display: flex;
  justify-content: center;
  gap: clamp(9px, 1.1vw, 15px);
  margin-bottom: clamp(16px, 2vw, 24px);
  color: #d8a052;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1;
}

.customer-proof-section h2 {
  max-width: 980px;
  margin: 0 auto 12px;
  color: #050807;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 5.3vw, 4.75rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.customer-proof-section h2 span {
  color: #07897a;
}

.customer-proof-verified,
.customer-proof-eligible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  color: #17211f;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 850;
  line-height: 1.2;
}

.customer-proof-verified svg,
.customer-proof-eligible svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  padding: 3px;
  color: #ffffff;
  background: #07897a;
  border-radius: 50%;
  stroke-width: 3;
}

.customer-proof-stage {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(260px, 380px) minmax(230px, 1fr);
  align-items: center;
  gap: clamp(24px, 4.8vw, 74px);
  margin-top: clamp(44px, 6vw, 78px);
}

.customer-proof-notes {
  display: grid;
  align-content: space-around;
  gap: clamp(36px, 4.9vw, 64px);
  min-height: clamp(430px, 44vw, 610px);
  text-align: left;
}

.customer-proof-notes--left .customer-proof-note {
  margin-left: auto;
}

.customer-proof-note {
  max-width: 315px;
}

.customer-proof-note > span {
  display: block;
  height: 20px;
  color: #c8ced5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 0.68;
}

.customer-proof-note p {
  margin: 0 0 12px;
  color: #8f98a3;
  font-size: clamp(1.06rem, 1.35vw, 1.34rem);
  font-weight: 900;
  line-height: 1.08;
}

.customer-proof-note small {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #8f98a3;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.05;
}

.customer-proof-note small svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  padding: 2px;
  color: #ffffff;
  background: #98a1ab;
  border-radius: 50%;
  stroke-width: 3;
}

.customer-proof-vial {
  position: relative;
  display: grid;
  min-height: clamp(380px, 42vw, 545px);
  margin: 0;
  place-items: center;
}

.customer-proof-vial::before {
  position: absolute;
  inset: 2% -18%;
  z-index: -1;
  content: "";
  background: radial-gradient(circle, rgba(236, 247, 242, 0.95) 0 35%, rgba(236, 247, 242, 0) 69%);
  border-radius: 999px;
}

.customer-proof-vial .Sirv {
  display: block;
  width: min(345px, 82vw);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 24px 32px rgba(11, 54, 48, 0.12));
}

.customer-proof-eligible {
  margin-top: clamp(24px, 3.5vw, 42px);
}

.customer-proof-eligible strong {
  font-weight: 950;
}

@media (max-width: 980px) {
  .customer-proof-stage {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .customer-proof-vial {
    order: -1;
    min-height: 0;
  }

  .customer-proof-vial .Sirv {
    width: min(300px, 78vw);
  }

  .customer-proof-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    min-height: 0;
  }

  .customer-proof-notes--left .customer-proof-note {
    margin-left: 0;
  }

  .customer-proof-note {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .customer-proof-section {
    padding: 52px 0 58px;
  }

  .customer-proof-shell {
    max-width: min(100% - 28px, 1280px);
  }

  .customer-proof-section h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .customer-proof-notes {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .customer-proof-note p {
    font-size: 1.02rem;
  }

  .customer-proof-vial .Sirv {
    width: min(260px, 76vw);
  }
}

@media (max-width: 640px) {
  .customer-proof-section {
    padding: 50px 0 54px;
    background:
      radial-gradient(circle at 50% 55%, rgba(232, 244, 239, 0.82) 0 18%, rgba(255, 255, 255, 0.95) 48%, #ffffff 78%),
      #ffffff;
  }

  .customer-proof-shell {
    position: relative;
    max-width: min(100% - 28px, 392px);
  }

  .customer-proof-kicker {
    margin-bottom: 10px;
    font-size: 0.92rem;
  }

  .customer-proof-stars {
    gap: 7px;
    margin-bottom: 16px;
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }

  .customer-proof-section h2 {
    max-width: 360px;
    margin-bottom: 18px;
    font-size: clamp(1.9rem, 8.7vw, 2.38rem);
    line-height: 1.02;
  }

  .customer-proof-verified {
    margin-bottom: 24px;
  }

  .customer-proof-stage {
    position: relative;
    display: grid;
    min-height: 500px;
    margin-top: 0;
    overflow: hidden;
    place-items: center;
  }

  .customer-proof-vial {
    z-index: 2;
    order: 0;
    width: 100%;
    min-height: 0;
    pointer-events: none;
  }

  .customer-proof-vial::before {
    inset: 12% 4%;
    background: radial-gradient(circle, rgba(236, 247, 242, 0.96) 0 34%, rgba(236, 247, 242, 0) 70%);
  }

  .customer-proof-vial .Sirv {
    width: min(240px, 68vw);
    filter: drop-shadow(0 28px 34px rgba(11, 54, 48, 0.14));
    transform: scale(0.8);
  }

  .customer-proof-notes {
    position: absolute;
    inset: 16px -36px 8px;
    z-index: 1;
    display: block;
    min-height: 0;
    pointer-events: none;
    text-align: left;
  }

  .customer-proof-notes--left .customer-proof-note,
  .customer-proof-note {
    position: absolute;
    max-width: 190px;
    margin: 0;
  }

  .customer-proof-note > span {
    display: none;
  }

  .customer-proof-note p {
    margin-bottom: 10px;
    color: rgba(143, 152, 163, 0.28);
    font-size: clamp(1rem, 4.4vw, 1.18rem);
    font-weight: 900;
    line-height: 1.08;
  }

  .customer-proof-note small {
    gap: 6px;
    color: rgba(143, 152, 163, 0.24);
    font-size: 0.72rem;
    font-weight: 850;
  }

  .customer-proof-note small svg {
    color: #ffffff;
    background: rgba(143, 152, 163, 0.24);
  }

  .customer-proof-notes--left .customer-proof-note:nth-child(1) {
    top: 16px;
    left: -18px;
    text-align: right;
  }

  .customer-proof-notes--left .customer-proof-note:nth-child(2) {
    top: 176px;
    left: -28px;
    text-align: right;
  }

  .customer-proof-notes--left .customer-proof-note:nth-child(3) {
    bottom: 48px;
    left: -20px;
    text-align: right;
  }

  .customer-proof-notes--right .customer-proof-note:nth-child(1) {
    top: 76px;
    right: -22px;
  }

  .customer-proof-notes--right .customer-proof-note:nth-child(2) {
    top: 220px;
    right: -20px;
  }

  .customer-proof-notes--right .customer-proof-note:nth-child(3) {
    right: -12px;
    bottom: 72px;
  }

  .customer-proof-eligible {
    margin-top: 16px;
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .customer-proof-stage {
    min-height: 468px;
  }

  .customer-proof-vial .Sirv {
    width: min(228px, 68vw);
  }

  .customer-proof-notes {
    inset: 10px -44px 2px;
  }

  .customer-proof-note {
    max-width: 178px;
  }

  .customer-proof-note p {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .customer-proof-section {
    --proof-vial-y: 0px;
    --proof-vial-tilt: 0deg;
  }

  .customer-proof-vial {
    transform: translate3d(0, var(--proof-vial-y), 0) rotate(var(--proof-vial-tilt));
    transition: transform 80ms linear;
    will-change: transform;
  }

  .customer-proof-note {
    animation: customer-proof-note-pulse 7.2s ease-in-out infinite;
    transform-origin: center;
    will-change: opacity, transform;
  }

  .customer-proof-notes--left .customer-proof-note:nth-child(1) {
    animation-delay: 0s;
  }

  .customer-proof-notes--right .customer-proof-note:nth-child(1) {
    animation-delay: 1.2s;
  }

  .customer-proof-notes--left .customer-proof-note:nth-child(2) {
    animation-delay: 2.4s;
  }

  .customer-proof-notes--right .customer-proof-note:nth-child(2) {
    animation-delay: 3.6s;
  }

  .customer-proof-notes--left .customer-proof-note:nth-child(3) {
    animation-delay: 4.8s;
  }

  .customer-proof-notes--right .customer-proof-note:nth-child(3) {
    animation-delay: 6s;
  }
}

@keyframes customer-proof-note-pulse {
  0%,
  100% {
    opacity: 0.56;
    transform: scale(0.985);
  }

  9%,
  18% {
    opacity: 1;
    transform: scale(1.045);
  }

  30% {
    opacity: 0.62;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-proof-vial {
    transition: none;
  }

  .customer-proof-note {
    animation: none;
    opacity: 0.78;
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero-redesign {
    padding-bottom: 34px;
  }

  .hero-redesign .hero-shell {
    gap: 10px;
  }

  .hero-redesign .hero-layout {
    --hero-mobile-tile: min(176px, calc((100vw - 40px) / 2));
    width: min(100%, calc(var(--hero-mobile-tile) + var(--hero-mobile-tile) + 12px));
    max-width: 100%;
    grid-template-columns: minmax(0, var(--hero-mobile-tile)) var(--hero-mobile-tile);
    grid-template-areas:
      "title checks"
      "text product"
      "actions product"
      "person app"
      "person life";
    gap: 12px;
    align-items: start;
  }

  .hero-redesign .hero-copy,
  .hero-redesign .hero-product-grid {
    display: contents;
  }

  .hero-redesign h1 {
    grid-area: title;
    width: 100%;
    max-width: var(--hero-mobile-tile);
    min-width: 0;
    margin-bottom: 0;
  }

  .hero-redesign .hero-text {
    grid-area: text;
    width: 100%;
    max-width: var(--hero-mobile-tile);
    min-width: 0;
    margin-bottom: 0;
  }

  .hero-redesign .hero-actions {
    grid-area: actions;
    width: 100%;
    max-width: var(--hero-mobile-tile);
    min-width: 0;
    margin-bottom: 0;
  }

  .hero-redesign .hero-actions .button-primary {
    width: 100%;
    min-height: 52px;
    padding: 10px 10px 10px 14px !important;
    font-size: clamp(0.74rem, 3.1vw, 0.88rem);
    gap: 6px;
  }

  .hero-redesign .hero-actions .button-primary svg {
    width: 26px !important;
    height: 26px !important;
    margin-left: 0 !important;
    padding: 6px;
  }

  .hero-redesign .hero-check-card {
    grid-area: checks;
    max-width: none;
    margin-top: 0;
    padding: 12px 11px;
  }

  .hero-redesign .hero-check-card span {
    display: block;
    min-width: 0;
    padding: 6px 0 6px 28px;
    font-size: clamp(0.62rem, 2.6vw, 0.7rem);
    line-height: 1.24;
    overflow-wrap: break-word;
  }

  .hero-redesign .hero-check-card span::before {
    top: 6px;
    width: 17px;
    height: 17px;
  }

  .hero-redesign .hero-check-card span::after {
    top: 10px;
    left: 6px;
  }

  .hero-product-card {
    grid-area: product;
    width: var(--hero-mobile-tile);
    min-height: 0;
    aspect-ratio: 176 / 164;
    height: auto;
    margin: -30px 0 0;
    align-self: start;
  }

  .hero-person-card {
    grid-area: person;
    min-height: 322px;
    height: 100%;
    align-self: stretch;
  }

  .hero-app-card {
    grid-area: app;
    width: var(--hero-mobile-tile);
    min-height: 0;
    aspect-ratio: 176 / 164;
    height: auto;
    margin-top: -94px;
    align-self: start;
  }

  .hero-life-card {
    grid-area: life;
    min-height: 146px;
    align-self: start;
  }

  .hero-redesign .hero-product-grid .image-placeholder.has-image .hero-card-image {
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 360px) {
  .hero-redesign .hero-layout {
    grid-template-columns: minmax(0, 1fr) 150px;
  }

  .hero-product-card,
  .hero-app-card {
    width: 150px;
  }

  .hero-redesign .hero-actions {
    grid-column: 1 / -1;
  }

  .hero-redesign .hero-check-card,
  .hero-product-card,
  .hero-app-card,
  .hero-life-card {
    transform: none;
  }
}
