:root {
  --brand: #5a4fcf;
  --brand-dark: #3d33a8;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --bg: #fafafa;
  --card: #ffffff;
  --border: #e5e5e5;
  --radius: 16px;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 96px;
}

header.site {
  padding: 32px 24px 0;
  text-align: center;
}

header.site .brand {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

header.site .tagline {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 15px;
}

nav.top {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

nav.top a {
  color: var(--brand);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.15s;
}

nav.top a:hover {
  background: rgba(90, 79, 207, 0.08);
}

h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

p {
  margin-bottom: 16px;
  color: var(--text);
}

ul,
ol {
  margin: 0 0 16px 24px;
  color: var(--text);
}

li {
  margin-bottom: 6px;
}

strong {
  font-weight: 600;
}

a {
  color: var(--brand);
}

code {
  background: rgba(90, 79, 207, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

.hero {
  text-align: center;
  padding: 24px 0 32px;
}

.hero p.lead {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 32px;
}

.cta {
  display: inline-block;
  background: var(--brand);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.15s;
}

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

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

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

.feature h3 {
  margin-top: 0;
  font-size: 17px;
  color: var(--brand);
}

.feature p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
}

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

footer.site a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 8px;
}

footer.site a:hover {
  color: var(--brand);
}
