/* ============================================================
   JOB MANAGER — Sign-up (premium rebuild)
   Glass / gold / depth · uses styles.css tokens
   ============================================================ */
:root {
  --gold-1: #f6e3a6;
  --gold-2: #e6c168;
  --gold-3: #c79a3a;
  --gold-deep: #9c7320;
  --glass: rgba(255,255,255,.05);
  --glass-2: rgba(255,255,255,.08);
  --glass-line: rgba(255,255,255,.12);
  --glass-line-strong: rgba(255,255,255,.22);
  --ai-blue: #3f7fe0;
  --ai-blue-bright: #6aa0f2;
  --ai-blue-deep: #2f63c4;
  --ai-blue-rgb: 63, 127, 224;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ink-950); color: var(--on-dark); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; touch-action: manipulation; }

/* ---------------- Immersive canvas ---------------- */
.sx-stage {
  position: relative; min-height: 100vh; width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 20px;
  overflow: hidden;
}
.sx-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sx-bg::before { /* base mesh — matches home .mesh: coral-dominant + subtle purple */
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(60% 80% at 78% 12%, rgba(var(--accent-rgb),.22), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(126,114,192,.16), transparent 60%),
    radial-gradient(50% 50% at 15% 15%, rgba(var(--accent-rgb),.12), transparent 60%);
}
.sx-orb { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .42; animation: sxFloat 18s ease-in-out infinite; }
.sx-orb.a { width: 420px; height: 420px; left: -80px; top: -60px; background: radial-gradient(circle, rgba(var(--accent-rgb),.55), transparent 70%); }
.sx-orb.b { width: 360px; height: 360px; right: -60px; top: 20%; background: radial-gradient(circle, rgba(var(--accent-rgb),.4), transparent 70%); animation-delay: -6s; }
.sx-orb.c { width: 480px; height: 480px; right: 10%; bottom: -120px; background: radial-gradient(circle, rgba(126,114,192,.42), transparent 70%); animation-delay: -11s; }
@keyframes sxFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,20px) scale(.96); } }
.sx-grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 3px 3px; }
@media (prefers-reduced-motion: reduce) { .sx-orb { animation: none; } }

/* ---------------- Floating glass card ---------------- */
.sx-card {
  position: relative; z-index: 2;
  width: min(1080px, 100%);
  display: grid; grid-template-columns: 380px 1fr;
  border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, rgba(28,38,54,.86), rgba(18,25,37,.92));
  backdrop-filter: blur(28px) saturate(120%);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
  border: 1px solid var(--glass-line);
  box-shadow:
    0 40px 100px -30px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 1px 0 rgba(255,255,255,.14) inset;
}

/* ---------------- Left: membership pass ---------------- */
.sx-pass { position: relative; padding: 30px 28px; display: flex; flex-direction: column; gap: 0;
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border-right: 1px solid var(--glass-line); overflow: hidden; }
.sx-pass::after { /* coral accent sweep (brand) */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), var(--accent), var(--accent-deep), transparent);
  opacity: .9;
}
.sx-pass-top { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; }
.sx-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(150deg, var(--accent-bright), var(--accent-deep)); box-shadow: var(--glow); }
.sx-logo-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; line-height: 1; }
.sx-logo-sub { font-size: 8.5px; font-weight: 700; letter-spacing: .22em; color: var(--on-dark-faint); margin-top: 5px; white-space: nowrap; }

.sx-pass-label { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--accent-bright); text-transform: uppercase; }
.sx-pass-plan { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: #fff; letter-spacing: -0.02em; margin-top: 8px; display: flex; align-items: center; gap: 11px; line-height: 1.1; text-wrap: balance; }
.sx-pass-crest { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, rgba(var(--accent-rgb),.4), rgba(var(--accent-rgb),.12)); border: 1px solid rgba(var(--accent-rgb),.4); transition: all .3s; }
.sx-pass-sub { font-size: 13px; color: var(--on-dark-soft); margin-top: 7px; line-height: 1.5; text-wrap: pretty; }

