/* ==========================================================================
   WENEXIA POINT — Design system "Aurora Noir"
   Palette dal logo: ciano #00B4D9 · viola #9B5894 · nero/antracite · bianco
   ========================================================================== */
@view-transition { navigation: auto; }

:root {
  --bg: #06060b;
  --bg-2: #0b0b13;
  --bg-3: #12121c;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --surface-3: rgba(255, 255, 255, .09);
  --border: rgba(255, 255, 255, .075);
  --border-2: rgba(255, 255, 255, .14);
  --text: #f5f5fa;
  --text-2: #c9c9d8;
  --muted: #8d8da3;
  --cyan: #00B4D9;
  --cyan-hi: #3fd6f2;
  --violet: #9B5894;
  --violet-hi: #c27fbb;
  --success: #3ee0a1;
  --warning: #f7c35c;
  --danger: #ff6f8e;
  --grad: linear-gradient(120deg, #00B4D9 0%, #5f86d6 45%, #9B5894 100%);
  --grad-soft: linear-gradient(120deg, rgba(0, 180, 217, .18), rgba(155, 88, 148, .18));
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 10px 40px -12px rgba(0, 0, 0, .65), 0 0 0 1px var(--border);
  --glow-c: 0 0 0 1px rgba(0, 180, 217, .35), 0 12px 40px -10px rgba(0, 180, 217, .45);
  --glow-v: 0 0 0 1px rgba(155, 88, 148, .35), 0 12px 40px -10px rgba(155, 88, 148, .5);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --sidebar-w: 272px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan-hi); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .4em; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); }
h2 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
code, kbd { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86em; }
code { background: var(--surface-2); padding: .12em .45em; border-radius: 6px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
::selection { background: rgba(0, 180, 217, .35); }
:focus-visible { outline: 2px solid var(--cyan-hi); outline-offset: 3px; border-radius: 8px; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.small { font-size: 13px; }
.strong { font-weight: 700; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ico { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stack > * + * { margin-top: 16px; }
.mt { margin-top: 20px; } .mt-lg { margin-top: 36px; } .mb { margin-bottom: 20px; } .mb0 { margin-bottom: 0; }

/* ---------- Ambient background (canvas + grain + cursor glow) ---------- */
#aurora { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(0, 180, 217, .10), rgba(155, 88, 148, .06) 40%, transparent 70%);
  transform: translate3d(var(--mx, 50vw), var(--my, 30vh), 0); transition: opacity .4s; opacity: 0;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- Reveal animation base (Motion) ---------- */
.js [data-animate] { opacity: 0; transform: translateY(22px); }
.js.reveal-all [data-animate], .js [data-animate].is-in { opacity: 1; transform: none; }
.js.no-motion [data-animate] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js [data-animate] { opacity: 1 !important; transform: none !important; }
  .grain { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- View transitions (cross-document fade) ---------- */
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(6px); transform: scale(.992); } }
@keyframes vt-in { from { opacity: 0; filter: blur(8px); transform: scale(1.008); } }
.sidebar { view-transition-name: sidebar; }
.bottombar { view-transition-name: bottombar; }
::view-transition-old(sidebar), ::view-transition-new(sidebar), ::view-transition-old(bottombar), ::view-transition-new(bottombar) { animation: none; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--surface-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 14px; border: 1px solid var(--border-2); background: var(--b); color: var(--text); font: 600 14.5px/1 var(--font);
  cursor: pointer; text-decoration: none; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s, color .2s;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 180, 217, .6), 0 10px 30px -12px rgba(155, 88, 148, .6); background-size: 160% 160%; animation: gradshift 6s ease infinite; }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .45) 50%, transparent 75%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 44px -10px rgba(0, 180, 217, .75), 0 16px 44px -12px rgba(155, 88, 148, .75); }
