/* =========================================================
   Web the Date – website (homepage, card maker, share page)
   ========================================================= */
:root {
  --ink: #2a1621;
  --ink-2: #3d2232;
  --rose: #a9802f;
  --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-img { height: 52px; width: auto; display: block; border-radius: 8px; }
.footer .logo-img { height: 72px; }
.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; align-items: center; gap: 3px; }
.nav-share, .nav-sample { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav-sample { display: none; }
.nav-mobile-cta, .nav-home { display: none; }
html.has-draft [data-home-start] { display: none !important; }
html.has-draft [data-home-edit] { display: inline-flex !important; }
.nav-share:hover { color: var(--rose); }
.nav-upgrade { text-decoration: none; color: var(--rose); font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav-upgrade:hover { color: var(--rose-dark); }
.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; }
.nav-auth { display: contents; }
.nav-login { flex-shrink: 0; text-decoration: none; display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ink); }
.nav-login:hover { border-color: var(--rose); color: var(--rose); }
.account-menu { position: relative; flex-shrink: 0; }
.account-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); }
.account-menu summary::-webkit-details-marker { display: none; }
.account-chev { width: 14px; height: 14px; transition: transform .2s; }
.account-menu[open] .account-chev { transform: rotate(180deg); }
.account-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 12px 40px rgba(42, 22, 33, .12); z-index: 30; display: grid; gap: 4px; }
.account-panel strong { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; }
.account-plan { color: var(--rose); font-size: 13px; font-weight: 600; }
.account-upgrade, .account-checkout { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--rose); }
.account-checkout { color: var(--ink-2); font-weight: 500; }
.account-mail { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.account-mobile { display: none; }
.account-panel form { margin-top: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 22px 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-welcome { position: absolute; left: 0; bottom: 10px; width: 168px; 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 — same compact tiles as the Choose layout picker */
.design-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
}
.design-cat {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.design-cat.is-on {
  border-color: var(--rose, #b5536c);
  background: #fff6e8;
  color: var(--rose, #b5536c);
  box-shadow: 0 0 0 2px rgba(181, 83, 108, .18);
}
.designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.designs-more { text-align: center; margin: 36px 0 0; }
.design-tile { min-width: 0; text-decoration: none; color: inherit; display: block; text-align: center; width: 100%; border: 0; padding: 0; background: none; font: inherit; }
.design-tile[hidden] { display: none !important; }
.design-frame {
  position: relative;
  display: block;
  width: 156px;
  height: 252px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: #f7f3ea;
  padding: 0;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.design-tile:hover .design-frame { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(42, 22, 33, .12); }
.design-frame img,
.design-frame-empty {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: 0;
}
.design-frame img { opacity: 0; transition: opacity .28s ease; }
.design-frame.is-ready img { opacity: 1; }
.design-frame-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.design-frame-loader::after {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid rgba(42, 22, 33, .18);
  border-top-color: rgba(42, 22, 33, .72);
  border-radius: 50%;
  animation: design-spin .7s linear infinite;
}
.design-frame.is-dark .design-frame-loader::after {
  border-color: rgba(255, 255, 255, .22);
  border-top-color: rgba(255, 255, 255, .92);
}
.design-frame:not(.is-loading) .design-frame-loader { display: none; }
.design-frame .layout-premium {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2a1621;
  background: var(--gold-light, #e8d5a3);
  border-radius: 999px;
  padding: 4px 7px;
  pointer-events: none;
}
@keyframes design-spin { to { transform: rotate(360deg); } }
.design-tile small { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; }
.design-actions { display: flex; justify-content: stretch; gap: 0; margin-top: 8px; flex-wrap: nowrap; width: 100%; }
.design-actions .btn {
  padding: 8px 10px;
  font-size: 13px;
  flex: 1;
  min-width: 0;
  border-radius: 0;
  box-shadow: none;
}
.design-actions .btn:hover { transform: none; }
.design-actions .btn:first-child { border-radius: 12px 0 0 12px; border-right-width: 0; }
.design-actions .btn:last-child { border-radius: 0 12px 12px 0; border-left-width: 0; }

.page-designs .wrap { width: min(1320px, 100% - 16px); }
.page-designs .designs {
  gap: 18px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.page-designs .design-tile {
  padding: 12px 8px 10px;
  background: #fff;
  border: 1px solid #eadfd8;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(42, 22, 33, .05);
}
.page-designs .design-frame { border-color: #eadfd8; }
.page-designs .design-tile small { margin-top: 10px; }
.page-designs .design-actions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eadfd8;
}
.home-preview {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .28s;
}
.home-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 22, 33, .55);
  opacity: 0;
  transition: opacity .28s ease;
}
body.home-preview-open { overflow: hidden; }
body.home-preview-open .home-preview {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}
body.home-preview-open .home-preview::before { opacity: 1; }
.home-preview-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: min(92dvh, 920px);
  max-height: 92dvh;
  background: #fff;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  box-shadow: 0 -16px 40px rgba(42, 22, 33, .22);
  transform: translateY(110%);
  transition: transform .28s ease;
}
body.home-preview-open .home-preview-box { transform: translateY(0); }
.home-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.home-preview-bar strong { font-size: 17px; font-weight: 600; }
.home-preview-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--blush, #f6ece8);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.home-preview-phone {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #fbf6ec;
}
.home-preview-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.home-preview-phone.is-loading .home-preview-loader { display: flex; }
.home-preview-loader::after {
  content: "";
  width: 28px;
  height: 28px;
  border: 2px solid rgba(42, 22, 33, .16);
  border-top-color: rgba(42, 22, 33, .72);
  border-radius: 50%;
  animation: design-spin .7s linear infinite;
}
.home-preview-phone.is-dark .home-preview-loader::after {
  border-color: rgba(255, 255, 255, .22);
  border-top-color: rgba(255, 255, 255, .92);
}
.home-preview-phone iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  display: block;
  opacity: 1;
  transition: opacity .2s ease;
}
.home-preview-phone.is-loading iframe { opacity: 0; }
.home-preview-actions {
  flex: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}
@media (min-width: 901px) {
  .home-preview { align-items: center; }
  .home-preview-box {
    width: min(430px, calc(100% - 32px));
    height: min(88vh, 860px);
    max-height: 88vh;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(42, 22, 33, .28);
    transform: translateY(24px);
  }
  .home-preview-actions { padding-bottom: 16px; }
}
.welcome-shot { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; background: #2a1621; }
.welcome-shot iframe { position: absolute; left: 50%; top: 50%; width: 390px; height: 844px; border: 0; transform: translate(-50%, -50%) scale(calc(100cqi / 390px)); transform-origin: center center; pointer-events: none; }

/* 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-sticker { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.qr-sticker-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nav-links .menu-upgrade { color: var(--rose); font-weight: 600; }
.qr-sticker-sheet { width: min(320px, 100%); background: #fff; border-radius: 28px; padding: 28px 24px 22px; text-align: center; box-shadow: var(--shadow); transform: rotate(-3deg); }
.qr-sticker-kicker { font-family: var(--serif); font-size: 26px; margin: 0 0 16px; line-height: 1.2; }
.qr-sticker-code { width: 220px; max-width: 100%; margin: 0 auto; background: #fff; }
.qr-sticker-code svg { width: 100%; height: auto; display: block; }
.qr-sticker-link { margin: 16px 0 0; color: var(--rose); font-size: 14px; word-break: break-all; }
.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(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan-tag { display: inline-block; margin-left: 6px; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--rose); border-radius: 999px; padding: 3px 8px; vertical-align: 3px; }
.premium-hint { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.theme-pick.is-locked { opacity: .72; }
.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; }
.plan-page-list{list-style: disc;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 6px;
  unicode-bidi: isolate;}
/* 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; left: 50px;top: -23px;font-size: 171px; 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-mini { display: none; }
.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 a.logo { display: inline-flex; margin-bottom: 0; }
.footer a.btn-wa { display: inline-flex; margin-top: 10px; color: #fff; }
.footer a.btn-wa:hover { color: #fff; }
.wa-help { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff; text-decoration: none; font-weight: 500; border-radius: 999px; padding: 12px 16px; box-shadow: 0 12px 28px rgba(20, 80, 40, .28); }
.wa-help:hover { background: #1fb558; color: #fff; }
.wa-help svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.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, 1.15fr) minmax(440px, 1fr); gap: 28px; 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: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fields > * { min-width: 0; }
.fields-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.span-2 { grid-column: 1 / -1; }
.when-fields {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.when-fields > * { min-width: 0; }
.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%; max-width: 100%; min-width: 0; 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 input[type="date"],
.f input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
  height: auto;
  min-height: 0;
  line-height: 1.25;
  padding: 12px 14px;
}
.f input[type="date"]::-webkit-datetime-edit,
.f input[type="time"]::-webkit-datetime-edit {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0;
  line-height: 1.25;
}
.f input[type="date"]::-webkit-date-and-time-value,
.f input[type="time"]::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.25em;
  padding: 0;
  margin: 0;
}
.f input[type="date"]::-webkit-calendar-picker-indicator,
.f input[type="time"]::-webkit-calendar-picker-indicator {
  margin: 0 0 0 8px;
  padding: 0;
  width: 1.1em;
  height: 1.1em;
}
.f input[type="date"]::-webkit-inner-spin-button,
.f input[type="time"]::-webkit-inner-spin-button {
  display: none;
}
.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); }
.f input:disabled { color: var(--muted); background: #f3ece6; cursor: not-allowed; }
body.page-create .fields,
body.page-create .fields-3,
body.page-create .when-fields { gap: 12px 14px; }
body.page-create .f,
body.page-account .f { font-size: 13px; font-weight: 600; letter-spacing: .01em; }
body.page-create .f input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
body.page-create .f select,
body.page-create .f textarea,
body.page-account .f input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
body.page-account .f select,
body.page-account .f textarea {
  margin-top: 5px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  background-color: #fff;
  border: 1px solid #e4d5cc;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: border-color .15s, box-shadow .15s;
}
body.page-create .f input::placeholder,
body.page-create .f textarea::placeholder,
body.page-account .f input::placeholder,
body.page-account .f textarea::placeholder { color: #b5a49c; font-weight: 400; }
body.page-create .f select,
body.page-account .f select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%238a6d62' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M4 6.2 8 10.2 12 6.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 14px;
}
body.page-create .f input[type="date"],
body.page-create .f input[type="time"],
body.page-account .f input[type="date"],
body.page-account .f input[type="time"] { padding: 8px 12px; }
body.page-create .f textarea,
body.page-account .f textarea { min-height: 72px; }
body.page-create .f input:focus,
body.page-create .f select:focus,
body.page-create .f textarea:focus,
body.page-account .f input:focus,
body.page-account .f select:focus,
body.page-account .f textarea:focus {
  border-color: var(--rose);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(181, 83, 108, .12);
}
body.page-create .f input:hover,
body.page-create .f select:hover,
body.page-create .f textarea:hover,
body.page-account .f input:hover,
body.page-account .f select:hover,
body.page-account .f textarea:hover { border-color: #d2bfb4; }
body.page-create .file-face { min-height: 40px; padding: 8px 12px; border-radius: 10px; font-size: 14px; }
body.page-create .input-group { border-radius: 10px; }
body.page-create .input-group .form-control { padding: 8px 12px; font-size: 15px; }
body.page-account .auth-card { padding: 22px 22px 20px; }
body.page-account .auth-card form { gap: 12px; margin-top: 14px; }
body.page-account .auth-tabs { margin-bottom: 16px; border-radius: 10px; }
.file { position: relative; display: block; margin-top: 6px; }
.f .file input, .f .file input:focus,
.photo-pick .file input, .photo-pick .file input:focus { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 14px; opacity: 0; background: none; box-shadow: none; cursor: pointer; }
.file-face { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 16px; border: 1.5px dashed #d9c8c0; border-radius: 14px; background: var(--ivory); color: var(--ink-2); font-size: 15px; font-weight: 500; transition: border-color .15s, background .15s, color .15s; }
.file-face svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.file:hover .file-face, .file:focus-within .file-face { border-color: var(--rose); background: #fff; color: var(--rose-dark); }
.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); }
.color-picks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.color-pick { position: relative; width: 40px; height: 40px; cursor: pointer; }
.color-pick input[type="radio"] { position: absolute; opacity: 0; }
.color-pick > span, .palette-face { display: block; width: 40px; height: 40px; border-radius: 10px; border: 2px solid #fff; box-shadow: inset 0 0 0 1px rgba(42, 22, 33, .18); }
.color-pick input[type="radio"]:checked + span, .color-custom:has(input[type="radio"]:checked) .palette-face { box-shadow: 0 0 0 2px var(--rose), inset 0 0 0 1px rgba(42, 22, 33, .18); }
.color-pick input:focus-visible + span, .color-custom:has(input[type="radio"]:focus-visible) .palette-face { outline: 3px solid rgba(181, 83, 108, .45); outline-offset: 2px; }
.palette { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.moment-count { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.moment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.moment-tile { position: relative; }
.moment-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.moment-tile button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(42, 22, 33, .72); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.hero-thumb { width: 120px; height: 72px; object-fit: cover; border-radius: 10px; }
.photo-pick { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.photo-pick-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ivory);
  border: 1.5px dashed #d9c8c0;
  cursor: pointer;
}
.photo-pick-circle.is-empty::after {
  content: "+";
  font-size: 28px;
  line-height: 1;
  color: #c4b1aa;
}
.photo-pick-circle:not(.is-empty) { border-style: solid; border-color: #e3d5ce; }
.photo-pick-circle img,
.photo-pick-circle video { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-pick-circle.is-wide {
  width: 148px;
  height: 84px;
  border-radius: 12px;
}
#groom-photo-preview.is-arch,
#bride-photo-preview.is-arch {
  width: 76px;
  height: 88px;
  border-radius: 44px 44px 0 0;
}
#groom-photo-preview.is-round,
#bride-photo-preview.is-round {
  width: 76px;
  height: 88px;
  border-radius: 18px;
}
#groom-photo-preview.is-oval,
#bride-photo-preview.is-oval {
  width: 68px;
  height: 88px;
  border-radius: 50%;
}
#groom-photo-preview.is-heart,
#bride-photo-preview.is-heart {
  width: 88px;
  height: 80px;
  border-radius: 0;
  border: 0;
  background: #f6efe8;
  overflow: hidden;
  -webkit-mask: url("cardpage/shapes/heart.svg?v=2") center / 100% 100% no-repeat;
  mask: url("cardpage/shapes/heart.svg?v=2") center / 100% 100% no-repeat;
}
#groom-photo-preview.is-heart img,
#bride-photo-preview.is-heart img { border-radius: 0; }
.photo-pick-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.photo-pick .file { margin-top: 0; }
.photo-pick .file-face { min-height: 40px; padding: 8px 16px; border-radius: 999px; }
.photo-pick-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: none; margin-left: auto; }
.photo-pick-presets .preset { padding: 0; border: 1.5px solid transparent; border-radius: 50%; background: none; cursor: pointer; line-height: 0; }
.photo-pick-presets .preset img { width: 32px; height: 32px; object-fit: cover; border-radius: 50%; display: block; background: #f6efe8; }
.photo-pick-presets .preset.is-on { border-color: var(--rose); box-shadow: 0 0 0 2px rgba(181, 83, 108, .22); }
.photo-pick-presets .preset:focus-visible { outline: 2px solid rgba(181, 83, 108, .45); outline-offset: 1px; }
.bg-line { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.bg-line .file { flex: 1; min-width: 0; margin-top: 0; }
.bg-preview { position: relative; flex: none; }
.bg-preview:empty { display: none; }
.bg-preview img { width: 84px; height: 52px; object-fit: cover; border-radius: 12px; display: block; }
.bg-preview button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(42, 22, 33, .72); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.portrait-preview { margin-top: 10px; }
.portrait-preview img { width: 72px; height: 80px; object-fit: cover; border-radius: 36px 36px 0 0; display: block; }
.portrait-preview.is-round img { width: 64px; height: 80px; border-radius: 14px; }
.portrait-preview.is-oval img { width: 64px; height: 80px; border-radius: 50%; }
.portrait-preview.is-heart img,
.portrait-preview.is-star img,
.portrait-preview.is-sun img { border-radius: 0; }
.portrait-preview.is-heart img { width: 84px; height: 76px; -webkit-mask: url("cardpage/shapes/heart.svg?v=2") center / 100% 100% no-repeat; mask: url("cardpage/shapes/heart.svg?v=2") center / 100% 100% no-repeat; }
.portrait-preview.is-star img { width: 64px; height: 64px; border-radius: 50%; -webkit-mask: none; mask: none; }
.portrait-preview.is-sun img { width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 0 0 3px var(--rose); }
.shape-picks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.shape-pick { position: relative; cursor: pointer; width: 76px; border-radius: 12px; padding-bottom: 6px; }
.shape-pick input { position: absolute; opacity: 0; }
.shape-swatch { display: block; width: 54px; height: 54px; margin: 8px auto 0; background: linear-gradient(180deg, #e7c27a, #b8893b); }
.shape-swatch.is-arch { width: 48px; height: 52px; border-radius: 26px 26px 0 0; }
.shape-swatch.is-round { width: 48px; height: 52px; border-radius: 12px; }
.shape-swatch.is-heart { width: 54px; height: 50px; -webkit-mask: url("cardpage/shapes/heart.svg?v=2") center / 100% 100% no-repeat; mask: url("cardpage/shapes/heart.svg?v=2") center / 100% 100% no-repeat; }
.shape-swatch.is-oval { width: 40px; height: 52px; border-radius: 50%; }
.shape-pick small { display: block; text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.shape-pick:has(input:checked) { background: var(--blush); }
.shape-pick:has(input:checked) small { color: var(--rose); }
.shape-pick input:focus-visible + .shape-swatch { box-shadow: 0 0 0 3px rgba(181, 83, 108, .3); }
.portrait-preview .btn { margin-top: 8px; }
.preset-label { margin: 12px 0 0; font-size: 13px; font-weight: 400; color: var(--muted); }
.preset-row { display: flex; gap: 8px; margin-top: 8px; }
.preset { padding: 0; border: 2px solid transparent; border-radius: 14px 14px 6px 6px; background: none; cursor: pointer; line-height: 0; }
.preset img { width: 56px; height: 68px; object-fit: cover; border-radius: 12px 12px 4px 4px; display: block; background: #f6efe8; }
.preset.is-on { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(181, 83, 108, .22); }
.preset:focus-visible { outline: 3px solid rgba(181, 83, 108, .45); outline-offset: 2px; }
.maker-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 28px; }
.maker-qr { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; text-align: center; margin: 0 0 28px; }
.maker-qr h2 { font-size: 28px; margin: 0 0 14px; }
.maker-qr .q { width: 220px; height: 220px; margin: 0 auto 12px; }
.maker-qr .q svg { width: 100%; height: 100%; display: block; }
.maker-qr .qr-actions { display: grid; gap: 10px; margin-top: 14px; }
.maker-qr .qr-actions .btn { width: 100%; margin: 0; }
.song-list { display: grid; gap: 8px; margin-top: 10px; }
.song { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px 8px 12px; background: #fff; }
.song label { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; cursor: pointer; }
.song span { min-width: 0; }
.song small { color: var(--muted); font-size: 12px; }
.song button { border: 0; background: var(--blush); color: var(--rose); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.song:has(input:checked) { border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); }
.palette-face { background: conic-gradient(#b5536c, #e3c88a, #3f5a4c, #0f4c3a, #222, #fff, #6b1d2a, #b5536c); }
.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: 84px; display: flex; justify-content: center; }
.preview-box { display: flex; flex-direction: column; align-items: center; }
.invite-phone { position: relative; box-sizing: content-box; width: 400px; height: 651px; flex: none; border-radius: 28px; overflow: hidden; background: #1c1218; border: 8px solid #1c1218; box-shadow: 0 22px 48px rgba(42, 22, 33, .22); }
.invite-phone iframe { width: 400px; height: 651px; border: 0; border-radius: 20px; background: #fbf6ec; display: block; }
.phone-actions { position: absolute; z-index: 3; right: 12px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.phone-icon { display: inline-flex; align-items: center; height: 42px; padding: 0 11px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 8px 20px rgba(42, 22, 33, .22); }
.phone-icon span { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 500; margin-right: 0; transition: max-width .22s ease, opacity .15s ease, margin-right .22s ease; }
.phone-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.phone-icon:hover span, .phone-icon:focus-visible span { max-width: 11em; opacity: 1; margin-right: 8px; }
.phone-icon-publish { background: var(--rose); color: #fff; }
.preview-note { font-size: 13px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.save-msg { font-size: 13px; color: var(--ok); text-align: center; margin: 10px 0 0; font-weight: 500; line-height: 1.35; }

/* =========================================================
   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; }
.slug-editor { margin-top: 16px; display: grid; gap: 8px; }
.input-group { display: flex; align-items: stretch; width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.input-group.is-ok { border-color: var(--ok); }
.input-group.is-bad { border-color: var(--rose); }
.input-group-prepend, .input-group-append { display: flex; align-items: stretch; flex: none; }
.input-group-text { display: flex; align-items: center; padding: 0 12px; background: var(--ivory); color: var(--muted); font-size: 14px; white-space: nowrap; border-right: 1px solid var(--line); }
.input-group .form-control { flex: 1; min-width: 0; width: 100%; border: 0; background: #fff; font: inherit; font-size: 15px; padding: 12px 14px; color: var(--ink); }
.input-group .form-control:focus { outline: none; }
.input-group .form-control[readonly] { background: var(--ivory); }
.input-group-append[hidden] { display: none; }
.input-group-append .btn { border-radius: 0; padding: 0 18px; }
.input-group-append .btn:disabled { opacity: .45; cursor: default; }
@media (max-width: 640px) {
  .slug-editor .input-group { flex-wrap: wrap; }
  .slug-editor .input-group-prepend { flex: 1 0 100%; }
  .slug-editor .input-group-text { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
}
.slug-msg.is-ok { color: var(--ok); }
.slug-editor[hidden] { display: none; }
.slug-row { display: flex; gap: 10px; align-items: end; }
.slug-row .f { flex: 1; margin: 0; }
.slug-msg { margin: 0; font-size: 14px; color: var(--muted); }
.slug-msg.is-error { color: var(--rose); }
.slug-alias-label { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.slug-aliases { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.slug-aliases a { color: var(--rose); font-size: 14px; word-break: break-all; }
.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) {
  .plans { grid-template-columns: 1fr 1fr; }
  .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; }
  .designs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .page-designs .designs { gap: 14px; }
  .page-designs .wrap { width: calc(100% - 12px); }
  .design-frame { width: 100%; height: auto; aspect-ratio: 156 / 252; }
  .footer { padding: 16px 0 14px; margin-top: 36px; font-size: 14px; }
  .footer-grid, .footer-bottom { display: none; }
  .footer-mini {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 14px;
  }
  .footer-mini a {
    display: inline;
    margin: 0;
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
  }
  .footer-mini a:hover { color: var(--gold-light); }
  .wa-help { display: none; }
  .nav-links, .nav-cta .btn-ghost, .nav-create { display: none; }
  .nav-cta .nav-mobile-cta { display: inline-flex; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; margin-left: 8px; }
  .nav-cta { margin-left: auto; }
  .nav > .nav-auth { display: none; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 80%;
    max-width: 80vw;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 0;
    border-left: 1px solid var(--line);
    box-shadow: -16px 12px 36px rgba(42, 22, 33, .14);
    padding: 8px 20px 16px;
    height: auto;
    min-height: 0;
    z-index: 40;
  }
  .site-header.open .menu-btn {
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
  }
  .site-header.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-login { display: flex; border: 0; background: none; border-radius: 0; padding: 12px 0; width: 100%; font-size: 15px; }
  .nav-links .account-menu { display: none; }
  .nav-links .account-mobile { display: contents; }
  .nav-links .account-mail { order: -1; display: block; padding: 4px 0 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px; }
  .nav-links .account-upgrade { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links .account-mobile form { margin: 0; }
  .nav-links .account-mobile .btn { width: 100%; justify-content: flex-start; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--ink); white-space: normal; }
  .preview-col { position: static; order: -1; }
  .cta { padding: 40px 28px; }
  .section { padding: 22px 0; }
  .f input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
  .f select,
  .f textarea,
  .input-group .form-control,
  .msg-box textarea,
  .link-box input {
    padding: 15px 13px;
    margin-top: 0;
  }
  body.page-create .f input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
  body.page-create .f select,
  body.page-create .f textarea,
  body.page-create .input-group .form-control,
  body.page-account .f input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
  body.page-account .f select,
  body.page-account .f textarea {
    padding: 8px 12px;
    font-size: 16px;
  }
  body.page-create .f select,
  body.page-account .f select { padding-right: 34px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .fields, .fields-3, .plan-options { grid-template-columns: minmax(0, 1fr); }
  .when-fields { grid-template-columns: minmax(0, 1fr); }
  .choice-row, .theme-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .designs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .page-designs .designs { gap: 12px; }
  .page-designs .wrap { width: calc(100% - 10px); }
  .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-welcome { width: 132px; }
  .chip-wa { left: 0; top: 158px; }
  .chip-rsvp { bottom: 70px; }
  .panel { padding: 22px 18px; }
  .invite-phone { box-sizing: border-box; width: min(400px, 100%); height: auto; aspect-ratio: 400 / 651; }
  .invite-phone iframe { width: 100%; height: 100%; }
  .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 { padding: 12px 0 12px; margin-top: 28px; }
  .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-inline-submit { display: none; }
.auth-dock {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}
.auth-dock-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 8px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.auth-dock-btn.is-primary {
  background: var(--rose, #b5536c);
  border-color: var(--rose, #b5536c);
  color: #fff;
}
@media (max-width: 1024px) {
  body.page-create .footer,
  body.page-account .footer,
  body.page-checkout .footer { display: none; }
  body.page-account .auth-wrap { padding-bottom: 110px; }
  .auth-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px rgba(42, 22, 33, .1);
  }
}
.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; }
.captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-img { display: block; width: 170px; height: 56px; border-radius: 12px; border: 1px solid #e3d5ce; background: #f6f4fa; flex: none; }
.captcha-q { font-family: var(--serif); font-size: 22px; letter-spacing: .04em; white-space: nowrap; }
.captcha-box .f { margin: 0; flex: 1; }
.captcha-refresh { justify-self: start;margin-top: 12px;text-decoration: underline;color: var(--ink);font-size: 16px;cursor: pointer;font-weight: 500; }
.small-note { font-size: 13.5px; margin: 16px 0 0; text-align: center; }
.checkout { width: min(880px, 100%); }
body.page-checkout .auth-wrap { padding: 28px 0 40px; flex-direction: column; align-items: center; }
body.page-checkout .checkout-compact { padding: 22px 20px 24px; }
body.page-checkout .checkout-compact .auth-title { font-size: 28px; margin: 0 0 14px; }
body.page-checkout .plan-pick { margin-top: 0; }
body.page-checkout .checkout-copy { margin-top: 16px; }
body.page-checkout .discount-box { margin-top: 16px; }
body.page-checkout .discount-box label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
body.page-checkout .discount-apply { display: flex; gap: 8px; align-items: center; }
body.page-checkout .discount-apply input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #e4d5cc;
  border-radius: 10px;
  background: #fff;
  color: inherit;
}
body.page-checkout .discount-apply input:focus {
  outline: none;
  border-color: #b5536c;
  box-shadow: 0 0 0 3px rgba(181, 83, 108, .12);
}
body.page-checkout .discount-apply .btn { flex: none; height: 40px; }
body.page-checkout .discount-note { margin: 8px 0 0; font-size: 14px; }
body.page-checkout .discount-note.is-ok { color: #146c36; }
body.page-checkout .discount-note.is-bad { color: #9b2c2c; }
body.page-checkout .plan-option b s { margin-left: 6px; font-size: 14px; font-weight: 500; color: #8a746c; }
body.page-checkout .checkout-unpublished { margin: 10px 0 0; text-align: center; }
body.page-checkout .checkout-unpublished a { color: var(--rose, #b5536c); font-size: 16px; font-weight: 600; text-decoration: underline; }
body.page-checkout .checkout-done { max-width: 440px; margin: 0 auto; text-align: center; }
body.page-checkout .checkout-done .auth-title { margin: 0 0 8px; }
body.page-checkout .done-modal-body {
  padding: 8px 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.page-checkout .done-phone-scale {
  --done-scale: .52;
  width: calc(416px * var(--done-scale));
  height: calc(667px * var(--done-scale));
  margin: 4px auto 14px;
  overflow: hidden;
}
body.page-checkout .done-phone-scale .invite-phone {
  box-sizing: content-box;
  width: 400px;
  height: 651px;
  min-height: 0;
  aspect-ratio: auto;
  transform: scale(var(--done-scale));
  transform-origin: top left;
}
body.page-checkout .done-phone-scale .invite-phone iframe {
  width: 400px;
  height: 651px;
  max-width: none;
}
body.page-checkout .done-thanks {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 12px;
}
body.page-checkout .done-thanks em { font-style: italic; color: var(--rose, #b5536c); }
body.page-checkout .done-admin-msg {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 16px;
  white-space: pre-wrap;
}
body.page-checkout .checkout-done .qr-actions { display: grid; gap: 10px; margin-top: 14px; width: 100%; }
body.page-checkout .checkout-done .qr-actions .btn { width: 100%; margin: 0; }
body.page-checkout .done-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}
body.page-checkout .done-links a {
  color: var(--rose, #b5536c);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 900px) {
  body.page-checkout .done-phone-scale { --done-scale: .48; }
}
body.page-checkout .plan-option span { padding: 12px 14px; }
body.page-checkout .plan-option b { font-size: 24px; }
body.page-checkout .plan-option small { font-size: 13px; }
body.page-checkout .plan-page-list { margin: 6px 0 0; padding-left: 18px; }
body.page-checkout .plan-page-list li { margin: 2px 0; }
.checkout-dock {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.checkout-dock-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 8px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}
.checkout-dock-btn.is-primary {
  background: var(--rose, #b5536c);
  border-color: var(--rose, #b5536c);
  color: #fff;
}
.checkout-dock .dock-update { display: none; text-decoration: none; }
@media (min-width: 1025px) {
  body.page-checkout .checkout-compact .checkout-copy { width: auto; }
  body.page-checkout .checkout-unpublished { text-align: left; }
  body.page-checkout .checkout-dock {
    width: auto;
    max-width: 100%;
    justify-content: center;
    align-items: center;
  }
  body.page-checkout .checkout-dock-btn {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    padding: 12px 22px;
  }
}
@media (max-width: 1024px) {
  body.page-checkout .auth-wrap { padding: 28px 0 110px; }
  .checkout-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px rgba(42, 22, 33, .1);
  }
  body.page-checkout.is-modal-open .checkout-dock { visibility: hidden; }
  .checkout-dock .dock-copy { display: none; }
  .checkout-dock .dock-update { display: inline-flex; }
}
.pay-modal[hidden] { display: none; }
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(42, 22, 33, .55);
}
.pay-modal-card {
  width: min(400px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(42, 22, 33, .28);
}
.pay-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.pay-modal-head h2 { margin: 0; font-size: 20px; }
.pay-modal-head .layout-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--blush, #f6ece8);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.pay-modal-body { padding: 16px; }
.pay-modal-body .pay-qr { border: 0; padding: 0; }
.pay-modal-body .btn { margin-top: 10px; }
.plan-pick { border: 0; margin: 22px 0 0; padding: 0; }
.plan-pick legend { font-weight: 600; margin-bottom: 10px; }
.plan-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.plan-options.is-single { grid-template-columns: 1fr; }
.plan-option { position: relative; display: block; cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; }
.plan-option span { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; height: 100%; }
.plan-option b { font-family: var(--serif); font-size: 28px; font-weight: 700; }
.plan-option small { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; font-weight: 400; line-height: 1.4; }
.plan-option.is-premium span { background: #fffaf6; }
.plan-option input:checked + span { border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); }
.account-premium { margin-top: 22px; border: 1.5px solid var(--rose); border-radius: 16px; padding: 16px 16px 18px; background: #fffaf6; }
.account-premium strong { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.account-premium b { font-family: var(--serif); font-size: 28px; font-weight: 700; }
.account-premium p { color: var(--muted); font-size: 14.5px; margin: 8px 0 14px; }
.plan-option input:focus-visible + span { outline: 3px solid rgba(181, 83, 108, .45); outline-offset: 2px; }
.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; }
.pay-qr { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 16px 16px; text-align: center; }
.pay-qr .q { width: 220px; height: 220px; margin: 0 auto 12px; }
.pay-qr .q svg { width: 100%; height: 100%; }
.pay-qr strong { display: block; font-size: 16px; }
.upi-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; margin: 6px 0 12px; color: var(--ink-2); }
.pay-qr .btn { width: 100%; }
.free-url { width: 100%; margin: 12px 0 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--ink); background: #fff; }
.free-actions { display: grid; gap: 10px; margin-top: 14px; }
body.checkout-modal-page .site-header,
body.checkout-modal-page .footer,
body.checkout-modal-page .wa-help,
body.checkout-modal-page .plan-float { display: none; }
body.checkout-modal-page .auth-wrap { padding-top: 18px; }
.plan-float { position: fixed; left: 18px; bottom: 18px; z-index: 1100; background: #2a1621; color: #fff; border-radius: 16px; padding: 14px 42px 14px 16px; box-shadow: 0 16px 40px rgba(42, 22, 33, .28); }
.plan-float strong { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.plan-float-close { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.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-welcome { width: 168px; }
@media (max-width: 560px) { .hero-visual .hero-welcome { width: 132px; } }
.logo-text { white-space: nowrap; }
@media (max-width: 420px) {
  .nav { gap: 6px; }
  .logo { gap: 6px; min-width: 0; }
  .logo-img { height: 32px; }
  .logo-text { display: inline; font-size: 16px; }
  .nav-cta .btn { padding: 8px 10px; font-size: 13px; }
  .nav > .account-menu summary, .nav > .nav-login { padding: 7px 10px; font-size: 13px; }
  .nav-share, .nav-sample, .nav-upgrade { font-size: 14px; }
}
