:root {
  --cream: #fff8f3;
  --cream-deep: #faeee8;
  --blush: #f7dce0;
  --pink: #e7b7c5;
  --lilac: #d8cee8;
  --sky: #cfe3f2;
  --butter: #f4d77d;
  --plum: #552c50;
  --plum-soft: #7d5b77;
  --green: #77906b;
  --green-soft: #e8f0df;
  --white: #fffdfb;
  --shadow: 0 24px 70px rgba(89, 53, 80, 0.18);
  --button-shadow: 0 10px 26px rgba(85, 44, 80, 0.2);
  --radius-large: 36px;
  --radius-medium: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--plum);
  background: #e9dfdf;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background:
    radial-gradient(circle at 14% 18%, rgba(247, 220, 224, 0.9), transparent 31%),
    radial-gradient(circle at 83% 76%, rgba(207, 227, 242, 0.88), transparent 34%),
    #eee6e3;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.7), transparent 38%),
    transparent;
}

button {
  font: inherit;
}

button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button:focus-visible {
  outline: 3px solid rgba(95, 66, 123, 0.42);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  color: rgba(85, 44, 80, 0.3);
}

.page-star,
.page-heart {
  position: absolute;
  animation: page-float 7s ease-in-out infinite;
}

.page-star--one {
  top: 15%;
  left: 14%;
  font-size: 28px;
}

.page-star--two {
  right: 12%;
  bottom: 20%;
  font-size: 34px;
  animation-delay: -2s;
}

.page-heart {
  top: 25%;
  right: 16%;
  font-family: Georgia, serif;
  font-size: 36px;
  transform: rotate(12deg);
  animation-delay: -4s;
}

.experience {
  position: relative;
  isolation: isolate;
  width: min(460px, calc(100vw - 32px));
  height: min(860px, calc(100svh - 32px));
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(85, 44, 80, 0.12);
  border-radius: var(--radius-large);
  background:
    linear-gradient(180deg, rgba(255, 251, 248, 0.98) 0%, rgba(255, 246, 242, 0.98) 65%, rgba(249, 232, 230, 0.98) 100%);
  box-shadow: var(--shadow);
}

.experience::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.progress {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  left: 50%;
  z-index: 30;
  display: flex;
  width: min(252px, 62%);
  align-items: center;
  transform: translateX(-50%);
}

.progress__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dacbd3;
  box-shadow: 0 0 0 0 rgba(85, 44, 80, 0);
  transition: 500ms var(--ease);
}

.progress__dot.is-current,
.progress__dot.is-complete {
  background: var(--plum);
}

.progress__dot.is-current {
  transform: scale(1.35);
  box-shadow: 0 0 0 5px rgba(85, 44, 80, 0.09);
}

.progress__line {
  height: 1px;
  flex: 1;
  margin-inline: 4px;
  overflow: hidden;
  background: #dacbd3;
}

.progress__line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--plum);
  transform: translateX(-102%);
  transition: transform 500ms var(--ease);
}

.progress__line.is-complete::after {
  transform: translateX(0);
}

.step-counter {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  right: 24px;
  z-index: 30;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--plum-soft);
}

.experience__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cloud,
.final-cloud {
  position: absolute;
  width: 78px;
  height: 22px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.56);
  filter: blur(0.2px);
  animation: cloud-drift 12s ease-in-out infinite;
}

.cloud::before,
.cloud::after,
.final-cloud::before,
.final-cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
}

.cloud::before,
.final-cloud::before {
  left: 14px;
  width: 34px;
  height: 34px;
}

.cloud::after,
.final-cloud::after {
  right: 11px;
  width: 27px;
  height: 27px;
}

.cloud__face {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 24px;
  height: 14px;
  transform: translateX(-50%);
}

.cloud__face::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 3px;
  width: 3px;
  height: 4px;
  border-radius: 50%;
  background: rgba(85, 44, 80, 0.55);
  box-shadow: 15px 0 rgba(85, 44, 80, 0.55);
}

.cloud__face::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 8px;
  width: 8px;
  height: 5px;
  border-bottom: 1.5px solid rgba(85, 44, 80, 0.55);
  border-radius: 0 0 9px 9px;
}

.cloud--one {
  top: 12%;
  left: -20px;
}

.cloud--two {
  top: 28%;
  right: -30px;
  width: 96px;
  animation-delay: -6s;
}

