
@font-face { font-family:"Roca Two"; src:url(/api/pages/assessment/assets/ln4ni6y9e1ue4nwby6gfbepz) format("truetype"); font-weight:700; font-display:swap; }
/* Two columns on desktop: the form (details, card, bumps, pay) left, the order summary right and sticky.
   Phone: summary first, then the form. Single light brand look on purpose, same as the lander. */
:root {
  --canvas:#F7F0FF; --grape:#573B65; --grape-deep:#3E2A49; --thistle:#CABAD7; --olive:#5C643F; --paprika:#D4602B;
  --paper:#FFFFFF; --ink:#2B2030; --muted:#6A5A75; --line:#E6DCF2; --paprika-soft:#FBEDE5; --olive-soft:#ECEEE2;
  --display:"Roca Two", "Fraunces", Georgia, serif; --body:"Poppins", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing:border-box; }
html, body { overflow-x:clip; }
body { margin:0; background:var(--canvas); color:var(--ink); font-family:var(--body); font-size:16px; line-height:1.5; }
.wrap { max-width:1080px; margin:0 auto; padding-left:max(20px, env(safe-area-inset-left, 0px)); padding-right:max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family:var(--display); font-weight:700; color:var(--grape); margin:0; text-wrap:balance; }
.ic { width:20px; height:20px; flex:none; }

