:root {
  color-scheme: light dark;
  --fg: #18181b;
  --muted: #71717a;
  --line: #e4e4e7;
  --tag: #f4f4f5;
  --accent: #2563eb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e4e4e7;
    --muted: #a1a1aa;
    --line: #27272a;
    --tag: #27272a;
    --accent: #60a5fa;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: Canvas;
}
main { max-width: 600px; margin: 0 auto; padding: 4rem 1rem 6rem; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.hero { text-align: center; margin-bottom: 3.5rem; }
.hero h1 { font-size: 2.25rem; letter-spacing: -0.03em; margin: 0 0 0.25rem; }
.hero p { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.25rem; }
.hero-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.95rem; }
.hero-links a, .back { color: var(--muted); text-decoration: none; }
.hero-links a:hover, .back:hover { color: var(--accent); }
.hero-links span { opacity: 0.3; }

.section-stack { display: flex; flex-direction: column; gap: 2rem; }
.section-title {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1rem;
}

.social-links { display: flex; justify-content: center; gap: 1.5rem; }
.social-links a { color: var(--muted); }
.social-links a:hover { color: var(--accent); }

.project { display: flex; flex-direction: column; gap: 0.5rem; }
.project + .project { border-top: 1px solid var(--line); padding-top: 2rem; }
.project h3 { font-size: 1.15rem; margin: 0; }
.project h3 a { color: inherit; }
.project p, .project ul { color: var(--muted); margin: 0; }
.project ul { padding-left: 1.2em; }
.project .meta { font-size: 0.9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags span { font-size: 0.75rem; background: var(--tag); border-radius: 999px; padding: 2px 0.6rem; }
.tags span.ai { background: transparent; border: 1px dashed currentColor; opacity: 0.75; }
.ai-inline { font-size: 0.75rem; border: 1px dashed currentColor; border-radius: 999px; padding: 0 0.5rem; opacity: 0.75; white-space: nowrap; }

@media (max-width: 480px) {
  .hero-links { flex-direction: column; align-items: center; gap: 0.4rem; }
  .hero-links span { display: none; }
}
