@font-face{
  font-family:'Gamdasal';
  src:url('/assets/fonts/Gamdasal.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
*{box-sizing:border-box}
body{margin:0;background:#faf7f0;color:#536b80;font-family:'Gamdasal','Apple SD Gothic Neo',sans-serif}
.invitation{
  min-height:100svh;
  display:grid;
  place-items:center;
  padding:24px 18px;
}
.question-card{
  width:min(100%,370px);
  min-height:min(640px,calc(100svh - 48px));
  padding:64px 26px 45px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:url('/assets/letter-deckled-paper-v2.png') center/100% 100% no-repeat;
  filter:drop-shadow(0 8px 12px #536b8020);
}
.couple{font-size:25px;margin:0 0 40px}
.couple span{color:#b36e76}
h1{font-size:32px;line-height:1.65;font-weight:400;margin:0;letter-spacing:-.8px}
.answer-space{width:100%;margin-top:8px;min-height:148px;display:grid;align-items:center}
.little-notes{display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:4px 7px;width:100%;min-height:80px;margin-top:16px}
.little-note{margin:0;padding:5px 8px;color:#8b5d63;font-size:18px;line-height:1.25;letter-spacing:-.3px;background:#f7e7dc;box-shadow:1px 2px 3px #795c4d18;transform:rotate(-4deg);animation:note-tuck .28s ease-out both}
.little-note:nth-child(2){--note-turn:4deg;background:#edf0e7;color:#627261}
.little-note:nth-child(3){--note-turn:-3deg;background:#f7edd6;color:#8c7145}
.little-note:nth-child(4){--note-turn:2deg}
@keyframes note-tuck{from{opacity:0;transform:translateY(8px) scale(.88) rotate(var(--note-turn,-4deg))}to{opacity:1;transform:translateY(0) scale(1) rotate(var(--note-turn,-4deg))}}
.answers{
  --yes-width:6fr;
  --no-width:4fr;
  --yes-height:64px;
  --yes-font:26px;
  display:grid;
  grid-template-columns:minmax(0,var(--yes-width)) minmax(44px,var(--no-width));
  gap:10px;
  align-items:center;
  width:100%;
  transition:grid-template-columns .28s ease;
}
.yes,.no{
  display:grid;
  place-items:center;
  border:1px solid #718698;
  border-radius:5px;
  text-decoration:none;
  cursor:pointer;
  touch-action:manipulation;
  font-family:inherit;
  font-weight:400;
}
.yes{
  height:var(--yes-height);
  font-size:var(--yes-font);
  background:#74899b;
  color:#fff9ef;
  box-shadow:0 4px 0 #526b80,0 7px 10px #536b801a;
  transition:height .28s ease,font-size .28s ease,background .2s;
}
.yes:hover{background:#647f94}
.no{height:56px;font-size:22px;background:#fff8ec;color:#697c8b;box-shadow:0 3px 0 #d6c8b7}
.answers[data-step="1"]{--yes-width:7fr;--no-width:3fr;--yes-height:82px;--yes-font:30px}
.answers[data-step="2"]{--yes-width:8fr;--no-width:2fr;--yes-height:102px;--yes-font:35px}
.answers[data-step="3"]{--yes-width:9fr;--no-width:1fr;--yes-height:122px;--yes-font:41px}
.answers[data-step="4"]{grid-template-columns:minmax(0,1fr);--yes-height:140px;--yes-font:48px}
.no[hidden]{display:none}
.yes:focus-visible,.no:focus-visible{outline:3px solid #b36e76;outline-offset:5px}
@media(max-width:360px){h1{font-size:29px}.question-card{padding-inline:23px}.couple{margin-bottom:28px}}
@media(max-height:700px){
  .question-card{padding:36px 22px 28px}
  .couple{margin-bottom:22px}
  .little-notes{min-height:88px;margin-top:10px}
  .answer-space{min-height:140px;margin-top:6px}
}
@media(prefers-reduced-motion:reduce){.answers,.yes{transition:none}.little-note{animation:none;transform:rotate(var(--note-turn,-4deg))}}