@keyframes gradshift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: rgba(255, 111, 142, .12); border-color: rgba(255, 111, 142, .35); color: #ffc2cf; }
.btn-danger:hover { background: rgba(255, 111, 142, .22); }
.btn-success { background: rgba(62, 224, 161, .12); border-color: rgba(62, 224, 161, .35); color: #b6f5dc; }
.btn-white { background: #fff; color: #0b0b12; border-color: #fff; }
.btn-white:hover { color: #000; box-shadow: 0 12px 40px -12px rgba(255, 255, 255, .6); }
.btn-sm { min-height: 34px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; border-radius: 18px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); cursor: pointer; position: relative; transition: all .25s var(--ease); }
.icon-btn:hover { background: var(--surface-3); color: #fff; transform: translateY(-1px); }
.has-dot.dot-on::after { content: ""; position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px var(--bg), 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* ---------- Badges ---------- */
.badge { --c: var(--muted); display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); white-space: nowrap; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.badge-success { --c: var(--success); } .badge-warning { --c: var(--warning); } .badge-danger { --c: var(--danger); }
.badge-cyan { --c: var(--cyan-hi); } .badge-violet { --c: var(--violet-hi); } .badge-muted { --c: #a6a6bb; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.chip.is-on, a.chip:hover { background: var(--grad-soft); border-color: rgba(0, 180, 217, .4); color: #fff; }

/* ---------- Cards ---------- */
.card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 20px 50px -30px rgba(0,0,0,.8); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.05rem; }
.card-pad-0 { padding: 0; overflow: hidden; }
.glass-card { background: rgba(14, 14, 22, .62); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06); }
[data-spotlight] { --sx: 50%; --sy: 50%; }
[data-spotlight]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(0, 180, 217, .12), rgba(155, 88, 148, .08) 40%, transparent 65%); }
[data-spotlight]:hover::before { opacity: 1; }
.gborder { position: relative; }
.gborder::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .7; }

