:root {
  --bg: #070b14;
  --surface: #0f1626;
  --surface-2: #162035;
  --border: #24324d;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --accent: #38bdf8;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  background: radial-gradient(circle at 20% 0%, #0d211d 0%, var(--bg) 52%);
  color: var(--text);
  line-height: 1.55;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 40;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(16, 185, 129, 0.16); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.4);
}
nav.nav-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 0.92rem; }
nav.nav-links a { color: var(--muted); font-weight: 500; }
nav.nav-links a.active, nav.nav-links a:hover { color: #fff; text-decoration: none; }

.hero { padding: 40px 0 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(16, 185, 129, 0.14); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15; margin: 14px 0 12px; color: #fff; letter-spacing: -0.02em; }
.hero p.lead { color: var(--muted); font-size: 1.05rem; max-width: 780px; margin: 0 0 18px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

label.field-label { display: block; font-size: 0.82rem; font-weight: 600; color: #cbd5e1; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; background: #070d1a; color: #f8fafc;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; font-size: 0.94rem; font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(16, 185, 129, 0.45); border-color: var(--green); }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 0.92rem; padding: 11px 18px;
}
.btn-primary { background: linear-gradient(135deg, #10b981, #059669); color: #02140d; }
.btn-secondary { background: var(--surface-2); color: #e2e8f0; border: 1px solid var(--border); }
.btn-sm { padding: 7px 12px; font-size: 0.82rem; border-radius: 8px; }

.verdict-box {
  border-radius: 14px; padding: 20px; border: 1.5px solid var(--border); margin-bottom: 18px;
}
.v-green { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.6); }
.v-amber { background: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.6); }
.v-red   { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.65); }

.kpi { background: #09101f; border: 1px solid var(--border); border-radius: 11px; padding: 14px; }
.kpi-lbl { font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.kpi-val { font-size: 1.48rem; font-weight: 800; color: #fff; margin-top: 4px; }

.meter-bar { width: 100%; height: 12px; background: #131f33; border-radius: 999px; overflow: hidden; margin-top: 8px; }
.meter-fill { height: 100%; transition: width 0.25s; }

.pro-box {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.13), rgba(56, 189, 248, 0.08));
  border: 1.5px solid rgba(16, 185, 129, 0.48);
  border-radius: 16px; padding: 26px; margin: 26px 0;
}
.badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.b-green { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.45); }
.b-amber { background: rgba(245, 158, 11, 0.2); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.45); }
.b-red   { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.45); }

footer.site-footer { border-top: 1px solid var(--border); margin-top: 48px; padding: 26px 0 40px; color: var(--muted); font-size: 0.84rem; }
.footer-flex { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