.sx-pass-rows { margin-top: 24px; display: flex; flex-direction: column; }
.sx-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: 13.5px; color: var(--on-dark-soft); border-top: 1px solid var(--glass-line); }
.sx-row:first-child { border-top: none; }
.sx-row b { color: #fff; font-weight: 600; font-family: var(--font-display); }
.sx-row .muted { color: var(--on-dark-faint); }

.sx-total { margin-top: 22px; padding: 18px 20px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--glass-line); position: relative; overflow: hidden; }
.sx-total::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 100% at 90% 0%, rgba(var(--accent-rgb),.16), transparent 60%); pointer-events: none; }
.sx-total-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-faint); }
.sx-total-amt { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; font-family: var(--font-display); font-weight: 700; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.sx-total-cur { font-size: 26px; }
.sx-total-num { font-size: 46px; }
.sx-total-per { font-size: 15px; color: var(--on-dark-faint); font-weight: 500; }
.sx-total-strike { font-size: 13px; color: var(--on-dark-faint); text-decoration: line-through; margin-top: 6px; min-height: 18px; }
.sx-rolling { display: inline-flex; overflow: hidden; height: 1em; }

.sx-trial { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 11px 14px; border-radius: 12px;
  background: rgba(var(--accent-rgb),.14); border: 1px solid rgba(var(--accent-rgb),.25); color: var(--accent-bright); font-size: 12.5px; font-weight: 600; }
.sx-pass-foot { margin-top: auto; padding-top: 26px; }
.sx-stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 10px; }
.sx-quote { font-size: 13.5px; color: var(--on-dark-soft); line-height: 1.55; font-style: italic; }
.sx-quote-by { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.sx-quote-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(150deg, var(--accent-bright), var(--accent-deep)); flex: none; }

/* ---------------- Right: flow ---------------- */
.sx-flow { position: relative; background: rgba(10,15,23,.4); display: flex; flex-direction: column; }
.sx-flow-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 36px 0; }
.sx-back { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark-faint); font-size: 13.5px; font-weight: 600; transition: color .2s; cursor: pointer; background: none; border: none; }
.sx-back:hover { color: var(--accent-bright); }
.sx-signin { font-size: 13.5px; color: var(--on-dark-faint); }
.sx-signin a { color: var(--accent-bright); font-weight: 700; font-family: var(--font-display); }