.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-main { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .g-2, .g-3 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .g-4 { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ---------- KPI ---------- */
.kpi { position: relative; display: block; overflow: hidden; color: var(--text); padding: 20px; border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.kpi:hover { transform: translateY(-4px); border-color: var(--border-2); color: var(--text); }
.kpi.tone-cyan:hover { box-shadow: var(--glow-c); } .kpi.tone-violet:hover { box-shadow: var(--glow-v); }
.kpi-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 14px; color: #fff; }
.tone-cyan .kpi-ico { background: linear-gradient(135deg, rgba(0,180,217,.35), rgba(0,180,217,.08)); box-shadow: inset 0 0 0 1px rgba(0,180,217,.4); }
.tone-violet .kpi-ico { background: linear-gradient(135deg, rgba(155,88,148,.45), rgba(155,88,148,.1)); box-shadow: inset 0 0 0 1px rgba(155,88,148,.5); }
.tone-success .kpi-ico { background: linear-gradient(135deg, rgba(62,224,161,.35), rgba(62,224,161,.06)); box-shadow: inset 0 0 0 1px rgba(62,224,161,.4); }
.tone-warning .kpi-ico { background: linear-gradient(135deg, rgba(247,195,92,.35), rgba(247,195,92,.06)); box-shadow: inset 0 0 0 1px rgba(247,195,92,.4); }
.kpi-label { color: var(--muted); font-size: 13px; font-weight: 500; }
.kpi-value { font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 var(--display); letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi-sub { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.kpi-go { position: absolute; right: 16px; top: 18px; opacity: 0; transform: translateX(-6px); transition: all .35s var(--ease); color: var(--cyan-hi); }
.kpi:hover .kpi-go { opacity: 1; transform: none; }
.kpi::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; filter: blur(30px); opacity: .25; pointer-events: none; }
.tone-cyan::after { background: var(--cyan); } .tone-violet::after { background: var(--violet); } .tone-success::after { background: var(--success); } .tone-warning::after { background: var(--warning); }

/* ---------- App shell ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 14px; padding: 20px 14px 14px; border-right: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10,10,17,.85), rgba(7,7,12,.92)); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 40; overflow-y: auto; scrollbar-width: thin; }
.sidebar-brand { padding: 4px 10px 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 30px; width: auto; }
.brand-point { font: 800 11px/1 var(--display); letter-spacing: .28em; padding: 5px 7px 5px 9px; border-radius: 7px; color: #fff; background: var(--grad); }
.sidebar-cta { margin: 4px 4px 2px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: #5f5f75; font-weight: 700; padding: 16px 12px 6px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text-2); font-weight: 500; font-size: 14.5px; transition: background .25s, color .2s, transform .3s var(--ease); }
.nav-item .ico { opacity: .8; }
.nav-item:hover { background: var(--surface-2); color: #fff; transform: translateX(2px); }
.nav-item.is-active { color: #fff; background: linear-gradient(90deg, rgba(0,180,217,.16), rgba(155,88,148,.10)); box-shadow: inset 0 0 0 1px rgba(0,180,217,.22); }
.nav-item.is-active::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 4px 4px 0; background: var(--grad); box-shadow: 0 0 14px var(--cyan); }
.nav-item.is-active .ico { opacity: 1; color: var(--cyan-hi); }
.nav-count { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; min-width: 22px; height: 22px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; background: var(--grad); color: #fff; }
.sidebar-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.me { display: flex; gap: 10px; align-items: center; min-width: 0; flex: 1; }
.me strong { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.avatar { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; font: 700 13px var(--display); color: #fff; background: var(--grad); box-shadow: 0 6px 20px -6px rgba(0,180,217,.6); }
.main-wrap { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 3vw, 36px); background: rgba(6,6,11,.55); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--border); }
.topbar-actions { margin-left: auto; display: flex; gap: 8px; }
.topbar-hello { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.global-search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 44px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); transition: border-color .25s, box-shadow .25s; }
.global-search:focus-within { border-color: rgba(0,180,217,.5); box-shadow: 0 0 0 4px rgba(0,180,217,.12); }
.global-search input { flex: 1; background: none; border: 0; color: var(--text); font: inherit; outline: none; }
.global-search kbd { padding: 2px 7px; border-radius: 6px; border: 1px solid var(--border-2); color: var(--muted); font-size: 11px; }
.content { padding: clamp(18px, 3vw, 36px); width: 100%; max-width: 1480px; margin: 0 auto; flex: 1; outline: none; }
.app-foot { padding: 18px 36px 28px; color: #5f5f75; font-size: 12.5px; text-align: center; }
.app-foot a { color: var(--muted); }
.only-mobile { display: none !important; }
.scrim { display: none; }
.topbar-brand .brand-logo { height: 24px; }

@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: min(86vw, 320px); transform: translateX(-104%); transition: transform .5s var(--ease); box-shadow: 30px 0 80px rgba(0,0,0,.6); }
  body.sidebar-open .sidebar { transform: none; }
  body.sidebar-open .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); animation: fadein .3s; }
  .only-mobile { display: inline-flex !important; }
  .only-desktop { display: none !important; }
  .is-point .content { padding-bottom: 110px; }
  .is-point .app-foot { padding-bottom: 110px; }
}
@keyframes fadein { from { opacity: 0; } }

/* Bottom bar mobile (Point) */
.bottombar { display: none; }
@media (max-width: 960px) {
  .bottombar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; height: 70px; padding: 0 6px;
    border-radius: 24px; background: rgba(14,14,22,.78); border: 1px solid var(--border-2); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 20px 60px -10px rgba(0,0,0,.8); }
  .bottombar a, .bottombar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font: 600 10.5px var(--font); background: none; border: 0; cursor: pointer; }
  .bottombar a:hover, .bottombar a.is-here { color: #fff; }
  .bottombar .bb-cta { color: #fff; }
  .bb-plus { width: 52px; height: 52px; margin-top: -30px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 30px -6px rgba(0,180,217,.7), 0 0 0 5px var(--bg); }
  .bb-plus .ico { width: 24px; height: 24px; }
}

/* ---------- Page header ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 6px 0 0; max-width: 720px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-hi); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.back-link .ico { width: 16px; height: 16px; }

/* ---------- Hero (Point dashboard) ---------- */
.hero-panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 38px); border: 1px solid var(--border-2);
  background: radial-gradient(120% 140% at 0% 0%, rgba(0,180,217,.22), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(155,88,148,.28), transparent 55%), rgba(12,12,20,.7); }
.hero-panel h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); }
.hero-panel .orb { position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--cyan)); filter: blur(60px); opacity: .35; animation: spin 18s linear infinite; pointer-events: none; }
.hero-cta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255,255,255,.02); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.025); white-space: nowrap; position: sticky; top: 0; }
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background .2s; }
table.data tbody tr:hover { background: rgba(255,255,255,.035); }
table.data tr[data-href] { cursor: pointer; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cell-title { font-weight: 600; color: var(--text); }
.cell-sub { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) {
  table.data.responsive thead { display: none; }
  table.data.responsive tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  table.data.responsive td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
  table.data.responsive td::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; text-align: left; }
  table.data.responsive td.num { text-align: right; }
}