.twinkle {
  position: absolute;
  color: rgba(188, 146, 77, 0.36);
  animation: twinkle 3.5s ease-in-out infinite;
}

.twinkle--one {
  top: 14%;
  right: 10%;
}

.twinkle--two {
  top: 38%;
  left: 8%;
  font-size: 11px;
  animation-delay: -1.2s;
}

.twinkle--three {
  right: 13%;
  bottom: 15%;
  font-size: 9px;
  animation-delay: -2.3s;
}

.hills {
  position: absolute;
  left: -25%;
  width: 150%;
  height: 23%;
  border-radius: 50% 50% 0 0;
  transform: rotate(-3deg);
  transition: opacity 700ms ease;
}

.hills--back {
  bottom: -13%;
  background: rgba(216, 206, 232, 0.48);
}

.hills--front {
  right: -30%;
  bottom: -17%;
  left: auto;
  background: rgba(231, 183, 197, 0.43);
  transform: rotate(4deg);
}

.steps,
.step {
  position: absolute;
  inset: 0;
}

.step {
  z-index: 1;
  visibility: hidden;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 74px 30px max(28px, env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px) scale(0.99);
  transition:
    opacity 360ms ease,
    transform 560ms var(--ease),
    visibility 0s linear 560ms;
  scrollbar-width: none;
}

.step::-webkit-scrollbar {
  display: none;
}

.step.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition-delay: 80ms, 80ms, 0s;
}

.step.is-leaving {
  visibility: visible;
  opacity: 0;
  transform: translateX(-22px) scale(0.99);
}

.step__inner {
  width: 100%;
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(16px, 3vh, 28px);
}

.step__inner--compact {
  grid-template-rows: minmax(145px, 0.76fr) auto;
}

.step__inner--final {
  gap: 12px;
}

.copy-block {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--plum);
  text-wrap: balance;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 8vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 330px;
  margin: 0 auto 26px;
  font-size: clamp(16px, 4.4vw, 18px);
  line-height: 1.5;
  color: #654a61;
  text-wrap: balance;
}

.button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease,
    background 220ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button--primary {
  color: white;
  background: linear-gradient(145deg, #6a365f, #522848);
  box-shadow: var(--button-shadow), inset 0 1px rgba(255, 255, 255, 0.2);
}

.button--soft {
  min-height: 50px;
  color: var(--plum);
  background: rgba(247, 220, 224, 0.68);
  box-shadow: 0 8px 22px rgba(85, 44, 80, 0.1);
}

.button--continue {
  margin-top: 14px;
  animation: reveal-up 440ms var(--ease) both;
}

.button[hidden] {
  display: none;
}

.car-scene,
.mini-scene {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}

.car-scene--hero {
  min-height: 245px;
}

.car-scene--final {
  min-height: 210px;
}

.car-scene--final .car-button {
  width: min(103%, 380px);
}

.car-button {
  position: relative;
  z-index: 4;
  width: min(112%, 410px);
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  background: transparent;
  animation: car-idle 5s ease-in-out infinite;
}

.car-button::after {
  content: "";
  position: absolute;
  top: 8%;
  right: 11%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0;
  background: white;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.2),
    -28px 14px 0 -4px white;
  transition: opacity 180ms ease;
}

.car-button:hover::after,
.car-button:focus-visible::after {
  opacity: 0.8;
}

.car-button.is-tapped {
  animation: car-tap 450ms var(--ease);
}

.car-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 18px rgba(69, 44, 61, 0.18));
  transition: opacity 260ms ease;
}

.car-image[data-car-src]:not(.is-loaded) {
  opacity: 0;
}

.car-shadow {
  position: absolute;
  right: 13%;
  bottom: 8%;
  left: 13%;
  z-index: 1;
  height: 12%;
  border-radius: 50%;
  opacity: 0.55;
  background: rgba(70, 49, 65, 0.22);
  filter: blur(9px);
}

.sun {
  position: absolute;
  top: 0;
  right: 4%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  opacity: 0.82;
  background: #f9dfa0;
  box-shadow:
    0 0 0 12px rgba(249, 223, 160, 0.15),
    0 0 44px rgba(249, 204, 112, 0.35);
  animation: sun-breathe 5s ease-in-out infinite;
}

.sun--final {
  top: 4px;
  right: 2%;
  width: 64px;
  height: 64px;
}

