:root {
  --bg: #f7f7f5;
  --text: #222;
  --muted: #666;
  --accent: #2456a6;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: #fff;
  border-bottom: 1px solid #e4e4e0;
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

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

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

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

.hero {
  padding: 70px 0 40px;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding: 30px 0 60px;
}

article {
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 12px;
  padding: 22px;
}

footer {
  padding: 30px 0;
  color: var(--muted);
  border-top: 1px solid #e4e4e0;
}
