@import url("https://fonts.googleapis.com/css2?family=Cormorant:wght@600&family=Inter:wght@400;600&display=swap");

:root {
  --bg-deep: #0c0e1c;
  --text-light: #ffffff;
  --button: #1b265a;
  --button-hover: #23306f;
  --radius-xl: 20px;
  --motion-duration: 1.6s;
  --motion-fade-out-duration: 1.2s;
  --motion-ease: ease;
  --motion-distance: 12px;
  --intro-fade-duration: var(--motion-duration);
  --intro-line-1-delay: 1s;
  --intro-line-2-delay: 2s;
  --intro-figure-delay: 3.2s;
  --seq-fade-duration: var(--motion-duration);
  --seq-step-1-delay: 1s;
  --seq-step-2-delay: 2s;
  --seq-step-3-delay: 3.2s;
  --intro-exit-duration: 120ms;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-light);
  background: var(--bg-deep);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.theme-dark {
  background: var(--bg-deep);
}

.audio-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 12px;
  background: rgba(12, 14, 28, 0.72);
  color: #5779A2;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  backdrop-filter: blur(2px);
}

.audio-toggle:hover,
.audio-toggle:active,
.audio-toggle:focus,
.audio-toggle:focus-visible {
  border: none;
  outline: none;
  box-shadow: none;
}

.audio-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.audio-toggle-icon {
  position: absolute;
  inset: 0;
  width: 28px;
  height: 28px;
  display: block;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.audio-toggle-icons {
  position: relative;
  width: 28px;
  height: 28px;
  display: block;
}

.audio-toggle-icon--on {
  opacity: 0;
  transform: scale(0.92);
}

.audio-toggle-icon--off {
  opacity: 1;
  transform: scale(1);
}

.audio-toggle.is-sound-on .audio-toggle-icon--on {
  opacity: 1;
  transform: scale(1);
}

.audio-toggle.is-sound-on .audio-toggle-icon--off {
  opacity: 0;
  transform: scale(0.92);
}

.screen {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  background: var(--bg-deep);
  padding-top: 0;
}

.screen-content {
  width: min(1440px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 80px;
  padding: 15vh clamp(24px, 8vw, 300px) 0;
  margin: 0 auto;
}

.screen-content--body {
  gap: 54px;
}

.screen-content--finish {
  gap: 42px;
}

.screen-intro {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 780px;
  overflow: hidden;
  background: #0c0e1c;
  margin: 0 auto;
}

.screen-intro::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100vh;
  height: 100vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    #171638 0%,
    #0f1224 25%,
    #0c0e1c 70%
  );
  opacity: 0;
  animation: introGradientReveal var(--intro-fade-duration) var(--motion-ease) forwards;
  animation-delay: var(--intro-figure-delay);
  pointer-events: none;
  z-index: 0;
}

.intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  text-align: center;
}

.intro-copy {
  margin: 0;
  max-width: 692px;
  font-family: "Cormorant", serif;
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  color: #eeeeee;
}

.intro-line {
  display: block;
  opacity: 0;
  transform: translateY(var(--motion-distance));
  animation: introFadeUp var(--intro-fade-duration) var(--motion-ease) forwards;
}

.intro-line-1 {
  animation-delay: var(--intro-line-1-delay);
}

.intro-line-2 {
  animation-delay: var(--intro-line-2-delay);
}

.intro-figure {
  position: relative;
  width: 166px;
  height: 347px;
  opacity: 0;
  transform: translateY(var(--motion-distance));
  animation: introFadeUp var(--intro-fade-duration) var(--motion-ease) forwards;
  animation-delay: var(--intro-figure-delay);
}


.intro-image {
  display: block;
  width: 166px;
  height: 346px;
  object-fit: contain;
  cursor: pointer;
}

