:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --wine: #300e17;
  --red: #842238;
  --gold: #f2ce87;
  --paper: #fcf4e5;
  --ink: #34201c;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #1e0b10; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #be7d2d; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: bold 1rem var(--serif); letter-spacing: .025em; }
.brand span, .stage-brand span { color: var(--gold); }
.stage {
  position: relative; isolation: isolate; width: 100%; min-height: 100svh;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: space-between; color: #fff7e9;
  background: #2b1018; overflow: hidden;
}
.stage-image, .stage-video, .stage-shade, .snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stage-image, .stage-video { object-fit: cover; object-position: 50% 42%; }
.stage-video { opacity: 0; }
.stage-video.visible { opacity: 1; }
.stage-shade { background: linear-gradient(180deg, #13090bc7, transparent 18%, transparent 40%, #1e0b1059 57%, #200c13f0 88%, #200c13); }
.stage-header, .stage-content, .playback { position: relative; z-index: 1; }
.stage-header {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .7rem;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
}
.stage-brand { justify-self: start; background: #29121cbb; border: 1px solid #f0d19743; padding: .55rem .8rem; border-radius: 2rem; font: bold .875rem var(--serif); }
.stage-brand span { margin-right: .2rem; }
.stage-tools { display: flex; gap: .35rem; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; color: #fff7e9; border: 1px solid #f0d19760; border-radius: 50%; background: #29121cdb; }
.icon-button:disabled { opacity: .54; cursor: default; }
.progress { display: flex; gap: .3rem; grid-column: 1/-1; }
.progress span { flex: 1; height: 3px; border-radius: 4px; background: #fff6e55a; }
.progress .complete { background: #f2ce87; }
.progress .current { background: #fff2cf; box-shadow: 0 0 9px #e7b656b0; }
.stage-content { padding: 1rem max(1rem, env(safe-area-inset-right)) max(1.15rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); }
.stage-content > * { max-width: 28rem; margin-inline: auto; }
.welcome { text-align: center; }
.eyebrow { color: #8b4d1e; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 750; margin: 0 0 .6rem; }
.welcome h1 { font: normal clamp(2.7rem, 9.4vw, 4rem)/.99 var(--serif); letter-spacing: -.045em; margin: 0 0 1rem; text-wrap: balance; color: #fff3d8; }
.welcome h1 em { color: var(--gold); }
.welcome .sound-note { font-size: .81rem; color: #e6cfba; margin: .7rem 0 0; }
.sound-note span { color: var(--gold); margin-right: .25rem; }
.button {
  display: inline-grid; place-items: center; width: 100%; min-height: 50px; padding: .72rem .95rem;
  border: 1px solid transparent; border-radius: .72rem; font-weight: 760; line-height: 1.2; text-align: center;
}
.gold { color: #321a13; background: linear-gradient(180deg, #ffe6ab, #edbc66); border-color: #ffdda0; box-shadow: 0 3px 0 #ad7032; }
.red { color: #fff7e9; background: var(--red); border-color: #ac4a57; }
.neutral { color: #4b2327; border-color: #d8bda4; background: #fff7ec; }
.secondary { color: #fff6e5; border-color: #f0d1977a; background: #421a27f5; }
.button:active { transform: translateY(1px); }
.prompt { margin: 0 0 .65rem; font: normal clamp(1.32rem, 5vw, 1.85rem)/1.11 var(--serif); text-wrap: balance; }
.question { text-align: center; }
.choices, .stage-form { display: grid; gap: .48rem; }
.ages { grid-template-columns: repeat(3, 1fr); }
.ages .button { min-height: 43px; }
.stage-form { text-align: left; }
.stage-form .prompt { text-align: center; margin-bottom: .08rem; }
.stage-form label, #phone-form label { font-size: .875rem; font-weight: 660; }
input:not([type=checkbox], [type=range]), textarea {
  width: 100%; min-width: 0; border: 1px solid #c9aa8d; border-radius: .56rem; min-height: 44px;
  padding: .53rem .7rem; background: #fff8eb; color: var(--ink); font-size: 1rem;
}
textarea { resize: vertical; }
.field { display: grid; gap: .22rem; }
.field small { color: #f3d9c0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.agree { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.3; padding: .2rem 0 .35rem; }
input[type=checkbox] { accent-color: var(--red); width: 1.17rem; height: 1.17rem; flex: 0 0 auto; margin: .1rem 0 0; }
.stage input[type=checkbox] { accent-color: #f2ce87; }
.field-error { font-size: .87rem; margin: .15rem 0; padding: .38rem .55rem; color: #37121b; background: #ffe2cb; border-radius: .4rem; }
.pulse { animation: pulse 2.2s ease-in-out 3; }
@keyframes pulse { 50% { box-shadow: 0 3px 0 #ad7032, 0 0 16px #fad89270; } }
.playback { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); width: min(calc(100% - 2rem), 20rem); text-align: center; border-radius: .9rem; background: #31121bf7; border: 1px solid #b77d53; padding: 1rem; }
.playback p { margin: 0 0 .8rem; }
.text-button { color: inherit; font-weight: 650; text-underline-offset: .22em; text-decoration: underline; background: none; border: 0; padding: .25rem 0; }
.playback .text-button { margin-top: .55rem; }
.snow { overflow: hidden; }
.snow i { position: absolute; top: -1rem; left: var(--x); width: var(--size); height: var(--size); border-radius: 50%; background: #fff4dd; opacity: .52; animation: fall var(--speed) linear var(--delay) infinite; }
@keyframes fall { to { transform: translate3d(28px, 105svh, 0); } }
.letter {
  position: relative; text-align: center; color: #44271e; padding: 1.05rem 1rem 1.2rem;
  border: 1px solid #ceab72; border-radius: .8rem; background: #e1b472; perspective: 800px;
  box-shadow: 0 12px 36px #170b12ab;
}
.envelope-flap { position: absolute; z-index: 1; inset: 0 0 auto; height: 62%; background: #d4a266; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; animation: unfold .74s ease-in-out both; pointer-events: none; }
.letter-paper { position: relative; z-index: 2; border: 1px solid #cb9a58; border-radius: .38rem; padding: 1rem; background: #fff1d1; animation: reveal-paper .66s .24s both; }
.letter-mark { background: #852237; color: #ffdda0; display: grid; place-items: center; width: 2rem; height: 2rem; margin: 0 auto .55rem; border-radius: 50%; }
.letter h2 { font: normal 1.35rem var(--serif); margin: 0; }
.letter p { min-height: 4.5rem; font: italic 1.12rem/1.35 var(--serif); text-align: left; margin-bottom: 0; }
.letter + .button { display: grid; margin-top: .7rem; }
@keyframes unfold { from { transform: rotateX(0); } to { transform: rotateX(160deg); } }
@keyframes reveal-paper { from { transform: translateY(24px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.offer { background: var(--paper); padding-bottom: 2rem; }
.offer-header { color: #fff6e4; text-align: center; padding: 1rem; background: var(--wine); }
.offer-content { width: min(100% - 2rem, 38rem); margin: auto; display: grid; gap: 1.1rem; }
.offer-content p { line-height: 1.5; }
.offer-intro { text-align: center; padding-top: 1.75rem; }
.offer-intro h2 { margin: 0; color: #591725; font: normal clamp(2.15rem, 8vw, 3.25rem)/1.06 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.offer-intro > p:not(.eyebrow) { margin: .75rem 0 0; }
.base-price strong, .total strong { color: #771d30; font-size: 1.6rem; }
.offer-card { min-width: 0; margin: 0; padding: 1rem; border: 1px solid #dfc4a4; background: #fffbf2; border-radius: .9rem; }
.offer-card h3 { font: bold 1.25rem/1.2 var(--serif); margin: 0 0 .55rem; color: #652234; }
.summary ul { padding-left: 1.25rem; margin-bottom: 0; }
.summary li { margin-top: .45rem; overflow-wrap: anywhere; }
.summary li::marker { color: #9c612d; }
.reaction, .centered, .checkout { text-align: center; }
.offer-content .reaction {
  font: clamp(1.55rem, 5.7vw, 2.25rem)/1.18 var(--serif);
  color: #591725;
  margin: .75rem 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.reaction strong { display: block; margin-top: .35em; font-size: 1.12em; }
.offer-content > .centered { margin: 0; }
.delivery p { margin: .4rem 0; }
.delivery .text-button { color: #782137; }
#phone-form { margin-top: .65rem; display: grid; gap: .4rem; }
.extra-choice { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: start; padding: .85rem .45rem; border-top: 1px solid #ebd8be; cursor: pointer; }
.extra-choice small { display: block; margin-top: .24rem; line-height: 1.35; color: #634b3c; }
.extra-choice b { color: #731e31; font-size: .84rem; white-space: nowrap; }
.bundle { background: #f9ebd0; border-radius: .5rem; }
.checkout p { margin: .5rem 0; }
.checkout .whatsapp { background: #176640; color: #fff; min-height: 55px; margin-top: .22rem; }
.small { font-size: .8125rem; color: #5f493d; }
.demo-title { margin: 0 0 .55rem; text-align: center; color: #652234; font: bold 1.25rem/1.2 var(--serif); }
.demo-player { position: relative; border-radius: .9rem; overflow: hidden; background: #230e17; margin-inline: auto; }
.demo-player video { display: block; width: 100%; max-height: 62svh; aspect-ratio: auto 16/9; object-fit: contain; }
.demo-controls { display: flex; gap: .5rem; padding: .4rem .55rem; align-items: center; color: #fff5df; }
.demo-controls button, #sample-cover { border: 0; background: transparent; color: inherit; min-width: 44px; min-height: 44px; }
.demo-controls input { width: 100%; accent-color: #f2ce87; }
#sample-cover { position: absolute; color: #321a13; background: var(--gold); border-radius: 50%; width: 62px; height: 62px; inset: 45% auto auto 50%; transform: translate(-50%, -50%); }
.footer { display: flex; justify-content: center; flex-wrap: wrap; gap: .45rem 1rem; text-align: center; color: #f2dac5; padding: .95rem 1rem max(.95rem, env(safe-area-inset-bottom)); font-size: .82rem; }
.footer .text-button { padding: 0; font-size: inherit; font-weight: inherit; }
.privacy-dialog { width: min(calc(100% - 1.25rem), 30rem); border: 1px solid #cea777; border-radius: .9rem; background: #fff7ea; color: var(--ink); padding: 1.1rem; }
.privacy-dialog::backdrop { background: #16090ec2; }
.privacy-dialog h2 { margin: 0; font: bold 1.44rem var(--serif); color: #691c2d; }
.privacy-buttons { display: flex; gap: .45rem; margin-top: 1rem; }
.cookie-notice { position: fixed; z-index: 4; bottom: max(.55rem, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(28rem, calc(100% - 1.15rem)); display: flex; flex-wrap: wrap; gap: .05rem .85rem; padding: .55rem .8rem; border: 1px solid #dbbb97; border-radius: .7rem; background: #fff6e9; box-shadow: 0 4px 24px #180a11a6; font-size: .8125rem; }
.cookie-notice p { width: 100%; margin: 0; }
.cookie-notice .text-button { color: #762438; }
.cookie-notice .text-button[data-cookie=granted] { margin-left: auto; }
body:has(#offer[hidden]) .cookie-notice { display: none; }
.legal { width: min(100% - 2rem, 47rem); margin: 2rem auto; padding: clamp(1rem, 5vw, 2.4rem); line-height: 1.6; background: var(--paper); border-radius: .8rem; overflow-wrap: anywhere; }
.legal h1, .legal h2 { color: #651c2c; font-family: var(--serif); line-height: 1.15; }
.legal h1 { font-size: clamp(2rem, 7vw, 3rem); }
.legal h2 { margin-top: 1.65rem; }
@media (min-aspect-ratio: 4/5) {
  .stage {
    background: radial-gradient(ellipse at 50% 38%, #69313b 0%, #38121e 47%, #1e0b10 84%);
  }
  .stage-image, .stage-video { object-fit: contain; }
  .stage-header { width: min(100%, max(26rem, 56.25dvh)); margin-inline: auto; }
}
@media (max-width: 360px) {
  .field-row { grid-template-columns: 1fr; }
  .welcome h1 { font-size: 2.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; }
  .snow { display: none; }
}