/* progress rail */
.sx-rail { display: flex; align-items: center; gap: 0; padding: 22px 36px 6px; }
.sx-rail-step { display: flex; align-items: center; gap: 9px; }
.sx-rail-dot { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  background: var(--glass-2); color: var(--on-dark-faint); border: 1px solid var(--glass-line); transition: all .35s cubic-bezier(.3,1.3,.5,1); }
.sx-rail-step.active .sx-rail-dot { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--glow); transform: scale(1.06); }
.sx-rail-step.done .sx-rail-dot { background: linear-gradient(150deg, var(--accent-bright), var(--accent-deep)); color: #fff; border-color: transparent; }
.sx-rail-label { font-size: 12.5px; font-weight: 600; color: var(--on-dark-faint); white-space: nowrap; transition: color .3s; }
.sx-rail-step.active .sx-rail-label, .sx-rail-step.done .sx-rail-label { color: #fff; }
.sx-rail-bar { flex: 1; height: 2px; margin: 0 12px; background: var(--glass-line); border-radius: 2px; position: relative; overflow: hidden; }
.sx-rail-bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.sx-rail-bar.filled i { transform: scaleX(1); }

/* panels viewport */
.sx-stage-wrap { flex: 1; position: relative; padding: 22px 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.sx-panel { display: none; }
.sx-panel.show { display: block; }
.sx-panel.show { width: 100%; }
.sx-panel.in-right { animation: sxInR .5s cubic-bezier(.22,1,.3,1); }
.sx-panel.in-left { animation: sxInL .5s cubic-bezier(.22,1,.3,1); }
@keyframes sxInR { from { opacity: 0; transform: translateX(40px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sxInL { from { opacity: 0; transform: translateX(-40px) scale(.98); } to { opacity: 1; transform: none; } }

.sx-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-bright); }
.sx-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,3vw,30px); color: #fff; letter-spacing: -0.02em; margin: 9px 0 5px; text-wrap: balance; }
.sx-desc { font-size: 14.5px; color: var(--on-dark-soft); margin-bottom: 22px; line-height: 1.55; text-wrap: pretty; }

/* ---------------- Inputs (floating label, glass) ---------------- */
.sx-fields { display: flex; flex-direction: column; gap: 16px; }
.sx-fields-plain { background: none; border: none; padding: 0; }
.sx-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sx-field { position: relative; }
.sx-input {
  width: 100%; height: 56px; border-radius: 14px; padding: 22px 16px 8px; border: 1px solid var(--glass-line);
  background: rgba(255,255,255,.04); color: #fff; font-size: 16px; font-family: var(--font-body); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.sx-input::placeholder { color: transparent; }
.sx-input:focus { border-color: var(--accent); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.16); }
.sx-flabel { position: absolute; left: 16px; top: 18px; font-size: 15px; color: var(--on-dark-faint); pointer-events: none; transition: all .18s ease; }
.sx-input:focus ~ .sx-flabel, .sx-input:not(:placeholder-shown) ~ .sx-flabel { top: 9px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--accent-bright); text-transform: uppercase; }
.sx-input.has-eye { padding-right: 48px; }
.sx-eye { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--on-dark-faint); padding: 4px; cursor: pointer; background: none; border: none; }
.sx-eye:hover { color: #fff; }
.sx-field.bad .sx-input { border-color: #e06b63; box-shadow: 0 0 0 4px rgba(224,107,99,.14); }
.sx-err { display: none; color: #f0a59f; font-size: 12px; margin-top: 6px; font-weight: 500; }
.sx-field.bad .sx-err { display: block; }

/* strength */
.sx-strength { display: flex; gap: 5px; margin-top: 12px; }
.sx-strength i { height: 4px; flex: 1; border-radius: 2px; background: var(--glass-2); transition: background .25s; }
.sx-strength-label { font-size: 11.5px; margin-top: 7px; color: var(--on-dark-faint); font-weight: 600; }

/* social */
.sx-social { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.sx-social button { height: 50px; border-radius: 13px; border: 1px solid var(--glass-line); background: rgba(255,255,255,.05); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 13.5px; cursor: pointer; transition: all .18s; }
.sx-social button:hover { background: rgba(255,255,255,.1); border-color: var(--glass-line-strong); transform: translateY(-2px); }
.sx-divider { display: flex; align-items: center; gap: 14px; margin: 18px 0; color: var(--on-dark-faint); font-size: 12.5px; }
.sx-divider::before, .sx-divider::after { content: ""; flex: 1; height: 1px; background: var(--glass-line); }

/* ---------------- Buttons ---------------- */
.sx-actions { display: flex; gap: 12px; margin-top: 24px; }
.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 54px; padding: 0 24px; border-radius: 14px; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; cursor: pointer; border: none; transition: transform .16s, box-shadow .25s, background .2s; white-space: nowrap; }
.sx-btn:active { transform: translateY(1px) scale(.99); }
.sx-btn-primary { flex: 1; color: #fff; background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep)); box-shadow: var(--glow); }
.sx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(var(--accent-rgb),.6); }
.sx-btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid var(--glass-line); }
.sx-btn-ghost:hover { background: rgba(255,255,255,.12); }
.sx-btn-gold { color: #3a2a08; background: linear-gradient(135deg, var(--gold-1), var(--gold-3)); box-shadow: 0 8px 24px -8px rgba(184,134,47,.7); }
.sx-legal { font-size: 12px; color: var(--on-dark-faint); text-align: center; margin-top: 14px; line-height: 1.5; }
.sx-legal a { color: var(--on-dark-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------------- Billing toggle ---------------- */
.sx-billing { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 22px; }
.sx-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 360px; padding: 5px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--glass-line); }
.sx-seg-pill { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); width: calc(50% - 5px); border-radius: 99px; background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep)); box-shadow: var(--glow); transition: transform .36s cubic-bezier(.34,1.5,.5,1); }
.sx-seg.yearly .sx-seg-pill { transform: translateX(100%); }
.sx-seg button { position: relative; z-index: 1; padding: 11px 14px; border-radius: 99px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--on-dark-soft); background: none; border: none; cursor: pointer; transition: color .25s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.sx-seg button.on { color: #fff; }
.sx-seg .save { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: rgba(79,157,120,.18); color: var(--ok); border: 1px solid rgba(79,157,120,.32); }
.sx-seg button.on .save { background: rgba(255,255,255,.25); color: #fff; border-color: transparent; }
.sx-billing-cap { font-size: 12.5px; font-weight: 500; color: var(--on-dark-faint); display: flex; align-items: center; gap: 7px; transition: color .25s; }
.sx-billing-cap.gold { color: var(--ok); }

/* ---------------- AI add-on (blue power-up) ---------------- */
.sx-ai { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; border-radius: 16px; cursor: pointer; margin-bottom: 22px;
  background: linear-gradient(150deg, rgba(var(--ai-blue-rgb),.18), rgba(255,255,255,.03)); border: 1px solid rgba(var(--ai-blue-rgb),.34); transition: all .2s; }
.sx-ai:hover { transform: translateY(-1px); border-color: var(--ai-blue-bright); }
.sx-ai.on { border-color: var(--ai-blue-bright); box-shadow: 0 0 0 4px rgba(var(--ai-blue-rgb),.2); }
.sx-ai::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 130% at 88% -10%, rgba(var(--ai-blue-rgb),.32), transparent 55%); pointer-events: none; }
.sx-ai > * { position: relative; }
.sx-ai-ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--ai-blue-bright), var(--ai-blue-deep)); box-shadow: 0 8px 22px -6px rgba(var(--ai-blue-rgb),.7); }
.sx-ai-tag { font-size: 9px; font-weight: 700; letter-spacing: .08em; color: var(--ai-blue-bright); background: rgba(var(--ai-blue-rgb),.18); border: 1px solid rgba(var(--ai-blue-rgb),.4); padding: 2px 7px; border-radius: 99px; }
.sx-spark { position: absolute; color: var(--ai-blue-bright); pointer-events: none; filter: drop-shadow(0 0 4px rgba(var(--ai-blue-rgb),.7)); }
.sx-ai-sp1 { top: 12px; right: 76px; animation: sxTwinkle 2.6s ease-in-out infinite; }
.sx-ai-sp2 { bottom: 12px; right: 96px; animation: sxTwinkle 3.1s ease-in-out .6s infinite; }
@keyframes sxTwinkle { 0%,100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(20deg); } }
.sx-switch { width: 48px; height: 28px; border-radius: 99px; background: rgba(255,255,255,.16); position: relative; flex: none; cursor: pointer; transition: background .22s; border: none; }
.sx-switch.on { background: var(--ai-blue); }
.sx-switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .24s cubic-bezier(.3,1.4,.5,1); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.sx-switch.on i { left: 23px; }

