@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(assets/fonts/poppins-400-normal-cpxAROuN.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(assets/fonts/poppins-500-normal-C8OXljZJ.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(assets/fonts/poppins-600-normal-zEkxB9Mr.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(assets/fonts/poppins-700-normal-Qrb0O0WB.woff2) format('woff2'); }

:root { --ink: #171918; --pink: #e21a51; --pink-soft: #ff86a6; --green: #018e6b; --line: rgba(255,255,255,.14); --muted: rgba(255,255,255,.66); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: #fff; font-family: Poppins, system-ui, sans-serif; font-size: 17px; line-height: 1.45;
  background: radial-gradient(circle at 90% 0%, rgba(226,26,81,.35), transparent 45%), radial-gradient(circle at 0% 100%, rgba(1,142,107,.25), transparent 45%), var(--ink);
  background-attachment: fixed;
}
a { color: var(--pink-soft); }
button, input, select, textarea { font: inherit; color: inherit; }
.loading { padding: 40px; text-align: center; color: var(--muted); }

main { max-width: 560px; margin: 0 auto; padding: 18px 20px 60px; }
main.wide { max-width: 640px; }
.top { padding: 8px 0 28px; }
.logo { height: 30px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: 13px; color: var(--pink-soft); margin: 0 0 8px; }
h1 { font-size: clamp(38px, 11vw, 60px); line-height: .98; letter-spacing: -.04em; margin: 0 0 16px; }
h2 { font-size: 30px; line-height: 1.1; letter-spacing: -.02em; margin: 14px 0 10px; }
h3 { font-size: 19px; margin: 22px 0 4px; }
.accent { color: var(--pink-soft); }
.lead { font-size: 19px; color: rgba(255,255,255,.85); margin: 0 0 18px; }
.muted { color: var(--muted); margin: 4px 0; }
.perks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.perks li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 14px; font-weight: 600; }
.perks li::before { content: '✓ '; color: var(--pink-soft); }
.cta-row { display: grid; gap: 10px; margin-bottom: 26px; }
.privacy { color: var(--muted); font-size: 14px; }

.demo-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px 6px; padding: 4px 20px 12px; scrollbar-width: none; }
.demo-strip::-webkit-scrollbar { display: none; }
.dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.dots button.on { background: var(--pink); width: 22px; border-radius: 5px; }
.demo { width: 62%; max-width: 260px; flex: none; aspect-ratio: 9 / 16; height: auto; border-radius: 16px; scroll-snap-align: start; box-shadow: 0 14px 40px rgba(0,0,0,.45); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 700; cursor: pointer; text-align: center; }
.btn.big { padding: 16px 24px; font-size: 18px; width: 100%; }
.btn.primary { background: var(--pink); color: #fff; }
.btn.ghost { background: rgba(255,255,255,.1); color: #fff; }
.btn:active { transform: scale(.98); }
.link { background: none; border: 0; color: var(--pink-soft); font-weight: 600; padding: 10px 0; cursor: pointer; }
.link.small { font-size: 14px; }
.right { margin-left: auto; }

.backbar { margin-bottom: 4px; }
.progress { display: flex; gap: 6px; margin: 6px 0 4px; }
.progress span { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.15); }
.progress span.on { background: var(--pink); }

.choices { display: grid; gap: 12px; margin-top: 18px; }
.choice { text-align: left; border: 1px solid var(--line); background: rgba(255,255,255,.06); border-radius: 20px; padding: 18px 20px; cursor: pointer; display: grid; gap: 4px; }
.choice strong { font-size: 22px; }
.choice span { color: var(--muted); }

.stack { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.label { font-weight: 600; font-size: 15px; }
.hint { font-size: 13px; color: var(--muted); }
input[type=text], input[type=search], input[type=number], select, textarea {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 17px;
}
select option { color: #000; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--pink-soft); outline-offset: 1px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card { border: 1px solid var(--line); background: rgba(255,255,255,.05); border-radius: 20px; padding: 14px; display: grid; gap: 10px; }
.card.center { text-align: center; justify-items: center; margin-top: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: rgba(255,255,255,.06); border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 600; cursor: pointer; }
.chip.on { background: var(--pink); border-color: var(--pink); }
.chip.danger { color: #ffb3c4; }
.chips.small .chip { padding: 5px 10px; font-size: 13px; }

.swatches { display: flex; gap: 10px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; position: relative; display: grid; place-items: center; font-weight: 700; }
.swatch.on { border-color: #fff; }
.swatch.custom { background: conic-gradient(#e21a51, #f07c1b, #018e6b, #2563eb, #7c3aed, #e21a51); }
.swatch.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.thumb { width: 72px; height: 72px; border-radius: 16px; overflow: hidden; position: relative; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.empty { font-size: 28px; }
.thumb-x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; line-height: 1; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.thumbs .thumb { width: 100%; height: auto; aspect-ratio: 1; }

.stats { display: grid; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.04); overflow: hidden; }
.stat { padding: 8px 12px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.stat:first-child { border-top: 0; }
.stat-top { display: flex; align-items: center; gap: 10px; }
.stat-top .label { flex: 1; font-weight: 500; }
.stat-top input { width: 96px; text-align: right; padding: 8px 10px; }
.more { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); font-weight: 700; cursor: pointer; }
.altval { color: var(--pink-soft); font-weight: 700; }

.question { font-size: 24px; font-weight: 700; line-height: 1.2; margin: 6px 0; }
.answers { display: grid; gap: 10px; }
.answer { text-align: left; border: 1px solid var(--line); background: rgba(255,255,255,.06); border-radius: 18px; padding: 14px 16px; font-weight: 600; cursor: pointer; }
.answer:active { background: var(--pink); }
.result { border-radius: 22px; padding: 22px; background: linear-gradient(135deg, rgba(226,26,81,.5), rgba(1,142,107,.35)); display: grid; gap: 6px; }
.result strong { font-size: 30px; line-height: 1.05; }
.result p { margin: 0; color: rgba(255,255,255,.9); }
.other-types summary, .moment summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.moment { border: 1px solid var(--line); border-radius: 18px; padding: 8px 14px 12px; background: rgba(255,255,255,.04); }
.moment textarea { margin: 6px 0 8px; }
blockquote { margin: 0; padding: 12px 16px; border-left: 4px solid var(--pink); background: rgba(255,255,255,.05); border-radius: 0 14px 14px 0; }

.nav { display: grid; gap: 4px; margin-top: 26px; justify-items: center; }

.sharebar { display: grid; gap: 10px; margin: 16px 0; }
.captionbox { display: grid; gap: 8px; margin-bottom: 18px; }
.caption { font-size: 15px; }
.slides { display: grid; gap: 30px; }
.slide-card { display: grid; gap: 10px; }
.slide-no { font-size: 13px; color: var(--muted); font-weight: 600; }
.slide-canvas { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.banner { background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; font-size: 15px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 14px; font-weight: 600; max-width: 90vw; transition: .25s; z-index: 20; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
dialog.editor { width: min(520px, 94vw); border: 0; border-radius: 22px; background: #232625; color: #fff; padding: 20px; }
dialog.editor::backdrop { background: rgba(0,0,0,.6); }
dialog.editor .stack, dialog.editor { display: grid; gap: 12px; }
dialog:not([open]) { display: none; }
.foot { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot p { margin: 4px 0; }
.chips.tiny { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.chips.tiny .chip { padding: 5px 2px; font-size: 12px; white-space: nowrap; text-align: center; }
.chip.flag { display: inline-flex; align-items: center; gap: 8px; }
.chip.flag img { width: 24px; height: 16px; border-radius: 3px; }
.more-info summary { cursor: pointer; color: var(--pink-soft); font-weight: 600; font-size: 15px; padding: 4px 0; }
.more-info[open] { display: grid; gap: 10px; }
.adjust-canvas { width: min(100%, 300px, calc(50vh * 9 / 16)); height: auto; aspect-ratio: 9 / 16; border-radius: 14px; touch-action: none; cursor: grab; justify-self: center; }
input[type=range] { width: 100%; accent-color: var(--pink); }
dialog.share { gap: 10px; }
.share-btn { width: 100%; padding: 15px; font-size: 18px; color: #fff; }
.share-btn.insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-btn.fb { background: #1877f2; }
dialog.editor { max-height: 94vh; overflow-y: auto; }
.btn.outline { background: none; border: 2px solid var(--pink); color: #fff; width: 100%; }
.muted.small { font-size: 14px; margin-top: 6px; text-align: center; }
