:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --text: #e8edf4;
  --muted: #9aa8b8;
  --accent: #4f9cf9;
  --accent-hover: #3d8ae8;
  --border: #2a3648;
  --max-width: 720px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

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

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

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}

header .wrap {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

nav a {
  font-size: 0.9rem;
  color: var(--muted);
}

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

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

main.wide {
  max-width: 960px;
}

h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

ul, ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.card h2 {
  margin-top: 0;
  font-size: 1rem;
}

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

.hero {
  text-align: center;
  padding: 1rem 0 2rem;
}

.hero .badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
}

.features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.features li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
  margin-top: 0.5rem;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text) !important;
  margin-left: 0.5rem;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

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

footer a:hover {
  color: var(--accent);
}

code {
  background: var(--surface);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.notice {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}
