/* MyInviteRSVP checkout — brand tokens from brand.css (navy #062042, coral #FE5C34, ivory #F7F4EE).
   Quiet, solid surfaces; the live "your invitation" card on the right is the one bold element. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--brand-ivory); color: var(--brand-text); font: 400 16px/1.55 var(--brand-font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-primary-text); }
a:hover { color: var(--brand-primary-text-hover); }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--brand-font-display); color: var(--brand-navy); margin: 0; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid rgba(254, 92, 52, .45); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.ck-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(20px, calc((100vw - 1120px) / 2)); background: var(--brand-white); border-bottom: 1px solid var(--brand-border); }
.ck-logo img { display: block; height: 30px; width: auto; }
.ck-header-end { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; }
.ck-secure { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-ok); }
.ck-secure svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ck-lang { min-width: 42px; height: 36px; padding: 0 10px; border: 1px solid var(--brand-border-strong); border-radius: var(--brand-radius-pill); background: var(--brand-white); color: var(--brand-navy); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; cursor: pointer; }
.ck-lang:hover { background: var(--brand-soft); }
.ck-signin { color: var(--brand-navy); text-decoration: none; white-space: nowrap; }
.ck-signin:hover { text-decoration: underline; color: var(--brand-navy); }

/* layout */
.ck { max-width: 1120px; margin: 0 auto; padding: 36px 20px 64px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.ck-flow { min-width: 0; }
.ck-top h1 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; line-height: 1.12; }
.ck-top p { margin: 8px 0 0; color: var(--brand-slate-ink); font-size: 17px; max-width: 60ch; }

/* steps */
.ck-steps { margin: 28px 0 26px; }
.ck-steps ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.ck-steps li { flex: 1; min-width: 0; }
.ck-steps li > span, .ck-steps li > button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 0 12px; border: 0; border-top: 3px solid var(--brand-border-strong); background: none; text-align: left; font-size: 14px; font-weight: 700; color: var(--brand-slate); }
.ck-steps li > button { cursor: pointer; }
.ck-steps li > button:hover .lbl { text-decoration: underline; }
.ck-steps .dot { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; border: 1.5px solid var(--brand-border-strong); background: var(--brand-white); }
.ck-steps .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-steps li.done > button { border-top-color: var(--brand-navy); color: var(--brand-navy); }
.ck-steps li.done .dot { background: var(--brand-navy); border-color: var(--brand-navy); color: var(--brand-white); }
.ck-steps li.now > span { border-top-color: var(--brand-coral); color: var(--brand-navy); }
.ck-steps li.now .dot { border-color: var(--brand-coral); background: var(--brand-coral); color: var(--brand-navy); }
.ck-steps .bar, .ck-steps-mobile { display: none; }

.ck-alert { margin: 0 0 20px; padding: 14px 16px; border-radius: var(--brand-radius); background: var(--brand-bad-bg); color: var(--brand-bad); font-weight: 600; border-left: 4px solid var(--brand-bad); }

/* step content */
.ck-step h2 { font-size: 25px; font-weight: 800; line-height: 1.2; }
.ck-step h2:focus { outline: none; }
.ck-lede { margin: 6px 0 22px; color: var(--brand-slate-ink); }
.ck-note { margin: 10px 0 0; font-size: 14px; color: var(--brand-slate-ink); }

/* packages */
.pk-list { display: grid; gap: 12px; }
.pk { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 16px; align-items: start; width: 100%; padding: 20px 22px; text-align: left; background: var(--brand-white); border: 1.5px solid var(--brand-border-strong); border-radius: var(--brand-radius-lg); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.pk:hover { border-color: var(--brand-navy); }
.pk.on { border-color: var(--brand-navy); box-shadow: inset 0 0 0 1px var(--brand-navy); }
.pk-radio { width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--brand-border-strong); background: var(--brand-white); transition: border .2s ease; }
.pk.on .pk-radio { border: 7px solid var(--brand-navy); }
.pk-main { display: grid; gap: 4px; min-width: 0; }
.pk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pk-name { font: 800 20px/1.25 var(--brand-font-display); color: var(--brand-navy); letter-spacing: -.02em; }
.pk-tag { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 3px 9px; border-radius: var(--brand-radius-pill); background: var(--brand-primary-tint); color: var(--brand-primary-text); font: 700 12px/1.3 var(--brand-font-body); font-style: normal; letter-spacing: 0; }
.pk-sum { color: var(--brand-slate-ink); font-size: 15px; }
.pk-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; margin-top: 10px; font-size: 14px; color: var(--brand-text); }
.pk-feat span { display: flex; gap: 7px; align-items: baseline; }
.pk-feat span::before { content: "✓"; color: var(--brand-ok); font-weight: 800; flex: none; }
.pk:not(.on) .pk-feat { color: var(--brand-slate); }
.pk-price { display: flex; align-items: baseline; gap: 8px; line-height: 1.1; white-space: nowrap; }
.pk-price s { font-size: 14px; color: var(--brand-slate); }
.pk-price b { font: 800 26px/1.1 var(--brand-font-display); color: var(--brand-navy); letter-spacing: -.02em; }

