/* =========================================================
   Wed the Date – website (homepage, card maker, share page)
   ========================================================= */
:root {
  --ink: #2a1621;
  --ink-2: #3d2232;
  --rose: #b5536c;
  --rose-dark: #94405a;
  --blush: #f8e9e7;
  --gold: #c9a24d;
  --gold-light: #e3c88a;
  --ivory: #fcf8f3;
  --card: #ffffff;
  --muted: #7a6670;
  --line: #ecdfd9;
  --ok: #1d7a4b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(42, 22, 33, .12);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 14px; letter-spacing: -.01em; }
h1 { font-size: clamp(42px, 6vw, 74px); }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
h3 { font-size: 24px; }
p { margin: 0 0 14px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.script { font-family: var(--script); font-weight: 400; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--rose); font-weight: 500; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.lead { font-size: 19px; color: var(--muted); max-width: 620px; }
.center .lead { margin-inline: auto; }
:focus-visible { outline: 3px solid rgba(181, 83, 108, .5); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 500; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .18s, background .18s, color .18s, box-shadow .18s, border-color .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 12px 26px rgba(181, 83, 108, .32); }
.btn-primary:hover { background: var(--rose-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--rose); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fb558; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(252, 248, 243, .88); backdrop-filter: blur(12px) saturate(140%); border-bottom: 1px solid rgba(236, 223, 217, .8); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; font-family: var(--script); font-size: 22px; border: 1.5px solid var(--gold); }
.logo-text { font-family: var(--serif); font-size: 25px; font-weight: 700; letter-spacing: -.01em; }
.logo-text em { font-style: italic; font-weight: 500; color: var(--rose); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--rose); }
.nav-cta { display: flex; gap: 10px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 77, .22), transparent 65%); }
.hero::after { content: ""; position: absolute; left: -200px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(181, 83, 108, .14), transparent 65%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 em { font-family: var(--script); font-style: normal; font-weight: 400; color: var(--rose); font-size: 1.18em; line-height: .9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--blush); color: var(--rose); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.hero-visual { position: relative; height: 600px; }
.phone { position: absolute; right: 12%; top: 0; width: 290px; height: 590px; border-radius: 44px; background: #17101a; padding: 12px; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .06); transform: rotate(3deg); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; border-radius: 14px; background: #17101a; transform: translateX(-50%); z-index: 3; }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--ivory); position: relative; }
.phone-screen iframe { width: 390px; height: 844px; border: 0; transform: scale(.682); transform-origin: 0 0; pointer-events: none; }
.hero-print { position: absolute; left: 0; bottom: 10px; width: 250px; transform: rotate(-7deg); filter: drop-shadow(0 26px 40px rgba(42, 22, 33, .22)); z-index: 2; }
.float-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: 0 14px 34px rgba(42, 22, 33, .14); font-size: 14px; font-weight: 500; }
.float-chip i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 17px; }
.chip-wa { top: 70px; left: 6%; }
.chip-wa i { background: #e7f9ee; color: #1fb558; }
.chip-rsvp { right: 0; bottom: 120px; }
.chip-rsvp i { background: var(--blush); color: var(--rose); }

/* Sections */
.section { padding: 100px 0; position: relative; }
.section-alt { background: #fff; }
.section-dark { background: var(--ink); color: #f4e8ea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark .muted { color: #c9b5bd; }
.section-dark .eyebrow { color: var(--gold-light); }
.section-head { margin-bottom: 52px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.step-card::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 28px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold-light); font-family: var(--serif); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-card .icon { width: 54px; height: 54px; border-radius: 16px; background: var(--blush); color: var(--rose); display: flex; align-items: center; justify-content: center; margin: 12px 0 16px; }
.step-card .icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-card p { color: var(--muted); margin: 0; }

/* Designs */
.designs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.design-tile { text-decoration: none; color: inherit; display: block; }
.design-tile .pc-holder { border-radius: 14px; transition: transform .25s, box-shadow .25s; box-shadow: 0 14px 30px rgba(42, 22, 33, .1); }
.design-tile:hover .pc-holder { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(42, 22, 33, .16); }
.design-tile h3 { font-size: 21px; margin: 16px 0 2px; }
.design-tile p { font-size: 14px; color: var(--muted); margin: 0; }
.symbol-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 46px; }
.symbol-strip span { width: 56px; height: 56px; background: var(--ink-2); -webkit-mask: var(--sym) center / contain no-repeat; mask: var(--sym) center / contain no-repeat; opacity: .8; }
.symbol-strip span.wide { width: 110px; }

/* Share features */
.share-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 28px; }
.feature .icon { width: 50px; height: 50px; border-radius: 14px; background: rgba(201, 162, 77, .16); color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { color: #c9b5bd; font-size: 15.5px; margin: 0; }
.wa-demo { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.wa-chat { background: #e9ddd2; background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px); background-size: 14px 14px; border-radius: 26px; padding: 22px; max-width: 430px; color: #111; font-size: 15px; }
.wa-bubble { background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); max-width: 92%; margin-bottom: 10px; }
.wa-bubble.me { background: #d9fdd3; border-radius: 14px 4px 14px 14px; margin-left: auto; }
.wa-preview { background: #f1f1f1; border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.wa-preview-img { height: 120px; background: linear-gradient(135deg, #6b1d2a, #3a0f19); display: flex; align-items: center; justify-content: center; color: #f3dfb1; font-family: var(--script); font-size: 36px; }
.wa-preview p { padding: 8px 10px; margin: 0; font-size: 13px; }
.wa-preview small { color: #667; display: block; }
.wa-time { display: block; text-align: right; font-size: 11px; color: #667; margin-top: 2px; }
.wa-link { color: #027eb5; word-break: break-all; }

/* QR on paper */
.qr-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.qr-split .pc-holder { max-width: 380px; margin: 0 auto; box-shadow: var(--shadow); transform: rotate(-2deg); }
.ticks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks li b { display: block; font-weight: 500; }
.ticks li span { color: var(--muted); font-size: 15.5px; }
.ticks li::before { content: ""; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5536c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 15px no-repeat; margin-top: 2px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--rose); box-shadow: var(--shadow); position: relative; }
.plan.featured::before { content: "Most loved"; position: absolute; top: -14px; left: 28px; background: var(--rose); color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 26px; margin-bottom: 4px; }
.plan .price { font-family: var(--serif); font-size: 40px; font-weight: 700; margin: 10px 0 4px; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; flex: 1; font-size: 15.5px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--rose); font-weight: 700; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 500; padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--rose); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* CTA + footer */
.cta { background: linear-gradient(135deg, var(--rose), #8e3a55); color: #fff; border-radius: 30px; padding: 60px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::after { content: "♡"; position: absolute; right: 30px; bottom: -60px; font-size: 260px; line-height: 1; color: rgba(255, 255, 255, .08); }
.cta h2 { color: #fff; margin: 0; max-width: 620px; }
.footer { background: var(--ink); color: #c9b5bd; padding: 60px 0 30px; margin-top: 100px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 15px; margin: 0 0 14px; font-weight: 500; }
.footer a { display: block; text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: var(--gold-light); }
.footer .logo-text { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Printable invitation card (5 x 7) – sizes scale with the card width
   ========================================================= */
.pc-holder { container-type: inline-size; width: 100%; }
.pc { --bg: #fbf6ec; --pri: #6b1d2a; --acc: #b8893b; aspect-ratio: 5 / 7; width: 100%; background: var(--bg); color: var(--pri); padding: 3.6cqw; font-family: var(--serif); position: relative; overflow: hidden; border-radius: 1.6cqw; }
.pc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 60%); pointer-events: none; }
.pc-frame { position: relative; height: 100%; border: .55cqw solid var(--acc); border-radius: 1cqw; padding: 4.5cqw 6cqw 3.6cqw; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pc-frame::before { content: ""; position: absolute; inset: 1.2cqw; border: .25cqw solid color-mix(in srgb, var(--acc) 55%, transparent); border-radius: .6cqw; pointer-events: none; }
.pc-corner { position: absolute; width: 7cqw; height: 7cqw; border: .55cqw solid var(--acc); }
.pc-corner.tl { top: -1.6cqw; left: -1.6cqw; border-radius: 0 0 100% 0; border-top: 0; border-left: 0; }
.pc-corner.tr { top: -1.6cqw; right: -1.6cqw; border-radius: 0 0 0 100%; border-top: 0; border-right: 0; }
.pc-corner.bl { bottom: -1.6cqw; left: -1.6cqw; border-radius: 0 100% 0 0; border-bottom: 0; border-left: 0; }
.pc-corner.br { bottom: -1.6cqw; right: -1.6cqw; border-radius: 100% 0 0 0; border-bottom: 0; border-right: 0; }
.pc-sym { display: block; width: 15cqw; height: 15cqw; background: var(--acc); -webkit-mask: var(--sym) center / contain no-repeat; mask: var(--sym) center / contain no-repeat; margin-bottom: 1.5cqw; flex: none; }
.pc-sym.wide { width: 52cqw; height: 9cqw; }
.pc-header { font-size: 4.2cqw; font-style: italic; letter-spacing: .08em; color: var(--acc); margin: 0 0 1cqw; }
.pc-guest { font-family: var(--sans); font-size: 3.1cqw; margin: 0 0 .6cqw; color: var(--pri); font-weight: 500; }
.pc-invite { font-family: var(--sans); font-size: 2.75cqw; line-height: 1.5; color: color-mix(in srgb, var(--pri) 72%, #888); margin: 0 0 1cqw; max-width: 80cqw; }
.pc-names { font-family: var(--script); font-weight: 400; font-size: 10.6cqw; line-height: 1.02; margin: .4cqw 0 1.4cqw; color: var(--pri); display: flex; flex-direction: column; align-items: center; }
.pc-names em { font-family: var(--serif); font-style: italic; font-size: 5cqw; color: var(--acc); line-height: 1.2; }
.pc-parents { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; width: 100%; font-family: var(--sans); font-size: 2.45cqw; line-height: 1.4; color: color-mix(in srgb, var(--pri) 70%, #888); margin-bottom: 1.8cqw; }
.pc-parents p { margin: 0; }
.pc-date { display: flex; align-items: center; justify-content: center; gap: 3cqw; margin: 0 0 1.2cqw; }
.pc-date span { font-size: 3.1cqw; letter-spacing: .14em; text-transform: uppercase; border-top: .25cqw solid var(--acc); border-bottom: .25cqw solid var(--acc); padding: .8cqw 0; min-width: 21cqw; }
.pc-date strong { font-size: 10cqw; line-height: 1; color: var(--acc); font-weight: 700; }
.pc-time { font-family: var(--sans); font-size: 2.9cqw; margin: 0 0 .8cqw; font-weight: 500; }
.pc-venue { font-size: 4.6cqw; font-weight: 700; margin: 0; line-height: 1.2; }
.pc-place { font-family: var(--sans); font-size: 2.7cqw; margin: 0 0 1cqw; color: color-mix(in srgb, var(--pri) 70%, #888); }
.pc-rec { font-family: var(--sans); font-size: 2.55cqw; line-height: 1.45; margin: .6cqw 0 0; color: color-mix(in srgb, var(--pri) 80%, #888); }
.pc-rec b { color: var(--acc); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pc-qr { margin-top: auto; display: flex; align-items: center; gap: 3cqw; text-align: left; background: #fff; border: .3cqw solid color-mix(in srgb, var(--acc) 60%, transparent); border-radius: 2cqw; padding: 2cqw 3cqw 2cqw 2cqw; }
.pc-qr-code { width: 16cqw; height: 16cqw; flex: none; }
.pc-qr-code svg { width: 100%; height: 100%; }
.pc-qr-code svg path, .pc-qr-code svg rect[fill="black"], .pc-qr-code svg rect:not([fill="white"]) { fill: var(--pri); }
.pc-qr-text { font-family: var(--sans); color: var(--pri); }
.pc-qr-text strong { display: block; font-size: 3cqw; font-weight: 600; }
.pc-qr-text small { display: block; font-size: 2.3cqw; color: color-mix(in srgb, var(--pri) 65%, #888); line-height: 1.4; }
.pc-qr-text .pc-url { color: var(--acc); font-weight: 500; word-break: break-all; }
.pc.theme-christian { --bg: #fbfaf6; --pri: #3f5a4c; --acc: #b7965a; }
.pc.theme-christian .pc-frame { border-radius: 40cqw 40cqw 1cqw 1cqw; padding-top: 9cqw; }
.pc.theme-christian .pc-frame::before { border-radius: 38cqw 38cqw .6cqw .6cqw; }
.pc.theme-christian .pc-corner.tl, .pc.theme-christian .pc-corner.tr { display: none; }
.pc.theme-christian .pc-names { font-family: "Pinyon Script", var(--script); }
.pc.theme-christian .pc-header { text-transform: uppercase; font-style: normal; font-size: 3cqw; letter-spacing: .3em; }
.pc.theme-muslim { --bg: #f7f3e8; --pri: #0f4c3a; --acc: #b8913f; }
.pc.theme-muslim::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; background-image: conic-gradient(from 45deg at 50% 50%, var(--pri) 0 25%, transparent 0 50%, var(--pri) 0 75%, transparent 0); background-size: 6cqw 6cqw; }
.pc.theme-muslim .pc-frame { border-style: double; border-width: 1.2cqw; }
.pc.theme-modern { --bg: #ffffff; --pri: #222222; --acc: #c98b80; }
.pc.theme-modern .pc-frame { border-width: .25cqw; border-color: #d9d3d0; }
.pc.theme-modern .pc-frame::before, .pc.theme-modern .pc-corner { display: none; }
.pc.theme-modern .pc-names { font-family: "Parisienne", var(--script); }
.pc.theme-modern .pc-header { font-style: normal; text-transform: uppercase; letter-spacing: .4em; font-size: 2.8cqw; font-family: var(--sans); }

/* =========================================================
   Card maker
   ========================================================= */
.maker { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; align-items: start; padding: 40px 0 120px; }
.maker-head { padding: 46px 0 0; }
.maker-head h1 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 8px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.panel h2 { font-size: 26px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel h2 .n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--gold-light); font-size: 16px; font-family: var(--sans); display: inline-flex; align-items: center; justify-content: center; font-weight: 500; flex: none; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields-3 { grid-template-columns: 1fr 1fr 1fr; }
.span-2 { grid-column: 1 / -1; }
.f { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.f small { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; color: var(--ink); background: var(--ivory); border: 1px solid #e3d5ce; border-radius: 12px; padding: 12px 14px; }
.f textarea { resize: vertical; min-height: 84px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--rose); background: #fff; box-shadow: 0 0 0 4px rgba(181, 83, 108, .14); }
.toggle { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; cursor: pointer; margin: 4px 0 14px; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { width: 46px; height: 26px; border-radius: 999px; background: #d8ccc6; position: relative; transition: background .2s; flex: none; }
.toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.toggle input:checked + span { background: var(--rose); }
.toggle input:checked + span::after { transform: translateX(20px); }
.toggle input:focus-visible + span { box-shadow: 0 0 0 4px rgba(181, 83, 108, .25); }
.choice-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: block; text-align: center; padding: 11px 8px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; font-weight: 500; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.pill input:checked + span { border-color: var(--rose); background: var(--blush); color: var(--rose-dark); }
.pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(181, 83, 108, .3); }
.theme-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.theme-pick { position: relative; cursor: pointer; }
.theme-pick input { position: absolute; opacity: 0; }
.theme-pick .sw { display: block; height: 74px; border-radius: 12px; border: 2px solid var(--line); background: var(--a); position: relative; overflow: hidden; }
.theme-pick .sw::before { content: ""; position: absolute; inset: 0 0 auto; height: 22px; background: var(--b); border-bottom: 3px solid var(--c); }
.theme-pick .sw::after { content: "A & B"; position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--b); font-size: 18px; }
.theme-pick small { display: block; text-align: center; font-size: 13px; margin-top: 6px; font-weight: 500; }
.theme-pick input:checked + .sw { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(181, 83, 108, .2); }
.sym-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 16px; }
.sym-pick { position: relative; cursor: pointer; }
.sym-pick input { position: absolute; opacity: 0; }
.sym-pick .s { display: flex; align-items: center; justify-content: center; height: 66px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.sym-pick .s i { width: 40px; height: 40px; background: var(--ink-2); -webkit-mask: var(--sym) center / contain no-repeat; mask: var(--sym) center / contain no-repeat; }
.sym-pick .s i.wide { width: 62px; }
.sym-pick .s i.none { -webkit-mask: none; mask: none; background: none; border: 1.5px dashed #cdbfb8; border-radius: 50%; width: 30px; height: 30px; }
.sym-pick small { display: block; text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.25; }
.sym-pick input:checked + .s { border-color: var(--rose); background: var(--blush); }
.sym-pick input:focus-visible + .s { box-shadow: 0 0 0 3px rgba(181, 83, 108, .3); }
.preview-col { position: sticky; top: 92px; }
.preview-box { background: linear-gradient(160deg, #efe3db, #f8efe9); border-radius: 26px; padding: 26px; }
.preview-box .pc-holder { box-shadow: 0 20px 44px rgba(42, 22, 33, .18); border-radius: 1.6cqw; }
.preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.preview-actions .btn-primary { grid-column: 1 / -1; }
.preview-note { font-size: 13px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.save-msg { font-size: 14px; color: var(--ok); text-align: center; margin: 10px 0 0; font-weight: 500; }

/* =========================================================
   Share page
   ========================================================= */
.share-layout { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: start; padding: 30px 0 120px; }
.link-box { display: flex; gap: 10px; align-items: center; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 8px 16px; }
.link-box input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); }
.link-box input:focus { outline: none; }
.share-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.share-buttons .btn { padding: 13px 10px; }
.btn-tg { background: #229ed9; color: #fff; }
.btn-mail { background: #ea4335; color: #fff; }
.btn-sms { background: #4b5563; color: #fff; }
.btn-fb { background: #1877f2; color: #fff; }
.msg-box { margin-top: 18px; }
.msg-box textarea { width: 100%; min-height: 120px; font: inherit; font-size: 15px; border: 1px solid #e3d5ce; border-radius: 14px; padding: 14px; background: var(--ivory); resize: vertical; }
.lang-row { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.guest-add { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.guest-list { margin-top: 18px; display: grid; gap: 10px; }
.guest { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; }
.guest strong { display: block; }
.guest small { color: var(--muted); font-size: 13px; word-break: break-all; }
.guest-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.guest.sent { background: #f2fbf5; border-color: #cfeedd; }
.guest .sent-tag { font-size: 12px; color: var(--ok); font-weight: 500; }
.empty { text-align: center; color: var(--muted); padding: 22px; border: 1.5px dashed var(--line); border-radius: 14px; }
.big-qr { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; text-align: center; }
.big-qr .q { width: 200px; height: 200px; margin: 0 auto 12px; }
.big-qr .q svg { width: 100%; height: 100%; }
.groups { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 300; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maker { grid-template-columns: 1fr 360px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 900px) {
  .hero-grid, .qr-split, .wa-demo, .share-layout, .maker { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone { right: 4%; }
  .steps, .share-grid, .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { margin-left: 0; }
  .site-header.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .site-header.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .preview-col { position: static; order: -1; }
  .preview-box { max-width: 460px; margin: 0 auto; }
  .cta { padding: 40px 28px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .fields, .fields-3 { grid-template-columns: 1fr; }
  .choice-row, .theme-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .designs { grid-template-columns: 1fr 1fr; gap: 14px; }
  .design-tile h3 { font-size: 18px; }
  .hero-visual { height: 470px; }
  .phone { width: 230px; height: 470px; border-radius: 36px; right: 0; }
  .phone-screen { border-radius: 27px; }
  .phone-screen iframe { transform: scale(.531); }
  .hero-print { width: 190px; }
  .chip-wa { left: 0; top: 30px; }
  .chip-rsvp { bottom: 70px; }
  .panel { padding: 22px 18px; }
  .share-buttons { grid-template-columns: 1fr 1fr; }
  .guest-add { grid-template-columns: 1fr; }
  .guest { grid-template-columns: 1fr; }
  .guest-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn { padding: 10px 16px; font-size: 14px; }
  .logo-text { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-area { position: fixed; inset: 0; margin: auto; width: 5in; }
  @page { size: 5in 7in; margin: 0; }
}

/* =========================================================
   Account + checkout + publish banner
   ========================================================= */
.auth-wrap { padding: 50px 0 110px; display: flex; justify-content: center; }
.auth-card { width: min(460px, 100%); }
.auth-card form { display: grid; gap: 14px; margin-top: 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.auth-tab { border: 0; background: none; padding: 10px; border-radius: 9px; font: inherit; font-weight: 500; cursor: pointer; color: var(--muted); }
.auth-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.auth-title { font-size: 36px; margin-bottom: 6px; }
.form-error { background: #fdecea; color: #a12a1f; border: 1px solid #f5c2bd; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 0; }
.small-note { font-size: 13.5px; margin: 16px 0 0; text-align: center; }
.checkout { width: min(880px, 100%); }
.order { display: grid; grid-template-columns: 260px 1fr; gap: 30px; margin-top: 24px; align-items: start; }
.order-card { box-shadow: 0 16px 34px rgba(42, 22, 33, .15); border-radius: 1.6cqw; }
.order-line, .order-total { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-total { border: 0; font-size: 20px; padding-top: 16px; }
.order-total strong { font-family: var(--serif); font-size: 30px; }
.small-ticks { margin: 14px 0; gap: 10px; font-size: 15px; }
.publish-banner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: linear-gradient(135deg, #fff6e5, #fdeee9); border: 1px solid #f1d7a8; border-radius: 18px; padding: 18px 22px; margin: 18px 0 0; }
.publish-banner .lock { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.publish-banner div { flex: 1; min-width: 200px; }
.publish-banner strong { display: block; font-size: 17px; }
.publish-banner span { color: var(--muted); font-size: 15px; }
.publish-banner.live { background: #edf9f1; border-color: #c4e9d2; }
.is-locked-share { position: relative; }
.is-locked-share .share-buttons .btn, .is-locked-share .guest-actions .btn-wa, .is-locked-share #copy-main { opacity: .5; filter: grayscale(.6); cursor: not-allowed; }
.user-chip { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .order { grid-template-columns: 1fr; } .order-card { max-width: 260px; margin: 0 auto; } }
.hero-visual .hero-print.pc-holder { width: 250px; }
@media (max-width: 560px) { .hero-visual .hero-print.pc-holder { width: 180px; } }
.logo-text { white-space: nowrap; }
@media (max-width: 420px) { .nav { gap: 10px; } .logo-mark { width: 34px; height: 34px; font-size: 19px; } .logo-text { font-size: 19px; } .nav-cta .btn { padding: 9px 13px; font-size: 13.5px; } }
