/* ==========================================================================
   Spoilr — onboarding flow (role bivio → profile build → earning tools →
   checklist → processing → potential reveal → plan + discount wheel → done)
   Split layout: step flow on the left, a live profile preview on the right.
   Reuses the IndieTrack onboarding vocabulary.
   ========================================================================== */

.ob { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.05fr; }
.ob-left { display: flex; flex-direction: column; padding: 28px 44px 32px; position: relative; min-width: 0; }
.ob-head { display: flex; align-items: center; gap: 14px; }
.ob-head .brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ob-stepcount { margin-left: auto; font: 700 12px/1 var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.ob-dots { display: flex; gap: 6px; margin: 20px 0 0; flex-wrap: wrap; }
.ob-dots i { width: 26px; height: 5px; border-radius: var(--r-pill); background: var(--surface-2); transition: background .3s, width .3s; }
.ob-dots i.on { background: var(--ink); }
.ob-dots i.done { background: var(--verified); }

.ob-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 480px; width: 100%; padding: 26px 0; }
.ob-step { display: none; }
.ob-step.show { display: block; animation: obIn .42s cubic-bezier(.2,.8,.3,1) both; }
@keyframes obIn { from { transform: translateY(10px); } to { transform: none; } }
.ob-eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 700 11.5px/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: #128A3A; background: var(--verified-bg); padding: 7px 12px; border-radius: var(--r-pill); margin-bottom: 18px; }
.ob-eyebrow.blue { color: #2F6CB0; background: var(--fat-bg); }
.ob-eyebrow.amber { color: #B96A12; background: var(--flame-bg); }
.ob-eyebrow.coral { color: #B23B36; background: var(--protein-bg); }
.ob-eyebrow svg { width: 13px; height: 13px; }
.ob-step h1 { font: 800 clamp(26px, 2.8vw, 36px)/1.1 var(--font-sans); letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.ob-step .lede { font: 400 16.5px/1.55 var(--font-sans); color: var(--fg-2); margin: 12px 0 0; text-wrap: pretty; }
.ob-back { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; background: none; border: none; cursor: pointer; font: 600 14px/1 var(--font-sans); color: var(--fg-3); margin-bottom: 18px; padding: 0; }
.ob-back:hover { color: var(--fg-1); }
.ob-back svg { width: 15px; height: 15px; }
.ob-foot { font: 400 12.5px/1.5 var(--font-sans); color: var(--fg-3); max-width: 480px; }
.ob-foot a { color: var(--fg-2); text-decoration: underline; }
.ob-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.ob-skip { background: none; border: none; cursor: pointer; align-self: center; font: 600 15px/1 var(--font-sans); color: var(--fg-2); padding: 6px; }
.ob-skip:hover { color: var(--fg-1); }

/* big choice cards (role bivio, mode picks) */
.ob-choices { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 4px; }
.ob-choice { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1.5px solid var(--border); border-radius: var(--r-lg); cursor: pointer; text-align: left; background: var(--white); transition: border-color .16s, box-shadow .16s, transform .16s; }
.ob-choice:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ob-choice.sel { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ob-choice .ci { width: 50px; height: 50px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--surface-1); color: var(--fg-1); }
.ob-choice .ci svg { width: 24px; height: 24px; }
.ob-choice.gold .ci { background: var(--gold); color: #fff; }
.ob-choice .cb { flex: 1; min-width: 0; }
.ob-choice .cb b { font: 700 17px/1.3 var(--font-sans); display: block; }
.ob-choice .cb span { font: 400 14px/1.45 var(--font-sans); color: var(--fg-2); display: block; margin-top: 3px; }
.ob-choice .crad { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; display: flex; align-items: center; justify-content: center; transition: border-color .15s, background .15s; }
.ob-choice.sel .crad { border-color: var(--ink); background: var(--ink); color: #fff; }
.ob-choice .crad svg { width: 14px; height: 14px; opacity: 0; }
.ob-choice.sel .crad svg { opacity: 1; }

/* pill multi-select (how did you hear / templates tags) */
.ob-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 4px; }
.ob-pill { padding: 11px 16px; border: 1.5px solid var(--border-strong); border-radius: var(--r-pill); font: 600 14.5px/1 var(--font-sans); color: var(--fg-2); cursor: pointer; background: var(--white); transition: all .14s; display: inline-flex; align-items: center; gap: 7px; }
.ob-pill:hover { border-color: var(--ink); color: var(--fg-1); }
.ob-pill.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.ob-pill svg { width: 14px; height: 14px; }

/* template gallery */
.ob-templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 4px; }
.tpl { border: 1.5px solid var(--border); border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--white); transition: border-color .15s, transform .15s, box-shadow .15s; }
.tpl:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tpl.sel { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.tpl-pv { height: 96px; position: relative; }
.tpl-pv .band { position: absolute; left: 0; right: 0; top: 0; height: 34px; }
.tpl-pv .av { position: absolute; left: 14px; top: 22px; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid #fff; }
.tpl-pv .ln { position: absolute; left: 14px; height: 5px; border-radius: 3px; background: var(--surface-2); }
.tpl-name { font: 700 12.5px/1 var(--font-sans); padding: 9px 12px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.tpl-name svg { width: 14px; height: 14px; color: var(--ink); opacity: 0; }
.tpl.sel .tpl-name svg { opacity: 1; }

/* uploader */
.uploader { display: flex; align-items: center; gap: 16px; }
.up-slot { width: 76px; height: 76px; border-radius: 50%; flex: none; border: 2px dashed var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--fg-3); cursor: pointer; overflow: hidden; transition: border-color .14s; }
.up-slot.banner { width: 100%; height: 96px; border-radius: var(--r-md); }
.up-slot:hover { border-color: var(--ink); color: var(--fg-1); }
.up-slot svg { width: 24px; height: 24px; }
.up-meta b { font: 700 14px/1.3 var(--font-sans); display: block; }
.up-meta span { font: var(--footnote); color: var(--fg-3); }

/* social rows / link rows editor */
.row-edit { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.row-edit select { width: 130px; flex: none; }
.row-edit input { flex: 1; }
.row-edit .del { width: 40px; height: 40px; flex: none; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--white); color: var(--fg-3); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.row-edit .del:hover { color: var(--danger); border-color: var(--danger); }
.row-edit .del svg { width: 16px; height: 16px; }
.add-row { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; cursor: pointer; color: var(--fg-1); font: 600 14px/1 var(--font-sans); padding: 4px 0; margin-top: 4px; }
.add-row svg { width: 16px; height: 16px; }
.link-adult-toggle { display: inline-flex; align-items: center; gap: 7px; font: 600 12px/1 var(--font-sans); color: var(--fg-2); cursor: pointer; white-space: nowrap; }

/* earning-tools accordion */
.tool { border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 14px; overflow: hidden; }
.tool-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.tool-head .ti { width: 38px; height: 38px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--surface-1); color: var(--fg-1); }
.tool-head .ti svg { width: 20px; height: 20px; }
.tool-head .tt { flex: 1; min-width: 0; }
.tool-head .tt b { font: 700 15.5px/1.3 var(--font-sans); display: block; }
.tool-head .tt span { font: 400 13px/1.4 var(--font-sans); color: var(--fg-2); }
.tool-body { padding: 0 18px 18px; border-top: 1px solid var(--border); display: none; }
.tool.open .tool-body { display: block; padding-top: 16px; }
.tool.open { box-shadow: var(--shadow-sm); }
.gold-lock { font: 700 9.5px/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--gold); padding: 4px 8px; border-radius: var(--r-pill); }

/* checklist (closing screen) */
.ob-checklist { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 4px; }
.ob-check { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-lg); cursor: pointer; transition: border-color .14s, background .14s; }
.ob-check.on { border-color: color-mix(in srgb, var(--success) 40%, transparent); background: color-mix(in srgb, var(--success) 5%, var(--white)); }
.ob-check .cbx { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--border-strong); flex: none; display: flex; align-items: center; justify-content: center; color: #fff; transition: all .15s; }
.ob-check.on .cbx { background: var(--success); border-color: var(--success); }
.ob-check .cbx svg { width: 15px; height: 15px; opacity: 0; }
.ob-check.on .cbx svg { opacity: 1; }
.ob-check .cl { flex: 1; }
.ob-check .cl b { font: 700 15px/1.3 var(--font-sans); display: block; }
.ob-check .cl span { font: 400 13px/1.4 var(--font-sans); color: var(--fg-2); }

/* processing */
.ob-processing { text-align: center; padding: 30px 0; }
.proc-ring { width: 120px; height: 120px; margin: 0 auto 28px; position: relative; }
.proc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.proc-ring .track { fill: none; stroke: var(--surface-2); stroke-width: 8; }
.proc-ring .bar { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .3s linear; }
.proc-ring .pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 28px/1 var(--font-num); letter-spacing: -0.02em; }
.proc-steps { display: flex; flex-direction: column; gap: 10px; max-width: 340px; margin: 0 auto; text-align: left; }
.proc-line { display: flex; align-items: center; gap: 12px; font: 500 14.5px/1.3 var(--font-sans); color: var(--fg-3); transition: color .3s; }
.proc-line.done { color: var(--fg-1); }
.proc-line .pi { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface-2); flex: none; display: flex; align-items: center; justify-content: center; color: #fff; transition: all .3s; }
.proc-line.done .pi { background: var(--success); border-color: var(--success); }
.proc-line .pi svg { width: 12px; height: 12px; opacity: 0; }
.proc-line.done .pi svg { opacity: 1; }
.proc-line .ps { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--surface-2); border-top-color: var(--ink); animation: spin .8s linear infinite; flex: none; display: none; }
.proc-line.active .ps { display: block; }
.proc-line.active .pi { display: none; }
.proc-line.active { color: var(--fg-1); }

/* potential reveal */
.reveal-hero { text-align: center; }
.reveal-num { font: 800 clamp(48px, 7vw, 76px)/1 var(--font-num); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin: 8px 0 6px; color: var(--ink); }
.reveal-sub { font: 500 15px/1.4 var(--font-sans); color: var(--fg-2); }
.reveal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.reveal-c { border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; }
.reveal-c .l { font: 600 12px/1 var(--font-sans); color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.04em; }
.reveal-c .v { font: 800 22px/1 var(--font-num); letter-spacing: -0.02em; margin-top: 9px; font-variant-numeric: tabular-nums; }
.reveal-c .v small { font: 600 12px/1 var(--font-sans); color: var(--fg-3); }
.reveal-rec { display: flex; gap: 12px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--panel-dark); color: #fff; }
.reveal-rec .ri { width: 38px; height: 38px; border-radius: 11px; flex: none; background: rgba(255,255,255,0.12); color: var(--flame); display: flex; align-items: center; justify-content: center; }
.reveal-rec .ri svg { width: 20px; height: 20px; }
.reveal-rec b { font: 700 14.5px/1.35 var(--font-sans); }
.reveal-rec span { display: block; font: 500 13px/1.4 var(--font-sans); color: rgba(255,255,255,0.62); margin-top: 3px; }

/* discount wheel */
.wheel-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 18px 0; }
.wheel-stage { position: relative; width: 260px; height: 260px; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--ink); }
.wheel-pointer svg { width: 30px; height: 30px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.2)); }
.wheel { width: 100%; height: 100%; border-radius: 50%; box-shadow: var(--shadow-lg), 0 0 0 8px var(--white), 0 0 0 10px var(--border); transition: transform 4.5s cubic-bezier(.15,.85,.2,1); }
.wheel-hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font: 800 11px/1 var(--font-sans); z-index: 2; box-shadow: var(--shadow-md); }
.wheel-result { text-align: center; padding: 16px 18px; border-radius: var(--r-lg); background: var(--flame-bg); color: #B96A12; font: 700 16px/1.4 var(--font-sans); }
.wheel-result b { font-size: 22px; }

/* success */
.ob-success-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--verified-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.ob-success-ic svg { width: 34px; height: 34px; color: var(--verified); }
.ob-pro { display: flex; align-items: center; gap: 14px; margin: 24px 0 4px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--panel-dark); color: #fff; }
.ob-pro .pi { width: 40px; height: 40px; border-radius: 11px; flex: none; background: rgba(255,255,255,0.12); color: var(--flame); display: flex; align-items: center; justify-content: center; }
.ob-pro .pi svg { width: 21px; height: 21px; }
.ob-pro .pt b { font: 700 15px/1.3 var(--font-sans); }
.ob-pro .pt span { display: block; font: 500 13px/1.35 var(--font-sans); color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ---------------- RIGHT: live preview ---------------- */
.ob-right { background: var(--panel-dark); color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px; }
.ob-right .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(720px circle at 82% 10%, rgba(243,152,39,0.10), transparent 60%); }
.ob-pv-wrap { position: relative; z-index: 1; width: 100%; max-width: 380px; }
.ob-pv-label { font: 700 11px/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 16px; display: flex; align-items: center; gap: 9px; }
.ob-pv-label .lp { width: 7px; height: 7px; border-radius: 50%; background: var(--verified); box-shadow: 0 0 0 0 rgba(52,199,89,0.5); animation: obpulse 2s infinite; }
@keyframes obpulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,0.5); } 70% { box-shadow: 0 0 0 7px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }

