:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #11233a;
  --muted: #55708f;
  --brand: #0a6ed1;
  --brand-dark: #0753a0;
  --border: #d8e2ee;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

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

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.nav a {
  padding: 6px 8px;
  border-radius: 6px;
}

.nav a.active {
  background: #e8f1fb;
  color: var(--brand-dark);
  text-decoration: none;
}

.button {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
}

.button:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

main {
  padding: 28px 0 42px;
}

.hero,
.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.hero h1,
.section h1,
.section h2 {
  margin-top: 0;
  line-height: 1.3;
}

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

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

.card {
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.site-footer__inner {
  padding: 18px 0 26px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 8px;
  font-size: 14px;
}
