/* Funnel B: order form and thanks page (loaded after b.css) */
.consent-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 720px; margin: 0 auto; background: var(--night); color: #fff; border-radius: 14px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.consent-bar a { color: var(--gold); }
.consent-btns { display: flex; gap: 8px; }
.consent-bar button { border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; border-radius: 99px; padding: 7px 16px; font: inherit; cursor: pointer; }
.consent-bar button.yes { background: var(--gold); color: var(--night); border-color: var(--gold); font-weight: 700; }

.form-page { background: var(--cream); min-height: 100vh; }
.form-top { background: var(--night); }
.form-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.form-top img { height: 32px; width: auto; }
.form-top .secure { color: #B9B3E6; font-size: .85rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.form-top .secure svg { width: 15px; height: 15px; }
.form-wrap { max-width: 640px; margin: 0 auto; padding: 18px var(--gutter) 60px; }
.promise-line { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; font-size: .85rem; font-weight: 800; color: var(--purple); margin: 0 0 14px; }
.promise-line span::before { content: "\2713  "; color: var(--green); }
.stepbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 6px; }
.stepbar div { height: 6px; border-radius: 6px; background: #E6E0F4; }
.stepbar div.done { background: var(--gold-deep); }
.stepname { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 800; color: var(--muted); margin-bottom: 14px; }
.card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 22px 18px; }
@media (min-width: 600px) { .card { padding: 30px 28px; } }
.card h1 { font-size: clamp(1.55rem, 5.5vw, 2rem); margin-bottom: 6px; }
.hint { color: var(--muted); margin: 0 0 18px; font-size: .98rem; }
.field { margin: 0 0 18px; }
.field > label, .field > .label { display: block; font-weight: 800; margin-bottom: 7px; font-size: .98rem; }
.field > label small, .field > .label small { color: var(--muted); font-weight: 600; }
input[type=text], input[type=email], input[type=number], select, textarea { width: 100%; font: inherit; font-size: 1.05rem; padding: 13px 14px; border: 2px solid #DCD6EE; border-radius: 14px; background: #fff; color: var(--ink); -webkit-appearance: none; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(83,74,183,.15); }
.help { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.err { color: #B3261E; font-weight: 700; font-size: .9rem; margin-top: 6px; display: none; }
.err:not(:empty) { display: flex; gap: 6px; align-items: flex-start; }
.err:not(:empty)::before { content: "\0021"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #B3261E; color: #fff; font-size: .75rem; font-weight: 900; display: grid; place-items: center; margin-top: 2px; }
.bad input, .bad select, .bad textarea, .bad .chips, .bad .opt-grid, .bad .worlds-grid, .bad .drop, .bad .tick { border-color: #B3261E !important; }
.bad .tick { background: #FFF4F3; }
.opt-grid { display: grid; gap: 10px; border: 2px solid transparent; border-radius: 16px; }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; background: #fff; border: 2px solid #DCD6EE; border-radius: 16px; padding: 12px 14px; font: inherit; cursor: pointer; color: var(--ink); position: relative; }
.opt[aria-pressed=true] { border-color: var(--purple); background: #F6F4FF; box-shadow: 0 0 0 3px rgba(83,74,183,.12); }
.opt .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C9C2E4; flex: none; display: grid; place-items: center; }
.opt[aria-pressed=true] .radio { border-color: var(--purple); }
.opt[aria-pressed=true] .radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--purple); }
.opt .t { flex: 1; min-width: 0; }
.opt .t b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.opt .t small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.35; }
.opt .p { font: 600 1.15rem var(--font-head); white-space: nowrap; text-align: right; }
.opt .p small { display: block; font: 700 .72rem var(--font-body); color: var(--muted); }
.opt .tag { position: absolute; top: -10px; right: 12px; background: var(--gold); color: var(--night); font: 600 .72rem var(--font-head); padding: 3px 9px; border-radius: 999px; }
.worlds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 2px solid transparent; border-radius: 16px; }
@media (min-width: 480px) { .worlds-grid { grid-template-columns: repeat(4, 1fr); } }
.world { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border: 2px solid #DCD6EE; border-radius: 14px; padding: 10px 4px 8px; font: 800 .78rem var(--font-body); color: var(--ink); cursor: pointer; line-height: 1.2; text-align: center; }
.world .e { font-size: 1.5rem; line-height: 1; }
.world[aria-pressed=true] { border-color: var(--purple); background: #F6F4FF; box-shadow: 0 0 0 3px rgba(83,74,183,.12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 2px solid transparent; border-radius: 14px; }
.chip { border: 2px solid #DCD6EE; background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 800 .95rem var(--font-body); cursor: pointer; }
.chip[aria-pressed=true] { background: var(--night-2); color: #fff; border-color: var(--night-2); }
.chips--3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.chips--3 .chip { text-align: center; padding: 12px 4px; font-size: .98rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop { display: block; position: relative; border: 2px dashed #B9AFE0; border-radius: 18px; background: #F8F6FF; padding: 22px 14px; text-align: center; cursor: pointer; }
.drop:hover { background: #F1EDFF; }
.drop .big { display: block; font: 600 1.15rem var(--font-head); color: var(--night-2); }
.drop .sm { display: block; color: var(--muted); font-size: .88rem; margin-top: 4px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; border: 2px solid #DCD6EE; }
.thumbs .add { position: relative; width: 76px; height: 76px; border-radius: 12px; border: 2px dashed #B9AFE0; display: grid; place-items: center; color: var(--purple); font-weight: 800; cursor: pointer; font-size: 1.5rem; background: #F8F6FF; }
.thumbs .add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.link { background: none; border: 0; padding: 0; color: var(--purple); font: 800 .95rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hero-card { border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-bottom: 14px; background: #FDFCFF; }
.hero-card h3 { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; }
.tick, .field > label.tick { display: flex; gap: 12px; align-items: flex-start; border: 2px solid #DCD6EE; border-radius: 14px; padding: 12px 14px; cursor: pointer; background: #fff; margin: 0; }
.tick input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--purple); }
.tick b { display: block; }
.tick small { color: var(--muted); display: block; font-size: .88rem; }
.tick b small { display: inline; font-size: .9em; }
.tick.on { border-color: var(--purple); background: #F6F4FF; }
.sub { margin: 10px 0 0 0; padding: 14px; background: #FAF9FF; border-radius: 14px; }
.becomes { display: grid; grid-template-columns: 1fr; gap: 10px; background: var(--purple-soft); border-radius: 16px; padding: 12px; margin: 0 0 18px; align-items: center; }
.becomes img { border-radius: 10px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.becomes p { margin: 0; font-size: .9rem; color: var(--night-2); font-weight: 700; }
@media (min-width: 480px) { .becomes { grid-template-columns: 150px 1fr; } }
.summary { background: var(--cream); border-radius: 16px; padding: 14px 16px; margin: 0 0 18px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .97rem; }
.summary .total { border-top: 2px solid #E9E1CF; margin-top: 6px; padding-top: 10px; font: 600 1.25rem var(--font-head); }
.summary .off { color: var(--green); font-weight: 800; }
.consent-text { font-size: .85rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 10px 0; line-height: 1.5; }
.trust { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: .86rem; color: var(--muted); font-weight: 700; }
.trust li { display: flex; gap: 8px; align-items: flex-start; }
.trust svg { width: 15px; height: 15px; flex: none; color: var(--green); margin-top: 2px; }
.nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 22px; }
.nav .btn--outline { padding: 16px 20px; }
.nav .btn--gold { width: 100%; }
.nav.one { grid-template-columns: 1fr; }
.skip { text-align: center; margin-top: 12px; }
.form-error { color: #B3261E; font-weight: 800; margin: 12px 0 0; text-align: center; }
.form-error:empty { display: none; }
.banner { background: var(--night-2); color: #fff; border-radius: 16px; padding: 14px 16px; margin: 0 0 16px; }
.banner b { display: block; }
.banner small { color: #D9D5F7; display: block; }
.banner--bad { background: #FFF4F3; color: #7A1C14; }
.banner--bad small { color: #7A1C14; }
.banner .btn { margin-top: 10px; }
.flash { animation: flash .5s ease 2; }
@keyframes flash { 50% { box-shadow: 0 0 0 4px rgba(179,38,30,.35); } }
.timeline { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.timeline .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--purple-soft); font-size: 1.2rem; }
.timeline .dot.now { background: var(--gold); }
.timeline b { display: block; }
.timeline span { color: var(--muted); font-size: .93rem; }
.thanks-head { text-align: center; padding: 10px 0 6px; }
.thanks-head .big { font-size: 3rem; }
.ref { display: inline-block; background: var(--purple-soft); color: var(--night-2); font-weight: 800; padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.socials .btn { padding: 11px 18px; font-size: .95rem; }
.season-bar { background: var(--gold); color: var(--night); text-align: center; font-weight: 800; font-size: .92rem; padding: 8px var(--gutter); }

/* Free preview of the hero (Guy 14.11) */
.preview-btn { display: block; width: 100%; margin: 4px 0 14px; padding: 13px 14px; border: 2px solid var(--gold, #E9B44C); border-radius: 14px; background: #FFF8E6; color: #3C3489; font: inherit; font-weight: 700; cursor: pointer; text-align: center; }
.preview-btn:hover { background: #FFF1CC; }
.preview-card { display: flex; gap: 14px; align-items: center; margin: 4px 0 16px; padding: 14px; border-radius: 16px; background: #F1EFFF; border: 2px solid #D9D4FA; }
.preview-card img { width: 132px; height: 132px; object-fit: cover; border-radius: 12px; flex: none; box-shadow: 0 4px 14px rgba(60, 52, 137, .22); }
.preview-card.ready img { animation: preview-pop .5s ease-out; }
.preview-card small { opacity: .8; }
.preview-wait { font-size: 2rem; flex: none; animation: preview-pulse 1.2s ease-in-out infinite; }
@keyframes preview-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes preview-pulse { 50% { transform: scale(1.25); opacity: .6; } }
@media (max-width: 420px) { .preview-card img { width: 104px; height: 104px; } }
/* Automatic preview (Guy 24.11): a calm one-line status while drawing, and a compact sketch right above Pay */
.preview-status { display: flex; gap: 10px; align-items: center; margin: 4px 0 14px; padding: 8px 12px; border-radius: 12px; background: #F1EFFF; color: #3C3489; font-size: .92rem; line-height: 1.35; }
.preview-status b { display: block; }
.preview-status small { display: block; opacity: .8; }
.preview-status .preview-wait { font-size: 1.2rem; }
.preview-status--pay { margin: 14px 0 0; }
.preview-card--pay { margin: 14px 0 0; padding: 8px 12px; gap: 12px; }
.preview-card--pay img { width: 64px; height: 64px; border-radius: 10px; }
.preview-card--pay > div { font-size: .9rem; line-height: 1.3; }
.preview-card--pay small { font-size: .82rem; }
@media (prefers-reduced-motion: reduce) { .preview-card.ready img, .preview-wait { animation: none; } }

/* Holiday gift (Guy 14.11): up to 3 heroes included until 20 December. */
.hero-gift { margin: -4px 0 14px; padding: 10px 12px; border-radius: 12px; background: #FFF6E0; border: 1px solid #F3D38C; color: #5A4300; font-size: .95rem; line-height: 1.4; }
.summary s { color: #8A8A8A; font-weight: 400; margin-right: 6px; }

/* Holiday offer: the saving is shown as the usual extra crossed out next to a FREE tag (Guy 14.11). */
s.was { color: #8A8A8A; font-weight: 500; text-decoration-thickness: 2px; text-decoration-color: #D0392B; }
.free-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #2F7D1F; color: #fff; font-size: .78em; font-weight: 800; letter-spacing: .04em; vertical-align: 1px; }
.hero-price { margin-left: 8px; margin-right: auto; font-size: .8em; font-weight: 600; white-space: nowrap; }
