:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --border: #252525;
  --text: #e2e2e2;
  --muted: #666;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

main {
  max-width: 620px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

header {
  margin-bottom: 48px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 20px;
  display: block;
}

h1 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.tagline {
  color: var(--muted);
  font-size: 0.875rem;
}

section {
  margin-bottom: 48px;
}

h2 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.about {
  font-size: 0.9375rem;
  color: var(--text);
}

.about a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 0.15s;
}

.about a:hover {
  text-decoration-color: var(--muted);
}

.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.stack-category {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.stack-category:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--border);
}

.stack-category:nth-child(even) {
  padding-left: 32px;
}

.stack-category:nth-last-child(-n+2) {
  border-bottom: none;
}

.category-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
}

.category-items {
  font-size: 0.825rem;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.15s;
}

nav a:hover {
  border-color: var(--muted);
}

@media (max-width: 480px) {
  main {
    padding: 60px 20px 80px;
  }

  .stack-grid {
    grid-template-columns: 1fr;
  }

  .stack-category:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .stack-category:nth-child(even) {
    padding-left: 0;
  }

  .stack-category:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .stack-category:last-child {
    border-bottom: none;
  }
}
