/* SetWise pilot - design system (Higgsfield project book visual language: deep navy, indigo, emerald) */
:root {
  --navy-950: #070b1f; --navy-900: #0b1230; --navy-800: #121a44; --navy-700: #1b2560;
  --indigo-600: #4f46e5; --indigo-500: #6366f1; --indigo-400: #818cf8; --indigo-100: #e0e7ff; --indigo-50: #eef2ff;
  --emerald-600: #059669; --emerald-500: #10b981; --emerald-100: #d1fae5; --emerald-50: #ecfdf5;
  --amber-500: #f59e0b; --amber-100: #fef3c7; --rose-600: #e11d48; --rose-100: #ffe4e6; --sky-100: #e0f2fe; --sky-700: #0369a1;
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #f5f7fb; --card: #ffffff;
  --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(11, 18, 48, .18);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--indigo-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
h1 { font-size: 28px; line-height: 1.2; }
h2 { font-size: 17px; }
h3 { font-size: 15px; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--indigo-400); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.sm { width: 16px; height: 16px; }
.ico.lg { width: 24px; height: 24px; }

/* banner */
.banner { background: linear-gradient(90deg, var(--navy-900), var(--navy-700)); color: #c7d2fe; font-size: 12.5px; text-align: center; padding: 6px 12px; letter-spacing: .01em; }
.banner b { color: #fff; font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .08s, box-shadow .15s, background .15s; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600)); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(79, 70, 229, .35); }
.btn.green { background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600)); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(5, 150, 105, .3); }
.btn.ghost { background: transparent; }
.btn.light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.btn.danger { color: var(--rose-600); border-color: #fecdd3; background: #fff1f2; }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn.lg { padding: 13px 22px; font-size: 15px; border-radius: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--indigo-50); color: var(--indigo-600); white-space: nowrap; }
.chip.green { background: var(--emerald-50); color: var(--emerald-600); }
.chip.amber { background: var(--amber-100); color: #b45309; }
.chip.red { background: var(--rose-100); color: var(--rose-600); }
.chip.gray { background: #f1f5f9; color: var(--muted); }
.chip.sky { background: var(--sky-100); color: var(--sky-700); }
.chip.indigo { background: var(--indigo-100); color: var(--indigo-600); }
.chip.dark { background: rgba(16,185,129,.15); color: #6ee7b7; }

/* ---------- landing ---------- */
.site-top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-top .in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600)); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(79,70,229,.35); }
.site-top nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 14px; }
.site-top nav a { color: var(--ink-2); }
.wrapx { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero { margin-top: 24px; border-radius: 28px; overflow: hidden; position: relative; background: radial-gradient(1200px 500px at 85% 120%, rgba(16,185,129,.35), transparent 60%), radial-gradient(900px 500px at 10% -20%, rgba(99,102,241,.45), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy-950)); color: #fff; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 460px; box-shadow: var(--shadow-lg); }
.hero .copy { padding: 56px 48px; display: flex; flex-direction: column; gap: 18px; justify-content: center; position: relative; z-index: 2; }
.hero h1 { font-size: 48px; line-height: 1.05; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #a5b4fc, #6ee7b7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #cbd5e1; font-size: 17px; max-width: 520px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero .art { position: relative; min-height: 320px; }
.hero .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(11,18,48,.15) 35%, transparent 70%); }
.float-card { position: absolute; z-index: 3; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; }
.float-card.a { right: 28px; bottom: 28px; }
.float-card.b { right: 40%; top: 36px; }
.float-card .big { font-size: 22px; font-weight: 800; color: var(--emerald-600); letter-spacing: -.02em; }
.badge-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--emerald-50); color: var(--emerald-600); }
.badge-ico.indigo { background: var(--indigo-50); color: var(--indigo-600); }
.badge-ico.amber { background: var(--amber-100); color: #b45309; }
.badge-ico.rose { background: var(--rose-100); color: var(--rose-600); }
.kpi-strip { margin: -36px 32px 0; position: relative; z-index: 4; background: #fff; border-radius: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.kpi-strip > div { padding: 20px 24px; display: flex; gap: 14px; align-items: center; }
.kpi-strip > div + div { border-left: 1px solid var(--line); }
.kpi-strip b { font-size: 22px; letter-spacing: -.02em; }
.section { padding: 64px 0 0; }
.section-h { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.section-h h2 { font-size: 28px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.step .n { font-size: 12px; font-weight: 700; color: var(--indigo-600); letter-spacing: .08em; text-transform: uppercase; }
.pay-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.pay-card { border-radius: 24px; padding: 32px; background: linear-gradient(135deg, var(--emerald-50), #fff); border: 1px solid #a7f3d0; display: flex; gap: 24px; align-items: center; }
.pay-card img { width: 160px; height: 160px; object-fit: cover; border-radius: 20px; flex: none; }
.pay-card h3 { font-size: 26px; letter-spacing: -.02em; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.tier b { display: block; font-size: 22px; color: var(--emerald-600); }
.rules-card { border-radius: 24px; padding: 28px; background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: #e2e8f0; display: flex; flex-direction: column; gap: 14px; }
.rules-card li { margin: 6px 0; }
.camp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.camp { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.camp .cover { height: 190px; position: relative; background: var(--navy-900); }
.camp .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.camp .cover .chip { position: absolute; top: 14px; left: 14px; }
.camp .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.camp .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; gap: 10px; flex-wrap: wrap; }
.final-cta { margin: 64px 0 0; border-radius: 28px; padding: 44px; background: linear-gradient(135deg, var(--indigo-600), #3730a3); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.final-cta h2 { font-size: 30px; }
.site-foot { padding: 32px 24px 40px; text-align: center; color: var(--muted); font-size: 13px; }
.site-foot button { margin-left: 10px; }

/* role picker / sign in */
.signin { min-height: calc(100vh - 32px); display: grid; grid-template-columns: 1fr 1fr; }
.signin .side { position: relative; overflow: hidden; background: var(--navy-900); }
.signin .side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.signin .side .quote { position: absolute; left: 32px; right: 32px; bottom: 32px; color: #fff; background: rgba(11,18,48,.6); backdrop-filter: blur(8px); border-radius: 18px; padding: 20px; border: 1px solid rgba(255,255,255,.15); }
.signin .pane { padding: 48px clamp(24px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.roles { display: grid; gap: 12px; }
.role { display: flex; gap: 14px; align-items: center; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .08s; }
.role:hover { border-color: var(--indigo-400); box-shadow: var(--shadow); }
.role:active { transform: translateY(1px); }
.role strong { display: block; font-size: 16px; }
.role .go { margin-left: auto; color: var(--indigo-600); }

/* ---------- app shell ---------- */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - 32px); }
.side-nav { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #c7d2fe; padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.side-nav .brand { color: #fff; margin: 0 8px 22px; }
.side-nav a.item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #a5b4fc; font-weight: 500; font-size: 14.5px; }
.side-nav a.item:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.side-nav a.item.active { background: linear-gradient(135deg, rgba(99,102,241,.35), rgba(79,70,229,.2)); color: #fff; box-shadow: inset 0 0 0 1px rgba(129,140,248,.35); }
.side-nav .grp { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #6366f1; margin: 14px 12px 4px; font-weight: 700; }
.side-nav .me { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; background: linear-gradient(135deg, #8b5cf6, var(--indigo-600)); flex: none; }
.avatar.g { background: linear-gradient(135deg, var(--emerald-500), #0d9488); }
.avatar.a { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.avatar.s { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.side-nav .me .nm { color: #fff; font-weight: 600; font-size: 14px; }
.side-nav .me .rl { font-size: 12px; color: #818cf8; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 16px; padding: 18px 32px; background: rgba(245,247,251,.85); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
.topbar .t { display: flex; flex-direction: column; }
.topbar .t .crumb { font-size: 12px; color: var(--muted); }
.topbar .acts { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink-2); position: relative; cursor: pointer; }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose-600); border: 2px solid #fff; }
.content { padding: 28px 32px 48px; display: flex; flex-direction: column; gap: 22px; max-width: 1280px; width: 100%; }
.mob-nav { display: none; }

/* cards & grids */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.kpi .top { display: flex; justify-content: space-between; align-items: center; }
.kpi .v { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.kpi .l { color: var(--muted); font-size: 13px; }
.earn-hero { border-radius: 24px; padding: 26px; color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(16,185,129,.35), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.earn-hero .amt { font-size: 44px; font-weight: 800; letter-spacing: -.035em; color: #6ee7b7; line-height: 1; }
.earn-hero .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.earn-hero .mini { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 12px; }
.earn-hero .mini b { display: block; font-size: 18px; }
.earn-hero .mini span { font-size: 12px; color: #a5b4fc; }
.earn-hero img.deco { position: absolute; right: -10px; top: -10px; width: 170px; height: 170px; object-fit: cover; border-radius: 30px; opacity: .9; transform: rotate(-6deg); }
.chart { width: 100%; height: 190px; }
.chart .bar { fill: url(#gBar); }
.chart .bar.dim { fill: #e0e7ff; }
.chart text { font-size: 11px; fill: var(--muted); }
.chart .val { font-weight: 700; fill: var(--ink-2); }
.tasks { display: flex; flex-direction: column; gap: 10px; }
.task { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.task:hover { border-color: var(--indigo-400); text-decoration: none; }
.task .go { margin-left: auto; color: var(--muted); }
.qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qa a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; }
.qa a.primary { background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600)); color: #fff; border-color: transparent; }
.qa a:hover { text-decoration: none; box-shadow: var(--shadow); }

/* tables & lists */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #f8fafc; }
.tbl tr.sum td, .tbl tr.sum th { font-weight: 800; border-top: 2px solid var(--line); border-bottom: 0; font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.co { display: flex; gap: 12px; align-items: center; }
.co .lg { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--indigo-50); color: var(--indigo-600); flex: none; }
.co small { display: block; color: var(--muted); font-size: 12.5px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; background: #eef2f7; border-radius: 12px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 9px; font-weight: 600; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: #fff; color: var(--indigo-600); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; min-width: 240px; color: var(--muted); }
.search input { border: 0; outline: 0; background: transparent; width: 100%; color: var(--ink); }
.lead-cards { display: none; }

/* certification */
.cert-hero { border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; background: linear-gradient(135deg, var(--indigo-600), #3730a3); color: #fff; box-shadow: var(--shadow-lg); }
.cert-hero .c { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cert-hero img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.progress { height: 10px; border-radius: 999px; background: rgba(255,255,255,.2); overflow: hidden; }
.progress.light { background: #e2e8f0; }
.progress svg { display: block; width: 100%; height: 10px; }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.vid { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.vid .thumb { height: 120px; position: relative; background: linear-gradient(135deg, var(--navy-800), var(--indigo-600)); display: grid; place-items: center; color: #fff; }
.vid .thumb .play { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.35); }
.vid .thumb .dur { position: absolute; right: 10px; bottom: 10px; font-size: 11px; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 6px; }
.vid .thumb .mid { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 6px; }
.vid.done .thumb { background: linear-gradient(135deg, #065f46, var(--emerald-500)); }
.vid .b { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vid .b .btn { margin-top: auto; }
.exam { display: flex; flex-direction: column; gap: 14px; }
.exam fieldset { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; background: #fff; margin: 0; box-shadow: var(--shadow); }
.exam legend { font-weight: 700; padding: 0 6px; font-size: 15px; }
.opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-top: 8px; cursor: pointer; }
.opt:hover { border-color: var(--indigo-400); }
.opt:has(input:checked) { border-color: var(--indigo-500); background: var(--indigo-50); }
.opt input { accent-color: var(--indigo-600); }
.exam-bar { position: sticky; bottom: 0; background: rgba(245,247,251,.95); backdrop-filter: blur(6px); padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); }

/* call workspace */
.call-head { border-radius: 24px; padding: 22px 24px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.call-head .lg { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: rgba(255,255,255,.12); }
.call-head h2 { font-size: 22px; }
.call-head .meta { color: #a5b4fc; font-size: 13.5px; }
.call-head .phone { margin-left: auto; text-align: right; }
.call-head .phone b { font-size: 20px; letter-spacing: .02em; }
.script p { padding: 12px 14px; border-radius: 12px; background: #f8fafc; border-left: 4px solid var(--indigo-500); }
.script p.q { border-left-color: var(--emerald-500); }
.script p.o { border-left-color: var(--amber-500); }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form[hidden] { display: none; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13.5px; }
.form input[type=date], .form textarea, .form input[type=time], .form input[type=text], .deal { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.form textarea { resize: vertical; }
.chk { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.chk:has(input:checked) { border-color: var(--emerald-500); background: var(--emerald-50); }
.chk input { margin-top: 3px; accent-color: var(--emerald-600); }
.btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.alert { padding: 12px 14px; border-radius: 12px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.alert.ok { background: var(--emerald-50); color: #065f46; border: 1px solid #a7f3d0; }
.alert.warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert.bad { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.err:empty { display: none; }
.err { color: var(--rose-600); font-weight: 600; }

/* meetings timeline */
.timeline { display: flex; flex-direction: column; }
.tl { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.tl .rail { display: flex; flex-direction: column; align-items: center; }
.tl .rail .d { width: 14px; height: 14px; border-radius: 50%; background: var(--indigo-500); box-shadow: 0 0 0 4px var(--indigo-100); margin-top: 20px; }
.tl .rail .d.green { background: var(--emerald-500); box-shadow: 0 0 0 4px var(--emerald-100); }
.tl .rail .d.red { background: var(--rose-600); box-shadow: 0 0 0 4px var(--rose-100); }
.tl .rail .d.gray { background: #94a3b8; box-shadow: 0 0 0 4px #e2e8f0; }
.tl .rail .ln { flex: 1; width: 2px; background: var(--line); }
.tl .box { margin: 8px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tl .box .r { margin-left: auto; text-align: right; }

/* earnings */
.tier-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tier-step { border-radius: 14px; padding: 12px; border: 1.5px solid var(--line); text-align: center; background: #fff; }
.tier-step b { display: block; font-size: 20px; }
.tier-step.on { border-color: var(--emerald-500); background: var(--emerald-50); color: #065f46; }
.tier-step.now { box-shadow: 0 0 0 3px rgba(16,185,129,.25); }

/* team */
.tree, .tree ul { list-style: none; margin: 0; padding-left: 22px; border-left: 2px dashed var(--line); }
.tree { border-left: 0; padding-left: 0; }
.tree li { margin: 10px 0; }
.node { display: inline-flex; gap: 10px; align-items: center; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.node small { color: var(--muted); }
.node.me { border-color: var(--indigo-400); background: var(--indigo-50); }
.pool-bars { display: flex; flex-direction: column; gap: 10px; }
.pool-row { display: grid; grid-template-columns: 70px 1fr 70px; gap: 12px; align-items: center; font-size: 14px; }

/* closer board */
.board { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 16px; overflow-x: auto; padding-bottom: 6px; }
.col { background: #eef2f7; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.col-h { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px; font-weight: 700; font-size: 14px; }
.deal-card { background: #fff; border-radius: 14px; padding: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; cursor: pointer; text-align: left; width: 100%; color: var(--ink); }
.deal-card:hover { border-color: var(--indigo-400); }
.deal-card.sel { border-color: var(--indigo-500); box-shadow: 0 0 0 3px rgba(99,102,241,.2); }
.deal-card .row { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.ist-brand { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; color: #be185d; background: #fdf2f8; border-radius: 999px; padding: 4px 10px; }
.detail { position: sticky; top: 90px; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.deal { width: 100%; }

/* profile */
.prof { display: flex; gap: 18px; align-items: center; }
.prof .avatar { width: 72px; height: 72px; font-size: 24px; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1f5f9; gap: 12px; }

/* footer of app */
.app-foot { padding: 0 32px 32px; color: var(--muted); font-size: 12.5px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g-main { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .detail { position: static; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side-nav { display: none; }
  .mob-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: var(--navy-900); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); }
  .mob-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #818cf8; font-size: 11px; font-weight: 600; padding: 4px 0; }
  .mob-nav a.active { color: #fff; }
  .mob-nav a:hover { text-decoration: none; }
  .content { padding: 20px 16px 110px; }
  .topbar { padding: 14px 16px; }
  .app-foot { padding: 0 16px 100px; }
  .hero { grid-template-columns: 1fr; }
  .hero .art { min-height: 240px; order: -1; }
  .hero .art::after { background: linear-gradient(0deg, var(--navy-900) 0%, transparent 60%); }
  .hero .copy { padding: 28px 22px 64px; }
  .hero h1 { font-size: 34px; }
  .float-card.b { display: none; }
  .kpi-strip { grid-template-columns: 1fr; margin: -36px 12px 0; }
  .kpi-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .pay-band, .camp-grid, .g2, .g3, .cert-hero { grid-template-columns: 1fr; }
  .signin { grid-template-columns: 1fr; }
  .signin .side { min-height: 220px; }
  .site-top nav { display: none; }
  .board { grid-template-columns: repeat(4, 80vw); }
}
@media (max-width: 560px) {
  h1 { font-size: 22px; }
  .g4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; }
  .kpi .v { font-size: 22px; }
  .steps, .tiers { grid-template-columns: 1fr 1fr; }
  .pay-card { flex-direction: column; align-items: flex-start; }
  .earn-hero .amt { font-size: 36px; }
  .earn-hero img.deco { width: 110px; height: 110px; }
  .lead-table { display: none; }
  .lead-cards { display: flex; flex-direction: column; gap: 10px; }
  .tier-track { grid-template-columns: repeat(2, 1fr); }
  .call-head .phone { margin-left: 0; text-align: left; }
  .final-cta { padding: 28px; }
  .search { min-width: 0; flex: 1; }
  .outcomes { grid-template-columns: 1fr; }
  .tbl td, .tbl th { padding: 9px 6px; }
  .hide-sm { display: none; }
}
.g2x { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.chip { align-self: flex-start; width: fit-content; }
.earn-hero > * { position: relative; z-index: 1; }
.earn-hero img.deco { z-index: 0; position: absolute; right: 0; top: 0; width: 46%; height: 100%; border-radius: 0; transform: none; opacity: .28; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.closer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.closer-layout .board { grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
.closer-layout .deal-card .lg { display: none; }
.closer-layout .deal-card { padding: 12px; }
.closer-layout .deal-card b { font-size: 13.5px; }
.kpi .v.sm { font-size: 20px; }
@media (max-width: 1250px) { .closer-layout { grid-template-columns: 1fr; } .detail { position: static; } }
@media (max-width: 900px) { .closer-layout .board { grid-template-columns: repeat(4, 78vw); overflow-x: auto; } }
.deal-card .row span { white-space: nowrap; }
img.avatar.photo { object-fit: cover; padding: 0; border: 2px solid rgba(255,255,255,.7); }
.vid .thumb { overflow: hidden; }
.vid .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.vid .thumb > span { position: relative; z-index: 1; }
.vid .thumb .dur, .vid .thumb .mid { position: absolute; }
.vid.done .thumb img { opacity: .4; }
.cert-hero img { height: 300px; min-height: 0; }
.cert-hero .c h2 { font-size: 24px; }
.pool-row { grid-template-columns: 70px 1fr 120px; }
@media (max-width: 900px) { .cert-hero img { height: 200px; } }

/* Earnings card: illustration as a faded background, stats always full width (16.11 fix) */
.earn-hero.has-bg::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 42%; background: url('https://d2ol7oe51mr4n9.cloudfront.net/user_3FntzgdUu7i1M585ENfTVWNkFuu/8fc3932f-15d7-4101-9e5f-d20fdf363b0a.webp') right center / contain no-repeat; opacity: .22; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); pointer-events: none; z-index: 0; }
.earn-hero .row3 { width: 100%; }
.earn-hero .mini { min-width: 0; }
.earn-hero .mini span { display: block; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 520px) { .earn-hero.has-bg::before { width: 60%; opacity: .14; } }

/* =====================================================================
   SetWise brand layer v3 - Higgsfield art, signature gradient, glass
   ===================================================================== */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
:root {
  --sw-navy: #0B1530; --sw-violet: #7C3AED; --sw-magenta: #EC4899; --sw-emerald: #10B981;
  --grad: linear-gradient(120deg, #7C3AED 0%, #C026D3 52%, #EC4899 100%);
  --grad-deep: linear-gradient(135deg, #0B1530 0%, #2A1460 55%, #5B1A6E 100%);
  --indigo-600: #6D28D9; --indigo-500: #7C3AED; --indigo-400: #A78BFA; --indigo-100: #EDE9FE; --indigo-50: #F5F3FF;
  --bg: #F6F4FB; --line: #E7E3F3;
  --display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --glass: rgba(255, 255, 255, .72);
  --shadow: 0 1px 2px rgba(23, 12, 60, .05), 0 10px 30px rgba(76, 29, 149, .08);
  --shadow-lg: 0 24px 60px rgba(76, 29, 149, .22);
}
body { background: var(--bg) radial-gradient(1200px 600px at 100% -10%, rgba(236, 72, 153, .10), transparent 60%) no-repeat, radial-gradient(900px 500px at -10% 0%, rgba(124, 58, 237, .12), transparent 60%) no-repeat; background-attachment: fixed; }
h1, h2, h3, .amt, .kpi .v, .big, .wordmark, .calc-amt { font-family: var(--display); }
h1 { font-weight: 700; letter-spacing: -.03em; }
a { color: var(--indigo-600); }
::selection { background: rgba(236, 72, 153, .25); }

/* brand */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .logomark { flex: none; filter: drop-shadow(0 6px 14px rgba(192, 38, 211, .35)); transition: transform .3s; }
.brand:hover .logomark { transform: rotate(-6deg) scale(1.06); }
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: -.03em; color: var(--sw-navy); }
.wordmark .wm-b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.side-nav .wordmark { color: #fff; }

/* banner + buttons */
.banner { background: var(--grad-deep); }
.btn.primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 8px 22px rgba(192, 38, 211, .32); background-size: 160% 100%; transition: background-position .4s, transform .15s, box-shadow .2s; }
.btn.primary:hover { background-position: 100% 0; box-shadow: 0 12px 28px rgba(192, 38, 211, .42); text-decoration: none; transform: translateY(-1px); }
.btn.green { background: linear-gradient(120deg, #10B981, #059669); border: 0; color: #fff; box-shadow: 0 8px 22px rgba(16, 185, 129, .35); }
.btn.green:hover { transform: translateY(-1px); text-decoration: none; }
.btn { transition: transform .15s, box-shadow .2s, background .2s; }

/* side nav */
.side-nav { background: var(--grad-deep) !important; border: 0 !important; }
.side-nav a.item { position: relative; transition: background .2s, transform .15s; }
.side-nav a.item:hover { transform: translateX(2px); }
.side-nav a.item.active { background: rgba(255, 255, 255, .12) !important; box-shadow: inset 3px 0 0 #EC4899; color: #fff !important; }
.side-nav a.item.has3d > .ico { display: none; }
.side-nav .i3d { width: 26px; height: 26px; object-fit: contain; border-radius: 7px; flex: none; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }
.topbar { background: rgba(246, 244, 251, .75) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mob-nav { background: rgba(11, 21, 48, .92) !important; backdrop-filter: blur(14px); }

/* glass cards with gradient hairline */
.card, .kpi, .camp, .step, .pay-card, .tst, .calc, .faq-i {
  background: linear-gradient(var(--glass), var(--glass)) padding-box, linear-gradient(135deg, rgba(124, 58, 237, .35), rgba(236, 72, 153, .15) 40%, rgba(231, 227, 243, .9)) border-box !important;
  border: 1px solid transparent !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.kpi:hover, .camp:hover, .step:hover, .tst:hover, .card.badges-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.kpi { position: relative; overflow: hidden; }
.kpi .kpi3d { position: absolute; right: -10px; bottom: -12px; width: 78px; height: 78px; object-fit: contain; opacity: .9; pointer-events: none; transition: transform .35s; }
.kpi:hover .kpi3d { transform: rotate(-8deg) scale(1.08); }
.kpi .v { font-weight: 700; }
.earn-hero { background: var(--grad-deep) !important; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.earn-hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(236, 72, 153, .45), transparent); pointer-events: none; }
.earn-hero .amt { background: linear-gradient(90deg, #fff, #FBCFE8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* page hero banners */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: 150px; border-radius: 22px; overflow: hidden; margin-bottom: 18px; background: var(--grad-deep); box-shadow: var(--shadow-lg); isolation: isolate; }
.page-hero .ph-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); animation: ph-pan 18s ease-in-out infinite alternate; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 21, 48, .92) 0%, rgba(11, 21, 48, .55) 45%, rgba(11, 21, 48, 0) 80%); }
.page-hero .ph-copy { padding: 22px 26px; display: grid; gap: 4px; max-width: 520px; }
.page-hero .ph-kicker { font-family: var(--display); font-weight: 700; font-size: 24px; color: #fff; letter-spacing: -.02em; }
.page-hero .ph-sub { color: #E9D5FF; font-size: 14px; }
@keyframes ph-pan { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.08) translateX(-2%); } }

/* achievements + rings */
.g-ach { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 16px; }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 10px; }
.badge3d { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 12px 6px; border-radius: 16px; background: rgba(245, 243, 255, .7); transition: transform .25s; }
.badge3d:hover { transform: translateY(-4px) rotate(-1deg); }
.badge3d .b-img { position: relative; width: 84px; height: 84px; }
.badge3d .b-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(124, 58, 237, .35)); }
.badge3d .b-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.badge3d b { font-size: 13.5px; }
.badge3d span { font-size: 12px; color: var(--muted); }
.badge3d.locked .b-img img { filter: grayscale(1) opacity(.45); }
.badge3d.got span { color: #047857; font-weight: 600; }
.rings { display: flex; gap: 14px; justify-content: space-around; margin: 10px 0; }
.ring { position: relative; width: 128px; height: 128px; }
.ring svg { width: 100%; height: 100%; }
.ring .ring-arc { transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.ring-in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-in b { font-family: var(--display); font-size: 24px; line-height: 1; }
.ring-in span { font-size: 11.5px; color: var(--muted); max-width: 86px; }

/* landing hero - cinematic */
.site-top { background: rgba(11, 21, 48, .92) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-top .wordmark { color: #fff; }
.hero { position: relative; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .art { position: relative; }
.hero .art img { border-radius: 26px; box-shadow: 0 40px 90px rgba(124, 58, 237, .45), 0 0 0 1px rgba(255, 255, 255, .12); aspect-ratio: 16 / 11; object-fit: cover; }
.float-card { background: rgba(255, 255, 255, .86) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .7) !important; box-shadow: 0 18px 40px rgba(11, 21, 48, .28) !important; animation: float 6s ease-in-out infinite; z-index: 2; }
.float-card.b { animation-delay: -2s; }
.float-card.c { position: absolute; right: 16px; top: 40%; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 16px; animation-delay: -4s; }
.float-card.c .fc3d { width: 40px; height: 40px; object-fit: contain; border-radius: 0 !important; box-shadow: none !important; aspect-ratio: auto !important; }
.float-card.c b { color: #047857; font-family: var(--display); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.orb { position: absolute; border-radius: 50%; filter: blur(40px); z-index: -1; pointer-events: none; }
.orb.o1 { width: 260px; height: 260px; background: #EC4899; opacity: .45; top: -40px; right: -40px; animation: drift 12s ease-in-out infinite alternate; }
.orb.o2 { width: 220px; height: 220px; background: #7C3AED; opacity: .5; bottom: -50px; left: -30px; animation: drift 14s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(30px, 20px); } }
.badge-ico.b3d { background: none !important; width: 52px; height: 52px; }
.badge-ico.b3d img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(124, 58, 237, .35)); }
.kpi-strip { background: linear-gradient(var(--glass), var(--glass)) padding-box, var(--grad) border-box !important; border: 1px solid transparent !important; backdrop-filter: blur(12px); }
.kpi-strip b { font-family: var(--display); font-size: 26px; }

/* marquee */
.marquee-sec { padding-top: 10px !important; padding-bottom: 10px !important; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; gap: 16px; width: max-content; animation: mq 40s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { width: 260px; height: 150px; border-radius: 18px; overflow: hidden; flex: none; box-shadow: var(--shadow); }
.mq-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mq-item:hover img { transform: scale(1.06); }
@keyframes mq { to { transform: translateX(-50%); } }

/* calculator */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding: 26px; border-radius: 24px; }
.calc-in { display: grid; gap: 18px; }
.calc-in label { display: grid; gap: 8px; font-size: 14px; }
.calc-in label span { display: flex; justify-content: space-between; color: var(--ink-2); }
.calc-in label b { color: var(--sw-violet); font-family: var(--display); }
.calc input[type=range] { -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #7C3AED, #EC4899); outline-offset: 4px; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #C026D3; box-shadow: 0 4px 10px rgba(124, 58, 237, .4); cursor: pointer; }
.calc input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #C026D3; cursor: pointer; }
.calc-out { display: grid; align-content: center; gap: 8px; padding: 22px; border-radius: 18px; background: var(--grad-deep); color: #E9D5FF; }
.calc-amt { font-size: 46px; font-weight: 700; color: #fff; line-height: 1; background: linear-gradient(90deg, #fff, #6EE7B7); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* testimonials + faq */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tst { margin: 0; padding: 22px; border-radius: 20px; display: grid; gap: 16px; align-content: space-between; }
.tst blockquote { margin: 0; font-size: 15.5px; color: var(--ink); }
.tst figcaption { display: flex; gap: 10px; align-items: center; }
.tst figcaption span { display: grid; }
.tst figcaption small { color: var(--muted); }
.tst-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #C026D3; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq-i { border-radius: 16px; padding: 0 18px; }
.faq-i summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: "+"; font-size: 20px; color: var(--sw-violet); transition: transform .2s; }
.faq-i[open] summary::after { transform: rotate(45deg); }
.faq-i p { padding: 0 0 16px; color: var(--ink-2); }
.final-cta { background: var(--grad-deep) !important; position: relative; overflow: hidden; }

/* confetti + celebration */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation-name: fall; animation-timing-function: cubic-bezier(.3, .6, .5, 1); animation-fill-mode: forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .8; } }
.celebrate { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 101; display: flex; gap: 14px; align-items: center; padding: 10px 20px 10px 10px; border-radius: 20px; background: var(--grad-deep); color: #fff; box-shadow: 0 24px 60px rgba(76, 29, 149, .5); animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.celebrate.out { opacity: 0; transform: translateX(-50%) translateY(20px); transition: all .5s; }
.celebrate .cel-art { width: 92px; height: 70px; object-fit: cover; border-radius: 14px; }
.celebrate b { display: block; font-family: var(--display); font-size: 18px; }
.celebrate span { color: #E9D5FF; font-size: 13.5px; }
@keyframes pop { from { transform: translateX(-50%) scale(.7); opacity: 0; } }

/* tables + skeletons */
.tbl th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: #6B5B95; }
.tbl tr.click:hover td { background: rgba(124, 58, 237, .05) !important; }
.skel { border-radius: 10px; background: linear-gradient(90deg, #EDE9FE 25%, #F5F3FF 50%, #EDE9FE 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
img[src*="cloudfront"] { background: linear-gradient(90deg, #EDE9FE 25%, #F5F3FF 50%, #EDE9FE 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
img[src*="cloudfront"].i3d, img[src*="cloudfront"].kpi3d, .badge3d img, .b3d img, .fc3d { background: none; animation: none; }
.chip.green { background: #D1FAE5; color: #047857; }
.vid .thumb, .camp .cover { overflow: hidden; }
.vid .thumb img, .camp .cover img { transition: transform .5s; }
.vid:hover .thumb img, .camp:hover .cover img { transform: scale(1.05); }

/* responsive */
@media (max-width: 1024px) { .g-ach { grid-template-columns: 1fr; } .tst-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .calc { grid-template-columns: 1fr; padding: 18px; }
  .tst-grid { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .page-hero { min-height: 120px; border-radius: 18px; }
  .page-hero .ph-kicker { font-size: 19px; }
  .page-hero .ph-sub { font-size: 12.5px; }
  .float-card.c { right: 6px; top: auto; bottom: 64px; }
  .mq-item { width: 200px; height: 118px; }
  .calc-amt { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.kpi .kpi3d, .badge-ico.b3d img { border-radius: 14px; }
.badge3d .b-img img { border-radius: 18px; }
.badge3d .b-num { font-size: 15px; }
.rules-card { background: var(--grad-deep) !important; border: 0 !important; }
.site-top nav a { color: #E9D5FF !important; }
.site-top nav a:hover { color: #fff !important; }
.float-card.c { width: auto !important; max-width: none !important; white-space: nowrap; left: auto !important; bottom: auto !important; }
.hero .art .float-card.c img.fc3d { width: 40px !important; height: 40px !important; position: static !important; margin: 0 !important; border-radius: 10px !important; aspect-ratio: auto !important; box-shadow: none !important; flex: none; }
/* v4 polish: wider main column, dashboard balance, empty states */
.content { max-width: 1360px !important; margin: 0 auto; }
.col-l { display: grid; gap: 16px; align-content: start; }
.ring-card .rings { align-items: center; justify-content: flex-start; gap: 22px; flex-wrap: wrap; }
.ring-card .ring { width: 110px; height: 110px; }
.ring-note { flex: 1 1 180px; }
.badges-card { margin-top: 0; }
.empty-x { display: flex; align-items: center; gap: 22px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, rgba(124, 58, 237, .08), rgba(236, 72, 153, .06)); border: 1px dashed rgba(124, 58, 237, .3); }
.empty-x .ex-art { width: 180px; height: 135px; object-fit: cover; border-radius: 16px; flex: none; box-shadow: var(--shadow); }
.empty-x b { font-family: var(--display); font-size: 18px; display: block; margin-bottom: 4px; }
.empty-x p { margin-bottom: 12px; max-width: 420px; }
@media (max-width: 560px) { .empty-x { flex-direction: column; text-align: center; } .empty-x .ex-art { width: 100%; height: auto; aspect-ratio: 4 / 3; } }
.hero .art { overflow: hidden; }
@media (max-width: 760px) { .float-card.c { display: none !important; } .orb { display: none; } }
@media (max-width: 640px) { .tbl { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
@media (max-width: 640px) { .tbl { font-size: 13px; } .tbl th, .tbl td { padding-left: 6px !important; padding-right: 6px !important; } }
.boot-error { max-width: 480px; margin: 20vh auto 0; padding: 24px; text-align: center; }

/* Certification video modules */
.vids { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.vid .vwrap { position: relative; background: #000; }
.vid video.vplayer { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vid .vwrap .dur { position: absolute; right: 10px; top: 10px; font-size: 11px; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 6px; pointer-events: none; }
.vid .thumb.vsoon { height: auto; min-height: 120px; padding: 36px 16px 16px; text-align: center; }
.vid .vsoon-msg { display: grid; gap: 4px; position: relative; z-index: 1; }
.vid .vstatus:empty { display: none; }
label.field { display: grid; gap: 6px; max-width: 520px; }
label.field select { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; }
