/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --fg: #09090b;
  --muted: #71717a;
  --border: #e4e4e7;
  --accent: #18181b;
  --radius: 0.5rem;
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--fg);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}

.nav a:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 6rem 0 5rem;
}

.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--border);
}

.hero-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.hero-name {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-bio {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.btn-icon:hover {
  color: var(--fg);
  background: #f4f4f5;
  border-color: #d4d4d8;
}

.coming-soon {
  font-size: 13px;
  color: var(--muted);
}

/* Section */
.section { padding: 4rem 0; }
.section-alt { background: #fafafa; }

.section-inner { display: flex; flex-direction: column; gap: 1.5rem; }

.section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Card */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg);
}

.card p { color: var(--muted); font-size: 14px; }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
}

.card-desc {
  color: var(--muted);
  font-size: 14px;
}

.card-footer { margin-top: 0.25rem; }

.badge {
  font-size: 11px;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.link {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  transition: opacity 0.15s;
}

.link:hover { opacity: 0.6; }

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  background: #f4f4f5;
  color: var(--fg);
}

/* Stack */
.stack-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stack-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .grid .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Post list */
.post-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.post-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  color: var(--fg);
}

.post-item:last-child { border-bottom: none; }
.post-item:hover { background: #fafafa; }

.post-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.post-meta {
  font-size: 12px;
  color: var(--muted);
}

.post-arrow {
  font-size: 14px;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 1rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer p {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