.pk-simple { margin-top: 26px; }
.pk-simple-q { margin: 0 0 10px; font-weight: 700; color: var(--brand-navy); }
.pk-ess { background: transparent; border-style: dashed; padding: 16px 20px; }
.pk-ess.on { background: var(--brand-white); border-style: solid; }
.pk-ess .pk-name { font-size: 17px; }
.pk-ess .pk-sum { font-size: 14px; }
.pk-ess .pk-price b { font-size: 20px; }

/* extras */
.ex-inc { margin: 0 0 16px; padding: 14px 16px; border-radius: var(--brand-radius); background: var(--brand-soft); }
.ex-inc p { margin: 0 0 8px; font-weight: 700; color: var(--brand-navy); font-size: 14px; }
.ex-inc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ex-inc li { padding: 5px 11px; border-radius: var(--brand-radius-pill); background: var(--brand-white); font-size: 13.5px; font-weight: 600; color: var(--brand-navy); }
.ex-inc li::before { content: "✓ "; color: var(--brand-ok); }
.ex-nudge { display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--brand-radius); background: var(--brand-primary-tint); border: 1px solid #F8CDBE; }
.ex-nudge p { margin: 0; flex: 1 1 260px; font-weight: 600; color: var(--brand-navy); }
.btn-soft { padding: 10px 16px; border-radius: var(--brand-radius-pill); border: 1.5px solid var(--brand-navy); background: var(--brand-white); color: var(--brand-navy); font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn-soft:hover { background: var(--brand-navy); color: var(--brand-white); }
.ex-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ex { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; background: var(--brand-white); border: 1.5px solid var(--brand-border); border-radius: var(--brand-radius); cursor: pointer; transition: border-color .2s ease; }
.ex:hover { border-color: var(--brand-border-strong); }
.ex.on { border-color: var(--brand-navy); }
.ex input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ex-box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--brand-border-strong); display: grid; place-items: center; transition: background .15s ease, border-color .15s ease; }
.ex.on .ex-box { background: var(--brand-navy); border-color: var(--brand-navy); }
.ex.on .ex-box::after { content: ""; width: 10px; height: 6px; border: 2.5px solid var(--brand-white); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.ex input:focus-visible + .ex-box { outline: 3px solid rgba(254, 92, 52, .45); outline-offset: 2px; }
.ex-txt { display: grid; gap: 1px; min-width: 0; }
.ex-txt b { font-weight: 700; color: var(--brand-navy); font-size: 15px; }
.ex-txt small { color: var(--brand-slate); font-size: 13px; line-height: 1.35; }
.ex-price { font-weight: 700; color: var(--brand-navy); font-size: 14.5px; white-space: nowrap; }

/* designs */
.ds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ds { position: relative; display: grid; gap: 8px; padding: 8px 8px 12px; background: var(--brand-white); border: 1.5px solid var(--brand-border); border-radius: var(--brand-radius-lg); text-align: left; cursor: pointer; transition: border-color .2s ease; }
.ds:hover { border-color: var(--brand-border-strong); }
.ds.on { border-color: var(--brand-navy); box-shadow: inset 0 0 0 1px var(--brand-navy); }
.ds.on::after { content: "✓"; position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-navy); color: var(--brand-white); font-weight: 800; font-size: 13px; }
.ds-img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--brand-ivory-deep); }
.ds-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ds-icon { aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center; background: var(--brand-ivory); color: var(--brand-coral); font: 700 30px/1 var(--brand-font-display); }
.ds-name { padding: 0 4px; font-weight: 700; font-size: 14.5px; color: var(--brand-navy); line-height: 1.3; }
.ds-theme { margin-top: 22px; }

