:root{
  --bg:#070a12;
  --card:#0e1426;
  --card2:#0b1020;
  --text:#e9eefc;
  --muted:#a7b2d6;
  --accent:#4da3ff;
  --glow: rgba(77,163,255,.35);
  --border: rgba(255,255,255,.08);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(77,163,255,.14), transparent 60%),
    radial-gradient(900px 500px at 90% 25%, rgba(122,92,255,.12), transparent 60%),
    var(--bg);
}

.wrap{max-width:980px; margin:0 auto; padding:28px 18px}
header{padding-top:48px; padding-bottom:18px}
h1{margin:10px 0 8px; font-size:42px; letter-spacing:.2px}
.sub{max-width:720px; color:var(--muted); line-height:1.5; font-size:16px}
.accent{color:var(--accent); font-weight:700}

.badge{
  display:inline-block;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 0 0 1px rgba(77,163,255,.08), 0 12px 40px rgba(0,0,0,.35);
  color:var(--muted);
  font-weight:600;
  font-size:13px;
}

.links{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px}

.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  text-decoration:none;
  font-weight:650;
}
.btn:hover{border-color: rgba(77,163,255,.35); box-shadow: 0 0 0 3px rgba(77,163,255,.12)}
.btn.primary{
  background: linear-gradient(180deg, rgba(77,163,255,.25), rgba(77,163,255,.10));
  border-color: rgba(77,163,255,.35);
}

.card{
  margin-top:18px;
  padding:20px;
  border-radius:18px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

h2{margin:0 0 8px; font-size:22px}
h3{margin:0 0 6px; font-size:16px}
.muted{color:var(--muted)}
.small{font-size:13px; margin-top:16px}

.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
@media (max-width: 720px){
  h1{font-size:34px}
  .grid{grid-template-columns: 1fr}
}

.tile{
  padding:16px;
  border-radius:16px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(13,18,36,.85), rgba(10,14,28,.85));
  box-shadow: 0 0 0 1px rgba(77,163,255,.06);
}
.tile:hover{
  border-color: rgba(77,163,255,.30);
  box-shadow: 0 0 0 1px rgba(77,163,255,.10), 0 18px 60px rgba(0,0,0,.35);
}

.tag{
  display:inline-block;
  margin:0 0 10px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--border);
  background: rgba(77,163,255,.06);
}

.textlink{
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
}
.textlink:hover{ text-decoration: underline }

.two{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
@media (max-width: 720px){
  .two{grid-template-columns: 1fr}
}

ul{margin:10px 0 0; padding-left:18px}
li{margin:6px 0; color:var(--muted)}

.footer{padding-top:10px; padding-bottom:40px}
/* --- Video + Timeline add-ons --- */
.divider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin:18px 0;
}

.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}

.titleRow{
  display:flex;
  align-items:center;
  gap:10px;
}

.chip{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color: var(--muted);
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
}

.timeline{
  margin-top:14px;
  display:grid;
  gap:16px;
}

.step{
  padding:16px;
  border-radius:16px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(13,18,36,.85), rgba(10,14,28,.85));
}

.stepTop{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:12px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(77,163,255,.14);
  margin-top:6px;
  flex:0 0 auto;
}

.stepTitle{
  font-weight:800;
  letter-spacing:.2px;
}

.videoBox{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
}

.videoBox video{
  width:100%;
  height:auto;
  display:block;
}

.gridOne{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}

.code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
