:root {
  --bg: #0d0d0c;
  --term: #141413;
  --fg: #e8e6e1;
  --muted: #a3a19b;
  --dim: #77756f;
  --border: #3a3a37;
  --accent: #4fbf6b;       /* turtle green */
  --accent-soft: #2f7d44;
  --font: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  padding: 32px 16px;
  -webkit-font-smoothing: antialiased;
}

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

.window {
  max-width: 880px;
  margin: 0 auto;
  background: var(--term);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #1e1e1c;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.titlebar-text { flex: 1; text-align: center; color: var(--dim); font-size: 13px; margin-right: 52px; }

.terminal { padding: 24px 28px 16px; }

.accent { color: var(--accent); }
.dim { color: var(--dim); }
.muted { color: var(--muted); }
strong { font-weight: 700; color: var(--fg); }
strong.accent { color: var(--accent); }

p { margin: 0; }

.welcome {
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 12px 18px;
  display: inline-block;
  max-width: 100%;
}
.welcome p + p { margin-top: 4px; }
.welcome .dim:first-of-type { margin-top: 10px; }

.turtle {
  color: var(--accent);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.25;
  margin: 20px 0 8px;
  overflow-x: auto;
}

.tip { margin-bottom: 8px; color: var(--muted); }

.block { margin-top: 28px; }

.prompt {
  color: var(--muted);
  border-left: 2px solid var(--border);
  padding-left: 10px;
}
.caret { color: var(--accent); font-weight: 700; margin-right: 6px; }

.reply { margin-top: 12px; }
.bullet { color: var(--accent); margin-right: 8px; }
.indent { padding-left: 24px; margin-top: 6px; color: var(--muted); }

.tree, .todos { list-style: none; margin: 8px 0 0; padding: 0 0 0 24px; }
.tree li, .todos li { display: flex; gap: 10px; margin-top: 10px; }
.tree-mark { color: var(--dim); flex: none; }
.desc { display: block; color: var(--muted); }

.todos li { margin-top: 6px; color: var(--muted); }
.check { color: var(--accent); flex: none; }
.todos li:last-child .check { color: var(--dim); }

.email {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-soft);
}
.email:hover { border-bottom-style: solid; }

.input-box {
  display: flex;
  align-items: center;
  margin-top: 36px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  text-decoration: none;
  transition: border-color .15s;
}
.input-box:hover { border-color: var(--accent); }
.cursor { color: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.statusbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 4px 0;
  font-size: 12px;
  color: var(--dim);
}

@media (max-width: 600px) {
  body { padding: 0; font-size: 14px; }
  .window { border-radius: 0; border: 0; }
  .terminal { padding: 20px 16px 16px; }
  .turtle { font-size: 12px; }
  .tree, .todos { padding-left: 8px; }
  .indent { padding-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}