/* fields */
.field { display: grid; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--brand-navy); }
.field input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--brand-border-strong); border-radius: var(--brand-radius); background: var(--brand-white); color: var(--brand-navy); font: 500 16px/1.3 var(--brand-font-body); }
.field input::placeholder { color: #9AA3B2; }
.field input:focus { outline: none; border-color: var(--brand-navy); box-shadow: 0 0 0 3px rgba(6, 32, 66, .12); }
.field input:user-invalid { border-color: var(--brand-bad); }

/* review */
.rv-box { background: var(--brand-white); border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg); padding: 6px 18px; }
.rv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--brand-border); }
.rv-row:last-child { border-bottom: 0; }
.rv-row span { color: var(--brand-text); }
.rv-row small { color: var(--brand-slate); font-size: 13px; }
.rv-row strong { color: var(--brand-navy); white-space: nowrap; }
.rv-edit { justify-self: end; border: 0; background: none; padding: 4px 0; color: var(--brand-primary-text); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rv-total span { font-weight: 800; color: var(--brand-navy); }
.rv-total strong { font: 800 24px/1 var(--brand-font-display); }
.rv-block { margin-top: 28px; }
.rv-block h3 { font-size: 18px; font-weight: 800; }
.rv-promo { margin-top: 22px; }
.rv-promo summary { cursor: pointer; font-weight: 700; color: var(--brand-primary-text); width: max-content; }
.rv-promo .field { margin-top: 10px; max-width: 320px; }
.rv-terms { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px; background: var(--brand-white); border: 1px solid var(--brand-border); border-radius: var(--brand-radius); cursor: pointer; }
.rv-terms input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--brand-navy); }
.rv-stripe { margin-top: 14px; }

/* actions */
.ck-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.btn-next { margin-left: auto; min-height: 54px; padding: 14px 30px; border: 0; border-radius: var(--brand-radius-pill); background: var(--brand-coral); color: var(--brand-navy); font: 800 16.5px/1.2 var(--brand-font-body); cursor: pointer; transition: background-color .2s ease, transform .15s ease; }
.btn-next:hover { background: var(--brand-primary-hover); }
.btn-next:active { transform: scale(.98); }
.btn-next:disabled { opacity: .7; cursor: progress; }
.btn-back { padding: 12px 6px; border: 0; background: none; color: var(--brand-navy); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ck-help { margin: 28px 0 0; font-size: 14px; color: var(--brand-slate-ink); }

/* the live invitation card */
.ck-side { position: sticky; top: 24px; display: grid; gap: 18px; }
.inv { background: var(--brand-white); border: 1px solid var(--brand-border); border-radius: 20px; overflow: hidden; box-shadow: var(--brand-shadow-md); }
.inv-art { height: 190px; background: var(--brand-ivory-deep); overflow: hidden; border-bottom: 4px solid var(--brand-coral); }
.inv-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; animation: invIn .5s ease; }
.inv-art.empty { display: grid; place-items: center; background: var(--brand-navy); }
.inv-art-ph { color: var(--brand-coral); font: 700 52px/1 var(--brand-font-display); animation: invIn .5s ease; }
@keyframes invIn { from { opacity: 0; } to { opacity: 1; } }
.inv-body { padding: 20px 22px 22px; }
.inv-kind { margin: 0; color: var(--brand-slate); font-size: 14px; font-weight: 600; }
.inv-pkg { margin-top: 2px; font-size: 23px; font-weight: 800; }
.inv-lines { margin-top: 14px; display: grid; gap: 8px; font-size: 14.5px; }
.inv-line { display: flex; justify-content: space-between; gap: 12px; }
.inv-line span:last-child { color: var(--brand-navy); font-weight: 600; white-space: nowrap; }
.inv-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--brand-border-strong); }
.inv-total span { font-weight: 800; color: var(--brand-navy); }
.inv-total strong { font: 800 30px/1 var(--brand-font-display); color: var(--brand-navy); letter-spacing: -.02em; white-space: nowrap; }
.inv-note { margin: 12px 0 0; font-size: 13.5px; color: var(--brand-slate-ink); line-height: 1.5; }
.ck-trust { list-style: none; margin: 0; padding: 0 4px; display: grid; gap: 6px; font-size: 14px; color: var(--brand-slate-ink); }
.ck-trust li { display: flex; gap: 8px; }
.ck-trust li::before { content: "✓"; color: var(--brand-ok); font-weight: 800; }

/* mobile bottom bar */
.ck-bar { display: none; }

.ck-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; padding: 22px max(20px, calc((100vw - 1120px) / 2)); border-top: 1px solid var(--brand-border); font-size: 13.5px; color: var(--brand-slate-ink); }
.ck-footer nav { display: flex; gap: 18px; }
.ck-footer a { color: var(--brand-slate-ink); }

