:root{
  --bg:#0b0d12;
  --panel:#121726;
  --panel2:#0f1422;
  --text:#e9eefc;
  --muted:#b6c0e0;
  --line:#24304f;
  --accent:#8bf0c8;
  --accent2:#6aa6ff;
  --btn:#1a2440;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% 0%, rgba(106,166,255,.25), transparent 60%),
              radial-gradient(900px 500px at 80% 0%, rgba(139,240,200,.20), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 18px}

.topbar{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,13,18,.65);
  border-bottom:1px solid rgba(36,48,79,.55);
}
.topbar .container{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 18px;
}
.brand{font-weight:800;letter-spacing:.5px}
.nav{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.nav a{
  color:var(--muted);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid transparent;
}
.nav a:hover{color:var(--text);border-color:rgba(36,48,79,.65);background:rgba(18,23,38,.55)}

.hero{padding:56px 0 26px}
.hero-grid{display:grid;grid-template-columns: 1.3fr .7fr; gap:20px; align-items:stretch}
.hero h1{font-size:44px;line-height:1.1;margin:0 0 10px}
.lede{color:var(--muted);font-size:18px;max-width:52ch}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 8px}
.btn{
  background: linear-gradient(180deg, rgba(26,36,64,.95), rgba(18,23,38,.95));
  border:1px solid rgba(36,48,79,.85);
  padding:10px 14px;border-radius:999px;
  box-shadow: var(--shadow);
  color:var(--text);
  font-weight:650;
}
.btn:hover{border-color:rgba(139,240,200,.65)}
.btn.secondary:hover{border-color:rgba(106,166,255,.65)}
.note{color:var(--muted);margin:10px 0 0}

.hero-card{
  background:linear-gradient(180deg, rgba(18,23,38,.95), rgba(15,20,34,.95));
  border:1px solid rgba(36,48,79,.85);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.card-title{font-weight:800;margin-bottom:8px}
.card-list{margin:0;padding-left:18px;color:var(--muted)}
.card-list li{margin:6px 0}

.section{padding:34px 0}
.section.alt{background: linear-gradient(180deg, rgba(18,23,38,.55), rgba(11,13,18,0)) }
h2{font-size:26px;margin:0 0 10px}
p{margin:10px 0;color:var(--muted);max-width:85ch}
.callout{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px dashed rgba(139,240,200,.45);
  background:rgba(18,23,38,.45);
  color:var(--muted);
}

.grid-2{display:grid;grid-template-columns:1fr 1fr; gap:16px; margin-top:16px}
.figure{
  margin:0;
  background:rgba(18,23,38,.65);
  border:1px solid rgba(36,48,79,.85);
  border-radius:var(--radius);
  padding:12px;
  box-shadow: var(--shadow);
}
.figure img{
  width:100%;
  height:auto;
  border-radius:14px;
  border:1px solid rgba(36,48,79,.6);
}
figcaption{color:var(--muted);font-size:13px;margin-top:8px}

.codewrap{
  margin-top:14px;
  background:rgba(18,23,38,.75);
  border:1px solid rgba(36,48,79,.9);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.codehead{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 12px;
  border-bottom:1px solid rgba(36,48,79,.75);
  color:var(--muted);
  font-size:13px;
}
.copy{
  background:rgba(11,13,18,.55);
  border:1px solid rgba(36,48,79,.85);
  color:var(--text);
  padding:6px 10px;
  border-radius:999px;
  cursor:pointer;
}
.copy:hover{border-color:rgba(139,240,200,.65)}
.code{margin:0;padding:14px;overflow:auto;color:var(--text)}
.code code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace; font-size:13px; white-space:pre}

.steps{color:var(--muted);max-width:85ch}
.steps li{margin:8px 0}

.footer{
  border-top:1px solid rgba(36,48,79,.55);
  padding:18px 0 26px;
  margin-top:12px;
}
.footer-grid{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:flex-start}
.brand.small{font-size:14px}
.muted{color:var(--muted)}
.right{text-align:right}

@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .hero h1{font-size:36px}
  .grid-2{grid-template-columns:1fr}
  .right{text-align:left}
}
