:root{
  --bg:#0b1020;
  --card:#101a36;
  --card2:#0f1630;
  --text:#e8ecff;
  --muted:#b7c0ff;
  --line:rgba(231,236,255,.12);
  --accent:#7aa2ff;
  --accent2:#78f2c7;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius:20px;
  --max:1160px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(122,162,255,.25), transparent 60%),
    radial-gradient(1000px 700px at 90% 0%, rgba(120,242,199,.18), transparent 55%),
    radial-gradient(900px 800px at 40% 120%, rgba(122,162,255,.15), transparent 55%),
    var(--bg);
}
a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
small{color:var(--muted)}
.container{max-width:var(--max); margin:0 auto; padding:24px}

.nav{
  position:sticky; top:0;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(11,16,32,.92), rgba(11,16,32,.65));
  border-bottom:1px solid var(--line);
  z-index:50;
}
.nav-inner{display:flex; align-items:center; gap:14px; justify-content:space-between; max-width:var(--max); margin:0 auto; padding:14px 24px;}
.brand{display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px}
.brand img{width:26px; height:26px}
.nav-links{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.pill{padding:8px 12px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.04)}
.pill.active{border-color:rgba(122,162,255,.55); background:rgba(122,162,255,.10)}
.pill:hover{text-decoration:none; background:rgba(255,255,255,.07)}

.hero{
  padding:40px 0 10px;
  display:grid; grid-template-columns: 1.1fr .9fr; gap:20px;
}
@media (max-width: 980px){
  .hero{grid-template-columns:1fr}
}
.h1{font-size:44px; line-height:1.04; margin:0}
.sub{font-size:16px; color:var(--muted); margin-top:10px; max-width:60ch}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.badge{font-family:var(--mono); font-size:12px; padding:8px 10px; border-radius:999px; border:1px solid var(--line); background:rgba(255,255,255,.04)}
.cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 14px; border-radius:14px; border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  font-weight:600;
}
.btn.primary{
  background: linear-gradient(135deg, rgba(122,162,255,.35), rgba(120,242,199,.18));
  border-color: rgba(122,162,255,.35);
}
.btn:hover{text-decoration:none; transform: translateY(-1px)}
.grid{display:grid; gap:14px}
.cards{grid-template-columns: repeat(12, 1fr)}
.card{
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
@media (max-width: 980px){ .card{grid-column: span 12;} }
.card h3{margin:0 0 6px; font-size:15px}
.card p{margin:0; color:var(--muted); font-size:13px; line-height:1.45}
.section-title{display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:22px 0 10px}
.section-title h2{margin:0; font-size:18px}
.section-title .hint{color:var(--muted); font-size:13px}

.panel{
  background: rgba(16,26,54,.72);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.panel-header{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}
.search{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
}
.input{
  width:min(540px, 100%);
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  color:var(--text);
}
.select{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  color:var(--text);
}

.kpi{display:grid; grid-template-columns: repeat(12,1fr); gap:12px; margin-top:12px}
.kpi .k{grid-column: span 3; padding:12px; border-radius:16px; border:1px solid var(--line); background: rgba(0,0,0,.12)}
@media (max-width: 980px){ .kpi .k{grid-column: span 6;} }
.k strong{display:block; font-size:20px}
.k span{color:var(--muted); font-size:12px}

.table-wrap{overflow:auto; border-radius: 16px; border:1px solid var(--line)}
table{width:100%; border-collapse:collapse; font-size:13px; min-width: 720px}
th,td{padding:10px 10px; border-bottom:1px solid var(--line); vertical-align:top}
th{position:sticky; top:0; background:rgba(11,16,32,.88); text-align:left}
tr:hover td{background:rgba(255,255,255,.04)}
.score{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--mono);
}
.dot{width:9px; height:9px; border-radius:50%; background: rgba(231,236,255,.25); border:1px solid var(--line)}
.dot.s1{background: rgba(255,255,255,.08)}
.dot.s2{background: rgba(122,162,255,.22)}
.dot.s3{background: rgba(122,162,255,.36)}
.dot.s4{background: rgba(122,162,255,.52)}
.dot.s5{background: rgba(120,242,199,.55)}
.code{font-family:var(--mono); font-size:12px; color:var(--muted)}
.prose{color: var(--text); line-height:1.6}
.prose p{color: var(--muted)}
.prose pre{white-space:pre-wrap; background: rgba(0,0,0,.18); border:1px solid var(--line); padding:12px; border-radius: 16px; overflow:auto}
.footer{margin:36px 0 18px; color:var(--muted); font-size:12px; display:flex; gap:10px; flex-wrap:wrap; justify-content:space-between; align-items:center}
