:root {
  --bg: #0a0a0a;
  --fg: #d4d4d4;
  --muted: #6b7280;
  --accent: #00ff88;
  --accent-dim: #00cc6a;
  --border: #1f1f1f;
  --font: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.terminal {
  width: 100%;
  max-width: 560px;
  border: 1px solid var(--border);
  padding: 28px 24px;
  background: #050505;
  box-shadow: 0 0 0 1px #000, 0 0 40px rgba(0, 255, 136, 0.04);
}

.prompt {
  font-size: 1.1rem;
  margin-bottom: 28px;
  color: var(--fg);
}

.caret {
  color: var(--accent);
  margin-right: 6px;
}

.lede p {
  margin: 0 0 6px 0;
}

.lede .muted {
  color: var(--muted);
  margin-bottom: 28px;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.tool {
  font-family: inherit;
  font-size: 0.95rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
  flex: 1 1 auto;
  text-align: center;
  min-width: 0;
  display: inline-block;
}

.tool:not([disabled]):hover {
  border-color: var(--accent);
  background: rgba(0, 255, 136, 0.06);
}

.tool[disabled] {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.status {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 28px 0;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.foot .sep {
  opacity: 0.5;
}

@media (max-width: 480px) {
  body { padding: 12px; }
  .terminal { padding: 20px 16px; }
  .prompt { font-size: 1rem; }
  .tools { gap: 8px; }
  .tool { padding: 9px 10px; font-size: 0.875rem; }
}
