/* GitHub Dark-ish palette, slightly lighter background */
:root {
  --bg: #161b22;
  --bg-secondary: #21262d;
  --text: #c9d1d9;
  --text-muted: #8b949e;
  --accent: #58a6ff;
  --border: #30363d;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, Menlo, monospace;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 1.5rem 2rem;
}

.container {
  width: 100%;
  max-width: 640px;
}

/* Intro */
.intro {
  margin-bottom: 3rem;
}

.intro h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.prompt {
  color: var(--text-muted);
  margin-right: 0.35rem;
}

.role {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
}

.cursor {
  color: var(--accent);
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Sections */
.section {
  margin-bottom: 2.5rem;
}

.section-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.section-text {
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 400;
}

/* Stack */
.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.stack-list li {
  color: var(--text);
  font-size: 1rem;
}

.stack-list li:not(:last-child)::after {
  content: "·";
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* Links */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s ease;
}

.links a::before {
  content: ">";
  color: var(--text-muted);
  margin-right: 0.35rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.links a:hover {
  color: var(--text);
}

.links a:hover::before {
  opacity: 1;
}

/* Footer */
.footer {
  margin-top: auto;
  padding-top: 4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-text {
  color: var(--text);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  body {
    padding-top: 4rem;
  }

  .intro h1 {
    font-size: 1.6rem;
  }

  .section-text {
    font-size: 1rem;
  }

  .links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .stack-list {
    gap: 0.35rem;
  }
}
