:root {
  --color-bg: #0d1117;
  --color-text: #e2e8f0;
  --color-heading: #ffffff;
  --color-text-muted: #cbd5e1;
  --color-text-subtle: #64748b;
  --color-accent: #818cf8;
  --color-accent-light: #a5b4fc;
  --color-surface: #1e293b;
  --color-surface-hover: #1e1b4b;
  --color-border: #334155;
  --color-border-accent: #4f46e5;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* Header */
header {
  margin-bottom: 64px;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-heading);
  margin-bottom: 10px;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 32px;
}

.bio {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 640px;
}

/* Sections */
section {
  margin-bottom: 56px;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 24px;
}

/* Contact items */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
  text-decoration: none;
}

a.contact-item:hover {
  color: var(--color-accent);
}

a.contact-item:hover .icon-wrap {
  background-color: var(--color-surface-hover);
}

.icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.icon-wrap svg {
  width: 16px;
  height: 16px;
}

/* Link buttons */
.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  min-width: 160px;
}

.link-btn:hover {
  background-color: var(--color-surface-hover);
  border-color: var(--color-border-accent);
  color: var(--color-accent-light);
}

.link-btn svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.link-btn .ext-icon {
  width: 13px;
  height: 13px;
  color: var(--color-text-subtle);
  margin-left: auto;
  transition: color 0.15s ease;
}

.link-btn:hover .ext-icon {
  color: var(--color-accent);
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.25rem;
  }

  .links-row {
    flex-direction: column;
  }
}