@media (max-width: 960px) {
  .ck { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 24px; padding-bottom: 120px; }
  .ck-side { position: static; }
  .inv-art { height: 150px; }
  .ck-actions { display: none; }
  .ck-bar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--brand-white); border-top: 1px solid var(--brand-border); box-shadow: 0 -8px 24px rgba(6, 32, 66, .08); }
  .ck-bar .btn-next { min-height: 50px; padding: 12px 20px; font-size: 15.5px; }
  .ck-bar-total { display: grid; line-height: 1.15; min-width: 0; }
  .ck-bar-total span { font-size: 12.5px; color: var(--brand-slate); font-weight: 600; }
  .ck-bar-total strong { font: 800 21px/1.1 var(--brand-font-display); color: var(--brand-navy); white-space: nowrap; }
  .bar-back { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--brand-border-strong); background: var(--brand-white); color: var(--brand-navy); font-size: 24px; line-height: 1; cursor: pointer; }
}
@media (max-width: 640px) {
  .ck-header { padding: 12px 16px; }
  .ck-logo img { height: 26px; }
  .ck-secure span { display: none; }
  .ck-header-end { gap: 12px; }
  .ck { padding-left: 16px; padding-right: 16px; }
  .ck-top p { font-size: 15.5px; }
  .ck-steps { margin: 20px 0 22px; }
  .ck-steps ol { display: none; }
  .ck-steps .bar { display: block; height: 5px; border-radius: 99px; background: var(--brand-border); overflow: hidden; }
  .ck-steps .bar i { display: block; height: 100%; background: var(--brand-coral); border-radius: 99px; transition: width .4s ease; }
  .ck-steps-mobile { display: block; margin: 8px 0 0; font-size: 14px; font-weight: 700; color: var(--brand-navy); }
  .ck-step h2 { font-size: 22px; }
  .pk { padding: 16px; gap: 12px; }
  .pk-name { font-size: 18px; }
  .pk-price b { font-size: 22px; }
  .pk-feat { grid-template-columns: minmax(0, 1fr); }
  .pk:not(.on) .pk-feat { display: none; }
  .ex-list { grid-template-columns: minmax(0, 1fr); }
  .ds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rv-row { grid-template-columns: minmax(0, 1fr) auto; }
  .rv-row .rv-edit, .rv-row i { grid-column: 1 / -1; justify-self: start; padding-top: 0; }
  .rv-row i { display: none; }
  .ck-footer { flex-direction: column; padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* v10.7 next steps after payment */
.next-steps { list-style: none; counter-reset: ns; margin: 22px auto; padding: 0; max-width: 520px; text-align: left; display: grid; gap: 12px; }
.next-steps li { counter-increment: ns; position: relative; padding: 14px 16px 14px 58px; border-radius: 14px; background: #fff; border: 1px solid rgba(6, 32, 66, .12); display: grid; gap: 3px; }
.next-steps li::before { content: counter(ns); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: #062042; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.next-steps b { color: #062042; font-size: 16px; }
.next-steps span { font-size: 14px; color: #4a5568; line-height: 1.45; }

/* v10.7 thank-you page after Stripe (was unstyled) */
.success-page { background: var(--brand-cream, #F7F4EE); min-height: 100vh; }
.success-wrap { max-width: 600px; margin: 0 auto; padding: 44px 20px 60px; text-align: center; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #2E7D4F; color: #fff; display: grid; place-items: center; font-size: 36px; font-weight: 800; box-shadow: 0 10px 26px rgba(46, 125, 79, .28); }
.success-wrap h1 { font: 800 clamp(30px, 6vw, 42px)/1.12 var(--brand-font-display, inherit); letter-spacing: -.03em; color: var(--brand-navy, #062042); margin: 0 0 14px; }
.success-wrap > p { color: #3d4b60; line-height: 1.55; margin: 0 auto 10px; max-width: 520px; }
#payment-status { font-weight: 700; color: var(--brand-navy, #062042); }
.success-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 22px 0 18px; }
.success-links .button { min-height: 52px; padding: 14px 26px; border-radius: 999px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; flex: 1 1 200px; max-width: 280px; }
.success-links .button.primary { background: var(--brand-coral, #FE5C34); color: var(--brand-navy, #062042); }
.success-links .button.outline { border: 1.5px solid var(--brand-navy, #062042); color: var(--brand-navy, #062042); background: #fff; }
.success-wrap .tiny { font-size: 14px; color: #5b6a80; }
