:root{
  --bg:#0B1020;
  --text:#E5E7EB;
  --muted:rgba(229,231,235,.75);
  --card:rgba(229,231,235,.06);
  --border:rgba(229,231,235,.14);
  --accent:#60A5FA;
  --secondary:#22C55E;
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --radius:18px;
  --max:1120px;
  --pad:24px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  background:radial-gradient(1200px 700px at 20% 0%, rgba(96,165,250,.18), transparent 55%),
             radial-gradient(1000px 650px at 90% 10%, rgba(34,197,94,.12), transparent 55%),
             var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--accent)}
img{max-width:100%; height:auto; display:block}

.skip{
  position:absolute; left:-999px; top:10px;
  background:var(--accent); color:#0B1020;
  padding:10px 14px; border-radius:12px;
}
.skip:focus{left:10px; z-index:9999}

.container{max-width:var(--max); margin:0 auto; padding:0 var(--pad)}
.section{padding:72px 0}
.section.compact{padding:44px 0}

.topbar{
  position:sticky; top:0; z-index:1000;
  backdrop-filter: blur(10px);
  background:rgba(11,16,32,.72);
  border-bottom:1px solid var(--border);
}
.navrow{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:800; letter-spacing:.2px;
}
.brand-mark{
  width:40px; height:40px; border-radius:14px;
  background:linear-gradient(145deg, rgba(96,165,250,.95), rgba(34,197,94,.75));
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.brand small{display:block; font-weight:600; color:var(--muted); letter-spacing:.3px}
.brand span{display:block; font-size:1.05rem}

.nav{
  display:flex; align-items:center; gap:18px;
}
.nav a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
}
.nav a[aria-current="page"]{color:var(--text); background:rgba(229,231,235,.06)}
.nav a:hover{background:rgba(229,231,235,.06); color:var(--text)}

.burger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(229,231,235,.04);
  color:var(--text);
  align-items:center; justify-content:center;
  cursor:pointer;
}
.burger:focus{outline:2px solid rgba(96,165,250,.55); outline-offset:2px}
.burger-lines{
  width:20px; height:14px; position:relative;
}
.burger-lines i{
  position:absolute; left:0; right:0;
  height:2px; border-radius:999px;
  background:var(--text);
  transition:transform .18s ease, top .18s ease, opacity .18s ease;
}
.burger-lines i:nth-child(1){top:0}
.burger-lines i:nth-child(2){top:6px}
.burger-lines i:nth-child(3){top:12px}

.navpanel{
  display:none;
  border-top:1px solid var(--border);
  padding:14px var(--pad) 18px;
}
.navpanel a{
  display:block;
  padding:12px 12px;
  border-radius:14px;
  color:var(--muted);
}
.navpanel a:hover{background:rgba(229,231,235,.06); color:var(--text)}

.hero{
  padding:84px 0 66px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:34px;
  align-items:start;
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  border:1px solid var(--border);
  background:rgba(229,231,235,.04);
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
}
.dot{
  width:9px; height:9px; border-radius:999px;
  background:var(--secondary);
  box-shadow:0 0 0 6px rgba(34,197,94,.12);
}
h1{
  margin:16px 0 14px;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height:1.12;
  letter-spacing:-.5px;
}
.lead{
  margin:0 0 22px;
  color:var(--muted);
  font-size:1.08rem;
  max-width:62ch;
}
.hero-actions{
  display:flex; flex-wrap:wrap; gap:12px;
  margin-top:18px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(229,231,235,.04);
  color:var(--text);
  font-weight:700;
  letter-spacing:.2px;
  cursor:pointer;
}
.btn.primary{
  background:linear-gradient(135deg, rgba(96,165,250,.95), rgba(96,165,250,.55));
  border-color:rgba(96,165,250,.55);
  color:#0B1020;
}
.btn.secondary{
  background:linear-gradient(135deg, rgba(34,197,94,.9), rgba(34,197,94,.55));
  border-color:rgba(34,197,94,.55);
  color:#0B1020;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.badges{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:22px;
}
.badge{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(229,231,235,.04);
  color:var(--muted);
  font-weight:650;
  font-size:.92rem;
}

.hero-card{
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(229,231,235,.06), rgba(229,231,235,.02));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.hero-card h2{
  margin:6px 0 8px;
  font-size:1.15rem;
}
.hero-card p{margin:0 0 12px; color:var(--muted)}
.statgrid{
  display:grid; grid-template-columns:1fr 1fr; gap:10px;
  margin-top:12px;
}
.stat{
  border:1px solid var(--border);
  background:rgba(11,16,32,.3);
  border-radius:16px;
  padding:12px 12px;
}
.stat strong{display:block; font-size:1.2rem}
.stat span{display:block; color:var(--muted); font-weight:650; font-size:.92rem}

.h2{
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin:0 0 10px;
  letter-spacing:-.3px;
}
.sub{
  margin:0 0 26px;
  color:var(--muted);
  max-width:70ch;
}

