:root{
  --bg:#0b1020;
  --panel:#0f1833;
  --panel2:#0c142b;
  --text:#eaf0ff;
  --muted:#a7b4d6;
  --line:rgba(255,255,255,.10);
  --accent:#7dd3fc;      /* sky */
  --accent2:#a7f3d0;     /* mint */
  --warn:#fca5a5;
  --shadow: 0 18px 60px rgba(0,0,0,.38);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(125,211,252,.11), transparent 55%),
    radial-gradient(900px 520px at 85% 20%, rgba(167,243,208,.10), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(255,255,255,.06), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:26px 18px 70px}
.small{font-size:13px;color:var(--muted)}
.muted{color:var(--muted)}
hr{border:0;height:1px;background:var(--line);margin:18px 0}

header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(11,16,32,.92), rgba(11,16,32,.66));
  border-bottom:1px solid var(--line);
}

.nav{
  max-width:1100px;margin:0 auto;
  padding:14px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.2px;
  text-decoration:none;
}
.brand-badge{
  width:10px;height:10px;border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 5px rgba(125,211,252,.12);
}

.navlinks{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.navlinks a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--muted);
  font-size:14px;
}
.navlinks a:hover{
  border-color:var(--line);
  color:var(--text);
  background: rgba(255,255,255,.03);
}
.navlinks a.active{
  border-color: rgba(125,211,252,.30);
  background: rgba(125,211,252,.10);
  color: var(--text);
}

.hero{
  padding:34px 0 10px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
@media (max-width: 900px){ .hero-grid{grid-template-columns:1fr} }

.kicker{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(125,211,252,.22);
  background: rgba(125,211,252,.10);
  color: var(--accent);
  font-weight:700;
  font-size:13px;
}

h1{
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  margin:14px 0 10px;
  letter-spacing:-.6px;
}
h2{
  font-size: clamp(20px, 2.1vw, 30px);
  letter-spacing:-.3px;
  margin:0 0 10px;
}
h3{margin:0 0 8px;font-size:16px}

.lead{
  color:var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  margin:0 0 18px;
  max-width: 62ch;
}

.card{
  background: linear-gradient(180deg, rgba(15,24,51,.92), rgba(12,20,43,.92));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 900px){ .grid{grid-template-columns:1fr} }

.pillrow{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.pill{
  font-size:13px;
  color: var(--muted);
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.btnrow{display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 0}
.btn{
  text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  font-weight:800;
  font-size:14px;
}
.btn:hover{transform: translateY(-1px)}
.btn.primary{
  border-color: rgba(125,211,252,.28);
  background: linear-gradient(135deg, rgba(125,211,252,.18), rgba(167,243,208,.10));
}
.btn.ghost{background:transparent}

.statgrid{display:grid; grid-template-columns:1fr 1fr; gap:10px}
@media (max-width: 420px){ .statgrid{grid-template-columns:1fr} }
.stat{
  padding:14px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.stat .big{font-size:22px;font-weight:900}
.stat .label{font-size:13px;color:var(--muted);margin-top:4px}

.quote{
  margin-top:12px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(125,211,252,.25);
  background: rgba(125,211,252,.08);
}
.quote b{color: var(--accent)}
.callout-warn{
  border:1px solid rgba(252,165,165,.25);
  background: rgba(252,165,165,.08);
  border-radius: var(--radius);
  padding:14px;
}
.callout-good{
  border:1px solid rgba(167,243,208,.22);
  background: rgba(167,243,208,.07);
  border-radius: var(--radius);
  padding:14px;
}

.list{margin:8px 0 0; padding-left:18px}
.list li{margin:8px 0}

.page-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap;
  margin: 12px 0 16px;
}
.breadcrumbs{font-size:13px;color:var(--muted)}
.breadcrumbs a{text-decoration:none;color:var(--muted)}
.breadcrumbs a:hover{color:var(--text)}

.footer{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
}

kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  padding:2px 6px;
  border-radius:8px;
  color: var(--text);
}