/* ---------- Lists (mobile cards) ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: all .35s var(--ease); }
a.list-item:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateX(3px); color: var(--text); }
.list-item .li-ico { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--cyan-hi); }
.list-item .li-main { flex: 1; min-width: 0; }
.list-item .li-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item .li-sub { font-size: 12.5px; color: var(--muted); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span, .label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field small, .hint { font-size: 12.5px; color: var(--muted); }
.req::after { content: " *"; color: var(--cyan-hi); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], input[type=url], input[type=month], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 15px; border-radius: 14px; border: 1px solid var(--border-2); background: rgba(255,255,255,.04); color: var(--text);
  font: 15px/1.4 var(--font); transition: border-color .25s, box-shadow .25s, background .25s; -webkit-appearance: none; appearance: none; }
textarea { resize: vertical; min-height: 96px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9aae' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
select option { background: #15151f; }
input:hover, select:hover, textarea:hover { border-color: rgba(255,255,255,.22); }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(0,180,217,.7); background: rgba(0,180,217,.05); box-shadow: 0 0 0 4px rgba(0,180,217,.14); }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: rgba(255,111,142,.7); }
.field-error { color: #ff9db3; font-size: 12.5px; font-weight: 600; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; font-size: 14px; transition: border-color .25s, background .25s; }
.check:hover { border-color: var(--border-2); }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--border-2); background: rgba(255,255,255,.04); display: grid; place-items: center; cursor: pointer; margin: 0; transition: all .25s var(--ease); }
.check input::after { content: ""; width: 11px; height: 6px; border: 2.2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform .25s var(--ease); margin-top: -3px; }
.check input:checked { background: var(--grad); border-color: transparent; }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.radio-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card .rc { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--border-2); background: var(--surface); transition: all .3s var(--ease); height: 100%; }
.radio-card .rc .ico { color: var(--cyan-hi); width: 22px; height: 22px; }
.radio-card .rc strong { display: block; font-size: 14px; }
.radio-card .rc small { color: var(--muted); font-size: 12px; line-height: 1.35; display: block; }
.radio-card:hover .rc { border-color: rgba(255,255,255,.25); transform: translateY(-2px); }
.radio-card input:checked + .rc { border-color: transparent; background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 12px 40px -16px rgba(0,180,217,.7); }
.radio-card input:focus-visible + .rc { outline: 2px solid var(--cyan-hi); outline-offset: 2px; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 22px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.filters input, .filters select { min-height: 42px; width: auto; min-width: 150px; font-size: 14px; padding: 9px 14px; }
.filters select { padding-right: 38px; }
.filters .grow { flex: 1; min-width: 200px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Steps / wizard ---------- */
.steps { display: flex; gap: 8px; margin-bottom: 26px; }
.step { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.step::before { content: ""; height: 4px; border-radius: 4px; background: var(--surface-3); transition: background .5s var(--ease); }
.step.is-done::before, .step.is-current::before { background: var(--grad); }
.step.is-current { color: #fff; }
.wizard-pane { display: none; }
.wizard-pane.is-current { display: block; animation: paneIn .5s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(24px); filter: blur(4px); } }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 20px; top: 84px; z-index: 300; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.toast { display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 16px; background: rgba(18,18,28,.92); border: 1px solid var(--border-2); backdrop-filter: blur(18px); box-shadow: 0 20px 60px -14px rgba(0,0,0,.9); font-size: 14px; animation: toastIn .6s var(--ease); }
.toast span { flex: 1; padding-top: 1px; }
.toast-success { border-color: rgba(62,224,161,.45); } .toast-success > .ico { color: var(--success); }
.toast-error { border-color: rgba(255,111,142,.5); } .toast-error > .ico { color: var(--danger); }
.toast-warning { border-color: rgba(247,195,92,.45); } .toast-warning > .ico { color: var(--warning); }
.toast-info > .ico { color: var(--cyan-hi); }
.toast-x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; }
.toast-x .ico { width: 16px; height: 16px; }
.toast.is-out { animation: toastOut .4s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.96); filter: blur(4px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- Modal ---------- */
dialog.modal { border: 0; padding: 0; background: transparent; color: var(--text); max-width: min(520px, calc(100vw - 32px)); width: 100%; }
dialog.modal::backdrop { background: rgba(3,3,8,.6); backdrop-filter: blur(8px); }
dialog.modal[open] .modal-card { animation: modalIn .5s var(--ease); }
dialog.modal[open]::backdrop { animation: fadein .3s; }
.modal-card { padding: 26px; border-radius: 24px; background: rgba(18,18,28,.96); border: 1px solid var(--border-2); box-shadow: 0 50px 120px -30px rgba(0,0,0,.95); display: flex; flex-direction: column; gap: 14px; }
.modal-card h3 { margin: 0; font-size: 1.25rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.96); filter: blur(6px); } }

