* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0d1117;
  color: #e6edf3;
  font-family: 'Share Tech Mono', monospace;
  min-height: 100vh;
  color-scheme: dark;
}

/* ---- hero ---- */
.hero {
  text-align: center;
  padding: 56px 20px 12px;
  background: radial-gradient(ellipse at 50% 0%, #161b2280 0%, transparent 70%);
}
.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #4a8ec8;
  text-shadow: 0 0 30px rgba(74, 142, 200, 0.25);
  margin-bottom: 12px;
}
.hero .tagline {
  font-size: 1.25rem;
  color: #8b949e;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

/* ---- badges ---- */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #30363d;
  color: #c9d1d9;
  background: #161b22;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ---- install ---- */
.install {
  max-width: 520px;
  margin: 0 auto 0;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  overflow: hidden;
}
.install-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #1c2129;
  border-bottom: 1px solid #30363d;
}
.install-bar span {
  font-size: 0.75rem;
  color: #484f58;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.install-bar button {
  background: none;
  border: 1px solid #30363d;
  border-radius: 6px;
  color: #8b949e;
  font-size: 0.75rem;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.install-bar button:hover { color: #e6edf3; border-color: #58a6ff; }
.install-bar button.copied { color: #3fb950; border-color: #3fb950; }
.install pre {
  padding: 16px 20px;
  font-family: "Cascadia Code", "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-x: auto;
  color: #e6edf3;
  text-align: left;
}
.install pre .comment { color: #484f58; }
.install pre .cmd { color: #79c0ff; }
.install pre .arg { color: #a5d6ff; }

/* ---- demo ---- */
.demo {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 8px;
}
.demo h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #8b949e;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.player-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #30363d;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.ap-wrapper { border-radius: 0 !important; }

.asciinema-player-theme-wt-dark {
  --term-color-background: #0c0c0c;
  --term-color-foreground: #cccccc;
  --term-color-0: #0c0c0c;
  --term-color-1: #c50f1f;
  --term-color-2: #13a10e;
  --term-color-3: #c19c00;
  --term-color-4: #0037da;
  --term-color-5: #881798;
  --term-color-6: #3a96dd;
  --term-color-7: #cccccc;
  --term-color-8: #767676;
  --term-color-9: #e74856;
  --term-color-10: #16c60c;
  --term-color-11: #f9f1a5;
  --term-color-12: #3b78ff;
  --term-color-13: #b4009e;
  --term-color-14: #61d6d6;
  --term-color-15: #f2f2f2;
}

/* ---- features (minimal list) ---- */
.features {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.feature {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #21262d;
}
.feature:nth-child(odd) { border-right: 1px solid #21262d; }
.feature .icon { font-size: 1.1rem; flex-shrink: 0; }
.feature h3 { font-size: 0.88rem; font-weight: 600; }
.feature p { font-size: 0.78rem; color: #8b949e; margin-top: 2px; }
@media (max-width: 500px) {
  .features { grid-template-columns: 1fr; }
  .feature:nth-child(odd) { border-right: none; }
}

/* ---- benchmarks ---- */
.comparison {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px 48px;
  text-align: center;
}
.comparison h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.comparison .sub {
  color: #8b949e;
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.bench-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.bench-card {
  padding: 20px 12px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
}
.bench-card .num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3fb950, #58a6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bench-card .label {
  font-size: 0.8rem;
  color: #8b949e;
  margin-top: 4px;
}

/* ---- cta ---- */
.cta {
  text-align: center;
  padding: 0 20px 72px;
}
.cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #238636;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.cta a:hover { background: #2ea043; }
.cta a svg { width: 20px; height: 20px; fill: currentColor; }

/* ---- footer ---- */
footer {
  text-align: center;
  padding: 24px 20px;
  border-top: 1px solid #21262d;
  color: #484f58;
  font-size: 0.8rem;
}
footer a { color: #58a6ff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---- fade-in ---- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.5s ease forwards;
}
.fade-in:nth-child(2) { animation-delay: 0.08s; }
.fade-in:nth-child(3) { animation-delay: 0.16s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
