:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --shadow: 0 16px 60px rgba(15, 23, 42, 0.08);
  --primary: #7c3aed;
  --primary-strong: #5b21b6;
}

* { box-sizing: border-box; }
body.page {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__logo { height: 28px; width: auto; }
.brand__text { font-size: 18px; }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-weight: 600;
  font-size: 14px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 0;
}
.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.link:hover { color: var(--primary-strong); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn.primary {
  background: linear-gradient(120deg, #8b5cf6, #7c3aed);
  color: #fff;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(124,58,237,0.3); }

.page__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 40px 24px;
}
.footer__top {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.footer .block h6 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.footer .block a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 8px;
  font-weight: 600;
}
.footer .block a:hover { color: var(--primary-strong); }
.footer .muted { color: var(--muted); margin: 8px 0 0; font-weight: 500; line-height: 1.6; }
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .nav-bar { grid-template-columns: 1fr; justify-items: start; }
  .nav-links { justify-content: flex-start; flex-wrap: wrap; }
  .nav-actions { width: 100%; justify-content: flex-start; }
}
