:root {
  color-scheme: light;
  --paper: #f8f3eb;
  --card: #fffcf7;
  --ink: #302d29;
  --muted: #777067;
  --orange: #c9431c;
  --orange-bright: #ea592b;
  --line: #e6ded2;
  --soft: #fff0e6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100svh; display: flex; flex-direction: column; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
button:disabled { cursor: default; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1440px; margin: 0 auto; padding: 28px 5vw; gap: 16px; }
.wordmark { color: var(--ink); font: bold 35px/1 Georgia, "Times New Roman", serif; letter-spacing: -2px; text-decoration: none; white-space: nowrap; }
.wordmark > span:first-child { color: var(--orange); }
.wordmark .wordmark-heart { display: inline-block; color: var(--orange); font: 26px Georgia, serif; margin-left: 13px; transform: rotate(-12deg); vertical-align: middle; }
.languages { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: #fffcf780; gap: 2px; }
.languages button { border: none; border-radius: 99px; color: var(--muted); background: transparent; min-height: 40px; min-width: 44px; font-size: 13px; font-weight: 650; transition: color .15s, background .15s; }
.languages button[aria-pressed="true"] { color: white; background: var(--orange); }
main { width: 100%; max-width: 620px; margin: auto; padding: 20px 30px 38px; }
.intro { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--orange); margin: 0 0 27px; }
.intro p { margin: 0; font: italic 19px/1.4 Georgia, "Times New Roman", serif; text-align: center; }
.intro-rule { width: 27px; height: 1px; background: #cc67473d; flex-shrink: 0; }
.card-stack { position: relative; isolation: isolate; }
.card-stack::before { content: ""; position: absolute; inset: 7px 1px -6px; z-index: -1; border: 1px solid #e2ba9f; background: #f8dfca; border-radius: 18px; transform: rotate(-2.2deg); }
.invitation { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 38px 0; box-shadow: 0 10px 40px #60461c06; overflow: hidden; }
.card-top { display: flex; gap: 15px; align-items: center; justify-content: space-between; font-size: 11px; letter-spacing: 1.5px; line-height: 1.5; font-weight: 650; color: var(--muted); }
.edition { white-space: nowrap; color: var(--orange); font-family: Georgia, serif; font-size: 15px; font-style: italic; letter-spacing: 0; }
.progress { display: flex; gap: 6px; margin: 18px 0 30px; }
.progress span { height: 3px; flex: 1; border-radius: 8px; background: #ebe4db; transition: background .25s; }
.progress span.active { background: var(--orange-bright); }
.progress span.current { background: #f2a389; }
.screen { padding-bottom: 28px; }
.screen.entering { animation: enter .32s ease both; }
.question-icon { display: inline-grid; place-items: center; min-width: 48px; height: 48px; font-size: 25px; background: var(--soft); border-radius: 15px; margin-bottom: 19px; }
h1 { font: 400 clamp(2.4rem, 5vw, 3.45rem)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -1.8px; margin: 0 0 15px; overflow-wrap: break-word; }
h1 em { font-weight: 400; color: var(--orange); }
.description { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 25px; max-width: 390px; }
.choices { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.choice { display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 11px; padding: 16px; min-height: 64px; background: #fffdfa; color: var(--ink); text-align: left; width: 100%; transition: background .15s, border-color .15s, transform .15s; }
.choice:hover { border-color: #d7ab95; background: #fff8f0; }
.choice[aria-checked="true"] { background: var(--soft); border-color: var(--orange); }
.choice-icon { font-size: 22px; flex: 0 0 27px; text-align: center; }
.choice-copy { flex: 1; min-width: 0; }
.choice-label { display: block; font-size: 16px; line-height: 1.35; font-weight: 550; }
.choice-note { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.radio { width: 19px; height: 19px; flex-shrink: 0; border: 1.5px solid #d6cec1; border-radius: 50%; display: grid; place-items: center; }
.choice[aria-checked="true"] .radio { border-color: var(--orange); background: var(--orange); }
.choice[aria-checked="true"] .radio::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: white; }
.reaction { min-height: 43px; display: flex; align-items: center; padding: 9px 2px; margin: 0; color: var(--orange); font: italic 15px/1.4 Georgia, serif; }
.actions { display: flex; gap: 12px; }
.next { flex: 1; background: var(--orange); border: 1px solid var(--orange); color: #fff; padding: 17px 20px; min-height: 55px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; transition: background .15s, transform .15s, opacity .15s; }
.next:hover:not(:disabled) { background: #ad3514; transform: translateY(-1px); }
.next:active:not(:disabled) { transform: translateY(1px); }
.next:disabled { opacity: .48; }
.next .arrow { font-size: 23px; line-height: 16px; font-weight: 400; }
.back { border: 1px solid var(--line); border-radius: 10px; width: 54px; background: transparent; color: var(--muted); font-size: 22px; flex-shrink: 0; }
.back:hover { background: var(--soft); }
.card-bottom { margin: 0 -38px; padding: 17px 38px; border-top: 1px dashed #ded5c8; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.card-bottom > span:last-child { color: var(--orange); font-size: 20px; }
.footer-note { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; margin: 24px 0 0; }
.site-footer { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: auto; padding: 18px 20px 24px; color: var(--muted); font-size: 12px; flex-wrap: wrap; }
.footer-spark { color: var(--orange); font-size: 18px; }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.confetti i { position: absolute; top: -25px; width: 8px; height: 13px; background: var(--orange-bright); animation: fall 2.8s ease-in both; }
.noscript { text-align: center; padding: 20px; }
[hidden] { display: none !important; }
h1:focus { outline: none; }
.final-icon { margin-bottom: 23px; }
.fridge-note { background: var(--orange); color: #fffaed; border-radius: 12px; padding: 30px 23px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.cin-cin { font: italic 52px/1 Georgia, serif; letter-spacing: -3px; white-space: nowrap; }
.fridge-note p { margin: 0; font-size: 14px; line-height: 1.65; }
.fridge-note strong { font-weight: 600; }
.fridge-photo { margin: 0; }
.fridge-photo img { width: 100%; max-height: 500px; object-fit: contain; display: block; border-radius: 12px; background: #efe8dd; }
.fridge-photo figcaption { color: var(--muted); font: italic 14px/1.5 Georgia, serif; text-align: center; padding: 12px 4px 0; }
.ingredients { margin: 15px 0 23px; color: var(--orange); text-align: center; font-size: 12px; letter-spacing: 1px; line-height: 1.5; }
.date-ticket { border: 1px solid var(--line); border-radius: 10px; display: grid; grid-template-columns: 1.4fr 1fr auto; padding: 19px; gap: 15px; align-items: center; }
.date-ticket > div > span { display: block; font-size: 10px; letter-spacing: 1.6px; color: var(--muted); margin-bottom: 7px; }
.date-ticket strong { font-size: 15px; line-height: 1.4; font-weight: 550; }
.ticket-heart { color: var(--orange); font: 32px/1 Georgia, serif; }
.restart { display: block; margin: 17px auto -7px; padding: 10px; min-height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.restart:hover { color: var(--orange); }
.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; }
@keyframes enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fall { to { transform: translate3d(var(--drift), 105vh, 0) rotate(var(--spin)); } }
@media (min-width: 900px) { main { padding-top: 28px; padding-bottom: 40px; } .site-footer { padding-bottom: 28px; } }
@media (max-width: 540px) {
  .site-header { padding: 19px 23px 12px; }
  .wordmark { font-size: 31px; }
  .wordmark .wordmark-heart { font-size: 22px; margin-left: 10px; }
  main { padding: 20px 20px 25px; }
  .intro { margin-bottom: 22px; gap: 12px; }
  .intro p { font-size: 17px; }
  .invitation { padding: 23px 23px 0; border-radius: 15px; }
  .card-top { font-size: 10px; letter-spacing: 1.25px; }
  .progress { margin: 15px 0 24px; }
  h1 { font-size: clamp(2.35rem, 10vw, 3.2rem); letter-spacing: -1.2px; }
  .question-icon { margin-bottom: 16px; width: 44px; height: 44px; }
  .description { margin-bottom: 22px; }
  .choice { padding: 14px; }
  .card-bottom { margin: 0 -23px; padding: 15px 23px; }
  .screen { padding-bottom: 24px; }
  .site-footer { padding-top: 8px; }
  .fridge-note { padding: 25px 18px; gap: 14px; }
  .cin-cin { font-size: 43px; }
  .date-ticket { padding: 16px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
