:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-elev: #111;
  --bg-code: #161616;
  --border: #1f1f1f;
  --fg: #e6e6e6;
  --fg-dim: #999;
  --fg-faint: #666;
  --accent: #6ae6c9;
  --accent-warm: #f5d76e;
  --mono: ui-monospace, "Geist Mono", "Fira Mono", "JetBrains Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  line-height: 1.65;
  font-size: 15px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

header.site {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--fg-dim);
}
header.site .brand { color: var(--accent); }
header.site .links a { color: var(--fg-dim); margin-left: 1.2rem; }
header.site .links a:hover { color: var(--fg); }

.hero pre.logo {
  color: var(--accent);
  font-size: 0.75rem;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  white-space: pre;
  overflow-x: auto;
}

.hero h1 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.hero p.tagline {
  margin: 0 0 2rem;
  color: var(--fg-dim);
}

.install {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 0 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.install .prompt { color: var(--accent); user-select: none; }
.install code { color: var(--fg); background: transparent; }

section.example {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 0 0 3rem;
}
section.example pre {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  white-space: pre-wrap;
}
section.example .prompt { color: var(--accent); }
section.example .ok { color: var(--accent); }
section.example .dim { color: var(--fg-faint); }

h2.section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-faint);
  margin: 0 0 1rem;
  font-weight: 500;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0 0 3rem;
}
.feature {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  background: var(--bg-elev);
}
.feature h3 {
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
  color: var(--fg);
  font-weight: 500;
}
.feature p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--fg-dim);
  line-height: 1.55;
}

.examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0 0 3rem;
}
.example-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  background: var(--bg-elev);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.example-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  text-decoration: none;
}
.example-card h3 {
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
  color: var(--fg);
  font-weight: 500;
}
.example-card p {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--fg-dim);
  line-height: 1.55;
  flex: 1;
}
.example-card .example-link {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.01em;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-faint);
}
footer.site a { color: var(--fg-dim); }

@media (max-width: 720px) {
  .examples { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero pre.logo { font-size: 0.55rem; }
  .wrap { padding: 2.5rem 1.25rem 4rem; }
}