/* ---------- Empty, skeleton ---------- */
.empty { text-align: center; padding: 48px 20px; }
.empty-orb { width: 74px; height: 74px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 24px; background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--cyan-hi); box-shadow: 0 20px 60px -20px rgba(0,180,217,.5); animation: float 5s ease-in-out infinite; }
.empty-orb .ico { width: 30px; height: 30px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-3) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Progress ---------- */
.progress { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress > i { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: var(--grad); box-shadow: 0 0 16px rgba(0,180,217,.6); transition: width 1.4s var(--ease); }
.js .progress > i[data-grow] { width: 0; }
.ring { --p: 0; --size: 84px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--cyan) 0, var(--violet) calc(var(--p) * 1%), var(--surface-3) 0); }
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg-2); }
.ring span { position: relative; font: 700 17px var(--display); }

/* ---------- Checklist ---------- */
.checklist { display: flex; flex-direction: column; gap: 6px; }
.checklist a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text-2); transition: background .25s; }
.checklist a:hover { background: var(--surface-2); color: #fff; }
.checklist .tick { width: 24px; height: 24px; border-radius: 8px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--border-2); }
.checklist .is-done .tick { background: var(--grad); border-color: transparent; }
.checklist .is-done .tick .ico { width: 14px; height: 14px; color: #fff; }
.checklist .is-done span { text-decoration: line-through; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), var(--violet), transparent); border-radius: 2px; }
.tl-item { position: relative; padding: 0 0 18px; }
.tl-item::before { content: ""; position: absolute; left: -24px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--cyan); box-shadow: 0 0 12px rgba(0,180,217,.6); }
.tl-item.is-internal::before { border-color: var(--violet); }
.tl-title { font-weight: 600; font-size: 14px; }
.tl-meta { font-size: 12px; color: var(--muted); }
.tl-note { margin-top: 6px; font-size: 13.5px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); padding: 10px 12px; border-radius: 12px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; padding: 5px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); overflow-x: auto; margin-bottom: 20px; scrollbar-width: none; }
.tabs a, .tabs button { padding: 9px 15px; border-radius: 11px; color: var(--muted); font: 600 13.5px var(--font); white-space: nowrap; background: none; border: 0; cursor: pointer; transition: all .3s var(--ease); }
.tabs a:hover, .tabs button:hover { color: #fff; }
.tabs .is-active { background: var(--surface-3); color: #fff; box-shadow: inset 0 0 0 1px var(--border-2); }

/* ---------- Charts ---------- */
.chart { width: 100%; height: 240px; }
.chart .grid-line { stroke: rgba(255,255,255,.06); }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .line { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chart .dot { transition: r .2s; }
.chart-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.funnel { display: flex; flex-direction: column; gap: 10px; }
.funnel-row { display: grid; grid-template-columns: 150px 1fr 70px; gap: 12px; align-items: center; font-size: 13.5px; color: inherit; }
a.funnel-row:hover .funnel-bar > i { filter: brightness(1.25); }
.funnel-bar { height: 30px; border-radius: 10px; background: var(--surface); overflow: hidden; }
.funnel-bar > i { display: block; height: 100%; width: var(--w); border-radius: 10px; background: var(--grad); box-shadow: 0 0 22px rgba(0,180,217,.35); transition: width 1.4s var(--ease), filter .2s; }
.js .funnel-bar > i[data-grow] { width: 0; }
.funnel-row .num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .funnel-row { grid-template-columns: 100px 1fr 46px; font-size: 12.5px; } }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; }
.bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars i { display: block; width: 100%; max-width: 34px; border-radius: 8px 8px 4px 4px; background: var(--grad); height: var(--h); transition: height 1.2s var(--ease); }
.js .bars i[data-grow] { height: 0; }
.bars small { color: var(--muted); font-size: 11px; }

/* ---------- Kanban (pipeline) ---------- */
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; }
.kan-col { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 12px; min-height: 260px; }
.kan-col h3 { display: flex; justify-content: space-between; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); padding: 4px 6px 10px; }
.kan-card { display: block; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border); margin-bottom: 8px; color: var(--text); transition: all .3s var(--ease); }
.kan-card:hover { transform: translateY(-2px); border-color: var(--border-2); color: var(--text); box-shadow: 0 12px 30px -16px rgba(0,180,217,.6); }