/* the live mini-profile card */
.pv-card { background: #fff; color: var(--fg-1); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.pv-banner { height: 70px; background: linear-gradient(120deg, var(--protein), var(--carbs)); position: relative; }
.pv-banner.empty { background: var(--surface-2); }
.pv-head { padding: 0 20px 18px; position: relative; }
.pv-av { width: 60px; height: 60px; border-radius: 50%; border: 3px solid #fff; background: var(--surface-2); margin-top: -30px; display: flex; align-items: center; justify-content: center; color: var(--fg-3); font: 800 22px/1 var(--font-num); overflow: hidden; }
.pv-av.pos-center { margin-left: auto; margin-right: auto; }
.pv-av.pos-right { margin-left: auto; }
.pv-name { font: 800 19px/1.2 var(--font-sans); letter-spacing: -0.02em; margin-top: 12px; display: flex; align-items: center; gap: 7px; }
.pv-handle { font: 600 13px/1 var(--font-sans); color: var(--fg-3); margin-top: 4px; }
.pv-bio { font: 400 13.5px/1.45 var(--font-sans); color: var(--fg-2); margin-top: 10px; }
.pv-socials { display: flex; gap: 8px; margin-top: 14px; }
.pv-socials .s { width: 32px; height: 32px; border-radius: 9px; background: var(--surface-1); display: flex; align-items: center; justify-content: center; color: var(--fg-1); }
.pv-socials .s svg { width: 16px; height: 16px; }
.pv-tools { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 9px; }
.pv-tool { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: var(--r-md); background: var(--surface-1); font: 600 13px/1 var(--font-sans); color: var(--fg-1); }
.pv-tool.dim { opacity: .4; }
.pv-tool .pt-ic { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: none; }
.pv-tool .pt-ic svg { width: 15px; height: 15px; }
.pv-tool .pt-val { margin-left: auto; font: 700 12px/1 var(--font-num); color: var(--fg-2); }
.ob-pv-note { font: 400 13px/1.5 var(--font-sans); color: rgba(255,255,255,0.55); text-align: center; margin: 20px auto 0; max-width: 300px; }

@media (max-width: 920px) {
  .ob { grid-template-columns: 1fr; }
  .ob-right { display: none; }
  .ob-left { min-height: 100vh; padding: 24px 20px 28px; }
  .ob-stage { max-width: 100%; }
  .ob-templates { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   iOS 26 polish — ONBOARDING (scoped to body.ios). Phone-first single column.
   ========================================================================== */
body.ios .ob { display: block; background: var(--ios-bg-grouped); }
body.ios .ob-right { display: none; }
body.ios .ob-left { min-height: 100vh; padding: 22px 20px calc(28px + env(safe-area-inset-bottom)); }
body.ios .ob-stage { max-width: var(--ios-phone-max); margin: 0 auto; }
body.ios .ob-step h1 { font-weight: 700; letter-spacing: -0.022em; }
body.ios .ob-step .lede { color: var(--ios-label-2); }

/* progress dots → tint */
body.ios .ob-dots i.on { background: var(--tint); }
body.ios .ob-dots i.done { background: var(--ios-green); }

/* choice cards → iOS selectable cards */
body.ios .ob-choice {
  border: 1px solid var(--ios-separator); border-radius: var(--ios-r-card);
  box-shadow: var(--ios-shadow-card);
}
body.ios .ob-choice:hover { transform: none; box-shadow: var(--ios-shadow-card); border-color: var(--ios-separator); }
body.ios .ob-choice.sel { border-color: var(--tint); box-shadow: 0 0 0 1.5px var(--tint); }
body.ios .ob-choice .ci { border-radius: 11px; }
body.ios .ob-choice .crad { border-color: var(--ios-separator-opaque); }
body.ios .ob-choice.sel .crad { border-color: var(--tint); background: var(--tint); }

/* pill multi-select → iOS */
body.ios .ob-pill { border-color: var(--ios-separator-opaque); color: var(--ios-label-2); }
body.ios .ob-pill:hover { border-color: var(--tint); color: var(--tint); }
body.ios .ob-pill.sel { background: var(--tint); border-color: var(--tint); color: #fff; }

/* templates / checklist / tools */
body.ios .tpl { border-radius: var(--ios-r-field); }
body.ios .tpl.sel { border-color: var(--tint); box-shadow: 0 0 0 1.5px var(--tint); }
body.ios .ob-check { border-radius: var(--ios-r-card); }
body.ios .ob-check.on { border-color: color-mix(in srgb, var(--ios-green) 45%, transparent); }
body.ios .tool { border-radius: var(--ios-r-card); border-color: var(--ios-separator); }

/* processing ring + potential reveal → tint accent */
body.ios .proc-ring .bar { stroke: var(--tint); }
body.ios .reveal-num { color: var(--tint); }
body.ios .wheel-hub { background: var(--tint); }

/* press feedback + native step transition */
body.ios .ob-choice { transition: border-color .16s, box-shadow .16s, transform .16s cubic-bezier(.2,.8,.3,1); }
body.ios .ob-choice:active { transform: scale(.985); }
body.ios .ob-pill { transition: all .14s, transform .14s cubic-bezier(.2,.8,.3,1); }
body.ios .ob-pill:active { transform: scale(.94); }
body.ios .ob-check:active { transform: scale(.99); }
body.ios .ob-step.show { animation: iosStepIn .5s cubic-bezier(.22,1,.36,1) both; }
@keyframes iosStepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
body.ios .btn-prov:active { transform: scale(.98); }

/* ==========================================================================
   OBW — Cal-AI-style single-column onboarding wizard (white, centered)
   ========================================================================== */
.obw { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; padding: 18px 24px 28px; background: #fff; }
.obw-top { display: flex; align-items: center; gap: 14px; padding: 6px 0 22px; }
.obw-arrow { width: 40px; height: 40px; flex: none; border-radius: 50%; border: none; background: var(--surface-1); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--fg-1); transition: background .14s; }
.obw-arrow:hover { background: var(--surface-2); }
.obw-arrow svg { width: 18px; height: 18px; }
.obw-progress { flex: 1; height: 6px; background: var(--surface-2); border-radius: var(--r-pill); overflow: hidden; }
.obw-progress-bar { height: 100%; background: var(--ink); border-radius: var(--r-pill); transition: width .5s cubic-bezier(.2,.8,.3,1); }
.obw-brand { width: 40px; flex: none; display: flex; justify-content: flex-end; }
.obw-brand .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.obw-brand .mark svg { width: 17px; height: 17px; color: #fff; }

.obw-stage { flex: 1; display: flex; flex-direction: column; }
.obw-step { flex: 1; display: flex; flex-direction: column; animation: obwIn .42s cubic-bezier(.2,.8,.3,1) both; }
@keyframes obwIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.obw-grow { flex: 1 1 auto; min-height: 18px; }

.obw h1 { font: 800 clamp(27px, 6vw, 36px)/1.1 var(--font-sans); letter-spacing: -0.03em; margin: 0; color: var(--fg-1); text-wrap: balance; }
.obw h1.center { text-align: center; }
.obw .hl { color: #F39827; }
.obw-sub { font: 400 16px/1.5 var(--font-sans); color: var(--fg-2); margin: 12px 0 0; text-wrap: pretty; }
.obw-sub.center { text-align: center; max-width: 380px; margin-left: auto; margin-right: auto; }
.obw-eyebrow-soft { font: 700 12px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: #F39827; margin: 0 0 12px; text-align: center; }

/* pinned actions */
.obw-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; padding-top: 8px; }
.obw-cta { height: 58px; }
.obw-skip { background: none; border: none; cursor: pointer; align-self: center; font: 600 15px/1 var(--font-sans); color: var(--fg-2); padding: 6px; }
.obw-cta:disabled { background: var(--surface-2); color: var(--fg-3); box-shadow: none; cursor: not-allowed; }

/* bool rows (tried) */
.obw-bool { display: flex; flex-direction: column; gap: 14px; }
.obw-bool-row { display: flex; align-items: center; gap: 16px; padding: 20px 20px; border-radius: var(--r-lg); background: var(--surface-1); border: 2px solid transparent; font: 700 17px/1 var(--font-sans); color: var(--fg-1); cursor: pointer; text-align: left; transition: all .14s; }
.obw-bool-row:hover { background: var(--surface-2); }
.obw-bool-row.sel { border-color: var(--ink); background: #fff; }
.obw-bool-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.obw-bool-ic svg { width: 22px; height: 22px; }

/* big statement (possible) */
.obw-bigblock { text-align: center; }
.obw-big { font: 800 clamp(30px, 7.5vw, 42px)/1.12 var(--font-sans) !important; letter-spacing: -0.03em; }
.obw-bigblock .obw-sub { margin-top: 18px; }

/* friend code */
.obw-codefield { display: flex; align-items: center; gap: 0; background: var(--surface-1); border-radius: var(--r-lg); padding: 6px 6px 6px 18px; }
.obw-codefield input { flex: 1; border: none; background: none; outline: none; font: 600 16px/1 var(--font-sans); color: var(--fg-1); padding: 14px 0; }
.obw-submit { border: none; background: var(--ink); color: #fff; font: 700 14px/1 var(--font-sans); padding: 13px 22px; border-radius: var(--r-pill); cursor: pointer; flex: none; transition: opacity .14s; }
.obw-submit:hover { opacity: .88; }

/* socials — fixed brand list, icon lights up when linked */
/* branded verification list (photo-1 style): colour tile + "@" field per row */
.obw-soc-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 4px; }
.obw-vrow { display: flex; align-items: center; gap: 12px; }
.obw-vic { width: 46px; height: 46px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.obw-vic svg { width: 24px; height: 24px; }
.obw-vfield { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 2px; padding: 0 12px; height: 50px; border: 1.5px solid var(--border); border-radius: var(--r-lg); background: #fff; transition: border-color .16s, box-shadow .16s; }
.obw-vfield:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.obw-vrow.filled .obw-vfield { border-color: var(--ink); }
.obw-vat { font: 500 16px/1 var(--font-sans); color: var(--fg-3); flex: none; }
.obw-vin { flex: 1 1 0; min-width: 0; border: none; outline: none; background: none; font: 500 16px/1 var(--font-sans); color: var(--fg-1); padding: 0 4px; }
.obw-vin::placeholder { color: var(--fg-3); }
.obw-vtick { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--success); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.5); transition: opacity .18s, transform .18s; }
.obw-vtick svg { width: 13px; height: 13px; }
.obw-vrow.filled .obw-vtick { opacity: 1; transform: scale(1); }
.obw-soc-note { font: 400 13px/1.5 var(--font-sans); color: var(--fg-3); margin: 16px 2px 0; text-wrap: pretty; }

/* profile uploads + fields */
.obw-field { margin-top: 18px; }
.obw-field label { display: block; font: 600 13px/1 var(--font-sans); color: var(--fg-2); margin-bottom: 8px; }
.obw-field input, .obw-field textarea { width: 100%; border: 1.5px solid var(--border-strong); border-radius: var(--r-md); padding: 14px; font: 500 15px/1.4 var(--font-sans); color: var(--fg-1); background: #fff; outline: none; box-sizing: border-box; }
.obw-field input:focus, .obw-field textarea:focus { border-color: var(--ink); }
.obw-field textarea { min-height: 84px; resize: vertical; }
.obw-banner { width: 100%; height: 110px; border-radius: var(--r-lg); border: 2px dashed var(--border-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: var(--fg-3); cursor: pointer; position: relative; overflow: hidden; transition: border-color .14s; }
.obw-banner:hover { border-color: var(--ink); color: var(--fg-1); }
.obw-banner svg { width: 24px; height: 24px; }
.obw-banner span { font: 600 13px/1 var(--font-sans); }
.obw-banner.filled { border-style: solid; }
.obw-uploader { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.obw-avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; border: 2px dashed var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--fg-3); cursor: pointer; position: relative; overflow: hidden; transition: border-color .14s; }
.obw-avatar:hover { border-color: var(--ink); color: var(--fg-1); }
.obw-avatar svg { width: 24px; height: 24px; }
.obw-up-meta b { display: block; font: 700 15px/1.3 var(--font-sans); color: var(--fg-1); }
.obw-up-meta span { font: 400 13px/1.4 var(--font-sans); color: var(--fg-2); }

/* checklist */
.obw-checklist { display: flex; flex-direction: column; gap: 12px; }
.obw-check { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--surface-1); border: 2px solid transparent; cursor: pointer; transition: all .14s; }
.obw-check.on { border-color: var(--ink); background: #fff; }
.obw-check .cbx { width: 24px; height: 24px; flex: none; border-radius: 7px; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: transparent; transition: all .15s; }
.obw-check.on .cbx { background: var(--ink); border-color: var(--ink); color: #fff; }
.obw-check .cbx svg { width: 14px; height: 14px; }
.obw-check .ti { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--fg-1); }
.obw-check .ti svg { width: 20px; height: 20px; }
.obw-check .cl { flex: 1; min-width: 0; }
.obw-check .cl b { display: block; font: 700 15.5px/1.3 var(--font-sans); color: var(--fg-1); }
.obw-tier { display: inline-block; font: 700 9.5px/1 var(--font-sans); text-transform: uppercase; letter-spacing: .04em; padding: 3px 6px; border-radius: var(--r-pill); margin-left: 6px; vertical-align: 1px; }
.obw-tier-rise { background: var(--surface-2); color: var(--fg-2); }
.obw-tier-pro { background: #1C1B1F; color: #fff; }
.obw-tier-empire { background: #F39827; color: #fff; }
.obw-check .cl > span { display: block; font: 400 13px/1.4 var(--font-sans); color: var(--fg-2); margin-top: 2px; }

/* processing ring (reuse look) */
.obw-processing { display: flex; flex-direction: column; align-items: center; }
.obw .proc-ring { position: relative; width: 130px; height: 130px; }
.obw .proc-ring svg { width: 130px; height: 130px; transform: rotate(-90deg); }
.obw .proc-ring circle { fill: none; stroke-width: 9; }
.obw .proc-ring .track { stroke: var(--surface-2); }
.obw .proc-ring .bar { stroke: var(--ink); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.obw .proc-ring .pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 26px/1 var(--font-num); color: var(--fg-1); }
.obw .proc-steps { display: flex; flex-direction: column; gap: 13px; margin-top: 28px; width: 100%; max-width: 340px; }
.obw .proc-line { display: flex; align-items: center; gap: 11px; font: 500 14.5px/1.3 var(--font-sans); color: var(--fg-3); transition: color .3s; }
.obw .proc-line .pi { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--surface-2); display: flex; align-items: center; justify-content: center; color: transparent; }
.obw .proc-line .pi svg { width: 12px; height: 12px; }
.obw .proc-line.active { color: var(--fg-1); }
.obw .proc-line.done { color: var(--fg-1); }
.obw .proc-line.done .pi { background: var(--success); border-color: var(--success); color: #fff; }

/* reveal */
.obw-reveal { text-align: center; }
.obw-reveal h1 { margin-bottom: 4px; }
.obw .reveal-num, body.onboarding-wizard-mode .reveal-num { font: 800 60px/1 var(--font-num); letter-spacing: -0.035em; color: #F39827; margin: 14px 0 12px; }
.obw .reveal-num .per { font-size: .32em; color: var(--fg-3); font-weight: 600; letter-spacing: 0; }
/* "real calculator" reach line */
.reveal-reach { font: 500 13.5px/1.45 var(--font-sans); color: var(--fg-2); margin: 0 auto 20px; max-width: 310px; }
.reveal-reach b { color: var(--fg-1); }
.reveal-reach svg { color: var(--fg-3); }
/* tips vs subscriptions split bar */
.reveal-split { display: flex; height: 10px; border-radius: var(--r-pill); overflow: hidden; background: var(--surface-2); margin: 0 0 9px; gap: 2px; }
.reveal-split span { display: block; height: 100%; border-radius: var(--r-pill); }
.reveal-split .rs-tips { background: #F39827; }
.reveal-split .rs-subs { background: var(--ink); }
.reveal-splitlabels { display: flex; justify-content: space-between; font: 600 12px/1 var(--font-sans); color: var(--fg-2); margin-bottom: 22px; }
.reveal-splitlabels i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.reveal-splitlabels .d-tips { background: #F39827; }
.reveal-splitlabels .d-subs { background: var(--ink); }
/* premium stat cards (icon + label + value) */
.obw .reveal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
.reveal-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.04); }
.reveal-card .rc-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-1); display: flex; align-items: center; justify-content: center; color: var(--fg-1); margin-bottom: 12px; }
.reveal-card .rc-ic svg { width: 18px; height: 18px; }
.reveal-card .rc-l { font: 600 12px/1.2 var(--font-sans); color: var(--fg-2); }
.reveal-card .rc-v { font: 800 24px/1 var(--font-num); color: var(--fg-1); margin-top: 7px; }
.reveal-card .rc-v small { font: 600 12px/1 var(--font-sans); color: var(--fg-3); margin-left: 2px; }

/* plans */
.obw-plans { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 4px; }
.obw-plan { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); border: 2px solid var(--border); background: #fff; cursor: pointer; text-align: left; transition: all .15s; }
.obw-plan:hover { border-color: var(--border-strong); }
.obw-plan.sel { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.obw-plan.rec { border-color: #F39827; }
.obw-plan.rec.sel { box-shadow: 0 0 0 1px #F39827; }
.obw-plan .pl-main { flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.obw-plan .pl-main b { font: 800 17px/1 var(--font-sans); color: var(--fg-1); }
.obw-plan .pl-price { font: 800 17px/1 var(--font-num); color: var(--fg-1); }
.obw-plan .pl-per { font: 500 12px/1 var(--font-sans); color: var(--fg-3); }
.obw-plan .pl-rec { font: 700 10.5px/1 var(--font-sans); text-transform: uppercase; letter-spacing: .04em; color: #fff; background: #F39827; padding: 5px 9px; border-radius: var(--r-pill); }
.obw-plan .pl-sub { flex: 0 0 100%; font: 400 13px/1.45 var(--font-sans); color: var(--fg-2); margin-top: 2px; }
.obw-plan .crad { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: transparent; transition: all .15s; }
.obw-plan.sel .crad { background: var(--ink); border-color: var(--ink); color: #fff; }
.obw-plan.rec.sel .crad { background: #F39827; border-color: #F39827; }
.obw-plan .crad svg { width: 13px; height: 13px; }
.obw-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; cursor: pointer; }
.obw-consent .cbx { width: 24px; height: 24px; flex: none; border-radius: 7px; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: transparent; }
.obw-consent .cbx.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.obw-consent .cbx svg { width: 14px; height: 14px; }
.obw-consent p { font: 400 14px/1.45 var(--font-sans); color: var(--fg-2); margin: 0; }

/* free-plan launch offer (contact on X to unlock the paid plan for free) */
.obw-free-offer { margin-top: 22px; padding: 20px; border-radius: var(--r-lg); border: 1.5px solid var(--border); background: linear-gradient(180deg, var(--flame-bg), #fff); }
.obw-free-offer-tag { display: inline-flex; align-items: center; gap: 6px; font: 800 11px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: #B96A12; background: rgba(243,152,39,.16); padding: 6px 10px; border-radius: var(--r-pill); }
.obw-free-offer-tag svg { width: 14px; height: 14px; }
.obw-free-offer b { display: block; margin-top: 12px; font: 800 18px/1.3 var(--font-sans); color: var(--fg-1); }
.obw-free-offer p { margin: 8px 0 0; font: 400 14px/1.5 var(--font-sans); color: var(--fg-2); }
.obw-free-offer-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 16px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font: 700 14px/1 var(--font-sans); text-decoration: none; transition: opacity .14s; }
.obw-free-offer-btn:hover { opacity: .88; }

/* choices (paynow) */
.obw-choices { display: flex; flex-direction: column; gap: 14px; }
.obw-choice { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r-lg); border: 2px solid var(--border); background: #fff; cursor: pointer; text-align: left; transition: all .15s; }
.obw-choice:hover { border-color: var(--border-strong); }
.obw-choice.sel { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.obw-choice .ci { width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--surface-1); display: flex; align-items: center; justify-content: center; color: var(--fg-1); }
.obw-choice .ci svg { width: 23px; height: 23px; }
.obw-choice .cb { flex: 1; min-width: 0; }
.obw-choice .cb b { display: block; font: 700 16px/1.3 var(--font-sans); color: var(--fg-1); }
.obw-choice .cb span { display: block; font: 400 13.5px/1.45 var(--font-sans); color: var(--fg-2); margin-top: 3px; }
.obw-choice .crad { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: transparent; }
.obw-choice.sel .crad { background: var(--ink); border-color: var(--ink); color: #fff; }
.obw-choice .crad svg { width: 13px; height: 13px; }

/* sign-up (make your money) */
.obw-signin-block { text-align: center; }
.obw-provs { display: flex; flex-direction: column; gap: 12px; margin: 30px 0 18px; }
.obw-prov { width: 100%; height: 58px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: #fff; color: var(--fg-1); border: 2px solid var(--ink); font: 700 16px/1 var(--font-sans); cursor: pointer; transition: transform .2s, opacity .15s; }
.obw-prov:hover { transform: translateY(-2px); }
.obw-prov.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.obw-prov svg { flex: none; }
.obw-signin-link { font: 400 14px/1.4 var(--font-sans); color: var(--fg-2); margin: 4px 0 0; }
.obw-signin-link button { background: none; border: none; cursor: pointer; padding: 0; font: 700 14px/1.4 var(--font-sans); color: var(--fg-1); text-decoration: underline; text-underline-offset: 3px; }
.obw-terms { font: 400 11.5px/1.5 var(--font-sans); color: var(--fg-3); margin: 18px auto 0; max-width: 320px; }
.obw-terms a { color: var(--fg-3); text-decoration: underline; }

/* done */
.obw-done { text-align: center; }
.obw-success-ic { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--success); color: #fff; display: flex; align-items: center; justify-content: center; }
.obw-success-ic svg { width: 36px; height: 36px; }

/* compare graph card */
.obw-graph-card { 
  background: #F3F4F6; 
  border-radius: 24px; 
  padding: 24px 20px; 
}
.obw-graph-title { 
  font: 700 16px/1.2 var(--font-sans); 
  color: #111111; 
  margin-bottom: 20px; 
  padding-left: 4px;
}
.obw-graph-wrapper {
  position: relative;
  width: 100%;
}
.obw-graph { 
  width: 100%; 
  height: 165px; 
  display: block; 
  overflow: visible; 
}
.obw-grid { 
  stroke: #D0D0DB; 
  stroke-width: 1; 
  stroke-dasharray: 2 4; 
}
.obw-baseline {
  stroke: #1C1B1F;
  stroke-width: 1.2;
}
.obw-line-up { 
  fill: none; 
  stroke: #1C1B1F; 
  stroke-width: 3.2; 
  stroke-linecap: round; 
}
.obw-line-up-green {
  stroke: #10B981;
}
.obw-line-up-red {
  stroke: #EF4444;
}
.obw-line-up-gold {
  stroke: #F39827;
}
.obw-line-flat { 
  fill: none; 
  stroke: #E25C5C; 
  stroke-width: 2.2; 
  stroke-linecap: round; 
}
.obw-marker-start {
  fill: #FFFFFF;
  stroke: #1C1B1F;
  stroke-width: 2.5;
}
.obw-marker-start-green {
  stroke: #10B981;
}
.obw-marker-start-red {
  stroke: #EF4444;
}
.obw-emblem-badge {
  position: absolute;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  padding: 4px 10px;
  border-radius: 99px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.obw-emblem-badge .eb-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F39827;
}
.obw-emblem-badge .eb-logo svg {
  width: 13px;
  height: 13px;
}
.obw-emblem-badge .eb-text {
  font: 750 12.5px/1 var(--font-sans);
  color: #1C1B1F;
  letter-spacing: -0.01em;
}
.obw-emblem-badge .eb-pill {
  font: 700 9px/1 var(--font-sans);
  color: #FFFFFF;
  background: #1C1B1F;
  padding: 3px 6px;
  border-radius: 99px;
  text-transform: uppercase;
}
.obw-emblem-badge .eb-pill.gold-pill {
  color: #DFB15B;
  border: 1px solid rgba(223, 177, 91, 0.35);
}
.obw-emblem-badge.obw-spoilr-badge {
  background: #10B981;
}
.obw-emblem-badge.obw-spoilr-badge .eb-logo {
  color: #FFFFFF;
}
.obw-emblem-badge.obw-spoilr-badge .eb-text {
  color: #FFFFFF;
}
.obw-emblem-badge.obw-spoilr-badge .eb-pill.white-pill {
  background: #FFFFFF;
  color: #10B981;
  border: none;
}
.obw-gold-text {
  color: #DFB15B;
}
.obw-curve-label {
  position: absolute;
  right: 18px;
  bottom: 11.5px;
  font: 600 12px/1 var(--font-sans);
  color: #6C6C76;
  transform: rotate(1.6deg);
  transform-origin: right center;
}
.obw-curve-label-followers {
  position: absolute;
  right: 18px;
  top: 8px;
  font: 700 12.5px/1 var(--font-sans);
  color: #EF4444;
  transform: rotate(-13.5deg);
  transform-origin: right center;
}
.obw-curve-label-earnings {
  position: absolute;
  right: 18px;
  top: 51px;
  font: 700 12.5px/1 var(--font-sans);
  color: #F39827;
  transform: rotate(-13.5deg);
  transform-origin: right center;
}
.obw-graph-months {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 16px;
}
.obw-graph-months span {
  font: 600 11.5px/1.2 var(--font-sans);
  color: #8C8C96;
}
.obw-graph-cap { 
  font: 500 13.5px/1.5 var(--font-sans); 
  color: #4A4A52; 
  margin: 22px 0 0; 
  text-align: center;
}

/* keep the old split layout hidden under wizard mode (safety) */
body.onboarding-wizard-mode .ob-right { display: none; }

/* ---- post-signup funnel ------------------------------------------------ */
.obw-foot-note { font: 400 12px/1.5 var(--font-sans); color: var(--fg-3); margin: 14px 0 0; }

/* card visual */
.obw-cardvisual { position: relative; height: 150px; border-radius: var(--r-lg); background: linear-gradient(135deg, #1C1B1F, #3a3740); color: #fff; margin: 22px 0 6px; padding: 18px; overflow: hidden; }
.obw-cardvisual .cv-chip { position: absolute; top: 48px; left: 18px; width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg,#d9b65a,#b8923a); }
.obw-cardvisual .cv-brand { position: absolute; top: 16px; right: 16px; opacity: .85; }
.obw-cardvisual .cv-brand svg { width: 28px; height: 28px; }
.obw-cardvisual .cv-num { position: absolute; left: 18px; bottom: 44px; font: 700 18px/1 var(--font-num); letter-spacing: 2px; }
.obw-cardvisual .cv-name { position: absolute; left: 18px; bottom: 18px; font: 600 12px/1 var(--font-sans); letter-spacing: 1px; color: rgba(255,255,255,.7); }

/* xbot points */
.obw-xbot-points { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 4px; }
.obw-xbot-pt { display: flex; align-items: flex-start; gap: 13px; }
.obw-xbot-pt .xp-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--surface-1); color: var(--fg-1); display: flex; align-items: center; justify-content: center; }
.obw-xbot-pt .xp-ic svg { width: 19px; height: 19px; }
.obw-xbot-pt b { display: block; font: 700 15px/1.3 var(--font-sans); color: var(--fg-1); }
.obw-xbot-pt span { display: block; font: 400 13px/1.4 var(--font-sans); color: var(--fg-2); margin-top: 2px; }

/* empire upsell */
.obw-empire { text-align: center; }
.obw-empire-tag { display: inline-flex; align-items: center; gap: 7px; font: 700 12px/1 var(--font-sans); text-transform: uppercase; letter-spacing: .06em; color: #fff; background: #1C1B1F; padding: 8px 14px; border-radius: var(--r-pill); margin-bottom: 18px; }
.obw-empire-tag svg { width: 15px; height: 15px; }
.obw-empire-price { font: 800 46px/1 var(--font-num); color: var(--fg-1); margin: 18px 0 20px; }
.obw-empire-price .per { font-size: .32em; color: var(--fg-3); font-weight: 600; }
.obw-empire-feats { display: inline-flex; flex-direction: column; gap: 11px; text-align: left; }
.obw-empire-feat { display: flex; align-items: center; gap: 10px; font: 500 15px/1.3 var(--font-sans); color: var(--fg-1); }
.obw-empire-feat svg { width: 18px; height: 18px; color: var(--success); flex: none; }

/* rigged wheel */
.obw-wheel-wrap { position: relative; width: 280px; height: 280px; margin: 8px auto; }
.obw-wheel { width: 280px; height: 280px; display: block; }
.obw-wheel-pointer { position: absolute; top: 50%; right: -10px; transform: translateY(-50%); width: 34px; height: 34px; background: #F39827; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); z-index: 2; }
.obw-wheel-pointer svg { width: 18px; height: 18px; color: #fff; }
.obw-wheel-hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.obw-wheel-hub svg { width: 26px; height: 26px; color: #1C1B1F; }
.obw-wheel-result { text-align: center; font: 700 16px/1.4 var(--font-sans); color: var(--fg-1); margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.obw-wheel-result b { color: #F39827; }
.obw-wheel-result svg { width: 20px; height: 20px; color: #F39827; }

/* one-time offer */
.obw-offer-close { position: absolute; top: 4px; left: 0; width: 40px; height: 40px; border: none; background: none; cursor: pointer; color: var(--fg-1); display: flex; align-items: center; justify-content: center; z-index: 3; }
.obw-offer-close svg { width: 24px; height: 24px; }
.obw-offer { text-align: center; }
.obw-offer-badge { position: relative; display: inline-flex; align-items: center; justify-content: center; margin: 26px auto 8px; padding: 0 50px; }
.obw-offer-pill { background: linear-gradient(135deg,#2c2b30,#48464e); color: #fff; font: 800 30px/1.05 var(--font-sans); letter-spacing: -0.01em; padding: 26px 30px; border-radius: var(--r-lg); box-shadow: 0 10px 30px rgba(0,0,0,.22); position: relative; z-index: 1; }
.obw-offer-badge .spark { position: absolute; color: #2c2b30; }
.obw-offer-badge .spark svg { width: 26px; height: 26px; }
.obw-offer-badge .spark.s1 { left: 2px; top: 2px; } .obw-offer-badge .spark.s2 { left: 14px; bottom: 0; width: 16px; }
.obw-offer-badge .spark.s2 svg { width: 16px; height: 16px; }
.obw-offer-badge .spark.s3 { right: 4px; top: -4px; } .obw-offer-badge .spark.s4 { right: 16px; bottom: 2px; }
.obw-offer-badge .spark.s4 svg { width: 16px; height: 16px; }
.obw-offer-price { font: 500 22px/1 var(--font-num); color: var(--fg-2); margin: 14px 0 16px; }
.obw-offer-price s { color: var(--fg-3); margin-right: 6px; }
.obw-offer-price b { color: var(--fg-1); font-weight: 800; }
.obw-offer-foot { margin-top: 8px; }
.obw-offer-trial { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px 14px; font: 600 16px/1 var(--font-sans); color: var(--fg-1); }
.obw-offer-plan { border: 2px solid #1C1B1F; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 14px; }
.obw-offer-plan-tag { background: #1C1B1F; color: #fff; font: 700 12px/1 var(--font-sans); letter-spacing: .06em; text-align: center; padding: 8px; }
.obw-offer-plan-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 4px; font: 700 17px/1 var(--font-sans); color: var(--fg-1); }
.obw-offer-plan-sub { padding: 0 16px 14px; font: 400 13px/1 var(--font-sans); color: var(--fg-3); }
.obw-offer-commit { text-align: center; font: 700 13px/1 var(--font-sans); color: var(--fg-1); margin: 12px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
.obw-offer-commit svg { width: 15px; height: 15px; }

/* ---- polish pass --------------------------------------------------------- */
/* sober skip button (friend code / card) */
.obw-skip-btn { width: 100%; height: 54px; border: none; background: none; cursor: pointer; font: 600 16px/1 var(--font-sans); color: var(--fg-2); border-radius: var(--r-md); transition: background .14s, color .14s; }
.obw-skip-btn:hover { background: var(--surface-1); color: var(--fg-1); }

/* "(optional)" hint on labels */
.obw-opt { font: 500 12px/1 var(--font-sans); color: var(--fg-3); }

/* social row leading icon */

/* tried — No (red) / Yes (green) + micro-animation */
.obw-bool-row.tone-no  .obw-bool-ic { background: var(--danger); }
.obw-bool-row.tone-yes .obw-bool-ic { background: #34C759; }
.obw-bool-row.tone-no.sel  { border-color: var(--danger); }
.obw-bool-row.tone-yes.sel { border-color: #34C759; }
.obw-bool-ic { transition: transform .18s cubic-bezier(.2,.8,.3,1); }
.obw-bool-row:not(.sel) .obw-bool-ic { animation: obwBreathe 3.8s ease-in-out infinite; }
.obw-bool-row.tone-yes:not(.sel) .obw-bool-ic { animation-delay: .9s; }
.obw-bool-row:active .obw-bool-ic { transform: scale(.9); }
.obw-bool-row.sel .obw-bool-ic { animation: obwPop .32s ease; }
@keyframes obwBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes obwPop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* compare graph — draw-in animation when the step appears */
.obw-group-up {
  opacity: 1;
}
.obw-line-up {
  stroke-dasharray: 100; 
  stroke-dashoffset: 100; 
  animation: obwDrawCurve 1.35s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards; 
}
.obw-area-up { 
  opacity: 0; 
  animation: obwAreaFade 1.35s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards; 
}
.obw-animated-arrow-first {
  offset-path: path('M20,145 C110,145 175,70 300,28');
  offset-rotate: auto;
  opacity: 0;
  filter: drop-shadow(0px 2.5px 5px rgba(16, 185, 129, 0.45));
  animation: 
    obwCurveGrow 1.35s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards,
    obwArrowPop 0.1s linear 0.15s forwards;
}
.obw-animated-arrow-second {
  offset-path: path('M20,145 C110,145 170,60 300,22');
  offset-rotate: auto;
  opacity: 0;
  filter: drop-shadow(0px 2.5px 5px rgba(239, 68, 68, 0.45));
  animation: 
    obwCurveGrow 1.35s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards,
    obwArrowPop 0.1s linear 0.15s forwards;
}
.obw-animated-arrow-gold {
  offset-path: path('M20,145 C110,145 170,80 300,45');
  offset-rotate: auto;
  opacity: 0;
  filter: drop-shadow(0px 2.5px 5px rgba(243, 152, 39, 0.45));
  animation: 
    obwCurveGrow 1.35s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards,
    obwArrowPop 0.1s linear 0.15s forwards;
}
.obw-line-flat { 
  opacity: 0; 
  transform: translateX(-15px); 
  animation: obwFlatSlide 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; 
}
.obw-marker-start { 
  transform: scale(0); 
  transform-box: fill-box; 
  transform-origin: center; 
  animation: obwScalePop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards; 
}

@keyframes obwDrawCurve { 
  to { stroke-dashoffset: 0; } 
}
@keyframes obwAreaFade { 
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes obwCurveGrow {
  0% {
    offset-distance: 0%;
  }
  100% {
    offset-distance: 100%;
  }
}
@keyframes obwArrowPop {
  to {
    opacity: 1;
  }
}
@keyframes obwFlatSlide { 
  to { opacity: 1; transform: translateX(0); } 
}
@keyframes obwScalePop { 
  to { transform: scale(1); } 
}

@media (prefers-reduced-motion: reduce) {
  .obw-line-up, .obw-area-up, .obw-line-flat, .obw-marker-start, .obw-bool-ic { 
    animation: none !important; 
    stroke-dashoffset: 0 !important; 
    opacity: 1 !important; 
    transform: none !important; 
  }
  .obw-animated-arrow-first, .obw-animated-arrow-second, .obw-animated-arrow-gold {
    animation: none !important;
    offset-distance: 100% !important;
    opacity: 1 !important;
  }
}