.flower-cluster {
  position: absolute;
  bottom: 16px;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: end;
  gap: 2px;
}

.flower-cluster i {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #e2b660 0 17%, #f0bdcb 18% 53%, transparent 55%);
  transform: rotate(12deg);
}

.flower-cluster i:nth-child(2) {
  width: 32px;
  height: 32px;
  transform: translateY(-7px) rotate(-12deg);
}

.flower-cluster i:nth-child(3) {
  width: 19px;
  height: 19px;
  transform: translateY(3px) rotate(20deg);
}

.mini-scene {
  min-height: 175px;
}

.car-button--mini {
  width: min(83%, 290px);
}

.mini-scene--math::after,
.mini-scene--movie::after,
.mini-scene--road::after,
.mini-scene--care::after {
  content: "";
  position: absolute;
  right: 9%;
  bottom: 7%;
  left: 9%;
  height: 18px;
  border-radius: 50%;
  background: rgba(85, 44, 80, 0.08);
  filter: blur(8px);
}

.mini-scene--math::before,
.mini-scene--movie::before,
.mini-scene--road::before,
.mini-scene--care::before {
  content: "";
  position: absolute;
  inset: 10% 4% 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(207, 227, 242, 0.36), transparent 68%);
}

.mini-scene--movie::before {
  background: radial-gradient(circle at 50% 45%, rgba(244, 199, 193, 0.35), transparent 68%);
}

.mini-scene--road::before {
  background: radial-gradient(circle at 50% 45%, rgba(206, 230, 212, 0.38), transparent 68%);
}

.mini-scene--care::before {
  background: radial-gradient(circle at 50% 45%, rgba(216, 206, 232, 0.42), transparent 68%);
}

.math-symbol {
  position: absolute;
  z-index: 1;
  font-family: Georgia, serif;
  font-style: italic;
  color: rgba(85, 44, 80, 0.3);
  animation: symbol-float 5s ease-in-out infinite;
}

.math-symbol--one {
  top: 12%;
  left: 9%;
  font-size: 25px;
}

.math-symbol--two {
  top: 4%;
  right: 13%;
  font-size: 31px;
  animation-delay: -2s;
}

.math-symbol--three {
  right: 6%;
  bottom: 19%;
  font-size: 18px;
  animation-delay: -3.2s;
}

.sequence {
  margin: -2px 0 18px;
  border: 1px solid rgba(85, 44, 80, 0.06);
  border-radius: var(--radius-medium);
  padding: 16px 12px;
  font-family: Georgia, serif;
  font-size: clamp(22px, 6vw, 29px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--plum);
  background: rgba(247, 220, 224, 0.46);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.answer-grid--stacked {
  grid-template-columns: 1fr;
  gap: 9px;
}

.answer-grid--stacked .answer-button {
  border-radius: 999px;
}

.question-copy {
  max-width: 350px;
  margin: -5px auto 16px;
  font-size: 16px;
  line-height: 1.45;
  color: #654a61;
  text-wrap: balance;
}

.movie-star {
  position: absolute;
  z-index: 5;
  color: #e6b756;
  animation: twinkle 3s ease-in-out infinite;
}

.movie-star--one {
  top: 13%;
  left: 8%;
  font-size: 18px;
}

.movie-star--two {
  top: 5%;
  right: 10%;
  font-size: 16px;
  animation-delay: -1.4s;
}

.popcorn {
  position: absolute;
  right: 7%;
  bottom: 11%;
  z-index: 5;
  font-size: 27px;
  filter: drop-shadow(0 5px 5px rgba(85, 44, 80, 0.12));
  transform: rotate(6deg);
}

.answer-button,
.choice-button {
  min-height: 54px;
  border: 1px solid rgba(85, 44, 80, 0.14);
  border-radius: 18px;
  cursor: pointer;
  color: var(--plum);
  background: rgba(255, 253, 251, 0.77);
  box-shadow:
    0 5px 14px rgba(85, 44, 80, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 720;
  transition:
    transform 190ms var(--ease),
    background 190ms ease,
    color 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease;
}

.answer-button:hover,
.choice-button:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 44, 80, 0.28);
}

.answer-button:active,
.choice-button:active {
  transform: scale(0.98);
}

