:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --text: #1a1d23;
  --muted: #5b6270;
  --accent: #3b5bdb;
  --accent-text: #ffffff;
  --border: #e3e6eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --surface: #1b1e25;
    --text: #eef0f3;
    --muted: #a3a9b5;
    --accent: #748ffc;
    --accent-text: #111318;
    --border: #2a2e37;
  }
}

* { box-sizing: border-box; }

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

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav nav a {
  margin-left: 20px;
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--accent);
}

.button:hover { opacity: 0.9; }

.button-outline {
  background: transparent;
  color: var(--accent);
}

.features {
  padding: 48px 0;
  background: var(--surface);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

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

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

.card p {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding: 72px 0;
  text-align: center;
}

.contact p { color: var(--muted); }

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