/* ---------------- Plan cards ---------------- */
.sx-plan-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-faint); margin: 4px 0 13px; }
.sx-plans { display: flex; flex-direction: column; gap: 11px; margin-bottom: 11px; }
.sx-plan { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 15px 17px; border-radius: 16px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); transition: all .18s; }
.sx-plan:hover { border-color: var(--glass-line-strong); transform: translateY(-1px); background: rgba(255,255,255,.06); }
.sx-plan.sel { border-color: var(--accent); background: linear-gradient(150deg, rgba(var(--accent-rgb),.18), rgba(255,255,255,.04)); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.14); }
.sx-plan-ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--on-dark-soft);
  background: rgba(255,255,255,.06); border: 1px solid var(--glass-line); transition: all .2s; }
.sx-plan.sel .sx-plan-ico { background: linear-gradient(150deg, var(--accent-bright), var(--accent-deep)); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.sx-plan-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sx-plan-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; }
.sx-plan-meta { font-size: 12.5px; color: var(--on-dark-soft); }
.sx-plan-save { font-size: 10.5px; font-weight: 700; color: var(--ok); background: rgba(79,157,120,.16); border: 1px solid rgba(79,157,120,.3); padding: 2px 8px; border-radius: 99px; width: fit-content; margin-top: 3px; }
.sx-plan-price { text-align: right; flex: none; }
.sx-plan-price .p { font-family: var(--font-display); font-weight: 700; font-size: 23px; color: #fff; letter-spacing: -0.02em; }
.sx-plan-price .u { display: block; font-size: 11.5px; color: var(--on-dark-faint); }
.sx-plan-pop { position: absolute; top: -9px; right: 16px; background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep)); color: #fff; font-size: 9.5px; font-weight: 700; font-family: var(--font-display); letter-spacing: .06em; padding: 3px 10px; border-radius: 99px; box-shadow: var(--glow); }

