:root{
  --bg:#0b1020;
  --bg2:#0f1733;
  --text:#eaf0ff;
  --muted:#b8c2e6;
  --card:#141c3d;
  --line:rgba(255,255,255,.08);
  --accent:#6aa5ff;
  --accent2:#9a7bff;
  --white:#ffffff;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 500px at 20% 0%, rgba(106,165,255,.18), transparent 60%),
              radial-gradient(900px 450px at 90% 10%, rgba(154,123,255,.16), transparent 55%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
.container{max-width:1120px; margin:0 auto; padding:0 18px}
.header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,16,32,.68);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0}
.brand{display:flex; align-items:center; gap:10px}
.brand__logo{width:36px; height:36px; object-fit:contain}
.brand__name{font-weight:800; letter-spacing:.2px}
.nav{display:flex; gap:14px; flex-wrap:wrap; justify-content:center}
.nav a{padding:8px 10px; border-radius:10px; color:var(--muted)}
.nav a.is-active, .nav a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 16px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color:#0b1020;
  border:none; border-radius:14px;
  font-weight:800;
  cursor:pointer;
  box-shadow: var(--shadow);
}
.btn--ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow:none;
}
.btn--small{padding:10px 12px; border-radius:12px}
.btn--wide{width:100%}

.hero{padding:56px 0 22px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
}
.badge{
  display:inline-block;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  background: rgba(255,255,255,.04);
  margin-bottom:14px;
}
h1{font-size:46px; line-height:1.05; margin:0 0 12px}
.lead{font-size:18px; line-height:1.55; color:var(--muted); margin:0 0 18px}
.lead2{font-size:16px; line-height:1.6; color:var(--muted)}
.note{margin-top:12px; color:var(--muted)}
.hero-card{
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
}
.hero-card h3{margin:0 0 10px}
.section{padding:42px 0}
.section--muted{
  background: rgba(255,255,255,.03);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section--cta{
  background: radial-gradient(900px 400px at 10% 10%, rgba(106,165,255,.18), transparent 55%),
              radial-gradient(900px 400px at 90% 20%, rgba(154,123,255,.16), transparent 55%),
              rgba(255,255,255,.02);
  border-top:1px solid var(--line);
}
h2{font-size:30px; margin:0 0 14px}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:12px}
.link{color:var(--accent); font-weight:800}

.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:14px;
}
.card{
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
}
.card--white{
  background: rgba(255,255,255,.92);
  color:#0b1020;
  border:none;
}
.card h3{margin:0 0 8px}
.card p{margin:0 0 8px; color:var(--muted)}
.card--white p{color:#1b2350}

.bullets{margin:0; padding-left:18px; color:var(--muted)}
.bullets li{margin:6px 0}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  margin-top:14px;
}
.cta{display:grid; grid-template-columns: 1.2fr .8fr; gap:16px; align-items:start}
.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin:14px 0}

.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background: rgba(0,0,0,.15);
}
.footer__grid{display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap}
.footer__title{font-weight:900; margin-bottom:6px}
.footer__links{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.footer__bottom{padding-top:10px; opacity:.9}

.small{font-size:13px; color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

.doc{max-width:980px}
.doc h1{font-size:36px}
.doc h2{font-size:22px; margin-top:22px}
.doc p, .doc li{color:var(--muted); line-height:1.65}
.callout{
  margin-top:16px;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
}
hr.sep{
  border:none; border-top:1px solid var(--line);
  margin:18px 0;
}
img.resp{max-width:100%; height:auto; border-radius:18px; border:1px solid var(--line); background: rgba(255,255,255,.04)}
/* Modal */
.modal{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  background: rgba(0,0,0,.55);
  padding:16px;
  z-index:999;
}
.modal.is-open{display:flex}
.modal__card{
  width:min(560px, 100%);
  background: rgba(20,28,61,.98);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  box-shadow: var(--shadow);
}
.modal__head{display:flex; align-items:center; justify-content:space-between; gap:10px}
.modal__title{font-weight:900; font-size:18px}
.iconbtn{
  background: transparent;
  border:1px solid var(--line);
  color: var(--text);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding:10px 12px;
  border-radius:14px;
  color: var(--muted);
  margin-top:10px;
}
@media (max-width: 980px){
  .hero__grid, .cta{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
  h1{font-size:38px}
}
@media (max-width: 560px){
  .cards{grid-template-columns:1fr}
  h1{font-size:34px}
}
