:root{
  --bg:#0b1220;
  --card:#111a2e;
  --text:#e8eefc;
  --muted:#a9b6d6;
  --brand:#4f8cff;
  --brand2:#20d3c2;
  --border:rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Noto Sans",Arial,"Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 10%, rgba(79,140,255,.22), transparent 60%),
              radial-gradient(900px 500px at 90% 20%, rgba(32,211,194,.18), transparent 55%),
              radial-gradient(800px 600px at 50% 90%, rgba(121,92,255,.12), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
}
a{color:inherit; text-decoration:none}
.container{width:min(1100px, 92%); margin:0 auto}
.skip{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:#000; border:1px solid var(--border); border-radius:10px; z-index:999}

header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.65);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.3px;
}
.brand .mark{
  width:36px; height:36px; border-radius:12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 20px rgba(79,140,255,.22);
}
.brand span{font-size:16px}
nav ul{list-style:none; display:flex; gap:10px; padding:0; margin:0; flex-wrap:wrap}
nav a{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
}
nav a:hover, nav a[aria-current="page"]{
  color:var(--text);
  border-color:var(--border);
  background: rgba(255,255,255,.04);
}

.hero{padding:54px 0 26px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:22px;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
}
.card{
  background: rgba(17,26,46,.75);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{padding:22px}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius: 999px;
  color:var(--muted);
  font-size:13px;
  background: rgba(255,255,255,.03);
}
h1{margin:12px 0 10px; font-size:42px; line-height:1.1}
@media (max-width: 520px){h1{font-size:34px}}
.lead{color:var(--muted); font-size:16px; margin:0 0 18px}
.btns{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-weight:650;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.08)}
.btn.primary{
  border-color: rgba(79,140,255,.55);
  background: linear-gradient(135deg, rgba(79,140,255,.25), rgba(32,211,194,.20));
}
.btn.primary:hover{border-color: rgba(79,140,255,.85)}
.btn.small{padding:10px 12px; border-radius:12px; font-size:14px}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 900px){.grid3{grid-template-columns:1fr}}
h2{font-size:26px; margin:0 0 10px}
h3{margin:0 0 6px}
.muted{color:var(--muted)}
.section{padding:18px 0 34px}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.badge{
  font-size:13px; color:var(--muted);
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  padding:6px 10px; border-radius:999px;
}

.codebox{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
  margin-top:10px;
}
.code{
  font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  letter-spacing:.5px;
}
.toast{
  position:fixed; right:16px; bottom:16px;
  background: rgba(17,26,46,.92);
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px 12px;
  box-shadow: var(--shadow);
  color:var(--text);
  opacity:0; transform: translateY(6px);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show{opacity:1; transform: translateY(0)}

.page-title{padding:28px 0 8px}
.content p, .content li{color:var(--muted)}
.content ul{padding-left:20px}
hr.sep{border:none; border-top:1px solid var(--border); margin:18px 0}

.form{
  display:grid;
  gap:12px;
}
.input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
textarea{min-height:120px; resize:vertical}
label{font-size:14px; color:var(--muted)}
.field{display:grid; gap:6px}
.form-note{font-size:13px; color:var(--muted)}
footer{
  border-top:1px solid var(--border);
  padding:18px 0 26px;
  color:var(--muted);
}
.footer-grid{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}
.smallprint{font-size:13px}
