:root {
  --bg: #0b0d10;
  --bg-alt: #0f1216;
  --panel: #14171c;
  --border: #23272e;
  --text: #e6e8eb;
  --text-dim: #9aa1ab;
  --accent: #4fd97f;
  --accent-dim: #2f8f56;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 13, 16, 0.9);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.brand-glyph {
  font-family: var(--mono);
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
}

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

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

.nav-github {
  color: var(--text) !important;
}

/* Hero */

.hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.lede {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background: var(--accent);
  color: #06210f;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.hero-note {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin: 0;
}

/* Terminal mockup */

.terminal-window {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

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

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

.terminal-tabs {
  display: flex;
  gap: 6px;
  margin-left: 16px;
}

.tab {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 3px 8px;
  border-radius: 4px;
}

.tab-active {
  background: var(--border);
  color: var(--text);
}

.terminal-body {
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 18px 16px;
  min-height: 160px;
}

.terminal-body p {
  margin: 0 0 8px;
  white-space: pre-wrap;
}

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

.path {
  color: #6fb2ff;
}

.dim {
  color: var(--text-dim);
}

.cursor {
  background: var(--text);
  display: inline-block;
  width: 7px;
}

/* Sections */

.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 1.5rem;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 70ch;
}

.plain-list li {
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}

.plain-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.disclaimer {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-left: 2px solid var(--accent-dim);
  padding-left: 12px;
}

.not-included .lede {
  max-width: 70ch;
}

/* Footer */

.site-footer {
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

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

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

/* Responsive */

@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 14px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