.intro-button {
  position: absolute;
  left: 56px;
  top: 134px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-family: "Cormorant", serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.is-intro-exiting .intro-copy,
.is-intro-exiting .intro-figure,
.is-intro-exiting .intro-button,
.is-intro-exiting .intro-line {
  opacity: 0 !important;
  transition: opacity var(--intro-exit-duration) var(--motion-ease);
  transform: none !important;
}

.is-intro-exiting .screen-intro::before {
  opacity: 0 !important;
  transition: opacity var(--intro-exit-duration) var(--motion-ease);
  transform: translate(-50%, -50%) !important;
}

@keyframes introFadeUp {
  0% {
    opacity: 0;
    transform: translateY(var(--motion-distance));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introFadeUpOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes fadeOnlyIn {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOnlyOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes introGradientReveal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes introGradientHide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes burnField {
  0% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
}

.burn-seq {
  opacity: 0;
  transform: translateY(var(--motion-distance));
  animation: introFadeUp var(--seq-fade-duration) var(--motion-ease) forwards;
}

.burn-seq-1 {
  animation-delay: var(--seq-step-1-delay);
}

.burn-seq-2 {
  animation-delay: var(--seq-step-2-delay);
}

.burn-seq-3 {
  animation-delay: var(--seq-step-3-delay);
}

.screen-burn .burn-seq-1 {
  animation-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .intro-line,
  .intro-figure,
  .burn-seq,
  .screen-intro::before {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  text-align: center;
}

.welcome-title {
  margin: 0;
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  max-width: 700px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-light);
  background: var(--button);
  border-radius: var(--radius-xl);
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  padding: 20px 40px;
  width: 400px;
  height: 88px;
  transition: background 0.2s ease;
}

.button:hover {
  background: var(--button-hover);
}

@media (max-width: 1200px) {
  .intro-copy {
    font-size: 40px;
    line-height: 48px;
  }

  .welcome-title {
    font-size: 40px;
    line-height: 48px;
  }

  .button {
    font-size: 34px;
    line-height: 42px;
    width: 320px;
    height: 76px;
  }
}

@media (max-width: 700px) {
  .intro-copy {
    font-size: 40px;
    line-height: 48px;
  }

  .intro-figure {
    width: 140px;
    height: 300px;
  }

  .intro-image {
    width: 140px;
    height: 292px;
  }

  .intro-button {
    left: 43px;
    top: 110px;
    width: 46px;
    height: 46px;
    font-size: 16px;
    line-height: 22px;
  }

  .button {
    width: 100%;
    max-width: 320px;
    font-size: 26px;
    line-height: 32px;
    height: 64px;
  }
}

/* Burn screen */
.screen-burn {
  position: relative;
  width: 100%;
  min-height: 780px;
  overflow: hidden;
}

.screen-burn .screen-content {
  position: relative;
  z-index: 1;
}

.journey-gratitude-gradient {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 100vh;
  height: 100vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    #201e4d 0%,
    #111429 20%,
    #0c0e1c 70%
  );
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

.journey-gratitude-gradient.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.journey-gratitude-gradient.is-revealing {
  visibility: visible;
  animation: introGradientReveal var(--intro-fade-duration) var(--motion-ease) forwards;
}

.journey-gratitude-gradient.is-fading {
  visibility: visible;
  animation: introGradientHide var(--motion-fade-out-duration) var(--motion-ease) forwards;
}

.burn-title {
  margin: 0;
  font-family: "Cormorant", serif;
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  text-align: center;
  color: #eeeeee;
  will-change: opacity, transform;
}

.burn-title.is-fading {
  animation: introFadeUpOut var(--motion-fade-out-duration) var(--motion-ease) forwards;
}

.burn-title.is-revealing {
  opacity: 0;
  transform: translateY(var(--motion-distance));
  animation: introFadeUp var(--seq-fade-duration) var(--motion-ease) forwards;
}

.breathing-title {
}

.journey-phase-title.is-hidden {
  display: none;
}

.journey-phase-title {
  min-height: 48px;
}

.breathing-title.is-phase-label {
  --motion-fade-out-duration: 0.55s;
  --seq-fade-duration: 0.8s;
  will-change: opacity;
  transform: none;
}

.breathing-title.is-breath-fading {
  transform: none;
  animation: fadeOnlyOut var(--motion-fade-out-duration) ease-in-out forwards;
}

.breathing-title.is-breath-revealing {
  opacity: 0;
  transform: none;
  animation: fadeOnlyIn var(--seq-fade-duration) ease-in-out forwards;
}


.breath-dot {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 14, 28, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(var(--motion-distance));
}

.breath-dot::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #f2f2f2;
}

.breath-dot.is-revealing {
  animation: introFadeUp var(--seq-fade-duration) var(--motion-ease) forwards;
}

.breathing-stage {
  width: min(400px, calc(100vw - 48px));
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.breathing-stage.is-hidden {
  display: none;
}

.breathing-stage.is-revealing {
  opacity: 0;
  transform: translateY(var(--motion-distance));
  animation: introFadeUp var(--seq-fade-duration) var(--motion-ease) forwards;
}

.breathing-stage.is-fading {
  animation: fadeOnlyOut var(--motion-fade-out-duration) ease-in-out forwards;
}

.body-figure-stage {
  width: 100%;
  display: grid;
  place-items: center;
}

.body-figure-stage.is-hidden {
  display: none;
}

.body-figure-stage.is-revealing {
  opacity: 0;
  transform: translateY(0);
  animation: fadeOnlyIn var(--seq-fade-duration) var(--motion-ease) forwards;
}

.body-figure-stage.is-fading {
  animation: fadeOnlyOut var(--motion-fade-out-duration) var(--motion-ease) forwards;
}

.body-figure {
  display: block;
  width: auto;
  height: min(420px, 52vh);
  max-width: min(135px, calc(100vw - 48px));
}

@media (min-width: 441px) {
  .screen-burn .body-figure {
    height: min(500px, 60vh);
    max-width: min(165px, calc(100vw - 48px));
  }
}

.body-figure.is-revealing {
  opacity: 0;
  transform: translateY(0);
  animation: fadeOnlyIn var(--seq-fade-duration) var(--motion-ease) forwards;
}

.breathing-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.burn-input-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 360px;
}

.burn-input-stack.is-hidden {
  display: none;
}

.burn-input-frame {
  position: relative;
  width: 360px;
  height: 280px;
  background: #1e203b;
  border: 1px solid #242960;
  border-radius: 8px;
  padding: 24px 18px;
  box-sizing: border-box;
  overflow: visible;
  isolation: auto;
  transition: opacity 0.4s ease;
}

.burn-input-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 4s linear;
}

.burn-input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  resize: none;
  font-family: "Cormorant", serif;
  font-size: 24px;
  line-height: 32px;
  color: #ffffff;
  outline: none;
  overflow: hidden;
  caret-color: #ffffff;
}

.burn-input::placeholder {
  color: #ffffff;
}

.burn-video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  background: transparent;
  transition: opacity 1.6s ease;
}

