:root {
  color-scheme: light;
  --background: #f5f7fa;
  --surface: #ffffff;
  --text: #17202a;
  --muted: #65717e;
  --accent: #315c9b;
  --border: #dfe5ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.header {
  max-width: 1080px;
  margin: auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

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

main {
  max-width: 1080px;
  margin: auto;
  padding: 40px 28px 80px;
}

.hero {
  max-width: 760px;
  padding: 70px 0 90px;
}

.eyebrow, .tag {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 7vw, 4.7rem);
  line-height: 1.05;
}

.intro {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.2rem;
}

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

.section {
  padding: 48px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

article, .about {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 25px;
}

article p, .about p {
  color: var(--muted);
}

footer {
  padding: 35px 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 720px) {
  nav {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }
}