.draftbar { background:var(--grape); color:var(--canvas); font-size:14px; text-align:center; padding-block:9px; }
.draftbar b { color:#fff; }
.top { padding-block:20px; }
.top .wrap { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.logo img { height:30px; width:auto; mix-blend-mode:multiply; display:block; }
.secure { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:var(--muted); }
.secure .ic { color:var(--olive); width:18px; height:18px; }

.grid { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr); gap:32px; align-items:start; padding-bottom:64px; }
.col { display:grid; gap:20px; min-width:0; }
.card { background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:28px; }
.step { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.step .num { width:30px; height:30px; border-radius:999px; background:var(--grape); color:#fff; font-weight:700; font-size:14px; display:grid; place-items:center; flex:none; }
.step h2 { font-size:26px; line-height:1; letter-spacing:-.01em; }

.field { display:grid; gap:6px; margin-bottom:14px; }
.field label { font-size:14px; font-weight:600; color:var(--grape); }
.field input { font:inherit; font-size:16px; padding:13px 14px; border:1.5px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); width:100%; }
.field input:focus { outline:none; border-color:var(--grape); box-shadow:0 0 0 3px rgba(87,59,101,.15); }
.row2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }

.stripe { border:1.5px dashed var(--thistle); border-radius:12px; padding:16px; background:#FBF8FE; }
.stripe .note { display:flex; gap:8px; align-items:flex-start; font-size:13px; color:var(--muted); margin-top:4px; }
.stripe .note .ic { width:16px; height:16px; color:var(--olive); margin-top:2px; }
.paywith { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.paywith span { font-size:13px; font-weight:600; border:1.5px solid var(--line); border-radius:8px; padding:7px 12px; background:#fff; color:var(--ink); }
.paywith span.on { border-color:var(--grape); color:var(--grape); }

/* SamCart-style bump: dashed paprika box, pointing arrow, big tick line */
.bumps { display:grid; gap:16px; }
.bump { border:2.5px dashed var(--paprika); border-radius:14px; background:var(--paprika-soft); overflow:hidden; transition:background .2s, border-color .2s; }
.bump.on { background:#FFF7F1; border-style:solid; }
.bump-head { display:flex; align-items:center; gap:12px; padding:14px 16px; background:#F9E2D5; cursor:pointer; }
.bump.on .bump-head { background:#F6D5C4; }
.arrow { color:var(--paprika); width:26px; height:26px; flex:none; animation:nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform:translateX(5px); } }
.bump input[type=checkbox] { appearance:none; -webkit-appearance:none; width:24px; height:24px; border:2px solid var(--paprika); border-radius:6px; background:#fff; flex:none; display:grid; place-items:center; cursor:pointer; margin:0; }
.bump input[type=checkbox]::after { content:""; width:12px; height:7px; border-left:3px solid #fff; border-bottom:3px solid #fff; transform:rotate(-45deg) translate(1px,-1px); opacity:0; }
.bump input[type=checkbox]:checked { background:var(--paprika); }
.bump input[type=checkbox]:checked::after { opacity:1; }
.bump input[type=checkbox]:focus-visible { outline:3px solid var(--grape); outline-offset:2px; }
.bump-head .yes { font-weight:700; color:var(--ink); font-size:16px; line-height:1.3; }
.bump-head .yes b { color:var(--paprika); }
.bump-body { padding:14px 18px 16px; font-size:15px; color:var(--ink); }
.bump-body .tag { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--paprika); margin-bottom:6px; }
.bump-body p { margin:0; }

.pay { display:grid; gap:12px; }
.btn { display:flex; justify-content:center; align-items:center; gap:10px; width:100%; background:var(--paprika); color:#fff; font:inherit; font-weight:700; font-size:19px; border:0; cursor:pointer; padding:18px 28px; border-radius:999px; box-shadow:0 6px 0 #9E4319; transition:transform .15s, box-shadow .15s; }
.btn:hover { transform:translateY(2px); box-shadow:0 4px 0 #9E4319; }
.btn:focus-visible { outline:3px solid var(--grape); outline-offset:4px; }
.btn .ic { width:20px; height:20px; }
.fine { font-size:13px; color:var(--muted); text-align:center; margin:0; }

/* summary */
.summary { position:sticky; top:calc(env(safe-area-inset-top, 0px) + 16px); }
.prod { display:flex; gap:16px; align-items:center; margin-bottom:16px; }
.prod .aia { width:88px; height:88px; flex:none; transform:rotate(-3deg); filter:drop-shadow(3px 4px 0 rgba(62,42,73,.18)); }
.prod .thumb { width:64px; height:64px; border-radius:14px; background:var(--grape); color:var(--canvas); display:grid; place-items:center; flex:none; font-family:var(--display); font-size:24px; line-height:1; }
.prod h1 { font-size:26px; line-height:1; letter-spacing:-.01em; }
.prod p { margin:4px 0 0; font-size:14px; color:var(--muted); }
.lines { list-style:none; margin:0; padding:16px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); display:grid; gap:10px; }
.lines li { display:flex; justify-content:space-between; gap:12px; font-size:15px; font-variant-numeric:tabular-nums; }
.lines li span:first-child { min-width:0; }
.lines li.add { color:var(--paprika); font-weight:600; animation:pop .3s ease; }
@keyframes pop { from { opacity:0; transform:translateY(-4px); } }
.total { display:flex; justify-content:space-between; align-items:baseline; padding-top:14px; }
.total span { font-weight:600; color:var(--grape); }
.total strong { font-family:var(--display); font-size:40px; color:var(--grape); line-height:1; font-variant-numeric:tabular-nums; }
.usd { font-size:12px; color:var(--muted); text-align:right; margin:4px 0 0; }

.inside h3 { font-size:22px; line-height:1.05; margin-bottom:12px; }
.ticks { list-style:none; padding:0; margin:0; display:grid; gap:10px; font-size:15px; }
.ticks li { display:flex; gap:10px; align-items:flex-start; }
.ticks .ic { color:var(--paprika); width:20px; height:20px; margin-top:2px; }

.promise { background:var(--olive-soft); border-radius:14px; padding:18px 20px; display:flex; gap:14px; align-items:flex-start; }
.promise .ic { color:var(--olive); width:28px; height:28px; }
.promise b { display:block; color:var(--olive); margin-bottom:4px; }
.promise p { margin:0; font-size:14px; }

.demi { display:flex; gap:14px; align-items:center; font-size:14px; color:var(--muted); }
.demi img { width:52px; height:52px; border-radius:999px; object-fit:cover; flex:none; }
.demi b { color:var(--grape); }

/* preview result panel */
.result { background:var(--grape); color:var(--canvas); border-radius:16px; padding:22px 24px; }
.result h3 { color:#fff; font-size:24px; margin-bottom:8px; }
.result p { margin:0 0 6px; font-size:15px; }
.result ul { margin:6px 0 10px; padding-left:20px; font-size:15px; }
.result button { font:inherit; font-size:14px; font-weight:600; background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.6); border-radius:999px; padding:8px 16px; cursor:pointer; }

/* Stripe Elements */
#express-checkout { min-height:0; }
#payment-element { margin-top:10px; }
.payerr { background:#FBEDE5; border:1.5px solid var(--paprika); color:#8A3412; border-radius:12px; padding:12px 14px; font-size:14px; }
.btn[disabled] { opacity:.65; cursor:progress; transform:none; }
/* express pay + card marks */
.express { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; }
.xbtn { font:inherit; font-weight:600; font-size:15px; border-radius:10px; padding:13px 10px; display:flex; align-items:center; justify-content:center; gap:6px; cursor:pointer; border:0; min-width:0; white-space:nowrap; }
.xbtn.apple { background:#000; color:#fff; }
.xbtn.google { background:#000; color:#fff; }
.xbtn.link { background:#00D66F; color:#011E0F; }
.xbtn svg { width:18px; height:18px; flex:none; }
.xbtn:focus-visible { outline:3px solid var(--grape); outline-offset:2px; }
.or { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:13px; margin:16px 0; }
.or::before, .or::after { content:""; flex:1; height:1px; background:var(--line); }
.marks { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.marks svg { width:42px; height:26px; border-radius:5px; border:1px solid var(--line); background:#fff; flex:none; }
.cardlabel { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.trustrow { display:flex; justify-content:center; align-items:center; gap:10px; flex-wrap:wrap; font-size:13px; color:var(--muted); }

/* case studies */
.cases h3 { font-size:22px; line-height:1.05; margin-bottom:14px; }
.case { display:grid; grid-template-columns:52px minmax(0,1fr); gap:12px; padding-block:12px; border-top:1px solid var(--line); }
.case:first-of-type { border-top:0; padding-top:0; }
.case img { width:52px; height:52px; border-radius:999px; object-fit:cover; }
.case .big { font-family:var(--display); color:var(--paprika); font-size:22px; line-height:1; }
.case .big small { font-family:var(--body); font-size:13px; color:var(--muted); font-weight:500; margin-left:4px; }
.case b { color:var(--grape); font-size:14px; }
.case p { margin:4px 0 0; font-size:14px; }

/* sales pop-up */
/* sales pop-up: a tilted brand sticker card that springs in, pops a sticker + confetti, and shows a timer bar */
.toast { position:fixed; left:max(16px, env(safe-area-inset-left, 0px)); bottom:calc(18px + env(safe-area-inset-bottom, 0px)); z-index:20; width:min(350px, calc(100vw - 32px)); background:#fff; border:2px solid var(--grape); border-radius:20px; box-shadow:0 10px 28px rgba(43,32,48,.16); padding:14px 38px 16px 14px; display:flex; gap:14px; align-items:center; transform:translateX(0); opacity:1; transition:transform .55s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; overflow:visible; }
.toast.out { transform:translateX(calc(-100% - 40px)); opacity:0; pointer-events:none; }
.toast:hover { transform:translateX(0) scale(1.02); }
.toast .pop { position:absolute; top:-15px; left:18px; background:var(--paprika); color:#fff; font-weight:700; font-size:12px; letter-spacing:.1em; text-transform:uppercase; padding:5px 12px; border-radius:999px; box-shadow:3px 3px 0 var(--grape); transform:rotate(-6deg); white-space:nowrap; }
.toast.go .pop { animation:stick .55s cubic-bezier(.34,1.56,.64,1) .25s both; }
@keyframes stick { 0% { transform:rotate(-30deg) scale(0); } 100% { transform:rotate(-6deg) scale(1); } }
.toast .map { width:76px; height:76px; border-radius:16px; border:2px solid var(--grape); background:#EDE4F7; flex:none; position:relative; }
.toast .map img { width:72px; height:72px; display:block; border-radius:14px; }
.toast .map .tile { width:72px; height:72px; border-radius:14px; background-repeat:no-repeat; background-size:256px 256px; }
.toast .map .pin { position:absolute; left:50%; top:50%; width:22px; height:22px; transform:translate(-50%,-90%); filter:drop-shadow(0 2px 1px rgba(0,0,0,.25)); }
.toast.go .map .pin { animation:drop .6s cubic-bezier(.34,1.56,.64,1) .35s both; }
@keyframes drop { 0% { transform:translate(-50%,-260%); opacity:0; } 100% { transform:translate(-50%,-90%); opacity:1; } }
.toast .map .osm { position:absolute; left:3px; bottom:2px; font-size:6.5px; color:#3E2A49; background:rgba(255,255,255,.8); padding:0 3px; border-radius:3px; }
.toast .ava { position:absolute; right:-10px; bottom:-10px; width:34px; height:34px; border-radius:999px; background:var(--paprika); color:#fff; border:3px solid #fff; box-shadow:0 0 0 2px var(--grape); display:grid; place-items:center; font-family:var(--display); font-size:17px; line-height:1; }
.toast.go .ava { animation:boing .5s cubic-bezier(.34,1.56,.64,1) .5s both; }
@keyframes boing { 0% { transform:scale(0); } 100% { transform:scale(1); } }
.toast .who { font-size:14px; line-height:1.35; min-width:0; color:var(--ink); }
.toast .who b { display:block; font-family:var(--display); font-weight:700; color:var(--grape); font-size:22px; line-height:1; margin-bottom:3px; }
.toast .who .bought { font-weight:600; color:var(--paprika); }
.toast .when { display:block; font-size:12px; color:var(--muted); margin-top:3px; }
.toast .src { display:flex; align-items:center; gap:4px; font-size:10.5px; color:var(--muted); margin-top:6px; }
.toast .src svg { width:11px; height:11px; color:var(--olive); flex:none; }
.toast .stripe-logo { display:block; width:38px; height:16px; margin-top:2px; }
.toast .timer { position:absolute; left:16px; right:16px; bottom:6px; height:3px; border-radius:3px; background:var(--line); overflow:hidden; }
.toast .timer i { display:block; height:100%; background:var(--paprika); transform-origin:left; transform:scaleX(0); }
.toast.go .timer i { animation:tick 5s linear both; }
@keyframes tick { from { transform:scaleX(1); } to { transform:scaleX(0); } }
.toast .confetti { position:absolute; left:52px; top:44px; width:0; height:0; pointer-events:none; }
.toast .confetti i { position:absolute; width:7px; height:7px; border-radius:2px; opacity:0; }
.toast .confetti i:nth-child(3n) { background:var(--paprika); } .toast .confetti i:nth-child(3n+1) { background:var(--thistle); border-radius:999px; } .toast .confetti i:nth-child(3n+2) { background:var(--olive); }
.toast.go .confetti i { animation:burst .9s cubic-bezier(.2,.7,.3,1) .3s both; }
@keyframes burst { 0% { opacity:1; transform:translate(0,0) rotate(0) scale(1); } 100% { opacity:0; transform:translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.6); } }
.toast .x { position:absolute; top:6px; right:6px; width:28px; height:28px; border:0; background:transparent; color:var(--muted); font:inherit; font-size:20px; line-height:1; cursor:pointer; border-radius:8px; }
.toast .x:focus-visible { outline:3px solid var(--grape); }

@media (max-width: 860px) {
  .toast { bottom:auto; top:calc(18px + env(safe-area-inset-top, 0px)); width:min(320px, calc(100vw - 32px)); }
  .toast.out { transform:translateY(calc(-100% - 40px)); }
  .grid { grid-template-columns:minmax(0, 1fr); }
  .summary-col { order:-1; }
  .summary { position:static; }
}
@media (max-width: 460px) {
  .express { grid-template-columns:1fr; }
  .card { padding:20px; }
  .row2 { grid-template-columns:1fr; gap:0; }
  .prod h1 { font-size:22px; }
}
@media (prefers-reduced-motion: reduce) { .arrow, .lines li.add { animation:none; } .btn, .toast { transition:none; } .toast.go .pop, .toast.go .map .pin, .toast.go .ava, .toast.go .timer i, .toast.go .confetti i { animation:none; } .toast .confetti { display:none; } }
