:root {
  --bg: #0b0f14;
  --bg-alt: #10161d;
  --text: #e8edf2;
  --text-muted: #9aa7b4;
  --accent: #4fc3f7;
  --accent-alt: #7ee787;
  --border: #223040;
  --radius: 14px;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    Roboto,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.site-header nav a:hover {
  color: var(--text);
}

.section {
  padding: 72px 0;
}

.section:nth-of-type(even) {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 32px;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.avatar {
  border-radius: 50%;
  border: 3px solid var(--border);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 2.4rem;
}

.tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 0 0 24px;
}

.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #06202b;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

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

.section:nth-of-type(even) .card {
  background: var(--bg-alt);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-emoji {
  font-size: 1.8rem;
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 1.15rem;
}

.card p {
  color: var(--text-muted);
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.card-link {
  color: var(--accent-alt);
  font-weight: 600;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .hero-grid {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .links {
    justify-content: center;
  }
}
