@charset "UTF-8";

.recovery-slide .recovery-content {
  justify-content: flex-start;
}
.recovery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.recovery-slide .recovery-heading h2 {
  font-size: 58px;
  margin: 0;
}
.recovery-motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #ffffffa6;
  color: var(--muted);
  font-size: 13px;
}
.recovery-motion-toggle .icon {
  width: 16px;
  height: 16px;
}
.recovery-scene {
  position: relative;
  height: 414px;
  flex-shrink: 0;
  margin-top: 9px;
  isolation: isolate;
}
.recovery-aura {
  position: absolute;
  width: 470px;
  height: 390px;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    #edd0b878 0%,
    #f0ddc640 42%,
    transparent 70%
  );
  border-radius: 50%;
}
.recovery-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #b6482c;
  overflow: visible;
  pointer-events: none;
}
.recovery-paths ellipse {
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.2;
}
.recovery-paths ellipse:nth-child(2) {
  stroke-dasharray: 3 9;
  opacity: 0.16;
}
.recovery-paths path {
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.35;
}
.recovery-person {
  position: absolute;
  left: 50%;
  top: 29px;
  width: 285px;
  height: 378px;
  transform: translateX(-50%);
  z-index: 2;
}
.recovery-person::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 24px;
  background: #172c3814;
  filter: blur(14px);
  border-radius: 50%;
  z-index: -1;
}
.recovery-person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 12px 18px #46291b18);
}
.recovery-speech {
  position: absolute;
  top: 1px;
  left: calc(50% - 114px);
  z-index: 4;
  transform: rotate(-5deg);
  padding: 8px 17px;
  background: var(--ink);
  color: white;
  border-radius: 14px 14px 14px 3px;
  box-shadow: 0 7px 18px #172c381b;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.recovery-speech::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 24px;
  border-top: 9px solid var(--ink);
  border-right: 9px solid transparent;
}
.recovery-node {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 300px;
  transform: translate(-50%, -50%)
    translate(var(--recovery-x, 0px), var(--recovery-y, 0px))
    scale(var(--recovery-scale, 1));
  z-index: 3;
  will-change: transform;
}
.recovery-card {
  position: relative;
  min-height: 137px;
  padding: 17px 19px 18px;
  border: 1px solid #ddd3c7;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #fffaf3);
  box-shadow:
    0 14px 35px #45291813,
    0 3px 7px #45291808;
  overflow: hidden;
}
.recovery-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}
.recovery-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  margin-bottom: 10px;
}
.recovery-card-top .icon {
  width: 20px;
  height: 20px;
}
.recovery-card-top span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.recovery-card-top b {
  margin-left: auto;
  font-size: 12px;
  color: #8f7465;
  font-weight: 500;
}
.recovery-slide .recovery-card h3 {
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.recovery-card p {
  color: #4a555c;
  font-size: 18px;
  line-height: 1.3;
}
.recovery-card-bank {
  background: linear-gradient(145deg, #fff5ed, #f6e5d8);
  border-color: #d7b8a5;
}
.recovery-slide .recovery-support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  text-align: center;
}
.recovery-support .icon {
  width: 23px;
  height: 23px;
  color: var(--green);
}
.recovery-fiction {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  letter-spacing: 0.03em;
}
.recovery-scene[data-running="true"] .recovery-person {
  animation: recovery-breathe 3.5s ease-in-out infinite;
}
.recovery-scene[data-running="true"] .recovery-speech {
  animation: recovery-worry 5s ease-in-out infinite;
}
@keyframes recovery-breathe {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-4px);
  }
}
@keyframes recovery-worry {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-3px);
  }
}

@media (max-width: 759px) {
  .recovery-slide .recovery-heading h2 {
    font-size: 40px;
    line-height: 1.08;
  }
  .recovery-heading {
    display: block;
  }
  .recovery-motion-toggle {
    display: none;
  }
  .recovery-scene {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding-top: 295px;
    margin-top: 16px;
  }
  .recovery-aura {
    width: 310px;
    height: 270px;
    top: 0;
  }
  .recovery-paths {
    height: 270px;
    opacity: 0.65;
  }
  .recovery-person {
    top: 21px;
    width: 200px;
    height: 260px;
  }
  .recovery-speech {
    left: calc(50% - 103px);
    top: 0;
    font-size: 16px;
  }
  .recovery-node {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    z-index: 3 !important;
    will-change: auto;
  }
  .recovery-card {
    min-height: 0;
    padding: 17px 20px;
  }
  .recovery-slide .recovery-card h3 {
    font-size: 25px;
  }
  .recovery-card p {
    font-size: 20px;
  }
  .recovery-slide .recovery-support {
    margin-top: 24px;
    align-items: flex-start;
    font-size: 21px;
    text-align: left;
  }
  .recovery-support .icon {
    margin-top: 3px;
    flex-shrink: 0;
  }
  .recovery-fiction {
    text-align: left;
    margin-top: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .recovery-motion-toggle {
    display: none;
  }
  .recovery-node {
    will-change: auto;
  }
}
@media print {
  .recovery-motion-toggle {
    display: none;
  }
  .recovery-node {
    will-change: auto;
  }
  .recovery-person,
  .recovery-speech {
    animation: none !important;
  }
}
