:root{
    --bg:#0b0e13;
    --panel:#0f1420;
    --card:#121826;
    --text:#e9eef7;
    --muted:#a7b2c6;
    --primary:#6aa9ff;
    --ring:#2a3a57;
    --border:#1b2232;
    --shadow:0 6px 30px rgba(0,0,0,.35);
  }
  
  *{box-sizing:border-box}
  html,body{height:100%}
  body{
    margin:0;
    font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color:var(--text);
    background: radial-gradient(1200px 800px at 20% -10%, #142037 0%, transparent 60%),
                radial-gradient(900px 600px at 110% 10%, #1a2338 0%, transparent 60%),
                var(--bg);
    -webkit-font-smoothing:antialiased;
  }
  
  .container{width:min(1100px, 92%); margin-inline:auto}
  
  .site-header{
    position:sticky; top:0; z-index:20;
    background:rgba(11,14,19,.75);
    backdrop-filter: blur(6px);
    border-bottom:1px solid var(--border);
  }
  .header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
  .brand{display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none; font-weight:700; letter-spacing:.2px}
  .brand .logo{
    display:inline-grid; place-items:center;
    width:28px; height:28px; border-radius:8px;
    background:linear-gradient(135deg, #7ab0ff, #9b6bff);
    color:#051225; font-weight:900; box-shadow:var(--shadow)
  }
  .nav a{color:var(--muted); text-decoration:none; margin-left:20px; font-weight:500}
  .nav a:hover{color:var(--text)}
  
  .hero{position:relative; overflow:hidden; border-bottom:1px solid var(--border)}
  .hero-inner{
    display:grid; gap:32px; grid-template-columns: 1.25fr .9fr;
    padding:64px 0 48px;
  }
  .hero-copy h1{font-size: clamp(28px, 4vw, 44px); margin:0 0 8px}
  .hero-copy p{color:var(--muted); margin:0 0 18px; max-width:45ch}
  .cta-row{display:flex; gap:12px; flex-wrap:wrap}
  .btn{
    display:inline-flex; align-items:center; justify-content:center;
    padding:11px 16px; border-radius:12px; border:1px solid var(--border);
    text-decoration:none; font-weight:600; transition:transform .1s ease, background .2s ease, border-color .2s ease;
  }
  .btn-primary{background:linear-gradient(135deg,#6aa9ff,#8e79ff); color:#061225; border-color:transparent}
  .btn-primary:hover{transform:translateY(-1px)}
  .btn-ghost{background:transparent; color:var(--text)}
  .btn-ghost:hover{border-color:var(--ring)}
  
  .hero-card{
    background:linear-gradient(180deg, rgba(106,169,255,.12), rgba(106,169,255,0) 60%),
               var(--card);
    border:1px solid var(--border);
    border-radius:16px; padding:18px; box-shadow:var(--shadow);
  }
  .hero-card .stat{display:grid; grid-template-columns:auto 1fr; align-items:end; gap:8px 12px; padding:10px 0; border-bottom:1px dashed var(--border)}
  .hero-card .stat:last-child{border-bottom:0}
  .stat-label{color:var(--muted); font-size:12px}
  .stat-value{font-size:28px; font-weight:700; letter-spacing:.5px}
  .stat-sub{color:var(--muted); font-size:12px}
  .mini-link{display:inline-block; margin-top:10px; color:var(--primary); text-decoration:none}
  .mini-link:hover{text-decoration:underline}
  
  .bg-grid{
    position:absolute; inset:auto 0 0 0; height:160px;
    background:
      linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px) 0 0/28px 28px,
      linear-gradient(to top, rgba(255,255,255,.04) 1px, transparent 1px) 0 0/28px 28px;
    mask-image: linear-gradient(to bottom, transparent, #000 30%, #000);
    pointer-events:none
  }
  
  .cards{display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; padding:38px 0}
  .card{
    display:flex; flex-direction:column; gap:8px;
    background:var(--panel); border:1px solid var(--border); border-radius:16px;
    padding:18px; text-decoration:none; color:var(--text); box-shadow:var(--shadow);
    transition:transform .12s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .card:hover{transform:translateY(-2px); border-color:var(--ring); box-shadow:0 10px 40px rgba(0,0,0,.45)}
  .card-icon{font-size:22px}
  .card h3{margin:2px 0 4px}
  .card p{color:var(--muted); margin:0 0 8px}
  .card-link{color:var(--primary); font-weight:600}
  
  .site-footer{border-top:1px solid var(--border); background:#0b0e13}
  .footer-inner{display:flex; justify-content:space-between; align-items:center; padding:16px 0}
  .small{color:var(--muted); font-size:12px}
  

  .table-container {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: auto;
  }
  
  thead th {
    background: #1f2937;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 2;  /* keeps header above */
  }
  @media (max-width: 980px){
    .hero-inner{grid-template-columns: 1fr}
    .cards{grid-template-columns: 1fr; gap:14px}
  }
  @media (prefers-reduced-motion: reduce){
    .btn, .card{transition:none}
  }