* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-strong: #0f172a;
  --ink: #132038;
  --muted: #5f6d84;
  --line: #d9e1ee;
  --brand: #0b5fff;
  --brand-dark: #003ec4;
  --accent: #ef4444;
  --ok: #22c55e;
  --radius: 14px;
  --shadow: 0 12px 36px rgba(19, 32, 56, 0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #e9f0ff 0%, var(--bg) 35%), var(--bg);
  line-height: 1.65;
}

.container { width: min(1120px, 92vw); margin: 0 auto; }
.narrow { width: min(760px, 100%); margin: 0 auto; }
.section-pad { padding: 72px 0; }

h1, h2, h3 { font-family: 'Manrope', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.7rem, 2.2vw, 2.4rem); margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p { color: var(--muted); }
a { color: var(--brand); text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 251, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  font-weight: 700;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.nav-links { list-style: none; display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav-cta {
  border: 1px solid var(--brand);
  color: var(--brand) !important;
  padding: 10px 14px;
  border-radius: 10px;
}
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero { padding: 82px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.badge {
  display: inline-block;
  font-size: .86rem;
  letter-spacing: .02em;
  color: var(--brand-dark);
  background: #dce8ff;
  border: 1px solid #bdd1ff;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero p { font-size: 1.08rem; max-width: 62ch; }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  transition: .2s ease;
}
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); }

.hero-panel {
  background: linear-gradient(160deg, #0f172a, #1f2a44);
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero-panel h2 { color: #fff; font-size: 1.3rem; }
.hero-panel ul { list-style: none; margin-top: 10px; }
.hero-panel li { padding: 11px 0; border-bottom: 1px solid rgba(226, 232, 240, .16); }
.hero-panel li:last-child { border-bottom: 0; }
.hero-panel strong { color: #fff; font-size: 1.2rem; }

.stats { padding: 0 0 56px; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.number {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-head { margin-bottom: 22px; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bdd1ff; }
.read-more { font-weight: 600; position: relative; }
.read-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width .25s ease;
}
.card:hover .read-more::after { width: 100%; }

.checklist-box {
  text-align: center;
  background: linear-gradient(160deg, #ffffff, #eef3ff);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
}
.checklist-box p { margin-bottom: 20px; }

.about { border-top: 1px solid var(--line); }
.about p { font-size: 1.08rem; }

footer {
  margin-top: 20px;
  background: #0d1629;
  color: #dbe4f3;
  padding: 24px 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1,
.hero p,
.hero-actions,
.hero-panel,
.stat,
.card,
.article-content {
  animation: fadeUp .45s ease both;
}

.hero p { animation-delay: .06s; }
.hero-actions { animation-delay: .12s; }
.hero-panel { animation-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
.footer-grid { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer p { color: #dbe4f3; }

/* Article pages */
.article-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 34px 0;
}
.article-header h1 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
.article-meta { color: var(--muted); font-size: .95rem; }
.article-content {
  width: min(820px, 92vw);
  margin: 28px auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.article-content p,
.article-content li { color: #30415f; }
.article-content ul,
.article-content ol { margin: 12px 0 18px 24px; }
.article-content h2 { margin-top: 26px; }
.checklist-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.cta-box {
  margin: 24px 0;
  border: 1px solid #bfd2ff;
  background: #eef4ff;
  border-radius: 12px;
  padding: 18px;
}

@media (max-width: 920px) {
  .hero-grid, .article-grid, .stat-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 18px 4vw;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
}
