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

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #1e40af;
  --accent-hover: #1e3a8a;
  --border: #e2e8f0;
  --card-bg: #f8fafc;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

header.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.01em;
}

nav.site a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
  font-size: 15px;
}

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

.hero {
  text-align: center;
  padding: 40px 0 56px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

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

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: white;
  transition: all 0.15s ease;
}

.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: white; }
.btn.big { padding: 14px 28px; font-size: 16px; }

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

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

.card h2 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; margin: 0; }

main.page section { margin-bottom: 40px; }
main.page h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
main.page h2 { font-size: 20px; font-weight: 600; margin-top: 32px; margin-bottom: 12px; }
main.page p { color: var(--text-muted); margin-bottom: 12px; }
main.page ul, main.page ol { color: var(--text-muted); margin-left: 24px; margin-bottom: 16px; }
main.page li { margin-bottom: 6px; }
main.page a { color: var(--accent); }
main.page strong { color: var(--text); font-weight: 600; }

code {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  background: var(--card-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--text);
}

.contact {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 20px 24px;
  border-radius: 8px;
  margin: 20px 0;
}

.contact p { margin-bottom: 6px; }

.download-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 8px;
  margin: 16px 0 24px;
  text-align: center;
}

.download-card .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 10px;
}

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

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

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 17px; }
  main.page h1 { font-size: 28px; }
  nav.site a { margin-left: 16px; font-size: 14px; }
}
