/* Customer area skin: /signup /login /reset, /app dashboard, /app/inbox, /admin.
 * Loaded after vx.css (and pro.css) so the whole product shares the site's design system (brand.css).
 * Only tokens and looks change here - no layout or behaviour the scripts depend on. */
:root {
  --blue: #5b52e6; --blue-d: #4a41d4; --cyan: #7d76ee; --violet: #7d76ee;
  --grad: linear-gradient(135deg, #ffb224 0%, #ffc95c 100%);
  --night: #100f2e; --night-2: #1a1945; --night-3: #26255c;
  --bg: #f5f5f9; --bg-2: #ecebf4; --card: #ffffff; --card-2: #fafafd;
  --ink: #1a1840; --ink-2: #2d2b55; --mist: #5f5d80; --mist-l: #8b89a8;
  --line: #e4e3ee; --line-2: #d3d1e3;
  --info-bg: #efeefe;
  --shadow-sm: 0 1px 2px rgba(26, 24, 64, .06), 0 1px 1px rgba(26, 24, 64, .04);
  --shadow: 0 2px 4px rgba(26, 24, 64, .04), 0 12px 32px -8px rgba(26, 24, 64, .14);
  --shadow-lg: 0 4px 8px rgba(16, 15, 46, .06), 0 32px 64px -16px rgba(16, 15, 46, .32);
  --r: 18px; --r-sm: 12px; --r-lg: 24px;
  --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-h: 'Bricolage Grotesque', 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
}
:root[data-theme="dark"] {
  --blue: #9d97ff; --blue-d: #b8b4ff;
  --bg: #0c0b24; --bg-2: #131236; --card: #17163d; --card-2: #1c1b47;
  --ink: #eeedfa; --ink-2: #d4d2ef; --mist: #a19fc6; --mist-l: #7a78a3;
  --line: #29275a; --line-2: #37356f; --info-bg: rgba(125, 118, 238, .16);
}
body { font-size: 15.5px; }
h1, h2, h3, h4 { letter-spacing: -.018em; font-weight: 700; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--blue); }
:where(:root[data-theme="dark"]) a { color: var(--blue); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(125, 118, 238, .18); }

/* buttons: amber primary with dark ink, like the site */
.btn-p { background: var(--vx-amber, #ffb224); color: #1a1206 !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 8px 20px -8px rgba(255, 162, 0, .6); }
.btn-p:hover { background: #ffc95c; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 24px -8px rgba(255, 162, 0, .7); }
.btn-s:hover { border-color: var(--ink); }
.btn { transition: transform .15s cubic-bezier(.2, .8, .2, 1), box-shadow .15s, background-color .15s, border-color .15s; }
.seg button.on { box-shadow: var(--shadow-sm); }

/* logo + avatars */
.logo { font-weight: 700; }
.logo-mark { background: #ffb224; color: #100f2e; box-shadow: none; }
.logo-mark svg { stroke: #100f2e; }
.avatar, .bot-av { background: #ffb224; color: #100f2e; }
.done-card .big { background: #ffb224; color: #100f2e; box-shadow: 0 16px 34px -10px rgba(255, 162, 0, .55); }
.plan .pop-tag { background: #ffb224; color: #1a1206; letter-spacing: 0; text-transform: none; }
.plan.pop { border-color: #ffb224; box-shadow: 0 18px 44px -14px rgba(255, 162, 0, .35); }
.progress i { background: linear-gradient(90deg, #7d76ee, #ffb224); }
.spark i { background: linear-gradient(180deg, #b8b4ff, #7d76ee); }
.kpi.c2 .spark i { background: linear-gradient(180deg, #ffd27d, #ffb224); }
.side-plan .bar i { background: linear-gradient(90deg, #7d76ee, #ffb224); }
.banner.info { border-color: rgba(125, 118, 238, .25); }

/* auth: split screen, the "night desk" on the left */
.auth-side { background: var(--night); isolation: isolate; }
.auth-side::before { content: ""; position: absolute; z-index: -1; width: 820px; height: 820px; right: -300px; top: -260px; background: radial-gradient(closest-side, rgba(255, 178, 36, .2), rgba(255, 178, 36, .05) 55%, transparent 72%); }
.auth-side::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(125, 118, 238, .12)); }
.auth-side h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.02; letter-spacing: -.026em; font-variation-settings: "opsz" 96; }
.auth-side h2 span { display: block; background: none; color: #b8b4ff; -webkit-text-fill-color: #b8b4ff; font-weight: 500; }
.perks i { background: rgba(255, 178, 36, .14); color: #ffb224; border-radius: 8px; }
.orb { display: none; }
.orb::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1.5px solid rgba(184, 180, 255, .45); animation: vxring 2.6s cubic-bezier(.2, .8, .2, 1) infinite; }
@keyframes vxring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.wave span { background: linear-gradient(#ffd27d, #ffb224); }
.quote { background: #fbfbfe; color: #1a1840; border: 0; border-radius: 22px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.quote b { color: #1a1840 !important; }
.quote p span { display: inline-block; margin-top: 8px; background: #ecebff; padding: 9px 13px; border-radius: 14px; border-bottom-left-radius: 4px; color: #1a1840; }
.quote .wave { background: #1a1840; border-radius: 14px; border-bottom-right-radius: 4px; padding: 0 12px; height: 46px; width: max-content; margin-left: auto; }
.auth-card h1 { font-size: 2rem; letter-spacing: -.024em; }
.auth-main { background: var(--bg); }

/* app shell */
body.shell { background: linear-gradient(90deg, var(--night) 264px, var(--bg) 264px); }
.nav a.on { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 3px 0 0 #ffb224; }
.nav a:hover { background: rgba(255, 255, 255, .05); }
.nav a.on svg { color: #ffb224; }
.card { border-radius: var(--r); }
.kpi { border-radius: var(--r); }
.kpi b, .kpi .n, .kpi strong { font-family: var(--font-h); letter-spacing: -.02em; }

/* delight: empty states with a small drawn scene instead of a flat icon tile */
.empty .ic, .ib-empty .ic { position: relative; width: 72px; height: 72px; border-radius: 22px; background: var(--night); color: #ffb224; box-shadow: 0 14px 30px -12px rgba(16, 15, 46, .5); }
.empty .ic::before, .ib-empty .ic::before { content: ""; position: absolute; right: -6px; top: -6px; width: 18px; height: 18px; border-radius: 50%; background: #7d76ee; box-shadow: 0 0 0 4px var(--card); }
.empty .ic::after, .ib-empty .ic::after { content: ""; position: absolute; left: -10px; bottom: 6px; width: 26px; height: 16px; border-radius: 9px 9px 9px 3px; background: #ffb224; box-shadow: 0 0 0 4px var(--card); animation: vxbob 3s ease-in-out infinite; }
@keyframes vxbob { 50% { transform: translateY(-4px); } }
.empty b { font-family: var(--font-h); font-size: 1.12rem; color: var(--ink); }

/* skeletons: softer shimmer */
.skel, .ib-skel { background: linear-gradient(100deg, var(--bg-2) 30%, var(--card-2) 50%, var(--bg-2) 70%); background-size: 220% 100%; animation-duration: 1.4s; }

/* smooth view changes */
main > section:not(.hidden), .view:not(.hidden), [data-view]:not(.hidden) { animation: vxin .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes vxin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
