:root {
  --ink: #51313e;
  --ink-soft: #805667;
  --paper: #fff7fa;
  --white: #ffffff;
  --berry: #c57898;
  --berry-dark: #873c58;
  --berry-action: #a83f66;
  --berry-light: #f7dfe9;
  --blush: #fff0f5;
  --butter: #f2d7e3;
  --butter-light: #fcebf2;
  --mint: #e8eff0;
  --lilac: #eee0ec;
  --line: rgba(61, 23, 36, 0.17);
  --shadow: 0 24px 70px rgba(91, 26, 48, 0.18);
  --display: "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  background: var(--ink);
  color: white;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 74px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 247, 250, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.brand img {
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--berry);
}

.header-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.header-note span {
  color: var(--berry);
  font-size: 0.7rem;
}

.header-action {
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
  transition: transform 160ms ease, background 160ms ease;
}

.header-action:hover {
  background: var(--blush);
  transform: translateY(-1px);
}

.local-strip {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(61, 23, 36, 0.12);
  color: var(--ink);
  background: var(--butter);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-align: center;
}

.local-strip strong {
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.storefront {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.storefront-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: clamp(38px, 6vw, 100px);
  align-items: center;
  min-height: calc(100vh - 106px);
  padding: clamp(56px, 8vw, 118px) max(5vw, calc((100vw - 1400px) / 2));
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 730px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--berry-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.template-copy h3,
.editor-panel h1,
.result-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(3.4rem, 6.1vw, 6.6rem);
}

.hero-copy h1 em {
  position: relative;
  color: var(--berry);
  font-style: normal;
  white-space: nowrap;
}

.hero-copy h1 em::after {
  content: "";
  position: absolute;
  right: 1%;
  bottom: -0.03em;
  left: 0;
  height: 0.12em;
  border-radius: 999px;
  background: var(--butter);
  transform: rotate(-1.5deg);
  z-index: -1;
}

.intro-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 14px 21px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
  text-decoration: none;
  box-shadow: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(61, 23, 36, 0.38);
  transform: translateY(-1px);
}

.button--primary {
  color: white;
  border-color: transparent;
  background: var(--berry-action);
}

.button--dark {
  color: white;
  border-color: transparent;
  background: var(--ink);
}

.button--ghost {
  background: transparent;
}

.button span {
  display: inline-block;
  margin-left: 7px;
  transition: transform 160ms ease;
}

