:root {
  --bg: #0f1115;
  --bg-alt: #171a21;
  --text: #e7e9ee;
  --text-dim: #a4a9b6;
  --accent: #4f8cff;
  --border: #262a34;
}

* { box-sizing: border-box; }

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

nav a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
}

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

.hero {
  padding: 96px 0 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.lead {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
}

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

.services { padding: 72px 0; }

.services h2, .contacts h2 {
  font-size: 28px;
  margin-bottom: 32px;
}

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

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

.card h3 { margin-top: 0; font-size: 18px; }
.card p { color: var(--text-dim); font-size: 15px; margin-bottom: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.stat .num {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.stat .label {
  color: var(--text-dim);
  font-size: 14px;
}

.contacts { padding: 72px 0; }

.contact-list {
  list-style: none;
  padding: 0;
  color: var(--text-dim);
}

.contact-list li { margin-bottom: 8px; }
.contact-list a { color: var(--accent); text-decoration: none; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--text-dim);
  font-size: 14px;
}

.page { padding: 72px 0; max-width: 720px; }
.page h1 { font-size: 32px; }
.page h2 { font-size: 22px; margin-top: 36px; }
.page p { color: var(--text-dim); }

.notfound { text-align: center; }
.notfound h1 { font-size: 64px; margin-bottom: 8px; }

@media (max-width: 720px) {
  .cards, .stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  nav a { margin-left: 14px; }
}