.answer-button.is-correct,
.choice-button.is-selected {
  border-color: transparent;
  color: white;
  background: linear-gradient(145deg, #76406c, #572c50);
  box-shadow: var(--button-shadow);
}

.answer-button.is-trying {
  animation: soft-wiggle 360ms ease;
}

.answer-button:disabled,
.choice-button:disabled {
  cursor: default;
}

.answer-button:disabled:not(.is-correct),
.choice-button:disabled:not(.is-selected) {
  opacity: 0.5;
}

.choice-list {
  display: grid;
  gap: 11px;
}

.choice-button {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  padding: 12px 18px;
}

.feedback {
  min-height: 0;
  margin-top: 0;
  overflow: hidden;
  border-radius: 18px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  color: #52674b;
  background: transparent;
  opacity: 0;
  transform: translateY(6px);
  transition:
    min-height 350ms var(--ease),
    margin-top 350ms var(--ease),
    padding 350ms var(--ease),
    opacity 250ms ease,
    transform 350ms var(--ease),
    background 250ms ease;
}

.feedback.is-visible {
  min-height: 48px;
  margin-top: 13px;
  display: grid;
  place-items: center;
  padding: 10px 16px;
  opacity: 1;
  transform: translateY(0);
  background: rgba(232, 240, 223, 0.84);
}

.road-line {
  position: absolute;
  right: 7%;
  bottom: 16%;
  left: 7%;
  z-index: 0;
  height: 3px;
  border-radius: 50%;
  opacity: 0.5;
  background: linear-gradient(90deg, transparent, #c6a1af 16% 84%, transparent);
  transform: rotate(-3deg);
}

.tiny-flower {
  position: absolute;
  z-index: 5;
  color: #d88fa8;
  text-shadow: 10px 5px 0 #efc5d1;
}

.tiny-flower--one {
  bottom: 12%;
  left: 8%;
  font-size: 24px;
}

.tiny-flower--two {
  right: 10%;
  bottom: 7%;
  font-size: 18px;
}

.care-heart {
  position: absolute;
  z-index: 1;
  font-family: Georgia, serif;
  color: rgba(174, 98, 130, 0.43);
  animation: heart-float 4.5s ease-in-out infinite;
}

.care-heart--one {
  top: 4%;
  left: 11%;
  font-size: 38px;
}

.care-heart--two {
  top: 16%;
  right: 10%;
  font-size: 26px;
  animation-delay: -2.1s;
}

.final-cloud {
  z-index: 0;
  background: rgba(255, 255, 255, 0.6);
}

.final-cloud--one {
  top: 19px;
  left: 2%;
  transform: scale(0.7);
}

.final-cloud--two {
  top: 57px;
  right: 2%;
  transform: scale(0.5);
  animation-delay: -5s;
}

.meadow {
  position: absolute;
  right: -6%;
  bottom: 1%;
  left: -6%;
  z-index: 6;
  display: flex;
  justify-content: space-around;
  align-items: end;
  color: #d890aa;
  font-size: 24px;
  text-shadow:
    0 6px 0 #9ab386,
    13px 6px 0 #efc7d3;
}

.meadow span:nth-child(even) {
  color: #e7bd62;
  font-size: 13px;
  transform: translateY(-14px);
}

.copy-block--final h2 {
  margin-bottom: 12px;
}

.checklist {
  max-width: 300px;
  margin: 0 auto 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 7px 9px 7px 7px;
  color: #61465d;
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
}

.step--final.is-active .checklist li {
  animation: reveal-up 460ms var(--ease) forwards;
}

.step--final.is-active .checklist li:nth-child(2) {
  animation-delay: 120ms;
}

.step--final.is-active .checklist li:nth-child(3) {
  animation-delay: 240ms;
}

.step--final.is-active .checklist li:nth-child(4) {
  animation-delay: 360ms;
}

.check {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #8ca27e;
  font-size: 12px;
}

.final-line {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 750;
  color: var(--plum);
}

.final-wish {
  max-width: 340px;
  margin: 0 auto 18px;
  font-family: Georgia, serif;
  font-size: clamp(16px, 4.4vw, 19px);
  line-height: 1.45;
  color: #684b63;
  text-wrap: balance;
}

.signature {
  max-width: 330px;
  margin: 0 auto 16px;
  padding-top: 11px;
  border-top: 1px solid rgba(85, 44, 80, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.4;
  color: var(--plum-soft);
  text-wrap: balance;
}

.signature strong {
  display: block;
  margin-top: 3px;
  font-weight: 700;
  color: var(--plum);
}

.secret-toast {
  position: absolute;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(85, 44, 80, 0.09);
  border-radius: 22px;
  padding: 14px 16px;
  color: var(--plum);
  background: rgba(255, 253, 251, 0.94);
  box-shadow: 0 18px 46px rgba(85, 44, 80, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.98);
  transition: 420ms var(--ease);
  backdrop-filter: blur(16px);
}

.secret-toast span {
  font-size: 22px;
}

.secret-toast p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.35;
}

.secret-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.no-script {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 100;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  color: var(--plum);
  background: white;
  box-shadow: var(--shadow);
}

@keyframes page-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-13px) rotate(8deg); }
}