.button:hover span {
  transform: translateX(3px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 27px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-proof i {
  color: var(--berry);
  font-size: 1.1rem;
  font-style: normal;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 690px;
  border: 1.5px solid var(--ink);
  border-radius: 52px 52px 160px 52px;
  background: var(--berry-light);
  box-shadow: 10px 11px 0 var(--ink);
  transform: rotate(1.2deg);
}

.hero-phone,
.template-phone,
.preview-device {
  position: relative;
  overflow: hidden;
  border: 8px solid var(--ink);
  border-radius: 42px;
  background: var(--white);
  box-shadow: 0 22px 55px rgba(61, 23, 36, 0.28);
}

.hero-phone {
  width: min(340px, 68%);
  height: 650px;
  transform: rotate(-2.3deg);
}

.hero-phone::before,
.template-phone::before,
.preview-device::before {
  content: "";
  position: absolute;
  z-index: 8;
  top: 9px;
  left: 50%;
  width: 82px;
  height: 20px;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.hero-sticker {
  position: absolute;
  z-index: 6;
  padding: 10px 16px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: var(--butter);
  font-size: 0.83rem;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

.hero-sticker--top {
  top: 12%;
  left: 3%;
  transform: rotate(-9deg);
}

.hero-sticker--bottom {
  right: 0;
  bottom: 15%;
  max-width: 150px;
  background: var(--white);
  transform: rotate(8deg);
}

.hero-heart {
  position: absolute;
  color: var(--berry);
  font-family: var(--display);
}

.hero-heart--one {
  top: 7%;
  right: 12%;
  font-size: 3.2rem;
  transform: rotate(12deg);
}

.hero-heart--two {
  bottom: 5%;
  left: 12%;
  font-size: 5rem;
  transform: rotate(-14deg);
}

.template-section {
  padding: 100px max(5vw, calc((100vw - 1400px) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 20px 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2 {
  max-width: 760px;
  font-size: clamp(2.6rem, 4.6vw, 5rem);
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.template-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.template-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  grid-template-rows: auto auto;
  gap: 24px;
  min-height: 620px;
  padding: clamp(24px, 3vw, 44px);
  border: 1.5px solid var(--ink);
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 7px 8px 0 var(--ink);
}

.template-row--berry {
  background: var(--blush);
}

.template-row--butter {
  background: var(--butter-light);
}

.template-copy {
  position: relative;
  z-index: 2;
  align-self: start;
}

.template-index {
  margin: 0 0 18px;
  color: var(--berry-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.template-copy h3 {
  max-width: 430px;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1.02;
}

.template-copy > p:not(.template-index) {
  max-width: 420px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.feature-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-line li {
  padding: 7px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  font-weight: 800;
}

.template-stage {
  position: relative;
  display: grid;
  grid-column: 2;
  grid-row: 1 / 3;
  place-items: center;
  min-height: 510px;
  padding: 0;
  background: transparent;
}

.template-stage::before,
.template-stage::after {
  display: none;
}

.template-phone {
  width: 238px;
  height: 488px;
  border-width: 6px;
  border-radius: 33px;
  transform: rotate(2deg);
}

.template-row:nth-child(2) .template-phone {
  transform: rotate(-2deg);
}

.template-actions {
  display: flex;
  grid-column: 1;
  gap: 17px;
  align-self: end;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
}

.template-actions > p {
  display: none;
}

.text-link {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  text-underline-offset: 4px;
}

.process-strip {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 0.75fr));
  gap: 0;
  max-width: none;
  margin: 0;
  padding: 86px max(5vw, calc((100vw - 1400px) / 2));
  border: 0;
  background: var(--berry-light);
  color: var(--ink);
}

.process-strip h2 {
  max-width: 300px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.4rem);
  letter-spacing: 0;
  line-height: 1;
}

.process-strip > div {
  padding: 3px 26px;
  border-left: 1px solid var(--line);
}

.process-strip b {
  color: var(--berry-dark);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.process-strip h3 {
  margin: 16px 0 5px;
  font-family: var(--display);
  font-size: 1.15rem;
}

.process-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.honesty-note {
  display: flex;
  gap: 26px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 68px;
  border: 0;
  background: transparent;
}

.honesty-note > span {
  flex: 0 0 auto;
  color: var(--berry);
  font-size: 4rem;
}

.honesty-note h2 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: 1.45rem;
}

.honesty-note p {
  margin: 0;
  color: var(--ink-soft);
}

/* The gift is the product: every preview and recipient route uses this renderer. */
.gift {
  position: relative;
  width: 100%;
  min-height: 620px;
  overflow: hidden;
  color: var(--ink);
  background: var(--blush);
}

.gift--date {
  color: var(--ink);
  background: var(--blush);
}

.gift[data-mini="true"] {
  height: 100%;
  min-height: 100%;
}

.gift-topline {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: rgba(61,23,36,0.72);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gift-topline span:last-child {
  color: var(--berry);
  font-size: 1.2rem;
  line-height: 0.7;
}

.date-cover,
.gift-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: inherit;
  padding: 48px clamp(23px, 7vw, 56px) 34px;
  overflow: hidden;
  background: var(--blush);
}

.date-cover::after,
.gift-cover::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -80px;
  width: 260px;
  height: 190px;
  border: 22px solid rgba(255,79,115,0.12);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.date-visual,
.gift-photo-hero {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-height: 220px;
  margin: 10px 0 4px;
  background: transparent;
}

.scene-mascot {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  font-family: "Segoe UI Emoji", sans-serif;
  font-size: 6.8rem;
  line-height: 1;
  filter: drop-shadow(0 12px 14px rgba(108, 42, 62, 0.13));
  transform: rotate(-3deg);
}

.scene-mascot::before {
  display: none;
  content: none;
}

.scene-mascot.bunny-stage {
  display: block;
  width: min(300px, 74vw);
  height: auto;
  object-fit: contain;
  font-family: inherit;
  filter: none;
  transform: none;
  animation: none;
}

/* The ground stays fixed; only the character leaves it. The PNG has real alpha. */
.bunny-stage {
  position: relative;
  aspect-ratio: 1;
  isolation: isolate;
}

.bunny-stage img.bunny-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: none;
}

.bunny-puppet {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  transform-origin: 52% 94%;
  animation: bunny-hop 3.2s linear infinite;
}

.bunny-life {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bunny-puppet.has-life .bunny-art {
  opacity: 0;
}

.bunny-ground-shadow {
  position: absolute;
  left: 52%;
  bottom: 5.4%;
  width: 34%;
  height: 4%;
  border-radius: 50%;
  background: #9c6b80;
  filter: blur(4px);
  opacity: .2;
  transform: translateX(-50%);
  animation: bunny-shadow 3.2s linear infinite;
}

.scene-mascot--photo {
  object-fit: cover;
  border: 7px solid white;
  border-radius: 42% 58% 46% 54%;
  filter: drop-shadow(0 16px 16px rgba(108, 42, 62, 0.16));
}

.scene-mascot--photo::before {
  display: none;
}

.date-visual img.scene-mascot--photo,
.gift-photo-hero img.scene-mascot--photo {
  width: min(220px, 65vw);
  height: 240px;
  min-height: 0;
  object-fit: cover;
}

.orbit-note {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px 7px 9px;
  border: 0;
  border-radius: 999px;
  color: var(--berry-dark);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1;
  box-shadow: 0 7px 18px rgba(81, 24, 44, 0.1);
  backdrop-filter: blur(6px);
}

.orbit-note::before {
  color: var(--berry);
  font-size: 0.72rem;
  line-height: 1;
  content: "♥";
}

.orbit-note--one {
  top: 20%;
  left: 6%;
  transform: rotate(-4deg);
}

.orbit-note--two {
  right: 5%;
  bottom: 19%;
  color: var(--berry-dark);
  background: rgba(250, 224, 235, 0.94);
  transform: rotate(4deg);
}

.orbit-note--two::before {
  color: var(--berry-dark);
  content: "✦";
}

.date-cover-copy,
.gift-cover-copy {
  position: relative;
  z-index: 3;
  min-height: 0;
  padding: 0;
  background: transparent;
  text-align: center;
}

.date-cover-copy::before,
.date-visual::after,
.journey-stop::before {
  display: none;
  content: none;
}

.template-phone .date-cover-copy,
.preview-device .date-cover-copy,
.template-phone .gift-cover-copy,
.preview-device .gift-cover-copy {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.template-phone .date-visual::after,
.preview-device .date-visual::after {
  display: none;
  background: none;
  content: none;
}

.gift-kicker {
  margin: 0 0 10px;
  color: var(--berry-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.date-cover-copy .gift-kicker {
  color: var(--berry-dark);
}

.date-cover-copy h1,
.gift-cover-copy h1,
.gift-letter h2,
.journey-stop .stop-value,
.journey-finale h3,
.final-message h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.date-cover-copy h1,
.gift-cover-copy h1 {
  font-size: clamp(2.05rem, 8vw, 3.6rem);
}

.gift .gift-message {
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
}

.gift-open {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 52px;
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: white;
  background: var(--berry-action);
  font-weight: 900;
  box-shadow: none;
  cursor: pointer;
}

.gift-open::after {
  content: none;
}

.gift--date .gift-open {
  border-color: transparent;
  color: white;
  background: var(--berry-action);
}

.gift-open b {
  font-size: 1.25rem;
}

.gift[data-mini="true"] .gift-topline {
  font-size: 0.48rem;
}

.gift[data-mini="true"] .date-cover,
.gift[data-mini="true"] .gift-cover {
  min-height: 100%;
  padding: 39px 18px 22px;
}

.gift[data-mini="true"] .date-visual,
.gift[data-mini="true"] .gift-photo-hero {
  min-height: 150px;
  margin-top: 4px;
}

.gift[data-mini="true"] .scene-mascot {
  width: 118px;
  height: 118px;
  font-size: 5.2rem;
}

.hero-phone .gift[data-mini="true"] .bunny-stage {
  width: min(100%, 240px);
  height: auto;
}

.gift[data-mini="true"] .orbit-note {
  gap: 3px;
  padding: 4px 6px;
  font-size: 0.45rem;
  box-shadow: 0 4px 10px rgba(81, 24, 44, 0.08);
}

.gift[data-mini="true"] .orbit-note::before {
  font-size: 0.48rem;
}

.gift[data-mini="true"] .date-cover-copy h1,
.gift[data-mini="true"] .gift-cover-copy h1 {
  font-size: 1.55rem;
}

.gift[data-mini="true"] .gift-message {
  max-height: 48px;
  overflow: hidden;
  font-size: 0.67rem;
  line-height: 1.35;
}

.gift[data-mini="true"] .gift-kicker {
  font-size: 0.47rem;
}

.gift[data-mini="true"] .gift-open {
  min-height: 41px;
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.68rem;
  box-shadow: none;
}

.gift.is-open .date-cover,
.gift.is-open .gift-cover {
  display: none;
}

.date-journey,
.gift-inside {
  display: none;
  min-height: inherit;
}

.gift.is-open .date-journey,
.gift.is-open .gift-inside {
  display: flex;
}

.date-journey {
  position: relative;
  flex-direction: column;
  min-height: inherit;
  margin: 0;
  padding: 0;
  background: var(--paper);
}

.journey-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 66px;
  margin: 0;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
}

.journey-brand {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.journey-heart {
  justify-self: end;
  color: var(--berry);
  font-size: 1.35rem;
}

.journey-progress {
  display: flex;
  gap: 5px;
}

.journey-progress i {
  display: block;
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: var(--berry-light);
  transition: background 240ms ease;
}

.journey-progress i.is-active {
  background: var(--berry);
}

.journey-stops {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
}

.journey-stops[hidden],
.question-scene[hidden] {
  display: none;
}

.journey-stop {
  display: none;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 520px;
  padding: 40px clamp(24px, 8vw, 60px);
  border: 0;
  color: var(--ink);
  background: var(--paper);
  text-align: center;
  cursor: pointer;
}

.journey-stop.is-current {
  display: flex;
  animation: scene-in 360ms cubic-bezier(.22,.8,.32,1) both;
}

.journey-stop:disabled {
  opacity: 1;
}

.story-emoji,
.finale-mascot,
.final-message > span {
  display: block;
  margin-bottom: 22px;
  font-family: "Segoe UI Emoji", sans-serif;
  font-size: clamp(4.5rem, 17vw, 6.5rem);
  line-height: 1;
  filter: drop-shadow(0 13px 15px rgba(93, 29, 51, 0.14));
}

.story-illustration,
.finale-illustration {
  display: block;
  width: min(210px, 58vw);
  height: auto;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: none;
  animation: bunny-arrive 520ms cubic-bezier(.18,.82,.28,1.1) both;
}

.finale-illustration {
  width: min(250px, 68vw);
}

.stop-number {
  display: block;
  margin: 0;
  color: var(--berry-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stop-label {
  display: block;
  margin-bottom: 0;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.journey-stop .stop-value {
  display: block;
  max-width: 430px;
  margin-top: 10px;
  font-size: clamp(2.25rem, 8vw, 4rem);
  filter: none;
  opacity: 1;
}

.stop-hint {
  display: block;
  max-width: 390px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.tap-label {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 390px;
  margin-top: 34px;
  padding: 14px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: white;
  background: var(--berry-action);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: none;
}

.journey-finale,
.final-message,
.question-scene {
  display: none;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 42px clamp(24px, 8vw, 60px);
  border: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  text-align: center;
  background: var(--berry-light);
}

.journey-finale.is-visible,
.final-message.is-visible {
  display: flex;
  animation: scene-in 360ms cubic-bezier(.22,.8,.32,1) both;
}

.journey-finale h3,
.final-message h3,
.question-scene h3 {
  font-size: clamp(2.8rem, 10vw, 4.8rem);
}

.question-scene:not([hidden]) {
  display: flex;
}

.question-scene h3 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(2rem, 7vw, 2.8rem);
  line-height: 1.1;
}

.question-heart {
  color: var(--berry-dark);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 18px;
}

.question-form {
  width: 100%;
  max-width: 390px;
  text-align: left;
}

.question-form label {
  display: block;
  font-weight: 800;
}

.question-form textarea {
  display: block;
  width: 100%;
  min-height: 132px;
  max-height: 300px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--berry-dark);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.question-form p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.question-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.question-actions .button:disabled {
  opacity: .65;
  cursor: default;
}

.question-status:empty {
  display: none;
}

.question-back {
  min-height: 48px;
  font-size: 1rem;
  margin-top: 16px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.journey-finale > p:not(.stop-number),
.final-message p {
  max-width: 360px;
  margin: 13px 0 0;
  color: var(--ink-soft);
}

.journey-finale > .stop-number {
  color: var(--berry-dark);
}

.answer-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-width: 390px;
  margin-top: 30px;
}

.answer-buttons button {
  min-height: 52px;
  padding: 13px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: white;
  background: var(--berry-action);
  font-weight: 900;
  box-shadow: none;
  cursor: pointer;
}

.answer-buttons button:last-child {
  color: var(--ink);
  border-color: var(--line);
  background: white;
}

.gift-inside {
  flex-direction: column;
  padding: 48px clamp(24px, 8vw, 60px);
  background: var(--paper);
}

.gift-collage {
  display: flex;
  justify-content: center;
  min-height: 180px;
  margin: 10px 0 30px;
}

.collage-visual {
  width: 150px;
  height: 170px;
  margin: 0 -16px;
  object-fit: cover;
  border: 8px solid white;
  border-bottom-width: 26px;
  border-radius: 6px;
  background: var(--blush);
  font-family: "Segoe UI Emoji", sans-serif;
  font-size: 5rem;
  line-height: 142px;
  text-align: center;
  box-shadow: 0 13px 26px rgba(61,23,36,0.15);
  transform: rotate(-6deg);
}

.collage-visual:nth-child(2) {
  z-index: 2;
  transform: translateY(10px) rotate(4deg);
}

.collage-visual:nth-child(3) {
  transform: rotate(8deg);
}

.gift-letter {
  max-width: 540px;
  margin: auto;
  text-align: left;
}

.gift-letter h2 {
  font-size: clamp(2.3rem, 8vw, 4rem);
}

.gift-letter .gift-message {
  white-space: pre-line;
}

.gift-signature {
  margin: 24px 0 0;
  color: var(--berry-dark);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
}

.gift-view,
.full-preview {
  --gift-height: min(740px, calc(100dvh - 48px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 100dvh;
  padding: 24px;
  background: var(--berry-light);
}

.full-preview[data-template="date"] {
  background: var(--berry-light);
}

.gift-view > .gift,
.full-preview > .gift {
  width: min(100%, 520px);
  min-height: var(--gift-height);
  margin: 0 auto;
  border: 2px solid var(--ink);
  border-radius: 38px;
  box-shadow: 10px 12px 0 var(--ink);
}

.preview-toolbar {
  position: relative;
  z-index: 30;
  right: auto;
  bottom: auto;
  left: auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  width: min(100%, 520px);
  flex-wrap: wrap;
  padding: 12px;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  background: rgba(255,249,244,0.93);
  box-shadow: 6px 7px 0 var(--ink);
  backdrop-filter: blur(18px);
}

@media (min-width: 561px) {
  .gift--immersive .date-cover,
  .gift--immersive .gift-cover {
    padding: 28px 36px;
  }

  .gift--immersive .scene-mascot.bunny-stage {
    width: 250px;
  }

  .gift--immersive .date-cover-copy h1,
  .gift--immersive .gift-cover-copy h1 {
    font-size: 2.65rem;
  }

  .gift--immersive .journey-stop,
  .gift--immersive .journey-finale,
  .gift--immersive .final-message,
  .gift--immersive .question-scene {
    min-height: calc(var(--gift-height) - 66px);
    padding: 28px 36px;
  }

  .gift--immersive .stop-value {
    font-size: 2.65rem;
  }

  .gift--immersive .journey-finale h3,
  .gift--immersive .final-message h3 {
    font-size: 3.2rem;
  }
}

.preview-toolbar .button {
  min-height: 45px;
  padding: 10px 16px;
}

/* Editor and result keep the same functionality, now inside the same visual world. */
.editor-shell,
.result-page {
  max-width: none;
  margin: 0;
  padding: 40px max(4vw, calc((100vw - 1400px) / 2)) 80px;
  background: var(--paper);
}

.progress-rail {
  max-width: 900px;
  margin: 0 auto 34px;
  padding: 0;
  border: 0;
}

.progress-step {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.progress-step span {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: white;
}

.progress-step.is-current span,
.progress-step.is-done span {
  color: white;
  background: var(--berry);
}

.editor-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.editor-panel,
.result-copy,
.result-links {
  padding: clamp(28px, 4vw, 54px);
  border: 1.5px solid var(--ink);
  border-radius: 32px;
  background: white;
  box-shadow: 7px 8px 0 var(--ink);
}

.editor-panel h1,
.result-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.editor-lead,
.result-copy > p {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.field-grid {
  gap: 20px;
}

.field label,
.upload-label,
.share-block label {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.field input,
.field textarea,
.share-line input {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}

.field input:focus,
.field textarea:focus,
.share-line input:focus {
  border-color: var(--berry);
  outline: 3px solid rgba(255,79,115,0.16);
}

.upload-zone {
  border-top: 1px solid var(--line);
}

.upload-drop {
  border: 1.5px dashed var(--berry);
  border-radius: 16px;
  background: var(--blush);
}

.editor-actions {
  gap: 13px;
  border-top: 1px solid var(--line);
}

.preview-panel {
  position: sticky;
  top: 20px;
  padding: 28px;
  border: 1.5px solid var(--ink);
  border-radius: 32px;
  background: var(--berry-light);
  box-shadow: 7px 8px 0 var(--ink);
}

.preview-caption {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preview-device {
  width: min(100%, 370px);
  height: 690px;
  margin: auto;
}

.result-wrap {
  gap: 28px;
}

.result-links h2 {
  font-family: var(--display);
  font-size: 1.8rem;
}

.share-block,
.payment-boundary {
  border-color: var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.payment-boundary {
  border: 1.5px solid var(--ink);
  background: var(--butter-light);
}

.loading-screen,
.error-page,
.boot-screen {
  background: var(--blush);
}

.loading-screen h1,
.error-page h1,
.boot-screen h1 {
  font-family: var(--display);
  letter-spacing: 0;
}

.toast {
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  color: white;
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--berry);
}

.spark {
  border-radius: 50% 50% 50% 0;
}

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

@keyframes bunny-hop {
  /* In sync with hopAt(): takeoff .98s, apex 1.21s, contact 1.44s.
     Two quadratic halves form one ballistic arc. No whole-body squash. */
  0%, 30.625% { transform: translateY(0); animation-timing-function: cubic-bezier(.333333,.666667,.666667,1); }
  37.8125% { transform: translateY(-9%); animation-timing-function: cubic-bezier(.333333,0,.666667,.333333); }
  45%, 100% { transform: translateY(0); }
}

@keyframes bunny-shadow {
  0%, 30.625%, 45%, 57.5%, 100% { transform: translateX(-50%) scale(1); opacity: .2; }
  37.8125% { transform: translateX(-50%) scale(.76); opacity: .11; }
  48.125% { transform: translateX(-50%) scale(1.04); opacity: .22; }
}

@keyframes bunny-arrive {
  from { opacity: 0; transform: translateY(14px) scale(.94) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes scene-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1050px) {
  .storefront-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 34px;
  }

  .template-row {
    grid-template-columns: minmax(0, 1fr) 210px;
  }

  .template-phone {
    width: 204px;
    height: 440px;
  }

  .process-strip {
    grid-template-columns: 1fr repeat(3, minmax(0, 0.8fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .header-note {
    display: none;
  }

  .local-strip {
    display: block;
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  .local-strip strong {
    margin-right: 5px;
  }

  .storefront-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 20px 78px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 13vw, 5.4rem);
  }

  .hero-stage {
    width: min(100%, 560px);
    min-height: 680px;
    margin: 6px auto 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .template-section {
    padding: 75px 20px;
  }

  .template-list {
    grid-template-columns: 1fr;
  }

  .template-row {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  .process-strip {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 70px 24px;
  }

  .process-strip h2 {
    max-width: 500px;
  }

  .process-strip > div {
    padding: 0 0 0 18px;
  }

  .editor-grid,
  .result-wrap {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 560px) {
  body {
    min-width: 0;
  }

  .brand img {
    width: 29px;
    height: 29px;
  }

  .header-action {
    padding: 8px 12px;
    font-size: 0.78rem;
    box-shadow: none;
  }

  .storefront-hero {
    gap: 42px;
    padding-top: 42px;
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.25rem);
  }

  .hero-copy h1 em {
    white-space: normal;
  }

  .intro-copy {
    margin-top: 21px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    margin-top: 27px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    justify-content: center;
    font-size: 0.74rem;
  }

  .hero-stage {
    min-height: 604px;
    border-radius: 34px 34px 96px 34px;
    box-shadow: 6px 7px 0 var(--ink);
  }

  .hero-phone {
    width: 272px;
    height: 548px;
  }

  .hero-sticker--top {
    top: 5%;
    left: -4px;
  }

  .hero-sticker--bottom {
    right: -4px;
    bottom: 8%;
  }

  .hero-heart--one {
    right: 3%;
  }

  .hero-heart--two {
    bottom: 0;
    left: 4%;
  }

  .section-heading h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .template-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    padding: 27px 22px 30px;
    border-radius: 28px;
    box-shadow: 5px 6px 0 var(--ink);
  }

  .template-copy h3 {
    font-size: 2.5rem;
  }

  .template-stage {
    grid-column: 1;
    grid-row: 2;
    min-height: 480px;
  }

  .template-phone {
    width: 230px;
    height: 460px;
  }

  .template-actions {
    grid-column: 1;
    grid-row: 3;
    flex-direction: column;
    align-items: stretch;
  }

  .template-actions .text-link {
    text-align: center;
  }

  .honesty-note {
    align-items: flex-start;
  }

  .honesty-note > span {
    font-size: 2.8rem;
  }

  .gift-view,
  .full-preview {
    gap: 0;
    padding: 0;
    background: var(--blush);
  }

  .gift-view > .gift,
  .full-preview > .gift {
    width: 100%;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .date-cover,
  .gift-cover {
    min-height: 100dvh;
    padding: 38px 24px max(30px, env(safe-area-inset-bottom));
  }

  .date-visual,
  .gift-photo-hero {
    min-height: 250px;
  }

  .scene-mascot {
    width: 170px;
    height: 170px;
    font-size: 7.2rem;
  }

  .journey-stop,
  .journey-finale,
  .final-message,
  .question-scene {
    min-height: calc(100dvh - 66px);
    padding: 34px 23px max(32px, env(safe-area-inset-bottom));
  }

  .preview-toolbar {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    flex-direction: column;
    margin: 0;
    padding: 15px;
    border: 0;
    border-top: 1.5px solid var(--ink);
    border-radius: 0;
    box-shadow: none;
  }

  .editor-shell,
  .result-page {
    padding: 26px 16px 60px;
  }

  .progress-rail {
    overflow-x: auto;
  }

  .editor-panel,
  .result-copy,
  .result-links,
  .preview-panel {
    padding: 24px 18px;
    border-radius: 24px;
    box-shadow: 4px 5px 0 var(--ink);
  }

  .editor-panel h1,
  .result-copy h1 {
    font-size: 2.9rem;
  }

  .preview-device {
    width: 100%;
    height: 630px;
    border-width: 6px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .editor-actions {
    display: grid;
  }
}

@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;
  }
}
/* Optional personal audio and calendar details share the soft invitation palette. */
.checkout-page { max-width: 1080px; margin: 0 auto; padding: 64px 28px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; color: #572b3b; }
.checkout-intro h1 { max-width: 540px; margin: 18px 0; font: 500 clamp(36px, 4vw, 54px)/1.1 var(--display); }
.checkout-intro > p:not(.eyebrow) { font-size: 17px; line-height: 1.7; color: #684452; }
.checkout-intro > .button { margin-top: 14px; }
.checkout-order { grid-column: 2; grid-row: 1 / span 2; align-self: start; min-width: 0; padding: 32px; border: 1px solid #d7abb7; border-radius: 18px; background: #fff8fa; }
.checkout-order h2 { margin: 24px 0 16px; font: 600 24px/1.3 var(--body); overflow-wrap: anywhere; }
.checkout-mode { margin: 0; color: #873c58; font: 600 14px/1.5 var(--body); }
.checkout-price { margin: 0; font: 500 32px/1.3 var(--body); }
.checkout-description, .checkout-provider, .checkout-status { font-size: 15px; line-height: 1.65; color: #684452; }
.checkout-page .checkout-pay { width: 100%; min-height: 52px; margin-top: 14px; background: #984765; color: white; border: 0; border-radius: 12px; box-shadow: none; white-space: normal; font-size: 16px; }
.checkout-page .checkout-pay:disabled { opacity: 1; background: #e6ccd5; color: #654452; cursor: not-allowed; }
.checkout-status { margin-top: 24px; border-top: 1px solid #d7abb7; padding-top: 20px; }
.checkout-check { min-height: 48px; padding: 10px 0; border: 0; background: none; color: #873c58; font: 600 15px/1.4 var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.checkout-check:focus-visible { outline: 2px solid #984765; outline-offset: 4px; }
.checkout-private { grid-column: 1; align-self: start; min-width: 0; padding-top: 24px; border-top: 1px solid #d7abb7; }
.checkout-private label { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.checkout-private p, .checkout-local { font-size: 14px; line-height: 1.65; color: #684452; }
.checkout-private .share-line { min-width: 0; }
.checkout-private .share-line input { min-width: 0; width: 100%; font-size: 14px; }
.checkout-local { grid-column: 1 / -1; border-top: 1px solid #d7abb7; padding-top: 20px; margin: 0; }
.test-gift-notice { margin: 0 auto 12px; max-width: 520px; color: #684452; font-size: 14px; text-align: center; }
@media (max-width: 700px) {
  .checkout-page { grid-template-columns: minmax(0, 1fr); padding: 32px 20px; gap: 28px; }
  .checkout-order { grid-column: auto; grid-row: auto; padding: 24px 20px; }
  .checkout-private .share-line { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .checkout-page .button { min-height: 48px; }
}
.voice-editor,
.calendar-editor {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 24px 0;
  margin: 8px 0;
  border: 0;
  border-top: 1px solid #d7abb7;
  color: #572b3b;
}
.voice-editor h2, .calendar-editor legend { font: 600 22px/1.3 var(--body); color: #572b3b; }
.calendar-editor legend { padding: 0 10px 0 0; }
.voice-editor p, .calendar-editor > p { font-size: 16px; line-height: 1.6; color: #684452; }
.calendar-editor .field-grid { margin-top: 16px; }
.calendar-editor select {
  display: block; width: 100%; min-width: 0; min-height: 52px;
  border: 1px solid #ba909d; border-radius: 12px; background: #fff8fa;
  color: #572b3b; padding: 12px; font: inherit; font-size: 16px;
}
.voice-editor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.voice-editor-actions [hidden], .voice-editor [hidden] { display: none !important; }
.voice-upload { position: relative; overflow: hidden; cursor: pointer; }
.voice-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.voice-upload:focus-within { outline: 3px solid #91445f; outline-offset: 3px; }
.voice-upload:has(input:disabled) { opacity: .55; }
.voice-editor .voice-editor-status { min-height: 26px; font-size: 14px; }
.voice-editor > [data-voice-remove] { min-height: 48px; padding: 10px 0; border: 0; background: transparent; color: #873c58; font: 600 15px/1.4 var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.voice-player {
  width: min(100%, 360px); margin: 20px auto; padding: 16px 18px;
  border: 1px solid #d7abb7; border-radius: 20px;
  background: #fff7f9; color: #572b3b; text-align: left;
  box-sizing: border-box;
}
.voice-editor .voice-player { margin-left: 0; }
.voice-caption { display: block; font: 600 14px/1.5 var(--body); margin-bottom: 10px; overflow-wrap: anywhere; }
.voice-controls { display: flex; align-items: center; gap: 14px; }
.voice-play {
  flex: 0 0 48px; width: 48px; min-height: 48px; border: 0;
  border-radius: 50%; color: #fff; background: #984765;
  font: 600 20px/1 sans-serif; cursor: pointer;
}
.voice-play:hover { background: #77344d; }
.voice-play:focus-visible { outline: 3px solid #572b3b; outline-offset: 3px; }
.voice-track { flex: 1; min-width: 0; }
.voice-track progress { display: block; width: 100%; height: 6px; border: 0; border-radius: 4px; overflow: hidden; background: #e8c6d1; accent-color: #984765; }
.voice-track progress::-webkit-progress-bar { background: #e8c6d1; }
.voice-track progress::-webkit-progress-value { background: #984765; }
.voice-track progress::-moz-progress-bar { background: #984765; }
.voice-time { display: block; margin-top: 6px; font: 500 13px/1.3 var(--body); font-variant-numeric: tabular-nums; }
.voice-error { display: block; font-size: 14px; line-height: 1.5; margin-top: 6px; }
.voice-error:empty { display: none; }
.gift .calendar-save { width: min(100%, 380px); margin: 22px auto 0; }
.gift .calendar-save .button { min-height: 50px; width: 100%; background: #984765; color: #fff; border-color: #984765; font-size: 16px; }
.gift .calendar-save p { font-size: 16px; line-height: 1.5; margin: 12px 0 6px; color: #684452; }
.gift .calendar-save small, .calendar-status { display: block; font-size: 13px; line-height: 1.5; color: #684452; }
.calendar-status { margin-top: 10px; }
@media (max-width: 560px) {
  .voice-editor-actions > .button { flex: 1 1 100%; }
  .voice-player { padding: 14px; }
}
