/* giftgood — Send a gift flow (mobile first) */
body.flow { background: var(--white); padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.flow main { max-width: 560px; margin: 0 auto; }

/* top bar: centred logo, doodle exit */
.ftop { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; max-width: 560px; margin: 0 auto; padding: 10px 10px 4px; padding-top: max(10px, env(safe-area-inset-top, 0px)); background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.flogo { justify-self: center; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.03em; line-height: 1; text-decoration: none; color: var(--ink); }
.fbtn { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink); border-radius: 50%; }
.fbtn:hover { background: var(--lav); }

/* step tracker: the How it works stars */
.tracker { display: flex; align-items: center; gap: 6px; max-width: 560px; margin: 0 auto; padding: 6px 24px 0; }
.ms { position: relative; flex: none; width: 30px; height: 30px; }
.ms svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ms path { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.ms b { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 1px; font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--ink); }
.ms.fut { opacity: .4; }
.dash { flex: 1; height: 0; border-top: 2px dashed rgba(15, 6, 60, .25); }
.dash.on { border-top-style: solid; border-color: var(--ink); }

/* step block */
.fblock { margin: 10px 10px 0; border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fhead { display: flex; flex-direction: column; gap: 8px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fhead h1, .fhead h2 { font-size: 40px; line-height: .95; letter-spacing: -0.023em; }
.fhead p { font-size: 17px; line-height: 1.5; }

/* search + filters */
.search { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; background: var(--white); border-radius: 999px; color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 600 16px var(--body); color: var(--ink); }
.search:focus-within { box-shadow: 0 0 0 3px var(--ink); }
.fchips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 2px 24px; scrollbar-width: none; }
.fchips::-webkit-scrollbar { display: none; }
.fchips .chip { flex: none; background: var(--white); }
.fchips .chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* charity picks */
.picks { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; background: var(--white); cursor: pointer; transition: background .15s ease; }
.pick .logo { width: 48px; height: 48px; border-radius: 14px; flex: none; object-fit: cover; display: block; }
.pick .mono { display: grid; place-items: center; background: #ECEAF0; color: #6E6880; font-family: var(--display); font-weight: 700; font-size: 15px; }
.pmeta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pname { font-weight: 800; font-size: 16px; line-height: 1.2; }
.pdesc { font-size: 14px; line-height: 1.4; color: var(--muted); }
.ptick { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; }
.pick:has(input:checked) { background: var(--lemon); }
.pick:has(input:checked) .ptick { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pick:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--ink); }
.pempty { background: var(--white); border-radius: 20px; padding: 18px; color: var(--muted); }

/* pinned bottom bar */
.fbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); }
.fbar > * { width: 100%; max-width: 528px; }
.fhint { text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); }
.fhint:empty { display: none; }
.btn.fnext { min-height: 56px; background: var(--lilac); color: var(--ink); font-weight: 700; font-size: 18px; box-shadow: none; }
.btn.fnext:hover, .btn.fnext:active { transform: none; box-shadow: none; }
.btn.fnext:disabled { background: #ECEAF0; color: #8A84A0; cursor: not-allowed; }

@media (min-width: 700px) {
  .fblock { margin-inline: 0; }
  .tracker { padding-inline: 14px; }
}

/* Leave without sending? panel */
.leave { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 560px; max-height: none; margin: 0 auto; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: var(--white); color: var(--ink); }
.leave::backdrop { background: rgba(15, 6, 60, 0.45); }
.leave-in { display: flex; flex-direction: column; gap: 14px; padding: 12px 24px calc(28px + env(safe-area-inset-bottom, 0px)); }
.grab { align-self: center; width: 44px; height: 5px; border-radius: 999px; background: var(--line); margin-bottom: 6px; }
.leave h2 { font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.leave p { font-size: 16px; line-height: 1.5; }
.leave .fnext { margin-top: 6px; }
.leave-go { align-self: center; min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; font-size: 16px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .leave[open] { animation: sheetUp .22s ease-out; }
  @keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
}
.leave-in:focus { outline: none; }
.leave .fnext { border: 0; outline: none; }
.leave .fnext:focus-visible { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--ink); }
.leave-in { touch-action: none; }
.leave { transition: transform .2s ease; }
.leave.dragging { transition: none; }

/* Step 2: collapsible sections */
.fbtn[hidden] { visibility: hidden; display: grid !important; }
.acc { background: var(--white); border-radius: 20px; overflow: hidden; }
.acc h3 { margin: 0; }
.acc-h { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 14px; border: 0; background: none; color: var(--ink); text-align: left; font: 800 17px var(--body); letter-spacing: 0; cursor: pointer; }
.acc-t { flex: 1; }
.stick { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.stick[hidden] { display: grid !important; background: none; border: 2px solid var(--line); color: transparent; }
.chev { flex: none; transition: transform .2s ease; }
.acc-h[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acc-b { padding: 2px 16px 18px; display: flex; flex-direction: column; gap: 16px; }
.acc-b[hidden] { display: none; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld[hidden] { display: none; }
.fld > label, .flbl { font-size: 14px; font-weight: 800; }
.opt { font-weight: 600; color: var(--muted); }
.fld input[type="text"], .fld textarea { width: 100%; min-height: 50px; border: 0; border-radius: 14px; background: var(--lav); padding: 0 14px; font: 600 16px var(--body); color: var(--ink); }
.fld textarea { padding: 12px 14px; resize: none; line-height: 1.45; }
.fld input::placeholder, .fld textarea::placeholder { color: #8A84A0; }
.fld input:focus, .fld textarea:focus { outline: none; box-shadow: 0 0 0 3px var(--ink); }
.amts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.amt { min-height: 60px; border: 0; border-radius: 16px; background: var(--lav); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 26px; cursor: pointer; }
.amt[data-amt="other"] { font-size: 18px; }
.amt[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.money { display: flex; align-items: center; gap: 4px; min-height: 56px; padding: 0 14px; border-radius: 14px; background: var(--lav); font-family: var(--display); font-weight: 700; font-size: 24px; }
.money:focus-within { box-shadow: 0 0 0 3px var(--ink); }
.fld .money input { flex: 1; min-width: 0; min-height: 0; padding: 0; background: none; font-family: var(--display); font-weight: 700; font-size: 24px; }
.fld .money input:focus { box-shadow: none; }
.fnote { font-size: 13px; color: var(--muted); }
.fnote.bad { color: #A3183A; font-weight: 700; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--lav); font-weight: 700; font-size: 15px; cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.acc .fchips { margin: 0 -16px; padding: 2px 16px; }
.acc .fchips .chip { background: var(--lav); }
.acc .fchips .chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.madd { display: flex; gap: 8px; }
.mbtn { flex: 1; min-height: 64px; border-radius: 14px; background: var(--lav); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 800; font-size: 14px; cursor: pointer; }
.mbtn.off { opacity: .4; pointer-events: none; }
.media { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.media:empty { display: none; }
.mthumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--lav); }
.mthumb img, .mthumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mthumb button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; }
.frow { flex-direction: row; align-items: center; justify-content: space-between; }
.dots { display: flex; gap: 10px; }
.dot { width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 0; cursor: pointer; }
.dot-lemon { background: var(--lemon); } .dot-lilac { background: var(--lilac); } .dot-blush { background: var(--blush); } .dot-cream { background: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(15, 6, 60, .15); }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }
button.fbtn { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; }
button.fbtn:hover { background: var(--lav); }


/* Step 1: donation amount block */
.fsub { font-size: 26px; line-height: 1; letter-spacing: -0.018em; }

/* Step 2: names + card builder */
.names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.names .fld input[type="text"] { background: var(--white); }
.cbwrap { margin: 10px 6px 0; display: flex; flex-direction: column; gap: 10px; }
.cbwrap > .fsub { padding: 14px 14px 0; font-size: 24px; }
.cbrail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cbrail::-webkit-scrollbar { display: none; }
.cbslide { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: center; position: relative; overflow: hidden; border-radius: 22px; background: var(--lav); }
.cbcover { display: flex; flex-direction: column; padding: 14px; background: #FFF58A; color: var(--ink); transition: background .2s ease, color .2s ease; }
.cbmark { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.03em; text-align: center; }
.cbcanvas { flex: 1; position: relative; margin: 6px 0; touch-action: pan-x pan-y; }
.cbph { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: none; color: inherit; font-family: var(--display); font-weight: 700; font-size: 32px; opacity: .45; cursor: text; }
.cbph[hidden] { display: none; }
.cbtx { position: absolute; left: 0; top: 0; white-space: pre-wrap; overflow-wrap: anywhere; text-align: center; padding: 2px 6px; line-height: 1.1; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transform-origin: center center; outline: none; min-width: 24px; }
.cbtx.ed { cursor: text; user-select: text; -webkit-user-select: text; }
.cbtx:empty::before { content: "Type text"; opacity: .5; }
.cbbar { position: absolute; left: 0; right: 0; top: 0; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cbbar[hidden], .cbsize[hidden] { display: none; }
.cbsty { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid currentColor; background: none; color: inherit; font-size: 15px; cursor: pointer; }
.cbpal { display: flex; gap: 7px; align-items: center; }
.cbpc { width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; box-shadow: inset 0 0 0 1.5px rgba(15, 6, 60, .25); cursor: pointer; }
.cbpc[aria-pressed="true"] { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 0 4px var(--ink); }
.cbpcustom { width: 26px; height: 26px; border-radius: 50%; border: 2px dashed currentColor; display: grid; place-items: center; position: relative; overflow: hidden; cursor: pointer; }
.cbpcustom input, .cbcustom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cbsize { position: absolute; left: -62px; top: 55%; width: 150px; margin-top: -10px; transform: rotate(-90deg); z-index: 6; accent-color: var(--ink); }
.cbpanel { background: var(--white); color: var(--ink); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cbgift { font-size: 15px; }
.cbgift b { font-family: var(--display); font-weight: 700; font-size: 22px; }
.cbchar { display: flex; align-items: center; gap: 12px; }
.cbchar .logo { width: 46px; height: 46px; border-radius: 12px; flex: none; object-fit: cover; display: block; }
.cbchar .mono { display: grid; place-items: center; background: #ECEAF0; color: #6E6880; font-family: var(--display); font-weight: 700; font-size: 15px; }
.cbcmeta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cbcmeta b { font-size: 15px; }
.cbcmeta span { font-size: 13px; line-height: 1.35; color: var(--muted); }
.cbfrom { border-top: 1.5px solid var(--line); padding-top: 10px; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.cbmedia { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cbx { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink); cursor: pointer; padding: 0; }
.cbdots { display: flex; justify-content: center; gap: 6px; padding-top: 2px; }
.cbdots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.cbdots i.on { background: var(--ink); }
.cbstrip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 8px; scrollbar-width: none; }
.cbstrip::-webkit-scrollbar { display: none; }
.cbth { flex: none; width: 58px; height: 72px; border-radius: 12px; overflow: hidden; border: 0; padding: 0; display: flex; align-items: center; justify-content: center; text-align: center; font: 800 12px var(--body); color: var(--ink); background: var(--lav); cursor: pointer; }
.cbth img, .cbth video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cbth[aria-current="true"] { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }
.cbplus { flex: none; width: 58px; height: 72px; border-radius: 12px; border: 2px dashed var(--ink); display: grid; place-items: center; cursor: pointer; position: relative; }
.cbplus input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cbplus:focus-within { box-shadow: 0 0 0 3px var(--ink); }
.cbtools { padding: 4px 8px 0; display: flex; flex-direction: column; gap: 8px; }
.cbcols { display: flex; flex-wrap: wrap; gap: 10px; }
.cbcustom { border: 2px dashed var(--ink); display: grid; place-items: center; position: relative; overflow: hidden; cursor: pointer; background: var(--white); color: var(--ink); }
.cbcustom.on { border-style: solid; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }
.cbcols { gap: 8px; } .cbcols .dot { width: 38px; height: 38px; }
#cbLogo { flex: none; display: flex; width: 46px; height: 46px; } #cbLogo .logo { max-width: none; }

/* Step 2 layout: one light purple container, single column */
#step2 .fblock { padding: 28px 16px 20px; }
#step2 .fhead { padding: 0 8px; }
#step2 .fld { padding: 0 8px; }
#step2 .fld input[type="text"], #step2 .money, #step2 .toggle, #step2 .amt { background: var(--white); }
#step2 .amt[aria-pressed="true"] { background: var(--ink); }
#step2 .toggle { margin: 0 8px; }
.cbcollbl { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 4px; }
#step2 .cbcols { margin-bottom: 2px; }
#step2 .cbcustom { background: var(--white); }
#step2 .cbslide { background: var(--white); }
#step2 .cbcover { background: #FFF58A; }

/* Card: tall portrait, flat white charity band at the bottom */
.cbslide { aspect-ratio: 9 / 16; }
.cbcover { padding: 0; }
.cbcover .cbmark { padding-top: 14px; }
.cbcover .cbcanvas { margin: 6px 14px; }
.cbband { background: var(--white); color: var(--ink); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
/* Text on photo and video pages */
.cbpage .cbcanvas { position: absolute; inset: 14px; margin: 0; color: #FFFFFF; }
.cbpage .cbtx { text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.cbpage .cbtx:empty::before { text-shadow: none; }
#step3 .fld input[type="text"], #step3 .money, #step3 .toggle, #step3 .amt { background: var(--white); }
#step3 .amt[aria-pressed="true"] { background: var(--ink); }
.poPick { position: relative; cursor: pointer; }

/* Step 3: fit the whole builder on one screen */
#step3 .fblock { gap: 10px; padding: 16px 12px 12px; }
.cbcolrow { flex-direction: row; align-items: center; gap: 10px; padding: 0 6px; }
.cbcolrow .flbl { font-size: 14px; }
#step3 .cbcols { flex-wrap: nowrap; gap: 6px; margin: 0; }
#step3 .cbcols .dot { width: 30px; height: 30px; flex: none; }
#step3 .cbcols .dot[aria-pressed="true"], #step3 .cbcustom.on { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
#step3 .cbcustom svg { width: 14px; height: 14px; }

#step3 .cbdots { display: none; }
#step3 .cbstrip { padding: 2px 2px 0; }
#step3 .cbth, #step3 .cbplus { width: 46px; height: 58px; border-radius: 10px; font-size: 11px; }
#step3 .cbstrip { padding: 6px; margin: -4px -4px 0; gap: 10px; }
#step3 .cbth[aria-current="true"] { box-shadow: 0 0 0 2px var(--fcream), 0 0 0 4px var(--ink); }
#step3 .cbslide { touch-action: pan-x pan-y; }
.cbrail.lock .cbslide, .cbrail.lock .cbcanvas { touch-action: none; }
#step3 .fhead { padding: 0 6px; }
.s2char { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 10px 12px; margin: -8px 8px 0; }
.s2char #s2Logo { flex: none; display: flex; width: 40px; height: 40px; }
.s2char .logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; display: block; max-width: none; }
.s2char div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s2char b { font-size: 15px; font-weight: 800; }
.s2char span { font-size: 13px; color: var(--muted); line-height: 1.3; }
#step3 .cbth, #step3 .cbplus { width: 34px; height: 44px; border-radius: 8px; font-size: 10px; }
#step3 .cbplus svg { width: 16px; height: 16px; }
#step3 .cbstrip { padding: 5px 6px; margin: -6px 0 -4px; gap: 8px; }
.colgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; padding: 4px 0 6px; }
.colgrid button { aspect-ratio: 1; border: 0; padding: 0; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(15, 6, 60, 0.12); }
.colgrid button:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
#step3 .cbcustom.on svg { display: none; }
#colSheet h2 { font-size: 26px; }
button.cbpcustom { background: none; padding: 0; color: inherit; font: inherit; }
.cbtw { position: relative; flex: none; display: flex; }
.cbdel { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0; background: var(--ink); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.cbdel svg { width: 13px; height: 13px; }
.cbdel::after { content: ""; position: absolute; inset: -4px; }
#step3 .cbrail { align-items: flex-start; }
#step3 .cbpage { aspect-ratio: auto; height: var(--ph, 70vh); }
#step3 .cbstrip { gap: 16px; padding: 10px 8px 6px; margin: -10px 0 -4px; }
.cbdel { top: -9px; right: -9px; box-shadow: 0 0 0 2px var(--fcream); }
button.cbpcustom { border: 0; background: conic-gradient(#FF5A5A, #FFC94D, #6BD66B, #4DC3FF, #7B6BFF, #FF6BD6, #FF5A5A); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(15, 6, 60, .25); }
button.cbpcustom svg { display: none; }
#step3 .cbrail { overflow-y: hidden; }
.cbtw .cbdel { display: none; }
.cbtw.on .cbdel { display: grid; }
.cbmedia { pointer-events: none; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.cbtx { padding: 8px 12px; }
:root { --fcream: #FFF8EA; }
body.typing .fbar { display: none; }
/* step 4: confirm and pay */
.sum { background: var(--white); border-radius: 16px; padding: 8px 16px; display: flex; flex-direction: column; margin: 0 8px; }
.sumr { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: 16px; }
.sumr div { display: flex; flex-direction: column; gap: 2px; }
.sumr span { font-size: 13px; color: var(--muted); }
.sumt { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding: 12px 0 8px; font-size: 17px; }
.sumt b:last-child { font-family: var(--display); font-size: 28px; }
.s4when { padding: 0 8px; margin-top: -6px; }
#step4 .fld { padding: 0 8px; }
#step4 .fld input { background: var(--white); }
#step4 input[readonly] { color: #6E6880; }
.xpay { display: flex; flex-direction: column; gap: 8px; padding: 0 8px; }
.xbtn { min-height: 52px; border: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 700 17px var(--body); cursor: pointer; }
.xbtn[hidden] { display: none; }
.xapple { background: #000; color: #fff; }
.xapple span { font-weight: 600; font-size: 19px; margin-left: -2px; }
.xgoogle { background: #000; color: #fff; }
.xgoogle b { font-weight: 600; }
.xlink { background: #00D66F; color: #011E0F; }
.xlink b { font-weight: 900; letter-spacing: -0.02em; }
.ordiv { display: flex; align-items: center; gap: 12px; padding: 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ordiv::before, .ordiv::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.cardbox { display: flex; flex-direction: column; gap: 12px; }
.ccrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 8px; }
.ccrow .fld { padding: 0; }
.cardbox > .fnote { padding: 0 8px; }
/* after paying */
.fblock.done { align-items: center; text-align: center; padding-top: 36px; }
.fblock.done h1 { font-size: 36px; line-height: 1.05; }
.fblock.done p { font-size: 17px; line-height: 1.5; }
.donecard { width: 132px; aspect-ratio: 9 / 16; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px 8px 8px; transform: rotate(-4deg); box-shadow: 0 10px 24px rgba(15, 6, 60, .14); }
.donecard .cbmark { font-size: 11px; padding: 0; }
.donecard .dtx { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.05; overflow-wrap: anywhere; }
.donecard .dband { width: 100%; height: 44px; background: var(--white); border-radius: 8px; }
#done .fbar .fnext { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
#done .fbar .leave-go { min-height: 36px; }
.fld input[type="email"] { width: 100%; min-height: 50px; border: 0; border-radius: 14px; background: var(--white); padding: 0 14px; font: 600 16px var(--body); color: var(--ink); }
.fld input[type="email"]:focus { outline: none; box-shadow: 0 0 0 3px var(--ink); }
#step4 .ccrow .fld { padding: 0; }
#copyBtn { align-self: center; }
/* no coloured block behind each step: the page is white, fields carry a soft cream */
:root { --ffill: #FFF5E3; }
.fblock { background: none !important; border-radius: 0; padding-left: 12px; padding-right: 12px; }
#step3 .fblock { padding-left: 4px; padding-right: 4px; }
.search, .fchips .chip, .pick, .pempty,
#step2 .fld input[type="text"], #step2 .money, #step2 .toggle, #step2 .amt, .s2char,
.sum, #step4 .fld input, .fld input[type="email"] { background: var(--ffill); }
.fchips .chip[aria-pressed="true"], #step2 .amt[aria-pressed="true"] { background: var(--ink); }
#step3 .cbth[aria-current="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }
.cbdel { box-shadow: 0 0 0 2px var(--white); }
.pick:has(input:checked) { background: var(--lemon); }
/* neutral fills, no yellow */
:root { --ffill: #F3F2F5; }
.pick:has(input:checked) { background: var(--ffill); box-shadow: inset 0 0 0 2px var(--ink); }
.pick:has(input:checked) { background: var(--lemon); box-shadow: none; }
/* steps 2 and 4 line up with step 1: same side spacing, no extra inset */
#step2 .fblock, #step4 .fblock { padding-left: 12px; padding-right: 12px; }
#step2 .fld, #step4 .fld, .s4when, .xpay, .ordiv, .ccrow, .cardbox > .fnote { padding-left: 0; padding-right: 0; }
.s2char, .sum { margin-left: 0; margin-right: 0; }
#step2 .fhead, #step4 .fhead { padding: 0; }
#step3 .fhead, #step3 .cbcolrow { padding-left: 8px; padding-right: 8px; }
/* thinner focus outline on fields */
.search:focus-within, .money:focus-within,
.fld input:focus, .fld textarea:focus, .fld input[type="email"]:focus { box-shadow: 0 0 0 1.5px var(--ink); }
.cbtx { -webkit-touch-callout: none; }
.cbsnd { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 36px; height: 36px; border: 0; padding: 0; border-radius: 50%; background: rgba(15, 6, 60, .55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cbsnd svg { width: 20px; height: 20px; }
.cbsnd::after { content: ""; position: absolute; inset: -6px; }
video.cbmedia::-webkit-media-controls, video.cbmedia::-webkit-media-controls-start-playback-button, video.cbmedia::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
.cbth { position: relative; }
.cbvph { width: 100%; height: 100%; background: var(--ink); display: block; }
.cbvicon { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; pointer-events: none; }
.cbvicon svg { width: 16px; height: 16px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.cbslide { contain: layout paint; transform: translateZ(0); }
.cbmedia { transform: translateZ(0); }
.cbplay { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; z-index: 4; border: 0; padding: 0; border-radius: 50%; background: rgba(15, 6, 60, .55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cbplay svg { width: 30px; height: 30px; margin-left: 3px; }
.cbplay[hidden] { display: none; }
#step3 .cbstrip { margin-top: 0; }
.fblock.done { padding-top: 48px; }
#done .fbar #copyBtn { display: block; width: 100%; text-align: center; align-self: stretch; }
.privnote { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: var(--ffill); border-radius: 16px; padding: 14px 16px; margin-top: 6px; }
.privnote svg { flex: none; margin-top: 1px; }
.fblock.done .privnote p { font-size: 14px; line-height: 1.5; }
.fblock.done .donewarn { font-weight: 800; margin-top: -6px; }
.privnote { display: block; text-align: center; background: var(--lemon); padding: 18px 16px; border-radius: 18px; margin-top: 8px; }
.privnote svg { display: block; margin: 0 auto; transform: rotate(6deg); color: var(--ink); }
.privnote h2 { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.1; margin: 6px 0; }
.fblock.done .privnote p { font-size: 14px; line-height: 1.5; }
#done .fblock.done { padding-top: 20px; padding-bottom: 72px; }
body.sent .tracker, body.sent #exit { display: none !important; }
.privnote { padding: 14px 16px 16px; }
.privnote svg { width: 32px; height: 36px; }
.privnote h2 { font-size: 18px; margin: 4px 0 4px; }
.fblock.done .privnote p { font-size: 13.5px; line-height: 1.45; }

/* ===== Desktop send flow ===== */
.dprev, .dtip { display: none; }
@media (min-width: 1024px) {
  .ftop { max-width: 1120px; }
  .flow main { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 600px) 340px; justify-content: center; column-gap: 72px; align-items: start; }
  .flow main > .fstep { grid-column: 1; grid-row: 1; }
  .fblock { padding-left: 0 !important; padding-right: 0 !important; }

  /* live preview of the card on the right */
  .dprev { display: block; grid-column: 2; grid-row: 1; position: sticky; top: 140px; padding-top: 40px; }
  .dplbl { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 12px; }
  .dpcard { width: 280px; aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1.5px var(--line), 0 18px 40px rgba(15, 6, 60, .08); }
  .dptop { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 14px; transition: background .2s ease; }
  .dptop .cbmark { font-size: 14px; }
  .dptx { flex: 1; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.05; overflow-wrap: anywhere; }
  .dptx.ph { opacity: .4; }
  .dpband { background: var(--white); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
  .dpband .cbgift { font-size: 13px; }
  .dpband .cbgift b { font-size: 18px; }
  .dpchar { display: flex; align-items: center; gap: 10px; font-size: 14px; }
  .dpchar .logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; display: block; }
  .dpband .cbfrom { font-size: 13px; padding-top: 8px; }

  /* steps that show the preview */
  body[data-step="3"] .dprev, body[data-step="done"] .dprev { display: none; }
  body[data-step="3"] .flow main, body[data-step="3"].flow main,
  body[data-step="done"].flow main { grid-template-columns: minmax(0, 1fr); }
  body[data-step="done"] #done { max-width: 600px; margin: 0 auto; width: 100%; }

  /* step 3: tools left, big card in the middle, page tiles down the right */
  body[data-step="3"] #step3 .fblock { display: grid; grid-template-columns: 300px auto 64px; grid-template-areas: "head rail strip" "col rail strip" "tip rail strip" ". rail strip"; grid-template-rows: auto auto auto 1fr; column-gap: 48px; row-gap: 22px; justify-content: center; align-items: start; }
  #step3 .fhead { grid-area: head; padding: 0 !important; }
  #step3 .cbcolrow { grid-area: col; flex-wrap: wrap; padding: 0 !important; }
  #step3 .cbcols { flex-wrap: wrap; }
  #step3 .cbstrip { grid-area: strip; flex-direction: column; margin: 0; padding: 6px; overflow: visible; }
  #step3 .cbth, #step3 .cbplus { width: 52px; height: 66px; }
  #step3 .cbrail { grid-area: rail; width: min(400px, calc((100vh - 230px) * 9 / 16)); }
  body[data-step="3"] .dtip { display: block; grid-area: tip; }
  body[data-step="3"] #step3 .fblock .dtip { display: block; }
  .dtip { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 300px; }

  /* bottom bar: button lines up on the right */
  .fbar { align-items: flex-end; padding-right: max(24px, calc((100vw - 1120px) / 2)); padding-left: max(24px, calc((100vw - 1120px) / 2)); }
  .fbar > * { max-width: 340px; }
  .fbar .fhint { text-align: right; }
  #done .fbar { align-items: center; }
  #done .fbar > * { max-width: 420px; }
}
@media (min-width: 1024px) {
  .fchips { flex-wrap: wrap; overflow: visible; }
  #done .fbar > * { margin-left: auto; margin-right: auto; }
}
@media (min-width: 1024px) { .fchips { margin: 0; padding: 2px 0; } }
.xgoogle span { font-weight: 600; font-size: 19px; margin-left: -2px; } .xgoogle svg { margin-left: 4px; }
/* send screen: outline share buttons */
.fblock.done .shead { font-family: var(--body); font-weight: 800; font-size: 16px; letter-spacing: 0; margin-top: 6px; }
.shares { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 420px; margin: 0 auto; }
.sh { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink); text-decoration: none; }
.sh[hidden] { display: none; }
.sh span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); transition: background .15s ease; }
.sh:hover span, .sh:active span { background: var(--lav); }
.sh svg { width: 26px; height: 26px; }
#done .fbar #copyBtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; text-align: center; }
#done .fbar .fhint { text-align: center; }
.shares { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 300px; }
.ptax { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 700; color: #1F6B45; background: #E3F5EA; border-radius: 999px; padding: 3px 9px; }
.ptax::before { content: ""; width: 8px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
.ptax { color: var(--ink); background: #F1EBFF; gap: 0; }
.ptax::before { display: none; }
/* trim the space under each step */
.fblock { padding-bottom: 8px; }
#done .fblock.done { padding-bottom: 8px; }
body.typing { padding-bottom: 12px !important; }