/* ---------------- Build your own (rebuilt slider) ---------------- */
.sx-byo { border-radius: 16px; padding: 16px 18px 18px; margin-bottom: 11px; cursor: pointer; transition: all .18s;
  background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); }
.sx-byo:hover { border-color: var(--glass-line-strong); }
.sx-byo.sel { border-color: var(--accent); background: linear-gradient(150deg, rgba(var(--accent-rgb),.16), rgba(255,255,255,.04)); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.14); }
.sx-byo-head { display: flex; align-items: center; gap: 14px; }
.sx-byo-mid { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 16px 0 14px; }
.sx-byo-seats { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; }
.sx-byo-seats span { font-size: 13px; color: var(--on-dark-soft); font-weight: 500; }
.sx-byo-disc { font-size: 11px; font-weight: 700; color: var(--ok); background: rgba(79,157,120,.16); border: 1px solid rgba(79,157,120,.3); padding: 3px 9px; border-radius: 99px; }

/* the wide custom slider */
.sx-range { position: relative; height: 30px; display: flex; align-items: center; }
.sx-range-track { position: absolute; left: 0; right: 0; height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.sx-range-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright)); width: 30%; }
.sx-range input { position: absolute; left: 0; right: 0; width: 100%; margin: 0; height: 30px; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sx-range input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 4px 12px rgba(0,0,0,.4), var(--glow); cursor: grab; transition: transform .12s; }
.sx-range input::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.14); }
.sx-range input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 4px 12px rgba(0,0,0,.4); cursor: grab; }
.sx-range-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--on-dark-faint); margin-top: 8px; }
.sx-byo-break { margin-top: 10px; font-size: 12px; color: var(--on-dark-faint); }
/* scale-anytime reassurance */
.sx-scale-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 16px; padding: 13px 15px; border-radius: 13px;
  background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); font-size: 12.5px; color: var(--on-dark-soft); line-height: 1.5; }
.sx-scale-note b { color: #fff; font-weight: 700; }
.sx-scale-ico { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; color: var(--accent-bright); background: rgba(var(--accent-rgb),.14); border: 1px solid rgba(var(--accent-rgb),.26); }

/* ---------------- Enterprise gold card ---------------- */
.sx-ent { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 15px; width: 100%; text-align: left; cursor: pointer; padding: 19px 21px; border-radius: 16px; margin-bottom: 4px;
  border: 1.5px solid transparent;
  background: linear-gradient(var(--ink-900), var(--ink-900)) padding-box,
    linear-gradient(135deg, var(--gold-1), var(--gold-3) 45%, var(--gold-1) 80%, var(--gold-deep)) border-box;
  box-shadow: 0 12px 34px -16px rgba(184,134,47,.55); transition: all .2s; }
.sx-ent:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -16px rgba(184,134,47,.65); }
.sx-ent.sel { box-shadow: 0 0 0 4px rgba(230,193,104,.3), 0 16px 40px -16px rgba(184,134,47,.6); }
.sx-ent::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 130% at 88% -10%, rgba(246,227,166,.2), transparent 55%); pointer-events: none; }
.sx-ent-sp { position: absolute; color: var(--gold-1); pointer-events: none; filter: drop-shadow(0 0 5px rgba(246,227,166,.6)); z-index: 1; }
.sx-ent-sp1 { top: 16px; right: 92px; animation: sxTwinkle 2.8s ease-in-out infinite; }
.sx-ent-sp2 { top: 42px; right: 26px; animation: sxTwinkle 3.4s ease-in-out .6s infinite; }
.sx-ent-sp3 { bottom: 20px; right: 60px; animation: sxTwinkle 2.4s ease-in-out 1.1s infinite; }
.sx-ent-top { position: relative; display: flex; align-items: center; gap: 14px; }
.sx-ent-ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #3a2a08;
  background: linear-gradient(150deg, var(--gold-1), var(--gold-3)); box-shadow: 0 4px 14px -2px rgba(184,134,47,.6); }
