/* vibe-coding-auto-resume — minimal terminal-flavored site. No JS. */

:root {
  --bg: #fdfdfc;
  --fg: #1a1a1a;
  --muted: #6a6a6a;
  --accent: #b03060;
  --code-bg: #f0eee9;
  --border: #d9d6cf;
  --max-w: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1a;
    --fg: #e8e6e0;
    --muted: #9a9890;
    --accent: #ff8aa5;
    --code-bg: #262420;
    --border: #3a3833;
  }
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  margin: 0;
  padding: 0;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

header, main, footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  padding-top: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

h1 {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.15rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
}

.tagline {
  color: var(--muted);
  margin: 0.5rem 0 1.5rem;
  font-size: 0.95rem;
}

.alt {
  color: var(--muted);
  font-size: 0.85rem;
  display: block;
  margin-top: 0.25rem;
}

.langs {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}
.langs a { color: var(--muted); text-decoration: none; border-bottom: 1px dashed var(--muted); }
.langs a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.langs strong { color: var(--fg); }

nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.9rem;
}

nav a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px dashed var(--muted);
}
nav a:hover { color: var(--accent); border-bottom-style: solid; }

main p, main li { font-size: 0.95rem; }

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

code, pre {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
}

code {
  background: var(--code-bg);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

pre {
  background: var(--code-bg);
  padding: 0.9rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  overflow-x: auto;
  line-height: 1.45;
}

pre code {
  background: transparent;
  padding: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.75rem 0;
  font-size: 0.88rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

ul {
  padding-left: 1.25rem;
}

li { margin: 0.3rem 0; }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 540px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.05rem; }
  nav { gap: 0.9rem; }
  table { font-size: 0.82rem; }
  pre, code { font-size: 0.78rem; }
}
