:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.09);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #ffffff;
  --accent-fg: #0b0c0e;
  --pill-bg: rgba(28, 28, 30, 0.88);
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
}

.hero {
  text-align: center;
  margin-bottom: 64px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 20px;
}

.subtitle {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--muted);
}

.hud-preview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  margin-bottom: 36px;
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.wave span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #ffffff;
  animation: pulse 1.2s ease-in-out infinite;
}

.wave span:nth-child(1) { height: 6px; animation-delay: 0s; }
.wave span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.wave span:nth-child(3) { height: 20px; animation-delay: 0.2s; }
.wave span:nth-child(4) { height: 11px; animation-delay: 0.3s; }
.wave span:nth-child(5) { height: 17px; animation-delay: 0.4s; }
.wave span:nth-child(6) { height: 8px; animation-delay: 0.5s; }
.wave span:nth-child(7) { height: 15px; animation-delay: 0.6s; }
.wave span:nth-child(8) { height: 6px; animation-delay: 0.7s; }

@keyframes pulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.hud-caption {
  font-size: 13px;
  color: #e5e7eb;
  font-weight: 500;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.download-btn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.download-meta {
  font-size: 13px;
  color: var(--muted);
}

.download-meta a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.card {
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
}

.card h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
}

.steps {
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  margin-bottom: 48px;
}

.steps h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.steps ol {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  display: grid;
  gap: 8px;
}

.steps kbd,
.card kbd {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.footer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--surface-border);
  padding-top: 28px;
}

.footer a {
  color: var(--text);
  text-decoration: none;
}
