:root{
  --bg:#0b0f17;
  --bg2:#0f172a;
  --card:#0f1a2e;
  --text:#e5e7eb;
  --muted:#a1a1aa;
  --brand:#7c3aed;
  --brand2:#22c55e;
  --border:rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 700px at 15% 0%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(34,197,94,.12), transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(59,130,246,.10), transparent 60%),
    var(--bg);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
a:hover{opacity:.95}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.topbar{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(11,15,23,.55);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.2px;
}
.logo{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, rgba(124,58,237,1), rgba(34,197,94,1));
  box-shadow: 0 0 0 3px rgba(124,58,237,.15), 0 0 0 7px rgba(34,197,94,.08);
}
.navlinks{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.navlinks a{
  padding:8px 10px; border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
}
.navlinks a.active{
  color:var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,.03);
}
.navlinks a:hover{color:var(--text); background: rgba(255,255,255,.03)}
.cta{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  box-shadow: none;
  cursor:pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:hover{background: rgba(255,255,255,.06)}
.btn:active{transform: translateY(1px)}
.btn.primary{
  border-color: rgba(124,58,237,.55);
  background: linear-gradient(135deg, rgba(124,58,237,.9), rgba(124,58,237,.55));
}
.btn.green{
  border-color: rgba(34,197,94,.55);
  background: linear-gradient(135deg, rgba(34,197,94,.85), rgba(34,197,94,.5));
}
.hero{
  padding: 44px 0 16px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
}
@media (max-width: 880px){
  .hero-grid{grid-template-columns:1fr}
}
.h-card{
  border:1px solid var(--border);
  background: rgba(15,23,42,.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.h-card .inner{padding:22px}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  font-size: 13px;
  color: var(--muted);
  border:1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.02);
}
.dot{
  width:8px; height:8px; border-radius:999px;
  background: rgba(34,197,94,1);
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}
h1{
  margin:14px 0 10px;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height:1.05;
  letter-spacing: -0.6px;
}
.lead{margin:0; color: var(--muted); font-size: 16px; max-width: 60ch}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin:16px 0 6px}
.badge{
  font-size: 13px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--text);
}
.quick{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.qrow{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
}
.qrow strong{font-weight:700}
.qrow .muted{color:var(--muted); font-size: 13px}
.copyline{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
  margin-top: 12px;
}
.codepill{
  display:inline-flex; align-items:center; gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
}
.section{padding: 18px 0 34px}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .grid3{grid-template-columns:1fr}
}
.card{
  border: 1px solid var(--border);
  background: rgba(15,26,46,.45);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card h3{margin:0 0 8px}
.card p{margin:0; color: var(--muted)}
hr.sep{
  border:0; height:1px; background: var(--border);
  margin: 18px 0;
}
.pagehead{
  padding: 26px 0 10px;
}
.pagehead h2{
  margin:0 0 6px;
  font-size: 28px;
  letter-spacing:-.3px;
}
.pagehead p{margin:0; color: var(--muted); max-width: 75ch}
.content{
  padding: 8px 0 40px;
}
.prose{
  border:1px solid var(--border);
  background: rgba(15,23,42,.45);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.prose h3{margin:18px 0 8px}
.prose h3:first-child{margin-top:0}
.prose ul{margin:10px 0 0 18px}
.prose li{margin:6px 0; color: var(--text)}
.prose .muted{color: var(--muted)}
.notice{
  border:1px solid rgba(124,58,237,.35);
  background: rgba(124,58,237,.12);
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--text);
}
.footer{
  padding: 26px 0 34px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.12);
}
.footer .cols{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}
@media (max-width: 880px){
  .footer .cols{grid-template-columns:1fr}
}
.small{font-size: 13px}
kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  padding: 2px 6px;
  border-radius: 8px;
  color: var(--text);
}
.table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow:hidden;
  border-radius: 16px;
  border:1px solid var(--border);
}
.table th,.table td{
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align:left;
}
.table th{color: var(--muted); font-weight:600; background: rgba(255,255,255,.03)}
.table tr:last-child td{border-bottom:0}
.status{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
}
.pulse{
  width:10px; height:10px; border-radius:999px;
  background: rgba(34,197,94,1);
  box-shadow: 0 0 0 0 rgba(34,197,94,.30);
  animation: pulse 1.8s infinite;
}
@keyframes pulse{
  0%{box-shadow: 0 0 0 0 rgba(34,197,94,.25)}
  70%{box-shadow: 0 0 0 10px rgba(34,197,94,0)}
  100%{box-shadow: 0 0 0 0 rgba(34,197,94,0)}
}
