:root {
  --ink: #312427;
  --muted: #7b6b6e;
  --red: #ef4860;
  --red-dark: #d93550;
  --blush: #ffe7e5;
  --cream: #fff9f5;
  --line: #f0dedb;
  --white: #fffefd;
  --shadow: 0 24px 70px rgba(125, 65, 67, 0.13);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 203, 197, .45), transparent 24rem),
    radial-gradient(circle at 94% 82%, rgba(255, 217, 204, .5), transparent 26rem),
    linear-gradient(135deg, #fffaf6, #fff5f2);
  font-family: "DM Sans", system-ui, sans-serif;
  overflow-x: hidden;
}

button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.ambient span {
  position: fixed;
  z-index: 0;
  color: rgba(239, 72, 96, .09);
  font-size: clamp(2rem, 5vw, 5rem);
  animation: drift 8s ease-in-out infinite;
}
.ambient span:nth-child(1) { top: 12%; left: 8%; transform: rotate(-16deg); }
.ambient span:nth-child(2) { top: 23%; right: 10%; animation-delay: -2s; }
.ambient span:nth-child(3) { bottom: 12%; left: 12%; animation-delay: -5s; }
.ambient span:nth-child(4) { bottom: 18%; right: 7%; font-size: 2.4rem; animation-delay: -3s; }
.ambient span:nth-child(5) { top: 50%; left: 3%; font-size: 1.8rem; animation-delay: -1s; }