/* ---------- Course / asset cards ---------- */
.course-card { --h: 190; position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.course-card:hover { transform: translateY(-6px); border-color: var(--border-2); color: var(--text); box-shadow: 0 30px 60px -30px hsla(var(--h), 80%, 55%, .7); }
.course-cover { position: relative; height: 128px; overflow: hidden; background: radial-gradient(120% 120% at 0% 0%, hsla(var(--h), 85%, 55%, .9), transparent 60%), radial-gradient(120% 120% at 100% 100%, hsla(calc(var(--h) + 90), 60%, 50%, .9), transparent 60%), #111; }
.course-cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.05) 22px 23px); }
.course-cover .ico { position: absolute; right: 18px; bottom: 16px; width: 46px; height: 46px; color: rgba(255,255,255,.9); transition: transform .6s var(--ease); }
.course-card:hover .course-cover .ico { transform: rotate(-12deg) scale(1.12); }
.course-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-body h3 { margin: 0; font-size: 1rem; }
.course-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: auto; }
.lesson-body { font-size: 16px; line-height: 1.75; color: var(--text-2); }
.lesson-body h2 { color: var(--text); font-size: 1.3rem; margin-top: .4em; }
.lesson-body strong { color: #fff; }
.video-ph { aspect-ratio: 16/9; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(0,180,217,.35), transparent 60%), radial-gradient(circle at 70% 70%, rgba(155,88,148,.4), transparent 60%), #0d0d16; border: 1px solid var(--border-2); position: relative; overflow: hidden; }
.video-ph .ico { width: 70px; height: 70px; color: #fff; filter: drop-shadow(0 10px 30px rgba(0,180,217,.7)); }
.quiz-q { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.quiz-q legend { font-weight: 700; margin-bottom: 12px; padding: 0; }

/* ---------- QR ---------- */
.qr-stage { position: relative; display: grid; place-items: center; padding: 28px; border-radius: 28px; background: radial-gradient(circle at 50% 30%, rgba(0,180,217,.18), transparent 60%), rgba(255,255,255,.02); border: 1px solid var(--border-2); overflow: hidden; }
.qr-stage::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; background: conic-gradient(from 0deg, transparent, rgba(0,180,217,.35), transparent 30%, rgba(155,88,148,.4), transparent 60%); animation: spin 9s linear infinite; }
.qr-box { position: relative; background: #fff; padding: 18px; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0,180,217,.6); }
.qr-box svg, .qr-box canvas { width: 220px; height: 220px; }
.qr-label { position: relative; margin-top: 14px; font: 800 12px var(--display); letter-spacing: .3em; color: #fff; }
.copy-field { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-2); }
.copy-field code { flex: 1; background: none; padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cyan-hi); }
.asset-thumb { --h: 190; height: 140px; border-radius: 16px; position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, hsla(var(--h), 70%, 50%, .35), hsla(calc(var(--h) + 100), 60%, 45%, .35)); border: 1px solid var(--border-2); }
.asset-thumb span { font: 800 12px var(--display); letter-spacing: .2em; padding: 6px 12px; border-radius: 8px; background: rgba(0,0,0,.35); }

/* ---------- Public pages / landing ---------- */
.public { background: var(--bg); }
.pub-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(18px, 4vw, 56px); transition: background .4s, backdrop-filter .4s, padding .4s; }
.pub-nav.is-scrolled { background: rgba(6,6,11,.6); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--border); padding-top: 12px; padding-bottom: 12px; }
.pub-nav .brand-logo { height: 32px; }
.pub-links { display: flex; gap: 26px; align-items: center; font-size: 14.5px; }
.pub-links a:not(.btn) { color: var(--text-2); }
.pub-links a:not(.btn):hover { color: #fff; }
@media (max-width: 760px) { .pub-links a:not(.btn) { display: none; } }
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px clamp(18px, 5vw, 72px) 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 80px); align-items: center; max-width: 1360px; margin: 0 auto; width: 100%; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 110px; } }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin-bottom: 22px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(110%); }
.hero .lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); color: var(--text-2); max-width: 600px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-2); font-size: 13px; font-weight: 600; margin-bottom: 26px; }
.hero-badge b { padding: 3px 9px; border-radius: 999px; background: var(--grad); font-size: 11px; letter-spacing: .08em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 44px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font: 800 clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem)/1 var(--display); letter-spacing: -.03em; }
.hero-stats div span { color: var(--muted); font-size: 13px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--border-2); }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--cyan-hi); animation: scrollhint 2s infinite; }
@keyframes scrollhint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* Orbit visual: logo badge with rotating ring text + orbiting service planets */
.orbit { position: relative; width: min(520px, 80vw); aspect-ratio: 1; margin: 0 auto; container-type: size; }
.orbit-core { position: absolute; inset: 31%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #c07ab8, #9B5894 45%, #5b2f58 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 120px -20px rgba(155,88,148,.9), inset 0 -20px 40px rgba(0,0,0,.35), inset 0 10px 30px rgba(255,255,255,.18); animation: corefloat 7s ease-in-out infinite; }
.orbit-core .core-a { width: 46%; color: #fff; filter: drop-shadow(0 6px 20px rgba(0,0,0,.4)); }
.orbit-core .core-dot { position: absolute; width: 13%; aspect-ratio: 1; border-radius: 50%; left: 16%; top: 30%; background: var(--cyan); box-shadow: 0 0 30px var(--cyan), 0 0 60px var(--cyan); animation: pulse 2.4s infinite; }
@keyframes corefloat { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.orbit-text { position: absolute; inset: 22%; animation: spin 26s linear infinite; }
.orbit-text text { font: 700 8.6px var(--display); letter-spacing: .32em; fill: rgba(255,255,255,.85); }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); }
.orbit-ring.r1 { inset: 12%; } .orbit-ring.r2 { inset: 0; border-style: dashed; border-color: rgba(255,255,255,.07); }
.orbit-ring.r1::before, .orbit-ring.r2::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--cyan); border-right-color: rgba(0,180,217,.3); animation: spin 9s linear infinite; filter: drop-shadow(0 0 8px var(--cyan)); }
.orbit-ring.r2::before { border-top-color: var(--violet-hi); border-right-color: rgba(155,88,148,.3); animation-duration: 16s; animation-direction: reverse; filter: drop-shadow(0 0 8px var(--violet)); }
.planet { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: orbit var(--d, 30s) linear infinite; animation-delay: var(--delay, 0s); }
.planet > div { position: absolute; left: var(--r, 200px); top: 0; transform: translate(-50%, -50%); }
.planet .pl { display: flex; align-items: center; gap: 8px; padding: 9px 13px 9px 9px; border-radius: 16px; background: rgba(16,16,26,.75); border: 1px solid var(--border-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); white-space: nowrap; font-size: 12.5px; font-weight: 600; box-shadow: 0 14px 40px -14px rgba(0,0,0,.9); animation: counter var(--d, 30s) linear infinite; animation-delay: var(--delay, 0s); }
.planet .pl .ico { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: var(--grad); color: #fff; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes counter { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .planet, .planet .pl, .orbit-text, .orbit-ring::before, .orbit-core { animation: none !important; } }

/* Sections */
.section { position: relative; padding: clamp(70px, 10vw, 140px) clamp(18px, 5vw, 72px); }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -.04em; line-height: 1.05; }
.section-head p { color: var(--text-2); font-size: 1.1rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { position: relative; padding: 28px; border-radius: 26px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); overflow: hidden; transition: transform .6s var(--ease), border-color .3s, box-shadow .6s var(--ease); transform-style: preserve-3d; }
.svc:hover { border-color: var(--border-2); box-shadow: 0 40px 80px -40px rgba(0,180,217,.6); }
.svc .svc-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); margin-bottom: 22px; box-shadow: 0 16px 40px -12px rgba(0,180,217,.7); transform: translateZ(30px); }
.svc .svc-ico .ico { width: 26px; height: 26px; color: #fff; }
.svc h3 { font-size: 1.25rem; transform: translateZ(20px); }
.svc p { color: var(--muted); margin: 0; }
.svc .svc-n { position: absolute; right: 22px; top: 18px; font: 800 64px/1 var(--display); color: rgba(255,255,255,.04); letter-spacing: -.05em; }
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font: 700 clamp(1.4rem, 1rem + 1.5vw, 2.4rem) var(--display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.25); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; -webkit-text-stroke: 0; color: var(--cyan); font-size: .6em; }
.marquee-track span:nth-child(3n+2) { color: #fff; -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: how; }
@media (max-width: 980px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } }
.how-step { position: relative; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.how-step::before { counter-increment: how; content: "0" counter(how); display: block; font: 800 14px var(--display); letter-spacing: .15em; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how-step h3 { font-size: 1.12rem; }
.how-step p { color: var(--muted); margin: 0; font-size: 14.5px; }
.cta-band { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px, 6vw, 80px); text-align: center; border: 1px solid var(--border-2);
  background: radial-gradient(80% 120% at 0% 0%, rgba(0,180,217,.35), transparent 60%), radial-gradient(80% 120% at 100% 100%, rgba(155,88,148,.45), transparent 60%), #0c0c14; }
.cta-band h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); letter-spacing: -.04em; }
.pub-foot { padding: 40px clamp(18px, 5vw, 72px); border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.pub-foot a { color: var(--text-2); }

/* Landing form */
.req-card { position: relative; }
.req-card h2 { font-size: 1.5rem; }
.trust { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; margin-top: 16px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .ico { width: 16px; height: 16px; color: var(--success); }
.point-ribbon { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--border-2); font-size: 13px; margin-bottom: 22px; }
.point-ribbon .avatar { width: 30px; height: 30px; border-radius: 50%; font-size: 11px; }

/* Auth pages */
.auth { min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; }
@media (max-width: 980px) { .auth { grid-template-columns: 1fr; } .auth-art { display: none !important; } }
.auth-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; border-right: 1px solid var(--border); }
.auth-art h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); letter-spacing: -.045em; line-height: 1.02; max-width: 560px; }
.auth-form { display: grid; place-items: center; padding: 40px 20px; }
.auth-form .glass-card { width: 100%; max-width: 440px; }
.demo-accounts { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 16px; }
.demo-accounts summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.demo-grid button { text-align: left; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); cursor: pointer; font: 12.5px/1.3 var(--font); transition: all .25s; }
.demo-grid button:hover { border-color: rgba(0,180,217,.5); background: var(--surface-2); }
.demo-grid button strong { display: block; font-size: 13px; }
.demo-grid button small { color: var(--muted); }
.center-screen { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.error-card { max-width: 520px; text-align: center; }
.error-code { font: 800 110px/1 var(--display); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.debug { text-align: left; font-size: 12px; white-space: pre-wrap; background: rgba(255,111,142,.08); border: 1px solid rgba(255,111,142,.3); padding: 12px; border-radius: 12px; color: #ffc2cf; }
.success-burst { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 30px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 30px 80px -20px rgba(0,180,217,.8); }
.success-burst .ico { width: 46px; height: 46px; color: #fff; stroke-width: 2.4; }
.legal-body { white-space: pre-line; color: var(--text-2); line-height: 1.75; }

/* Misc */
.kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; font-size: 14px; border: 1px solid; }
.notice .ico { margin-top: 1px; }
.notice-info { background: rgba(0,180,217,.08); border-color: rgba(0,180,217,.3); color: #bdeefa; }
.notice-warning { background: rgba(247,195,92,.08); border-color: rgba(247,195,92,.35); color: #fde3a7; }
.notice-danger { background: rgba(255,111,142,.08); border-color: rgba(255,111,142,.35); color: #ffc2cf; }
.notice-success { background: rgba(62,224,161,.08); border-color: rgba(62,224,161,.35); color: #b6f5dc; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: flex-end; margin-top: 16px; font-size: 13.5px; flex-wrap: wrap; }
.msg { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); max-width: 86%; }
.msg.mine { margin-left: auto; background: linear-gradient(135deg, rgba(0,180,217,.16), rgba(155,88,148,.14)); border-color: rgba(0,180,217,.3); }
.msg.internal { border-style: dashed; border-color: rgba(155,88,148,.6); background: rgba(155,88,148,.08); }
.msg-meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.thread { display: flex; flex-direction: column; gap: 12px; }
.shortcut { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: all .4s var(--ease); }
.shortcut:hover { transform: translateY(-4px); border-color: rgba(0,180,217,.4); color: var(--text); box-shadow: var(--glow-c); }
.shortcut .li-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
details.faq { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); padding: 0 18px; transition: background .3s; }
details.faq + details.faq { margin-top: 8px; }
details.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; font-size: 20px; color: var(--cyan-hi); transition: transform .3s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq[open] { background: var(--surface-2); }
details.faq p { color: var(--text-2); padding-bottom: 16px; margin: 0; }
.cert { background: #fff; color: #111; border-radius: 22px; padding: 56px; position: relative; overflow: hidden; text-align: center; }
.cert::before { content: ""; position: absolute; inset: 14px; border: 2px solid; border-image: var(--grad) 1; border-radius: 12px; pointer-events: none; }
.cert h1 { font-size: 2.4rem; color: #111; }
.cert .grad-text { font-size: 2rem; font-weight: 800; }
@media print {
  body { background: #fff !important; }
  .sidebar, .topbar, .bottombar, .app-foot, .no-print, #aurora, .grain, .cursor-glow, .toasts { display: none !important; }
  .shell { display: block; } .content { padding: 0; }
  .cert { box-shadow: none; }
  .print-sheet { color: #000 !important; }
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
@media (max-width: 1100px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 90px; }
.money-pos { color: var(--success); } .money-neg { color: var(--danger); }
.dot-sep::before { content: "·"; margin: 0 6px; color: var(--muted); }
.mail-frame { width: 100%; height: 520px; border: 0; border-radius: 16px; background: #fff; }
