* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background:
    radial-gradient(circle at top left, rgba(239, 246, 255, 0.95), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 251, 235, 0.9), transparent 32%),
    radial-gradient(circle at bottom right, rgba(240, 253, 244, 0.9), transparent 28%),
    #f8fbff;
}

a {
  color: #2f5ee5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.nav,
.hero,
.section,
.footer {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d8e2f3;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.brand h1,
.brand p {
  margin: 0;
}

.brand h1 {
  font-size: 18px;
}

.brand p,
.muted,
.eyebrow {
  color: #64748b;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.button.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid #4f66a5;
  text-decoration: none;
}

.button {
  color: #fff;
  background: #4f66a5;
}

.button.secondary {
  color: #243b7b;
  background: #fff;
  border-color: #c7d6ee;
}

.hero {
  margin-top: 22px;
  padding: 32px;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.hero h2 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
}

.hero p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.7;
  color: #5b6e8f;
}

.stat-grid,
.card-grid {
  display: grid;
  gap: 16px;
}

.stat-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.stat,
.card {
  border: 1px solid #d8e2f3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
}

.stat strong {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.section {
  margin-top: 22px;
  padding: 28px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 32px;
}

.section h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.section p,
.section li {
  color: #4f5f78;
  line-height: 1.7;
}

.section ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.content-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.content-link {
  display: block;
  border: 1px solid #d8e2f3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
}

.content-link h3,
.content-link p {
  margin: 0;
}

.content-link h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #0f172a;
}

.content-link p {
  color: #5b6e8f;
  line-height: 1.65;
}

.article-body {
  max-width: 860px;
}

.article-body h2 {
  margin-top: 28px;
}

.footer {
  margin-top: 22px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero-grid,
  .stat-grid,
  .card-grid,
  .content-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px;
  }
}
