:root {
  --bg: #0b0d12;
  --surface: #121620;
  --surface-2: #181e2b;
  --border: #252d3f;
  --text: #eef2f8;
  --muted: #99a5bd;
  --accent: #7c9cff;
  --accent-soft: rgba(124, 156, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

nav.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
}

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

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

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.2rem;
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 14px;
  color: #d6deec;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0 36px;
}

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

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text);
}

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

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #d6deec;
}

li {
  margin-bottom: 8px;
}

code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.88em;
  color: var(--text);
}

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

footer.site-footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

footer .links {
  display: flex;
  gap: 16px;
}
