:root {
  --bg: #0b1220;
  --card: #ffffff;
  --muted: #f3f6fb;
  --text: #172033;
  --subtle: #5b6577;
  --line: #d9e1ec;
  --brand: #1f5eff;
  --brand-dark: #1548c7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
}

a { color: inherit; }
.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}
.narrow { width: min(860px, calc(100% - 40px)); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.brand {
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.nav a {
  text-decoration: none;
  color: var(--subtle);
}
.nav a:hover { color: var(--brand); }
.hero {
  background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 100%);
  padding: 80px 0 70px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 8px;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
}
h2 {
  margin: 0 0 12px;
  font-size: 28px;
}
h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.lead {
  max-width: 760px;
  font-size: 18px;
  color: var(--subtle);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
}
.button.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.button.primary:hover { background: var(--brand-dark); }
.section { padding: 56px 0; }
.section.muted { background: var(--muted); }
.grid {
  display: grid;
  gap: 20px;
}
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(20, 32, 55, 0.05);
}
.card.small { min-height: 180px; }
.note {
  padding: 14px 16px;
  background: #f6f9ff;
  border-radius: 12px;
  border: 1px solid #dce7ff;
}
.prose h2 { margin-top: 24px; }
ul { margin: 0; padding-left: 20px; }
.top-gap { margin-top: 24px; }
.site-footer {
  background: var(--bg);
  color: #e8eef9;
  padding: 28px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.footer-grid p { margin: 6px 0; color: #d2dbeb; }

@media (max-width: 820px) {
  .header-inner,
  .footer-grid,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
    display: grid;
  }

  .header-inner {
    justify-content: start;
  }

  .nav {
    gap: 10px 14px;
  }
}
