:root {
  --brand: #2563eb;
  --brand-dark: #1e40af;
  --accent: #f59e0b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --ok: #16a34a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-weight: 800; font-size: 1.15rem; color: var(--text); }
.brand span { color: var(--brand); }
.nav a.cta {
  background: var(--brand); color: #fff; padding: 9px 18px;
  border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.nav a.cta:hover { background: var(--brand-dark); text-decoration: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  color: #fff; text-align: center; padding: 72px 24px;
}
.hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 14px; }
.hero p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 28px; color: #dbeafe; }
.hero .btn {
  display: inline-block; background: var(--accent); color: #1f2937;
  font-weight: 700; padding: 14px 30px; border-radius: 999px; font-size: 1.05rem;
}
.hero .btn:hover { background: #fbbf24; text-decoration: none; }
.hero .hint { margin-top: 14px; color: #bfdbfe; font-size: .9rem; }

/* ===== SECTIONS ===== */
.section { padding: 56px 0; }
.section h2 { text-align: center; font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.section .lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card .tag {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; color: var(--brand); background: #dbeafe;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}
.card ul { list-style: none; margin-top: 10px; }
.card ul li { padding: 5px 0; color: var(--muted); }
.card ul li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--brand); color: #fff; text-align: center; padding: 56px 24px;
}
.cta-band h2 { font-size: 1.8rem; margin-bottom: 10px; }
.cta-band p { color: #dbeafe; margin-bottom: 24px; }
.cta-band .btn {
  background: #fff; color: var(--brand); font-weight: 700;
  padding: 14px 32px; border-radius: 999px; display: inline-block;
}
.cta-band .btn:hover { background: #eff6ff; text-decoration: none; }

.footer {
  background: #0f172a; color: #94a3b8; text-align: center; padding: 28px 24px; font-size: .9rem;
}

/* ===== DASHBOARD ===== */
.dash-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.dash-head-inner {
  max-width: 1080px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.dash-head h1 { font-size: 1.3rem; }
.dash-head .actions { display: flex; gap: 10px; }
.btn-outline {
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: 8px 16px; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: .9rem;
}
.btn-outline:hover { background: var(--bg); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 24px 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.stat .num { font-size: 2rem; font-weight: 800; color: var(--brand); }
.stat .lbl { color: var(--muted); font-size: .85rem; }

.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); }
th { background: #f1f5f9; font-weight: 700; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f8fafc; }
.empty { padding: 48px; text-align: center; color: var(--muted); }

.pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 700;
}
.pill.itb { background: #dbeafe; color: var(--brand); }
.pill.lkp { background: #fef3c7; color: #b45309; }