.grid3{
  display:grid; grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.grid2{
  display:grid; grid-template-columns:repeat(2, 1fr);
  gap:16px;
}

.card{
  border:1px solid var(--border);
  background:rgba(229,231,235,.04);
  border-radius:var(--radius);
  padding:18px;
}
.card h3{margin:0 0 8px; font-size:1.12rem}
.card p{margin:0; color:var(--muted)}
.card .meta{margin-top:12px; color:var(--muted); font-weight:650; font-size:.92rem}
.card .linkrow{margin-top:14px; display:flex; justify-content:space-between; align-items:center; gap:10px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(11,16,32,.25);
  color:var(--muted);
  font-weight:700;
  font-size:.9rem;
}
.pill b{color:var(--text)}

.diagram{
  margin-top:14px;
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  background:rgba(11,16,32,.24);
}
.bars{
  display:grid; gap:10px;
}
.barrow{
  display:grid; grid-template-columns:140px 1fr 60px; align-items:center; gap:10px;
}
.barrow label{color:var(--muted); font-weight:700}
.bar{
  height:10px; border-radius:999px;
  background:rgba(229,231,235,.12);
  overflow:hidden;
}
.bar > span{
  display:block; height:100%;
  background:linear-gradient(90deg, rgba(96,165,250,.95), rgba(34,197,94,.75));
}
.barrow strong{justify-self:end; font-variant-numeric: tabular-nums}

.steps{
  display:grid; gap:12px;
  counter-reset: step;
}
.step{
  display:grid;
  grid-template-columns: 48px 1fr;
  gap:14px;
  padding:16px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:rgba(229,231,235,.04);
}
.step:before{
  counter-increment: step;
  content: counter(step);
  width:48px; height:48px;
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(96,165,250,.18);
  border:1px solid rgba(96,165,250,.35);
  color:var(--text);
  font-weight:900;
  font-size:1.15rem;
}
.step h3{margin:0 0 6px}
.step p{margin:0; color:var(--muted)}

.cta{
  border:1px solid rgba(96,165,250,.32);
  background:linear-gradient(180deg, rgba(96,165,250,.16), rgba(11,16,32,.15));
  border-radius:calc(var(--radius) + 8px);
  padding:26px;
  display:grid; grid-template-columns: 1.2fr .8fr; gap:18px;
  align-items:center;
  box-shadow:var(--shadow);
}
.cta h2{margin:0 0 10px}
.cta p{margin:0; color:var(--muted)}
.cta .actions{display:flex; justify-content:flex-end; gap:12px; flex-wrap:wrap}

.form{
  display:grid; gap:12px;
}
.field{
  display:grid; gap:8px;
}
.field label{font-weight:800}
.input, textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(229,231,235,.04);
  color:var(--text);
  padding:12px 12px;
  font-size:1rem;
  outline:none;
}
textarea{min-height:120px; resize:vertical}
.input:focus, textarea:focus{border-color:rgba(96,165,250,.55); box-shadow:0 0 0 4px rgba(96,165,250,.12)}

.footer{
  border-top:1px solid var(--border);
  padding:34px 0 44px;
  margin-top:30px;
}
.footergrid{
  display:grid; grid-template-columns: 1.2fr .8fr; gap:18px;
}
.footer p{margin:10px 0 0; color:var(--muted)}
.footlinks{
  display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end;
}
.footlinks a{color:var(--muted); padding:8px 10px; border-radius:12px}
.footlinks a:hover{background:rgba(229,231,235,.06); color:var(--text)}

.toast{
  position:fixed; right:18px; bottom:18px;
  max-width:420px;
  border:1px solid var(--border);
  background:rgba(11,16,32,.86);
  backdrop-filter: blur(10px);
  border-radius:18px;
  padding:14px;
  box-shadow:var(--shadow);
  display:none;
  z-index:1100;
}
.toast.show{display:block}
.toast p{margin:0 0 10px; color:var(--muted)}
.toast .row{display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap}

.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  border:1px solid var(--border);
  background:rgba(229,231,235,.04);
  padding:2px 8px;
  border-radius:10px;
  color:var(--muted);
  font-size:.9rem;
}

.pagehead{
  padding:52px 0 22px;
}
.pagehead h1{margin:10px 0 10px}
.pagehead .lead{margin-bottom:0}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(229,231,235,.03);
}
.table th, .table td{
  padding:12px 14px;
  border-bottom:1px solid var(--border);
  vertical-align:top;
}
.table th{
  text-align:left;
  color:var(--text);
  background:rgba(229,231,235,.05);
}
.table tr:last-child td{border-bottom:0}
.table td{color:var(--muted)}
.table b{color:var(--text)}

hr.sep{
  border:0;
  border-top:1px solid var(--border);
  margin:22px 0;
}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; gap:18px}
  .cta{grid-template-columns:1fr}
  .cta .actions{justify-content:flex-start}
  .footergrid{grid-template-columns:1fr}
  .footlinks{justify-content:flex-start}
  .barrow{grid-template-columns: 120px 1fr 56px}
}

@media (max-width: 760px){
  .nav{display:none}
  .burger{display:flex}
  .navpanel{display:none}
  .navpanel.open{display:block}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .section{padding:58px 0}
  .hero{padding:70px 0 56px}
}

.brand img{
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  display:block;
}
.brand img{
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  display:block;
}

.photogrid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
}

.photo{
  margin:0;
  border:1px solid var(--border);
  background:rgba(229,231,235,.04);
  border-radius:var(--radius);
  overflow:hidden;
}

.photo img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
  background:rgba(229,231,235,.06);
}

.photo figcaption{
  padding:14px 16px 16px;
}

.photo h3{
  margin:0 0 6px;
  font-size:1.08rem;
}

.photo p{
  margin:0;
  color:var(--muted);
  font-weight:650;
}

@media (max-width: 760px){
  .photogrid{grid-template-columns:1fr}
  .photo img{height:220px}
}