.app-shell { position: relative; z-index: 1; width: min(100% - 32px, 860px); margin: 0 auto; padding: 26px 0 50px; }
.site-footer { position: relative; z-index: 2; display: flex; width: min(100% - 32px, 860px); margin: -35px auto 0; padding: 20px 0 28px; align-items: center; justify-content: space-between; gap: 18px; color: #9b898c; font-size: .72rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--red); text-decoration: underline; }
.brand { display: flex; justify-content: center; align-items: center; gap: 8px; color: #816e70; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--red); color: white; font-size: .73rem; }

.screen { display: none; min-height: calc(100vh - 76px); align-items: center; justify-content: center; flex-direction: column; padding: 28px 0; animation: reveal .45s ease both; }
.screen.active { display: flex; }
.card { position: relative; width: 100%; border: 1px solid rgba(239, 222, 219, .78); border-radius: 32px; background: rgba(255, 254, 253, .92); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-card { max-width: 620px; padding: 42px 52px 36px; text-align: center; overflow: visible; }
.eyebrow { margin-bottom: 12px; color: var(--red); font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-weight: 400; line-height: .98; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2.35rem, 5vw, 3.5rem); }
.lead { max-width: 380px; margin: 20px auto 30px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.subtext { margin: 13px 0 27px; color: var(--muted); line-height: 1.55; }

.heart-illustration { position: relative; width: 116px; height: 96px; margin: 0 auto 16px; }
.big-heart { position: absolute; inset: 0; display: grid; place-items: center; color: var(--red); font-size: 5.6rem; filter: drop-shadow(0 10px 12px rgba(239,72,96,.24)); animation: heartbeat 2.1s infinite; }
.orbit { position: absolute; border: 1px solid rgba(239,72,96,.18); border-radius: 50%; }
.orbit-one { inset: 10px -10px 5px; transform: rotate(17deg); }
.orbit-two { inset: 5px 0 14px -4px; transform: rotate(-20deg); }
.sparkle { position: absolute; color: #f7ac70; }
.s1 { top: 5px; right: -10px; }.s2 { bottom: 6px; left: -4px; font-size: .7rem; }.s3 { top: 3px; left: 5px; font-size: .6rem; }

.answer-area { position: relative; display: flex; justify-content: center; gap: 12px; min-height: 58px; }
.button { min-height: 52px; padding: 0 25px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .72; transform: none; }
.primary { color: white; background: linear-gradient(135deg, #f65b6f, var(--red-dark)); box-shadow: 0 12px 25px rgba(225, 55, 81, .25); }
.primary:hover { box-shadow: 0 15px 30px rgba(225, 55, 81, .33); }
.primary span { margin-left: 6px; }
.secondary { color: #7b6b6e; background: #f6eeec; }
.answer-button { min-width: 150px; }
#no-button { z-index: 5; }
.tiny-note { margin: 20px 0 0; color: #aa989a; font-size: .78rem; }

.progress { display: flex; gap: 7px; width: min(100%, 590px); margin-bottom: 18px; }
.progress span { flex: 1; height: 4px; border-radius: 5px; background: #edddda; }
.progress span.active { background: var(--red); }
.form-card { max-width: 590px; padding: 48px 58px 52px; }
.creator-card { max-width: 650px; }
.creator-card h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); }
.how-it-works-link { display: block; margin: -14px 0 22px; padding: 0; border: 0; border-bottom: 1px solid currentColor; color: var(--red-dark); background: transparent; cursor: pointer; font: inherit; font-size: .83rem; font-weight: 700; text-underline-offset: 3px; }
.how-it-works-link:hover { color: var(--red); }
.how-it-works-link:focus-visible { outline: 3px solid rgba(239,72,96,.22); outline-offset: 5px; border-radius: 2px; }
.creator-details { margin: 0; }
.link-result { text-align: center; animation: reveal .4s ease both; }
.link-result[hidden] { display: none; }
.link-result h2 { font-size: 2.4rem; }
.link-result p { color: var(--muted); }
.success-mini { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 15px; border-radius: 50%; color: white; background: var(--red); font-size: 1.4rem; }
.copy-row { display: flex; gap: 8px; margin-top: 23px; }
.copy-row input { min-width: 0; flex: 1; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #fffaf7; }
.copy-row .button { flex: 0 0 auto; border-radius: 14px; }
.share-button { display: none; }
.loading-overlay { position: fixed; inset: 0; z-index: 30; display: grid; place-content: center; color: var(--muted); background: var(--cream); text-align: center; }
.loading-overlay[hidden] { display: none; }
.loader-heart { color: var(--red); font-size: 4rem; animation: heartbeat 1.2s infinite; }

.legal-shell { position: relative; z-index: 1; width: min(100% - 32px, 780px); margin: 0 auto; padding: 28px 0 60px; }
.legal-header { display: flex; margin-bottom: 28px; align-items: center; justify-content: space-between; gap: 20px; }
.legal-header .brand { justify-content: flex-start; }
.legal-back { color: var(--muted); font-size: .82rem; text-decoration: none; }
.legal-back:hover { color: var(--red); }
.legal-card { padding: clamp(28px, 6vw, 64px); }
.legal-card h1 { margin-bottom: 16px; font-size: clamp(2.6rem, 7vw, 4.6rem); }
.legal-card h2 { margin: 34px 0 10px; font-family: "DM Sans", sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
.legal-card p, .legal-card li { color: var(--muted); font-size: .92rem; line-height: 1.75; }
.legal-card ul { padding-left: 20px; }
.legal-card a { color: var(--red-dark); }
.legal-meta { margin: 0 0 28px; color: #a28e91; font-size: .75rem; }
.company-box { margin-top: 32px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fffaf7; }
.back-button { position: absolute; top: 24px; left: 25px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--ink); background: #f7efed; cursor: pointer; font-size: 1.15rem; transition: transform .2s; }
.back-button:hover { transform: translateX(-3px); }
.icon-bubble { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--blush); font-size: 1.5rem; }
label { display: block; margin: 19px 0 8px 2px; font-size: .84rem; font-weight: 700; }
.input-wrap { position: relative; }
.input-wrap input { width: 100%; height: 58px; padding: 0 52px 0 18px; border: 1px solid var(--line); border-radius: 15px; outline: 0; color: var(--ink); background: #fffdfa; transition: border .2s, box-shadow .2s; color-scheme: light; }
.input-wrap input:focus { border-color: #f07889; box-shadow: 0 0 0 4px rgba(239,72,96,.09); }
.input-wrap span { position: absolute; top: 50%; right: 18px; transform: translateY(-50%); color: var(--red); font-size: 1.2rem; pointer-events: none; }
.wide { width: 100%; margin-top: 25px; }
.form-error { min-height: 18px; margin: 9px 0 -10px; color: #c22c43; font-size: .82rem; }

.activity-card { max-width: 760px; }
.activity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-height: 410px; padding: 4px 3px 5px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #f2b4bb transparent; }
.activity-option input { position: absolute; opacity: 0; pointer-events: none; }
.activity-tile { display: flex; min-height: 105px; padding: 13px 8px; border: 1px solid var(--line); border-radius: 17px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 7px; background: #fffdfa; text-align: center; transition: transform .18s, border .18s, background .18s, box-shadow .18s; }
.activity-tile:hover { transform: translateY(-3px); border-color: #f3adb7; }
.activity-tile .emoji { font-size: 1.65rem; }
.activity-tile .name { font-size: .77rem; font-weight: 700; line-height: 1.2; }
.activity-option input:checked + .activity-tile { border-color: var(--red); background: #fff0f0; box-shadow: 0 7px 18px rgba(239,72,96,.12); }

.meetup-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.details-grid label { white-space: nowrap; }
.meetup-option input { position: absolute; opacity: 0; pointer-events: none; }
.meetup-option > span { display: flex; min-height: 128px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; background: #fffdfa; text-align: center; transition: transform .18s, border .18s, background .18s, box-shadow .18s; }
.meetup-option > span:hover { transform: translateY(-3px); border-color: #f3adb7; }
.meetup-option b { margin-bottom: 7px; font-size: 1.7rem; }
.meetup-option strong { font-size: .9rem; }
.meetup-option small { margin-top: 4px; color: var(--muted); font-size: .73rem; }
.meetup-option input:checked + span { border-color: var(--red); background: #fff0f0; box-shadow: 0 7px 18px rgba(239,72,96,.12); }
.address-field { margin-top: 20px; animation: reveal .25s ease both; }
.address-field[hidden] { display: none; }
.optional { margin-left: 5px; color: #a28e91; font-weight: 500; }
textarea { width: 100%; padding: 15px 17px; border: 1px solid var(--line); border-radius: 15px; outline: 0; resize: vertical; color: var(--ink); background: #fffdfa; line-height: 1.45; }
textarea:focus { border-color: #f07889; box-shadow: 0 0 0 4px rgba(239,72,96,.09); }
.privacy-note { margin: 13px 16px 0; color: #a28e91; font-size: .7rem; line-height: 1.45; text-align: center; }
.privacy-note a { color: #806e71; text-underline-offset: 2px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.success-card { max-width: 650px; padding: 50px; text-align: center; overflow: hidden; }
.success-heart { position: relative; display: grid; place-items: center; width: 100px; height: 90px; margin: 0 auto 16px; color: var(--red); font-size: 5.3rem; filter: drop-shadow(0 10px 12px rgba(239,72,96,.2)); animation: heartbeat 2.1s infinite; }
.success-heart span { position: absolute; color: white; font-family: "DM Sans"; font-size: 1.15rem; font-weight: 700; }
.booking-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 27px 0 24px; }
.booking-summary > div { padding: 17px 10px; border: 1px solid var(--line); border-radius: 17px; background: #fffaf7; }
.summary-icon { font-size: 1.3rem; }
.booking-summary p { margin: 7px 0 4px; color: #a28e91; font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.booking-summary strong { display: block; font-size: .86rem; }
.see-you { margin: 6px 0 15px; font-family: "DM Serif Display"; font-size: 1.75rem; }
.see-you span { color: var(--red); }
.calendar-button { padding-inline: 22px; }
.text-button { border: 0; border-bottom: 1px solid #c8b7b8; color: #806e71; background: transparent; cursor: pointer; font-size: .8rem; }
.confetti-piece { position: absolute; top: -18px; width: 8px; height: 14px; border-radius: 2px; opacity: 0; animation: confetti-fall 2.4s ease-in forwards; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(49,36,39,.38); backdrop-filter: blur(6px); }
.modal-card { position: relative; width: min(100%, 390px); padding: 35px; border-radius: 27px; background: var(--white); box-shadow: 0 30px 80px rgba(49,36,39,.25); text-align: center; animation: pop .35s ease both; }
.modal-card h2 { font-size: 2.15rem; }
.modal-card p { color: var(--muted); line-height: 1.55; }
.modal-emoji { margin-bottom: 12px; font-size: 3.2rem; }
.how-it-works-card { width: min(100%, 520px); max-height: min(90vh, 700px); overflow-y: auto; text-align: left; }
.how-it-works-card > .modal-emoji, .how-it-works-card > h2 { text-align: center; }
.modal-close { position: absolute; top: 16px; right: 18px; display: grid; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; place-items: center; color: #806e71; background: #f7efed; cursor: pointer; font-size: 1.45rem; line-height: 1; }
.modal-close:hover { color: var(--red-dark); background: #fce5e5; }
.how-it-works-steps { display: grid; gap: 17px; margin: 25px 0 4px; padding: 0; list-style: none; }
.how-it-works-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.how-it-works-steps li > span { display: grid; width: 32px; height: 32px; border-radius: 50%; place-items: center; color: white; background: var(--red); font-size: .8rem; font-weight: 700; }
.how-it-works-steps strong { display: block; margin: 2px 0 3px; font-size: .9rem; }
.how-it-works-steps p { margin: 0; font-size: .82rem; line-height: 1.45; }

@keyframes reveal { from { opacity: 0; transform: translateY(12px); } }
@keyframes pop { from { opacity: 0; transform: scale(.88); } }
@keyframes heartbeat { 0%, 45%, 100% { transform: scale(1); } 10%, 30% { transform: scale(1.08); } 20% { transform: scale(.98); } }
@keyframes drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes confetti-fall { 0% { opacity: 1; transform: translateY(-20px) rotate(0); } 100% { opacity: 0; transform: translateY(680px) rotate(720deg); } }

@media (max-width: 650px) {
  .app-shell { width: min(100% - 22px, 860px); padding-top: 17px; }
  .screen { min-height: calc(100vh - 57px); padding: 20px 0 32px; }
  .card { border-radius: 25px; }
  .hero-card { padding: 34px 20px 29px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .answer-area { flex-direction: column; align-items: stretch; padding: 0 12px; }
  .answer-button { width: 100%; }
  .form-card { padding: 67px 20px 29px; }
  .creator-card { padding-top: 35px; }
  .how-it-works-card { padding: 31px 21px 25px; }
  .activity-card { padding-top: 63px; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); max-height: 52vh; }
  .meetup-options { grid-template-columns: 1fr 1fr; }
  .details-grid { grid-template-columns: 1fr; gap: 0; }
  .share-button { display: block; }
  .site-footer { margin-top: -20px; align-items: flex-start; flex-direction: column; }
  .site-footer nav { justify-content: flex-start; gap: 14px; }
  .legal-header { align-items: flex-start; flex-direction: column; }
  .activity-tile { min-height: 91px; }
  .success-card { padding: 38px 19px; }
  .booking-summary { grid-template-columns: 1fr; gap: 7px; }
  .booking-summary > div { display: grid; grid-template-columns: 32px 70px 1fr; align-items: center; padding: 12px 16px; text-align: left; }
  .booking-summary p { margin: 0; }
  .booking-summary strong { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
