:root {
  --bg: #0d1117;
  --surface: #161b22;
  --text: #e6edf3;
  --muted: #8b949e;
  --line: #21262d;
  --accent: #4fb89e;
  --accent-ink: #0d1117;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfcfc;
    --surface: #ffffff;
    --text: #16232b;
    --muted: #57696f;
    --line: #e2e8e8;
    --accent: #1f8f76;
  }
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.wrap {
  width: 100%;
  max-width: 600px;
}

/* Hero */
.hero { text-align: center; margin-bottom: 2.25rem; }

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  margin-bottom: 1.1rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 0.92rem;
  color: var(--muted);
}

/* About */
.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
  margin-bottom: 1.75rem;
}

.about p { color: var(--text); }
.about p + p { margin-top: 1rem; }

/* Links */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Footer */
.foot {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

@media (max-width: 420px) {
  h1 { font-size: 1.65rem; }
  .tagline { font-size: 1.05rem; }
  body { padding: 1.5rem 1rem; }
}