.sx-ent-head { flex: 1; min-width: 0; }
.sx-ent-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.sx-ent-tag { font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--gold-1); background: rgba(230,193,104,.14); border: 1px solid rgba(230,193,104,.3); padding: 2px 9px; border-radius: 99px; }
.sx-ent-desc { display: block; font-size: 12.5px; color: var(--on-dark-soft); margin-top: 5px; line-height: 1.45; }
.sx-ent-priceblock { text-align: right; flex: none; line-height: 1; }
.sx-ent-from { display: block; font-size: 10.5px; color: var(--on-dark-faint); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.sx-ent-price { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--gold-1), var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-ent-price span { font-size: 12px; color: var(--on-dark-faint); -webkit-text-fill-color: var(--on-dark-faint); }
.sx-ent-feats { position: relative; display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid rgba(230,193,104,.18); }
.sx-ent-feat { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--on-dark-soft); }
.sx-ent-feat svg { color: var(--gold-1); flex: none; }
.sx-ent-cta { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #3a2a08; background: linear-gradient(135deg, var(--gold-1), var(--gold-3)); padding: 12px; border-radius: 13px; box-shadow: 0 6px 18px -6px rgba(184,134,47,.7); }

/* ---------------- Payment ---------------- */
.sx-secure { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-radius: 13px; margin-bottom: 18px; font-size: 13px; color: var(--on-dark-soft);
  background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); }
.sx-cardbrands { display: flex; gap: 6px; margin-left: auto; }
.sx-cardbrands span { font-family: var(--font-display); font-size: 9px; font-weight: 700; color: #fff; padding: 3px 6px; border-radius: 4px; }
.sx-check { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--glass-line-strong); background: rgba(255,255,255,.04); display: grid; place-items: center; flex: none; cursor: pointer; transition: all .18s; margin-top: 1px; }
.sx-check.on { background: var(--accent); border-color: var(--accent); }
.sx-agree { display: flex; align-items: flex-start; gap: 11px; margin-top: 6px; }
.sx-agree label { font-size: 13px; color: var(--on-dark-soft); line-height: 1.5; cursor: pointer; }
.sx-agree label b { color: #fff; }
textarea.sx-input { height: auto; min-height: 92px; padding-top: 16px; resize: vertical; }
textarea.sx-input ~ .sx-flabel { top: 16px; }
textarea.sx-input:focus ~ .sx-flabel, textarea.sx-input:not(:placeholder-shown) ~ .sx-flabel { top: 8px; }

/* ---------------- Success ---------------- */
.sx-success { display: none; text-align: center; padding: 10px 0; }
.sx-success.show { display: block; }
.sx-seal { position: relative; width: 104px; height: 104px; margin: 4px auto 24px; }
.sx-seal-ring { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--accent-bright), var(--accent-deep)); box-shadow: 0 12px 40px -8px rgba(var(--accent-rgb),.7); animation: sxPop .6s cubic-bezier(.2,1.5,.4,1); }
.sx-seal.gold .sx-seal-ring { color: #3a2a08; background: linear-gradient(150deg, var(--gold-1), var(--gold-3)); box-shadow: 0 12px 40px -8px rgba(184,134,47,.7); }
.sx-confetti { position: absolute; width: 8px; height: 8px; border-radius: 2px; opacity: 0; }
.sx-success.show .sx-confetti { animation: sxConfetti .9s ease-out forwards; }
@keyframes sxPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes sxConfetti { 0% { opacity: 1; transform: translate(0,0) rotate(0); } 100% { opacity: 0; transform: translate(var(--cx), var(--cy)) rotate(220deg); } }
.sx-suc-box { background: rgba(255,255,255,.05); border: 1px solid var(--glass-line); border-radius: 16px; padding: 18px; margin: 26px 0; display: flex; align-items: center; gap: 14px; text-align: left; }
.sx-suc-ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--accent-bright); background: rgba(var(--accent-rgb),.16); border: 1px solid rgba(var(--accent-rgb),.3); }

/* ---------------- Responsive — mobile-first rebuild ---------------- */
.sx-pass-mini { display: none; }