@keyframes car-idle {
  0%, 100% { transform: translateY(0) rotate(-0.25deg); }
  50% { transform: translateY(-5px) rotate(0.25deg); }
}

@keyframes car-tap {
  0% { transform: translateY(0) rotate(0); }
  35% { transform: translateY(-9px) rotate(-1deg); }
  67% { transform: translateY(-2px) rotate(1deg); }
  100% { transform: translateY(0) rotate(0); }
}

@keyframes sun-breathe {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

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

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0); }
  50% { opacity: 0.9; transform: scale(1.15) rotate(20deg); }
}

@keyframes symbol-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

@keyframes heart-float {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes soft-wiggle {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-4px); }
  70% { transform: translateX(4px); }
}

@media (max-width: 540px) {
  body {
    display: block;
  }

  .page-decor {
    display: none;
  }

  .experience {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .step {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-height: 780px) {
  .step__inner--final {
    gap: 6px;
  }

  .car-scene--final {
    min-height: 170px;
  }

  .car-scene--final .car-button {
    width: min(80%, 300px);
  }

  .copy-block--final h2 {
    margin-bottom: 7px;
  }

  .checklist {
    gap: 5px;
    margin-bottom: 7px;
  }

  .checklist li {
    padding: 5px 8px 5px 5px;
  }

  .final-line {
    margin-bottom: 4px;
  }

  .final-wish {
    margin-bottom: 9px;
  }

  .signature {
    margin-bottom: 8px;
    padding-top: 6px;
    font-size: 12px;
  }
}

@media (max-height: 700px) {
  .step {
    padding-top: 62px;
    padding-bottom: 20px;
  }

  .progress {
    top: max(18px, env(safe-area-inset-top));
  }

  .step-counter {
    top: max(14px, env(safe-area-inset-top));
  }

  .step__inner {
    gap: 12px;
  }

  .car-scene--hero {
    min-height: 190px;
  }

  .car-scene--final {
    min-height: 156px;
  }

  .car-scene--final .car-button {
    width: min(76%, 270px);
  }

  .mini-scene {
    min-height: 122px;
  }

  .car-button--mini {
    width: min(66%, 230px);
  }

  h1 {
    margin-bottom: 10px;
    font-size: 34px;
  }

  h2 {
    margin-bottom: 14px;
    font-size: 28px;
  }

  .lead {
    margin-bottom: 18px;
    line-height: 1.4;
  }

  .choice-list {
    gap: 8px;
  }

  .choice-button,
  .answer-button {
    min-height: 48px;
  }

  .feedback.is-visible {
    min-height: 42px;
    margin-top: 9px;
    padding: 7px 14px;
  }

  .button--continue {
    min-height: 46px;
    margin-top: 9px;
  }

  .copy-block--final h2 {
    margin-bottom: 8px;
  }

  .checklist {
    margin-bottom: 9px;
  }

  .final-wish {
    margin-bottom: 12px;
  }

  .signature {
    margin-bottom: 11px;
    padding-top: 8px;
    font-size: 12px;
  }
}

@media (max-height: 590px) {
  .car-scene--hero {
    min-height: 142px;
  }

  .car-scene--final,
  .mini-scene {
    min-height: 94px;
  }

  .car-scene--final .car-button {
    width: min(68%, 235px);
  }

  .car-button--mini {
    width: min(52%, 190px);
  }

  .sun,
  .flower-cluster,
  .meadow {
    transform: scale(0.76);
  }

  .step__inner--compact {
    grid-template-rows: auto auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
