:root {
  --bg: #0b1020;
  --panel: #121933;
  --panel-2: #182243;
  --text: #edf2ff;
  --muted: #aebad8;
  --line: #27345f;
  --accent: #6aa7ff;
  --accent-2: #82f0c8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #0a0f1d 0%, #0d1326 100%);
  color: var(--text);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 14, 28, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
}

.brand { display: flex; align-items: center; gap: 10px; }
.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08101d;
  font-weight: 800;
}
.brand-text { font-weight: 700; letter-spacing: .2px; }
.nav { display: flex; gap: 18px; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.hero-copy, .hero-card, .panel {
  background: rgba(18, 25, 51, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

h1 {
  margin: 0 0 14px;
  line-height: 1.15;
  font-size: 36px;
}

h2, h3 { margin-top: 0; }
.muted { color: var(--muted); }

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}
.btn.primary {
  background: linear-gradient(135deg, #4b83ff, #61d7d9);
  color: #08101d;
  border: none;
  font-weight: 700;
}

.hero-card {
  display: grid;
  gap: 12px;
  align-content: start;
}
.stat {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0f1630;
}
.k {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.v {
  display: block;
  font-weight: 600;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
input[type="search"] {
  width: 260px;
  max-width: 100%;
  background: #0f1630;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.files-table {
  width: 100%;
  border-collapse: collapse;
}
.files-table th,
.files-table td {
  text-align: left;
  padding: 14px 10px;
  border-top: 1px solid var(--line);
}
.files-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 30px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 840px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .panel-head { flex-direction: column; align-items: stretch; }
  .topbar { flex-direction: column; gap: 12px; }
  h1 { font-size: 28px; }
  .footer { flex-direction: column; }
}
