:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #5b6574;
  --accent: #2962ff;
  --accent-dark: #1746c8;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
}

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

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

nav a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

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

.hero {
  padding: 84px 0;
  background: linear-gradient(180deg, #eef3ff 0%, #f7f9fc 100%);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0 0 16px;
  max-width: 760px;
}

.hero p {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 28px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: var(--accent-dark);
}

.section {
  padding: 64px 0;
}

.section h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.alt {
  background: #f1f5fb;
}

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

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

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 22px 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
  }

  nav a {
    margin: 0 8px;
  }

  .hero {
    padding: 58px 0;
  }

  .section {
    padding: 52px 0;
  }
}
