* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: #FBF2E8;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #2A2130;
  position: relative;
}

.screen {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 28px 34px;
  min-width: 0;
  max-width: 100%;
  /* Both axes: a single-axis clip/hidden computes back to visible. */
  overflow-x: hidden;
  overflow-y: hidden;
  overflow-x: clip;
  overflow-y: clip;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.5;
}

.glow--top {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -194px;
  background: oklch(88% 0.07 90 / 0.55);
}

.glow--bottom {
  width: 160px;
  height: 160px;
  bottom: 120px;
  left: -70px;
  background: oklch(85% 0.06 150 / 0.5);
}

@media (min-width: 481px) {
  .glow--top,
  .glow--bottom {
    display: none;
  }
}

/* hero */
.hero {
  margin-top: 18px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: italic;
  color: oklch(58% 0.17 35);
}

.hero__subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: #5B4B57;
  margin: 20px 0 0;
  max-width: 300px;
  font-weight: 500;
}

/* mini story-card illustration */
.illustration {
  position: relative;
  height: 218px;
  margin: 22px 0 8px;
  pointer-events: none;
  user-select: none;
  overflow: visible;
}

.confetti-fleck {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 22px;
  z-index: 4;
}

.confetti-fleck--1 {
  top: 10px;
  left: 7%;
  background: oklch(0.87 0 0);
  transform: rotate(18deg);
}

.confetti-fleck--2 {
  top: 12px;
  right: 23%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: oklch(0.92 0.07 90.33);
}


.ghost-card,
.yes-card,
.hero-card {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 14px 30px -12px rgba(60, 30, 20, 0.22);
}

.ghost-card {
  left: 9%;
  top: 22px;
  width: 86px;
  height: 118px;
  background: #FFF9F3;
  border: 1px solid rgba(42, 33, 48, 0.06);
  transform: rotate(-14deg);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 14px;
}

.ghost-bar {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(42, 33, 48, 0.08);
}

.ghost-bar--1 { width: 78%; }
.ghost-bar--2 { width: 62%; }
.ghost-bar--3 { width: 70%; }

.yes-card {
  right: 9%;
  top: 26px;
  width: 92px;
  height: 116px;
  background: oklch(66% 0.17 35);
  transform: rotate(12deg);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  text-align: center;
  color: #FFF9F3;
}

.yes-card__emoji {
  font-size: 28px;
  line-height: 1;
}

.yes-card__label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-card {
  left: 50%;
  top: -4px;
  width: clamp(164px, 42vw, 168px);
  height: clamp(188px, 48vw, 208px);
  background: #fff;
  transform: translateX(-50%) rotate(-2deg);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 16px 14px 14px;
  text-align: center;
}

.hero-card__kicker {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8B7C87;
  flex-shrink: 0;
}

.hero-card__question {
  font-family: var(--font-display);
  font-size: clamp(19px, 5vw, 22px);
  line-height: 1.08;
  color: #2A2130;
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: balance;
  padding: 0;
}

html[lang="es"] .hero-card__question {
  font-size: clamp(16px, 4.4vw, 19px);
  line-height: var(--heading-line-height);
}

.hero-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 28px;
  margin-top: auto;
  flex-shrink: 0;
}

.hero-card__yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 5px 10px;
  border-radius: 999px;
  background: oklch(66% 0.17 35);
  color: #FFF9F3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-card__maybe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(42, 33, 48, 0.18);
  color: #6B5D68;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .illustration {
    animation: illustration-float 5.5s ease-in-out infinite;
  }
}

@keyframes illustration-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 375px) {
  .illustration {
    height: 210px;
  }

  .ghost-card {
    width: 78px;
    height: 108px;
    left: 2%;
  }

  .yes-card {
    width: 84px;
    height: 108px;
    right: 1%;
  }

  .yes-card__label {
    font-size: 8.5px;
  }

  .hero-card {
    padding: 14px 12px 12px;
  }

  .hero-card__question {
    font-size: clamp(18px, 5vw, 20px);
  }

  html[lang="es"] .hero-card__question {
    font-size: clamp(15px, 4.2vw, 17px);
  }
}

@media (max-width: 320px) {
  .illustration {
    height: 204px;
    margin: 18px 0 4px;
  }

  .ghost-card {
    width: 70px;
    height: 100px;
    left: 0;
    top: 24px;
    padding: 14px 10px;
  }

  .yes-card {
    width: 76px;
    height: 100px;
    right: 0;
    top: 28px;
    padding: 10px 8px;
  }

  .yes-card__emoji {
    font-size: 24px;
  }

  .yes-card__label {
    font-size: 7.5px;
  }

  .hero-card {
    top: 8px;
    padding: 12px 10px 11px;
    gap: 4px;
  }

  .hero-card__question {
    font-size: clamp(17px, 5.2vw, 19px);
  }

  html[lang="es"] .hero-card__question {
    font-size: clamp(14px, 4.4vw, 16px);
  }

  .hero-card__yes {
    min-width: 34px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .hero-card__maybe {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .confetti-fleck--1 {
    left: 48%;
  }
}

/* CTA */
.cta-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  background: oklch(66% 0.17 35);
  color: #FFF9F3;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 17px;
  padding: 19px 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 14px 28px -10px oklch(58% 0.17 35 / 0.55);
}

.cta-micro {
  text-align: center;
  font-size: 12.5px;
  color: #8B7C87;
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

