:root {
  --bg: #f8fafc;
  --surface: #fff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4f0;
  --primary: #1d4ed8;
  --primary-soft: #dbeafe;
  --shadow: 0 20px 50px rgba(15, 23, 42, .1);
  --radius: 24px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 26%, #eef4ff 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(248, 250, 252, .88); border-bottom: 1px solid rgba(219, 228, 240, .85); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), #0f766e); box-shadow: 0 10px 26px rgba(29, 78, 216, .22); }
.brand-copy small { display: block; margin-bottom: 4px; color: #64748b; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.brand-copy strong { display: block; font-size: 18px; line-height: 1.25; }
.menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.menu a { padding: 10px 14px; border-radius: 999px; color: #334155; }
.menu a.active, .menu a:hover { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.hero { padding: 56px 0 28px; }
.panel { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.badge { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 18px 0 12px; font-size: clamp(38px, 6vw, 62px); line-height: 1.02; letter-spacing: -.03em; }
.lead { max-width: 70ch; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.85; }
.note { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: #eef2ff; color: #1e3a8a; line-height: 1.7; }
.table-panel { margin-bottom: 28px; padding: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--bg); color: #64748b; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
tbody tr:hover { background: #f8fbff; }
.status { display: inline-flex; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.status.active { background: #dcfce7; color: #166534; }
.status.pending { background: #fef3c7; color: #92400e; }
.action { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border-radius: 999px; background: #eff6ff; color: var(--primary); font-weight: 700; white-space: nowrap; }
a.action:hover { background: var(--primary-soft); }
.footer { padding: 0 0 44px; color: #64748b; font-size: 14px; }

@media (max-width: 760px) {
  .topbar-inner { align-items: flex-start; flex-direction: column; }
  .panel { padding: 24px; }
  .table-panel { padding: 0; }
  th, td { padding: 14px 16px; }
}