@media (max-width: 860px) {
  /* solid, calm surface — drop the heavy fixed blurred orbs that bleed/jank on phones */
  body { background: var(--ink-950); }
  .sx-bg, .sx-grain { display: none !important; }
  .sx-stage { display: block; min-height: 100dvh; padding: 0; overflow: visible; }
  .sx-card {
    width: 100%; grid-template-columns: 1fr; border-radius: 0; min-height: 100dvh;
    border: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
    background: var(--ink-900);
    display: flex; flex-direction: column;
  }

  /* LEFT pane -> slim sticky top bar: logo LEFT, summary RIGHT, on one row.
     flex-direction:row is REQUIRED — the base .sx-pass is column, so without it
     the logo + pill stack and centre instead of sitting at the edges. */
  .sx-pass {
    position: sticky; top: 0; z-index: 8; flex: none;
    border-right: none; border-bottom: 1px solid var(--glass-line);
    background: var(--ink-900); padding: 16px 18px;
    display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 14px;
  }
  .sx-pass-top { flex: 0 1 auto; min-width: 0; }
  .sx-pass-mini { flex: none; }
  .sx-pass::after { display: none; }
  .sx-pass-label, .sx-pass-plan, .sx-pass-sub, .sx-pass-rows,
  .sx-total, .sx-trial, .sx-pass-foot, .si-lead, .si-foot { display: none !important; }
  .sx-pass-top { margin-bottom: 0; }
  .sx-logo { width: 38px; height: 38px; }
  .sx-logo-name { font-size: 15px; }
  .sx-pass-mini { display: flex; align-items: center; gap: 9px; }
  .sx-pass-mini-plan { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--on-dark-soft); }
  .sx-pass-mini-price { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--accent-bright);
    background: rgba(var(--accent-rgb),.14); border: 1px solid rgba(var(--accent-rgb),.26); padding: 4px 11px; border-radius: 99px; white-space: nowrap; }

  /* RIGHT pane -> full-width flow, form leads */
  .sx-flow { flex: 1; background: transparent; min-height: 0; }
  .sx-flow-top { padding: 16px 18px 0; }
  .sx-rail { padding: 18px 18px 2px; }
  .sx-rail-label { display: none; }
  .sx-rail-bar { margin: 0 8px; }
  .sx-stage-wrap { padding: 26px 18px 34px; justify-content: flex-start; }
  .si-flow-mid { flex: none; padding: 26px 18px 34px; justify-content: flex-start; }
  .sx-fields { gap: 18px; }
  .sx-h2 { font-size: 26px; margin-bottom: 7px; }
  .sx-desc { font-size: 14px; }
  /* comfortable tap targets */
  .sx-input { height: 54px; }
  .sx-btn { height: 54px; }

  /* soft static top glow (replaces the heavy animated orbs) */
  .sx-flow { position: relative; }
  .sx-flow::before {
    content: ""; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
    width: 440px; height: 300px; border-radius: 50%; pointer-events: none; z-index: 0;
    background: radial-gradient(circle, rgba(var(--accent-rgb),.22), transparent 68%);
  }
  .sx-flow-top, .sx-rail, .sx-stage-wrap, .si-flow-mid { position: relative; z-index: 1; }

  /* grounded action area (full-bleed separator) */
  .sx-actions {
    margin: 24px -18px 0; padding: 18px 18px calc(4px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.08);
  }
}

@media (max-width: 400px) {
  .sx-pass { padding: 15px 15px; }
  .sx-flow-top { padding: 14px 15px 0; }
  .sx-rail { padding: 16px 15px 2px; }
  .sx-stage-wrap { padding: 24px 15px 30px; }
  .si-flow-mid { padding: 24px 15px 30px; }
  .sx-h2 { font-size: 24px; }
  .sx-actions { flex-direction: column-reverse; }
  /* full-width stacked buttons — flex:none is REQUIRED, else the primary's flex:1
     collapses its HEIGHT to ~20px in this column-reverse direction. */
  .sx-btn { width: 100%; flex: none; }
  .sx-ent-priceblock { align-self: flex-start; }
  .sx-ent-top { gap: 11px; }
  .sx-actions { margin-left: -15px; margin-right: -15px; padding-left: 15px; padding-right: 15px; }
}
