:root{
  --bg:#0f0f14;
  --card:#171724;
  --text:#f4f4f7;
  --muted:#b9bac6;
  --accent:#5a2d82; /* purple */
  --accent2:#7b44b1;
  --border:rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius:18px;
  --max:1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(1200px 800px at 20% -10%, rgba(90,45,130,.35), transparent 60%),
              radial-gradient(1000px 700px at 100% 0%, rgba(123,68,177,.25), transparent 55%),
              #0c0c11;
  color:var(--text);
  line-height:1.6;
}
a{color:#e9dcff;text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
header{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(12,12,17,.72);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:14px;
}
.brand{display:flex; align-items:center; gap:10px; min-width:220px}
.brand img{width:34px; height:34px; border-radius:10px; background:#fff}
.brand span{font-weight:750; letter-spacing:.2px}
.navlinks{display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:flex-end}
.navlinks a{color:var(--text); opacity:.9; font-weight:600; font-size:14px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px; border-radius:999px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(90,45,130,.95), rgba(90,45,130,.75));
  color:var(--text); font-weight:750;
  box-shadow: var(--shadow);
}
.btn.secondary{
  background: rgba(255,255,255,.04);
  box-shadow:none;
}
.hero{
  padding:54px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr}
  .brand{min-width:unset}
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.padded{padding:18px}
.kicker{color:var(--muted); font-weight:650; letter-spacing:.2px; font-size:14px}
h1{font-size:44px; line-height:1.12; margin:10px 0 12px}
h2{font-size:28px; margin:0 0 10px}
h3{font-size:18px; margin:0 0 8px}
p{margin:0 0 12px; color:rgba(244,244,247,.92)}
.small{font-size:13px; color:var(--muted)}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 18px}
.badge{
  display:inline-flex; align-items:center;
  padding:6px 10px; border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:rgba(244,244,247,.92); font-weight:650; font-size:13px
}
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
@media (max-width: 900px){ .grid3{grid-template-columns: 1fr}}
.icon{
  width:40px; height:40px; border-radius:14px;
  background: rgba(90,45,130,.28);
  border:1px solid rgba(123,68,177,.35);
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
}
.section{padding:22px 0}
hr.sep{border:none; border-top:1px solid var(--border); margin:18px 0}
ul{margin:0 0 12px; padding-left:18px}
li{margin:6px 0; color:rgba(244,244,247,.92)}
.callout{
  border-left:4px solid var(--accent2);
  padding:12px 14px;
  background: rgba(123,68,177,.12);
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.07);
}
footer{
  margin-top:28px;
  border-top:1px solid var(--border);
  background: rgba(12,12,17,.7);
  padding:20px 0;
}
.footer-grid{display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap:14px}
@media (max-width: 900px){ .footer-grid{grid-template-columns: 1fr}}
.footer-grid a{opacity:.9}
.notice{
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
}
.searchbox{
  display:flex; gap:10px; margin-top:10px; flex-wrap:wrap
}
.searchbox input{
  flex:1; min-width:240px;
  padding:12px 14px; border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--text);
}
.searchbox button{cursor:pointer}
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 14px;
}
.table th, .table td{
  border-bottom:1px solid var(--border);
  padding:10px 10px;
  text-align:left;
  font-size:14px;
}
.table th{color:rgba(244,244,247,.88); background: rgba(255,255,255,.03)}
.table tr:hover td{background: rgba(255,255,255,.02)}
.breadcrumb{font-size:13px; color:var(--muted); margin-bottom:10px}
.breadcrumb a{color:var(--muted)}
.faq details{
  border:1px solid var(--border);
  border-radius: 14px;
  padding:10px 12px;
  background: rgba(255,255,255,.03);
  margin:10px 0;
}
.faq summary{cursor:pointer; font-weight:750}
.code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  padding:10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  overflow:auto;
}