.burn-video-layer--mobile-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  z-index: 90;
  opacity: 1 !important;
}

@keyframes burnEdgeUndulate {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
  100% {
    transform: translateY(0);
  }
}

.burn-button {
  width: auto;
  height: 60px;
  border: none;
  border-radius: 12px;
  background: #1b205a;
  color: #ffffff;
  font-family: "Cormorant", serif;
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.burn-button:hover {
  background: #222973;
}

.burn-button-icons {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.burn-button-icon {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.burn-button:hover .burn-button-icon {
  filter: brightness(0) invert(1);
}

.burn-input-frame.is-burning {
  animation: none;
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.burn-input-frame.is-burning-video .burn-input {
  opacity: 0;
  caret-color: transparent;
}

.burn-input-frame.is-burning-video {
  background: transparent;
  border-color: transparent;
}

.burn-input-frame.is-burning-video::after {
  opacity: 0;
}

.burn-input-frame.is-burning-video .burn-video-layer {
  opacity: 1;
}

.burn-video-source {
  position: absolute;
  left: -150%;
  top: -220%;
  width: 400%;
  height: 400%;
  object-fit: cover;
  background: transparent;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: brightness(1.35) contrast(1.28) saturate(1.2);
  transition: opacity 1.6s ease;
}

.burn-video-source.is-visible {
  opacity: 1;
}

.burn-video-canvas {
  position: absolute;
  left: -150%;
  top: -220%;
  width: 400%;
  height: 400%;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: brightness(1.35) contrast(1.28) saturate(1.2);
  transition: opacity 1.6s ease;
}

.burn-video-canvas.is-visible {
  opacity: 1;
}

.burn-video-canvas.is-fire-sequence {
  mix-blend-mode: normal;
  filter: none;
}

.burn-input-frame.is-hidden {
  opacity: 0;
}

.burn-button.is-hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  visibility: hidden;
}

@media (max-width: 700px) {
  .burn-input-stack,
  .burn-input-frame {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 440px) {
  html,
  body {
    height: 100svh;
    overflow: hidden;
  }

  .screen,
  .screen-intro,
  .screen-burn {
    min-height: 100svh;
    height: 100svh;
    overflow: hidden;
  }

  .screen-content {
    padding: 40px 30px 0;
    gap: 40px;
  }

  .intro,
  .welcome {
    gap: 40px;
  }

  .intro-copy,
  .burn-title,
  .breathing-title,
  .finish-return-copy {
    font-size: 32px;
    line-height: 40px;
  }

  .screen-intro::before,
  .journey-gratitude-gradient {
    width: 100svh;
    height: 100svh;
  }

  .intro-figure {
    width: 140px;
    height: 300px;
  }

  .intro-image {
    width: 140px;
    height: 294px;
  }

  .intro-button {
    left: 33.73%;
    top: 38.62%;
    width: 32.53%;
    height: 15.56%;
    font-size: 16px;
    line-height: 22px;
  }

  .burn-input-stack {
    gap: 20px;
    width: 100%;
    max-width: 360px;
  }

  .burn-input-frame {
    width: 100%;
    height: 220px;
    padding: 18px 14px;
  }

  .burn-input {
    font-size: 22px;
    line-height: 30px;
  }

  .burn-button {
    height: 52px;
    font-size: 30px;
    line-height: 36px;
  }

  .breathing-stage {
    width: min(340px, calc(100vw - 60px));
  }

  .body-figure {
    height: min(560px, 62svh);
    max-width: min(180px, calc(100vw - 60px));
  }

  .burn-video-layer--mobile-canvas .burn-video-source,
  .burn-video-layer--mobile-canvas .burn-video-canvas {
    left: 50%;
    top: 47%;
    width: 360vw;
    height: 360vw;
    transform: translate(-50%, -50%);
  }

}

@media (hover: none) and (pointer: coarse) {
  html,
  body {
    height: 100lvh;
    overflow: hidden;
  }

  body {
    position: fixed;
    inset: 0;
    width: 100%;
  }

  .screen,
  .screen-intro,
  .screen-burn {
    min-height: 100lvh;
    height: 100lvh;
    overflow: hidden;
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 440px) {
  .screen-content {
    padding-top: 40px;
    padding-bottom: 0;
  }

  .burn-title.is-body-scan-copy {
    min-height: 80px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
  }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) {
  .screen,
  .audio-toggle {
    display: none !important;
  }

  body::after {
    content: "Please use portrait orientation";
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    background: #0c0e1c;
    color: #ffffff;
    font-family: "Cormorant", serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
    z-index: 9999;
  }
}

@media (hover: none) and (pointer: coarse) and (min-width: 441px) {
  .screen-content {
    padding-top: 10vh;
  }

  .screen-burn .body-figure {
    height: min(640px, 74vh);
    max-width: min(215px, calc(100vw - 48px));
  }

  .burn-video-layer--mobile-canvas .burn-video-source,
  .burn-video-layer--mobile-canvas .burn-video-canvas {
    left: 50%;
    top: 50%;
    width: 230vmax;
    height: 230vmax;
    transform: translate(-50%, -50%);
  }
}

.breathing-title {
  margin: 0;
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  text-align: center;
}


.body-figure {
  position: relative;
  width: min(420px, 70vw);
  aspect-ratio: 148.1545 / 460;
  display: grid;
  place-items: center;
}

.body-figure svg {
  width: 100%;
  height: 100%;
}


/* Finish screen */
.journey-finish {
  width: 100%;
}

.journey-finish.is-hidden {
  display: none;
}

.finish-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  text-align: center;
  width: 100%;
}

.finish-phase-1,
.finish-phase-2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.finish-phase-2 {
  gap: 80px;
  min-height: calc(100vh - 20vh - 48px);
}

.finish-phase-2.is-hidden {
  display: none;
}

.finish-return-copy {
  margin: 0;
  max-width: 820px;
  font-family: "Cormorant", serif;
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  color: #eeeeee;
  opacity: 0;
  transform: translateY(var(--motion-distance));
}

.finish-figure-wrap {
  width: min(260px, calc(100vw - 48px));
  opacity: 0;
  transform: translateY(0);
}

.finish-figure-wrap.burn-seq {
  animation: fadeOnlyIn var(--seq-fade-duration) var(--motion-ease) forwards;
}

.finish-figure {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center center;
}

.finish-figure.is-rotating {
  animation: finishFlowerSpin 26s linear infinite;
}

@keyframes finishFlowerSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.finish-buttons {
  width: auto;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  justify-content: center;
  opacity: 0;
  transform: translateY(var(--motion-distance));
}

.finish-buttons-wrap {
  width: 100%;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}

.finish-action {
  flex: 0 0 auto;
  width: auto;
  min-height: 52px;
  height: 52px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  text-decoration: none;
  border-radius: 12px;
  background: #1b205a;
  color: #ffffff;
  font-family: "Cormorant", serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.finish-action:hover {
  background: #222973;
}

.finish-action-coffee {
  background: #0c0e1c;
  border: 1px solid #3c5f89;
  color: #f7efe2;
}

.finish-action-coffee:hover {
  background: #171b36;
  border-color: #4b78ad;
}

.finish-action-icon {
  width: auto;
  height: 32px;
  display: block;
  flex: 0 0 auto;
}

.finish-fade-out {
  animation: introFadeUpOut var(--motion-fade-out-duration) var(--motion-ease) forwards;
}

.finish-title {
  margin: 0;
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  text-align: center;
  max-width: 1019px;
  color: #eeeeee;
}

@media (max-width: 1200px) {
  .finish-title {
    font-size: 40px;
    line-height: 48px;
  }
}

@media (max-width: 700px) {
  .finish-buttons {
    width: min(100%, 420px);
    flex-direction: column;
    gap: 12px;
  }

  .finish-action {
    width: 100%;
    min-height: 52px;
    height: 52px;
    font-size: 24px;
    line-height: 32px;
    padding: 10px 20px;
  }

  .finish-action-icon {
    height: 32px;
  }

  .finish-title {
    font-size: 40px;
    line-height: 48px;
  }
}

@media (max-width: 440px) {
  .finish-flow {
    gap: 40px;
  }

  .finish-phase-1,
  .finish-phase-2 {
    gap: 40px;
  }

  .finish-phase-2 {
    min-height: calc(100svh - 60px - 40px);
    gap: 40px;
  }

  .finish-return-copy {
    font-size: 32px;
    line-height: 40px;
  }

  .finish-figure-wrap {
    width: min(180px, calc(100vw - 60px));
  }

  .burn-title,
  .breathing-title,
  .burn-title.breathing-title {
    font-size: 32px;
    line-height: 40px;
  }
}
