/* Buyer, host and admin pages. */
:root { --bg: #fbf6f2; --card: #fff; --ink: #2b2125; --muted: #786870; --line: #ecdde2; --field: #8f7b84; --accent: #8c1c2c; --accent-ink: #fff; --ok: #24734a; --warn: #9a5b00; --bad: #b00020; }
@media (prefers-color-scheme: dark) { :root { --bg: #17121a; --card: #221b25; --ink: #f2e8ee; --muted: #b5a3ad; --line: #3a2e3d; --field: #8d7c87; --accent: #ff7aa5; --accent-ink: #1a0d14; --ok: #6fd39a; --warn: #ffb85c; --bad: #ff8a9a; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 'Hind Siliguri', system-ui, sans-serif; }
a { color: var(--accent); }
.top { padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.logo { font: 600 24px/1 'Cormorant Garamond', serif; color: var(--ink); text-decoration: none; } .logo span { color: var(--accent); font-style: italic; }
main { max-width: 680px; margin: 0 auto; padding: 24px 16px 48px; } main.wide { max-width: 1120px; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 16px 40px; }
h1 { font: 600 clamp(30px, 7vw, 44px)/1.15 'Cormorant Garamond', 'Hind Siliguri', serif; margin: 8px 0 8px; }
h2 { font-size: 18px; margin: 28px 0 10px; }
.muted { color: var(--muted); } code { background: var(--line); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.small { font-size: 14px; font-weight: 400; margin-left: 8px; }

.hero { display: grid; gap: 20px; justify-items: center; text-align: center; padding: 16px 0 8px; }
.hero h1 { font-size: clamp(34px, 9vw, 54px); line-height: 1.2; margin: 6px 0 10px; } .hero em { color: var(--accent); font-style: normal; }
.hero .cta { margin: 0 0 10px; } .occ-links { margin: 0 0 8px; } .occ-links a { display: inline-block; min-height: 44px; line-height: 44px; }
.hero-phone { width: 210px; height: 420px; } .hero-phone iframe { height: 781px; transform: scale(.5173); }
@media (min-width: 760px) { .hero { grid-template-columns: 1fr auto; text-align: left; align-items: center; } .hero .lead { margin-left: 0; } .hero-phone { width: 250px; height: 500px; } .hero-phone iframe { height: 772px; transform: scale(.6267); } }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .08em; margin: 0; }
.lead { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }
.demos { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.demos a { display: flex; justify-content: space-between; gap: 8px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.demos span { color: var(--muted); font-size: 14px; }
.how ol { padding-left: 20px; } .how li { margin: 6px 0; }

.form { display: grid; gap: 16px; }
fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 16px; margin: 0; background: var(--card); display: grid; gap: 12px; min-width: 0; }
legend { font-weight: 600; padding: 0 6px; } legend small, summary small { color: var(--muted); font-weight: 400; }
.f { display: grid; gap: 4px; min-width: 0; } .f > span { font-weight: 600; font-size: 14px; }
.f small { color: var(--muted); font-size: 13px; } .f em { color: var(--bad); font-style: normal; font-size: 14px; }
.f.bad input, .f.bad textarea { border-color: var(--bad); }
input, select, textarea { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--field); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
input[type=date], input[type=time] { min-width: 0; }
input[type=checkbox] { width: 20px; min-height: 20px; accent-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: center; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.event { display: grid; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--line); } .event:first-of-type { border: 0; padding: 0; }
details { display: grid; gap: 10px; } summary { cursor: pointer; font-weight: 600; margin-bottom: 8px; }
.form.inline { grid-template-columns: 1fr auto; align-items: end; }
.btn { display: inline-block; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-family: inherit; font-weight: 600; font-size: 16px; line-height: 24px; text-decoration: none; cursor: pointer; }
.btn.big { font-size: 18px; padding: 12px 28px; } .btn.sm { min-height: 44px; padding: 10px 14px; font-size: 14px; line-height: 24px; }
.btn.ghost { background: none; color: var(--accent); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.alert { background: color-mix(in srgb, var(--bad) 12%, var(--card)); color: var(--bad); padding: 10px 14px; border-radius: 10px; }
.ok { background: color-mix(in srgb, var(--ok) 12%, var(--card)); padding: 10px 14px; border-radius: 10px; }

.previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 20px 0; }
.pv { margin: 0; display: grid; gap: 10px; justify-items: center; }
.phone { display: block; width: 250px; height: 500px; border-radius: 30px; border: 8px solid #1f1a1d; overflow: hidden; position: relative; background: #000; box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }
.phone iframe { width: 375px; height: 772px; border: 0; transform: scale(.6267); transform-origin: 0 0; pointer-events: none; }
.pv.on .phone { border-color: var(--accent); }
.pv figcaption { text-align: center; display: grid; gap: 6px; } .pv small { color: var(--muted); }

.badge { font-family: "Hind Siliguri", system-ui, sans-serif; vertical-align: middle; display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--line); }
.badge.s-paid { background: color-mix(in srgb, var(--ok) 18%, var(--card)); color: var(--ok); }
.badge.s-pending { background: color-mix(in srgb, var(--warn) 18%, var(--card)); color: var(--warn); }
.steps li { margin: 8px 0; } .num { font-size: 1.1em; }
.card-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px 12px; margin: 16px 0; }
.card-box h2 { margin-top: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 16px 0; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 8px; text-align: center; }
.stats b { display: block; font-size: 34px; line-height: 1.1; color: var(--accent); } .stats span { font-size: 13px; color: var(--muted); }
.split { display: grid; gap: 0 16px; } @media (min-width: 640px) { .split { grid-template-columns: 1.4fr 1fr; } }
.link { word-break: break-all; font-weight: 600; }
.qr svg { width: 160px; height: 160px; display: block; }
.table { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; } th { color: var(--muted); font-weight: 600; }
.actions form { display: inline-block; margin: 0 6px 0 0; }
.msg-page { text-align: center; padding: 40px 0; }
@media (max-width: 420px) { .form.inline { grid-template-columns: 1fr; } }

/* Round 2: referral, per-event totals, gift, photo wall. */
.small-note { margin: 0; font-size: 14px; }
.per-event ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.per-event li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.per-event b { font-size: 22px; color: var(--accent); }
.refer { border-color: var(--accent); } .code { font-family: ui-monospace, monospace; letter-spacing: .06em; color: var(--accent); }
.wall-toggle { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; } .wall-toggle p { flex: 1 1 260px; margin: 12px 0; }
.thumbs, .gallery { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.thumbs img, .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; background: var(--line); }
.thumbs form { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 4px; } .thumbs small, .gallery small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload { padding: 16px; }
.dup { color: var(--bad); font-size: 13px; }

/* Round 3: concierge orders. */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; } .tabs a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--card); }
.tabs a[aria-current] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px 20px; } .choice-row input { width: 20px; min-height: 20px; accent-color: var(--accent); }
.deliver { border-color: var(--accent); } .deliver textarea { font-size: 14px; background: var(--bg); }
.deliver .f { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; } .deliver label.f { display: grid; }
.deliver .qr svg { width: 180px; height: 180px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 10px; } .foot-links a { color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.legal h2 { margin-top: 24px; } .legal li { margin: 6px 0; } .legal mark { background: #fff1a8; color: #3a2a00; padding: 0 3px; border-radius: 4px; }
.contact { list-style: none; padding: 0; display: grid; gap: 8px; } .contact li { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; } .contact span { color: var(--muted); }
/* Round 3: landing prices and FAQ. */
.ticks { padding-left: 20px; } .ticks li { margin: 6px 0; }
.faq details { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.faq summary { margin: 0; min-height: 28px; } .faq summary small { color: var(--muted); font-weight: 400; } .faq p { margin: 8px 0 0; }
.thumbs form { flex-wrap: wrap; } .thumbs form small { flex: 1 0 100%; }
/* Round 4: trust block, Nagad, opens, funnel, admin requests. */
.trust { border-color: var(--ok); } .trust h2 small { font-weight: 400; color: var(--muted); } .trust ul { padding-left: 20px; margin: 8px 0; } .trust li { margin: 8px 0; }
.trust mark { background: #fff1a8; color: #3a2a00; padding: 0 3px; border-radius: 4px; }
.wallet { display: inline-block; margin: 4px 12px 0 0; padding: 4px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.stats .opens b { color: var(--ok); }
.funnel td, .funnel th { text-align: right; } .funnel th:first-child { text-align: left; } .funnel tr.guest { background: var(--bg); }
.tasks ul { list-style: none; padding: 0; margin: 8px 0; } .tasks li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 0; border-bottom: 1px solid var(--line); } .tasks form { margin-left: auto; }
.edits { padding-left: 18px; margin: 8px 0; } .edits li { margin: 6px 0; }
.wish-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; } .wish-list li { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; } .wish-list li.hidden { opacity: .55; }
.wish-list p { margin: 0 0 4px; } .wish-list form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .wish-list small { color: var(--muted); flex-basis: 100%; }
/* Client journey: progress bar, packages, order summary, "preparing" and delivery pages. */
:root { --gold: #b8913a; --gold2: #e9cf7c; }
.journey { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 0 0 18px; padding: 0; counter-reset: s; }
.journey li { position: relative; display: grid; justify-items: center; gap: 4px; font-size: 12px; color: var(--muted); text-align: center; }
.journey li::before { content: ''; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.journey li:first-child::before { display: none; }
.journey li.done::before, .journey li.now::before { background: var(--accent); }
.journey b { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); font-size: 13px; color: var(--muted); }
.journey .done b { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.journey .now b { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.journey .now span { color: var(--ink); font-weight: 600; }

.showpiece { display: grid; gap: 20px; align-items: center; margin: 28px 0; padding: 20px; border-radius: 22px; color: #f7ecd0;
  background: radial-gradient(circle at 80% 20%, #1d4a3f, transparent 60%), #0f2a24; box-shadow: inset 0 0 0 1px var(--gold); }
.showpiece h2 { margin: 4px 0 8px; font: 600 30px/1.15 'Cormorant Garamond', serif; color: #f3dc95; }
.showpiece .eyebrow { color: var(--gold2); }
.showpiece .btn { background: linear-gradient(#c9a24a, #9c7428); color: #1d140a; } .showpiece .btn.ghost { background: none; color: #f3dc95; }
.showpiece .phone { justify-self: center; border-color: #1d140a; box-shadow: 0 0 0 1px var(--gold), 0 20px 40px rgba(0, 0, 0, .4); }
@media (min-width: 760px) { .showpiece { grid-template-columns: 1fr auto; padding: 28px 36px; } }

.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: linear-gradient(#e9cf7c, #c9a24a); color: #2a1d14; vertical-align: middle; }

.swipe { display: none; color: var(--accent); font-weight: 600; }
.pv { position: relative; }
.pv-premium .phone { border-color: #1d140a; box-shadow: 0 0 0 2px var(--gold), 0 14px 30px rgba(0, 0, 0, .25); }
.ribbon { position: absolute; z-index: 2; top: -10px; padding: 3px 14px; border-radius: 999px; background: linear-gradient(#e9cf7c, #c9a24a); color: #2a1d14; font-size: 13px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
@media (max-width: 640px) {
  .swipe { display: inline; }
  .previews { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin: 16px -16px; padding: 12px 16px 8px; gap: 14px; }
  .pv { scroll-snap-align: center; }
}

.summary dl { margin: 8px 0; display: grid; gap: 10px; }
.summary dl > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.summary dt { color: var(--muted); font-size: 14px; } .summary dd { margin: 0; display: grid; gap: 2px; } .summary dd small { color: var(--muted); }
.pkg-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; } .pkg-switch select { flex: 1 1 11em; min-height: 40px; }
.get { margin: 8px 0; font-size: 14px; }
.total { margin: 8px 0 4px; } .total th, .total td { border: 0; padding: 4px 0; white-space: normal; } .total td { text-align: right; font-weight: 600; }
.total .sum th, .total .sum td { border-top: 2px solid var(--ink); padding-top: 10px; font-size: 20px; color: var(--ink); } .total .sum td { color: var(--accent); }
.paybox .steps { padding-left: 20px; } .paybox .wallet { display: inline-flex; align-items: center; gap: 8px; margin: 6px 8px 0 0; }

.prep { text-align: center; padding: 8px 0 4px; }
.prep h1 { margin-top: 18px; }
.prep-seal { width: 92px; height: 92px; margin: 10px auto 0; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #c43a52, #7d1a2c 70%); box-shadow: 0 10px 26px rgba(125, 26, 44, .35), inset 0 0 0 6px rgba(255, 255, 255, .08); }
.prep-seal span { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(243, 220, 149, .35); border-top-color: #f3dc95; animation: turn 1.1s linear infinite; }
.checklist { list-style: none; margin: 22px auto 10px; padding: 0; max-width: 440px; text-align: left; display: grid; gap: 4px; }
.checklist li { position: relative; display: grid; gap: 1px; padding: 10px 12px 10px 46px; border-radius: 12px; color: var(--muted); }
.checklist li::before { content: ''; position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.checklist li.done { color: var(--ink); } .checklist li.done::before { content: '✓'; display: grid; place-items: center; background: var(--ok); border-color: var(--ok); color: #fff; font-size: 13px; font-weight: 700; }
.checklist li.now { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); } .checklist li.now::before { border-color: var(--accent); border-top-color: transparent; animation: turn 1s linear infinite; }
.checklist small { color: var(--muted); font-size: 13px; }
@keyframes turn { to { transform: rotate(1turn); } }

.ready-hero { text-align: center; } .ready-hero .eyebrow { color: var(--ok); }
.ready-grid { display: grid; gap: 20px; align-items: start; }
.ready-grid .phone.live { justify-self: center; } .phone.live iframe { pointer-events: auto; }
@media (min-width: 820px) { .ready-grid { grid-template-columns: auto 1fr; } .ready-grid .phone.live { position: sticky; top: 16px; } }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.wa { background: #1f9d55; color: #fff; } .btn.fbm { background: #0866ff; color: #fff; }
.share .link { font-size: 18px; }
.qr-box svg { width: 150px; height: 150px; float: right; margin: 0 0 8px 12px; } .qr-box::after { content: ''; display: block; clear: both; }
.tools { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 10px; } .tools li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; } .tools span { color: var(--muted); font-size: 14px; flex: 1 1 180px; }
.personal { border-color: var(--gold); background: linear-gradient(160deg, color-mix(in srgb, var(--gold2) 12%, var(--card)), var(--card)); }
@media (prefers-reduced-motion: reduce) { .prep-seal span, .checklist li.now::before { animation: none; } }
.seats { display: block; margin-top: .3rem; font-size: .92em; } /* launch counter (CAMPAIGN.md T2) */
.from-invite { border-color: var(--accent); } .from-invite p { margin: .3rem 0; }

/* Round 7: landing price cards, collapsible form sections, pay-page reassurance (UX-REVIEW #2, #7, #8). */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 16px 0; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 18px 14px; }
.plan h3 { margin: 0; font-size: 22px; } .plan h3 small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.plan-price { margin: 10px 0 0; font: 700 30px/1.1 'Hind Siliguri', sans-serif; color: var(--accent); } .plan-price small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; } .plan-price s { font-size: 18px; color: var(--muted); font-weight: 400; }
.plan > .muted { margin: 2px 0 6px; font-size: 14px; } .plan .ticks { font-size: 15px; flex: 1; }
.plan-cta { display: grid; gap: 6px; justify-items: center; text-align: center; margin: 8px 0 0; } .plan-cta .btn { width: 100%; }
.plan-signature { border-color: var(--accent); box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 14%, transparent); }
.plan-premium { border-color: var(--gold); background: linear-gradient(160deg, color-mix(in srgb, var(--gold2) 14%, var(--card)), var(--card)); }
.plan .ribbon { right: 16px; }
details.fs { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
details.fs > summary { margin: 0; min-height: 32px; } details.fs:not([open]) { display: block; } details.fs[open] { gap: 12px; }
.pkg-note { margin: 0; padding: 12px 16px; background: var(--card); border: 1.5px solid var(--accent); border-radius: 14px; } .pkg-note small { display: block; }
.reassure { margin: 0 0 8px; padding: 10px 14px; border-radius: 10px; font-size: 15px; background: color-mix(in srgb, var(--ok) 10%, var(--card)); }
