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

:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --muted: #888;
  --accent: #7c9ef5;
  --font: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

nav .logo {
  font-weight: 600;
  color: var(--text);
  font-size: 1.1rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.15s;
}

nav ul a:hover,
nav ul a.active {
  color: var(--text);
  text-decoration: none;
}

/* Main content */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
}

/* Section */
section {
  margin-top: 5rem;
}

section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.card .meta {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 0.75rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 6rem;
}