:root {
  --purple: #4f46e5;
  --purple-dark: #4338ca;
  --bg: #f9fafb;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b141a;
    --surface: #1f2c34;
    --border: #2a3942;
    --text: #e9edef;
    --text-secondary: #8696a0;
    --text-muted: #667781;
  }
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover { color: var(--purple); }

main { padding: 48px 0 64px; }

h1 { font-size: 30px; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 36px 0 12px; }
h3 { font-size: 16px; margin: 22px 0 8px; }
p { color: var(--text-secondary); margin: 0 0 14px; }
p.lead { color: var(--text); font-size: 17px; margin-bottom: 28px; }
ul { color: var(--text-secondary); padding-left: 20px; }
li { margin-bottom: 6px; }
strong { color: var(--text); }
a { color: var(--purple); }

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

.badge {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.updated {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.cta {
  display: inline-block;
  background: var(--purple);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  margin-top: 8px;
}

.cta:hover { background: var(--purple-dark); }

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}
