:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --border: #252525;
  --border-hover: #3a3a3a;
  --text: #eaeaea;
  --text-muted: #7a7a7a;
  --accent: #7cd2ff;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Mono", "Courier New", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  padding: 0 1.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.topbar {
  margin-bottom: 4rem;
}

.handle {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.hero {
  margin-bottom: 5rem;
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tagline {
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 560px;
  line-height: 1.55;
}

.handles {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover,
a:focus-visible {
  opacity: 0.7;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.card:hover,
.card:focus-visible {
  border-color: var(--border-hover);
  background: #171717;
  opacity: 1;
  transform: translateY(-2px);
  outline: none;
}

.card h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.card p {
  color: var(--text);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.card .stack {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.work p {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

.work p:last-child {
  margin-bottom: 0;
}

footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--accent);
  opacity: 1;
}

@media (min-width: 640px) {
  main {
    padding: 4rem 0 4rem;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  h1 {
    font-size: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
  .card:hover,
  .card:focus-visible {
    transform: none;
  }
}

::selection {
  background: var(--accent);
  color: var(--bg);
}
