:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --border: #2a2a2e;
  --text: #e4e4e7;
  --text-muted: #8b8b94;
  --accent: #f97316;
  --accent-dim: #c2410c;
  --code-bg: #1a1a1e;
  --terminal-bg: #0d0d0f;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

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


/* Layout */
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 1.5rem 0;
}

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--code-bg);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

/* Hero */
.hero {
  padding: 4rem 0 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.accent { color: var(--accent); }

.project-label {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: lowercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cta a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.cta a:hover { color: var(--text); }

.cta .btn-github {
  color: var(--text);
  font-weight: 600;
}

/* Terminal */
.terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.terminal-body {
  padding: 1rem 1.25rem;
  overflow-x: auto;
}

.terminal-body pre {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.terminal-body .prompt { color: var(--accent); font-weight: 500; }
.terminal-body .output { color: var(--text); }
.terminal-body .tool { color: var(--accent); }
.terminal-body .dim { color: var(--text-muted); }

/* How it works */
section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
}

/* Prompts */
.prompts p {
  color: var(--text);
  font-style: italic;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  max-width: none;
}

.prompts p:last-child {
  border-bottom: none;
}

/* Tools */
.tools-list {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 2;
  max-width: none;
}

.tools-compat {
  margin-top: 1rem;
  font-size: 0.85rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-links a:hover { color: var(--text); }

@media (max-width: 600px) {
  main { padding: 0 1rem; }
  .hero h1 { font-size: 1.8rem; }
  .footer-inner { flex-direction: column; gap: 0.75rem; }
}
