:root {
  --bg: #070908;
  --surface: #112136;
  --text: #f4f7fb;
  --muted: #9aa8bc;
  --accent: #6366f1;
  --border: rgba(255, 255, 255, 0.08);
  --max: 720px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

header {
  margin-bottom: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1e3a5f, #6366f1);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}

nav {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

nav a {
  color: var(--muted);
}

nav a[aria-current='page'] {
  color: var(--text);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.card h2,
article h2 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
}

article h2:first-child {
  margin-top: 0;
}

article h3 {
  font-size: 1rem;
  margin: 24px 0 8px;
}

article p,
article li {
  color: var(--muted);
}

article ul {
  padding-left: 1.25rem;
}

article strong {
  color: var(--text);
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  gap: 16px;
}

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

footer nav {
  margin-top: 12px;
}
