:root {
  --bg: #0b1020;
  --surface: #141b2e;
  --surface-2: #1b2440;
  --text: #e8ecf7;
  --muted: #a3aec7;
  --accent: #6ee7b7;
  --accent-2: #60a5fa;
  --border: #263150;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: radial-gradient(1200px 600px at 70% -10%, #1b2a52 0%, var(--bg) 60%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 16, 32, 0.7);
  backdrop-filter: blur(8px);
}

.site-footer {
  margin-top: auto;
  border-bottom: 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  color: var(--text);
}
.brand span {
  color: var(--accent);
  font-size: 0.7em;
  margin-left: 0.4rem;
  letter-spacing: 0.12em;
}

nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); font-size: 0.95rem; }
.site-header nav a:hover { color: var(--text); text-decoration: none; }

main { width: min(900px, 100%); margin: 0 auto; padding: 3rem 1.5rem; }

.hero { padding: 2rem 0 3rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.15; margin: 0.75rem 0 1.25rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.card h2 { margin-top: 0; font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0 0 1rem; }
.card-link { font-weight: 600; }

.prose h1 { margin-bottom: 0.5rem; }
.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.3rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.prose p { color: var(--muted); }
.updated { color: var(--muted); font-size: 0.9rem; margin-top: 0; }

@media (max-width: 600px) {
  .site-header, .site-footer { flex-direction: column; align-items: flex-start; }
}
