:root {
  color-scheme: light dark;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #20212b;
  --muted: #666b7a;
  --border: #dde1ee;
  --accent: #5b5bd6;
  --accent-strong: #4747bd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171820;
    --card: #22232d;
    --text: #f1f2f7;
    --muted: #b4b7c7;
    --border: #383a48;
    --accent: #9292ff;
    --accent-strong: #b3b3ff;
  }
}

* { box-sizing: border-box; }

body {
  background:
    radial-gradient(circle at top left, rgba(91, 91, 214, .18), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
}

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

.site-header, .site-footer {
  margin: 0 auto;
  max-width: 960px;
  padding: 24px;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

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

.brand img {
  border-radius: 12px;
  height: 42px;
  image-rendering: pixelated;
  width: 42px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

main {
  margin: 0 auto;
  max-width: 960px;
  padding: 24px;
}

.hero, .content {
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(16, 24, 40, .08);
  padding: clamp(24px, 5vw, 56px);
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(34px, 7vw, 64px);
  letter-spacing: -.05em;
  line-height: 1;
  margin: 10px 0 18px;
}

.content h1 {
  font-size: clamp(30px, 5vw, 48px);
}

h2 {
  font-size: 22px;
  line-height: 1.2;
  margin-top: 34px;
}

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

.lead {
  font-size: 19px;
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  background: var(--accent);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 800;
  padding: 11px 18px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

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

.card h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.site-footer {
  color: var(--muted);
  font-size: 13px;
}

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

  nav { justify-content: flex-start; }
  .grid { grid-template-columns: 1fr; }
}
