
:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #1b2430;
  --muted: #5d6877;
  --line: #dbe2ea;
  --primary: #0f3d66;
  --primary-2: #15558d;
  --accent: #e8f1fb;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(10, 28, 44, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1rem; max-width: 62ch; }
.container { width: min(calc(100% - 2.5rem), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 248, 251, 0.9);
  border-bottom: 1px solid rgba(219, 226, 234, 0.8);
}
.navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 76px;
}
.brand { font-weight: 800; letter-spacing: .04em; color: var(--primary); font-size: 1.1rem; }
.nav-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.2rem; border-radius: 999px; font-weight: 700;
  transition: .2s ease; border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--primary); }
.btn-secondary:hover { border-color: var(--primary); }
.hero {
  padding: 5rem 0 3.5rem;
  background: radial-gradient(circle at top right, rgba(21,85,141,.18), transparent 30%), linear-gradient(180deg, #f9fbff 0%, #f7f8fb 100%);
}
.hero-grid, .section-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 2rem; align-items: start; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.08; margin: 0 0 1rem; color: #10273f; }
.hero p { font-size: 1.08rem; color: var(--muted); max-width: 58ch; }
.hero-card, .card, .feature, .post-card, .testimonial {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card, .feature, .post-card, .testimonial { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover, .feature:hover, .post-card:hover { transform: translateY(-2px); box-shadow: 0 14px 42px rgba(10, 28, 44, 0.10); }
.hero-card { padding: 1.25rem; }
.hero-visual {
  min-height: 420px; border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(160deg, #113a60 0%, #215b92 100%);
  color: #fff; padding: 2rem; display: grid; align-content: space-between;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .8rem; border-radius: 999px; background: var(--accent);
  color: var(--primary); font-size: .9rem; font-weight: 700;
}
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 1.2rem; }
.metric { background: rgba(255,255,255,.12); padding: 1rem; border-radius: 16px; }
.metric strong { display: block; font-size: 1.4rem; }
main section { padding: 4.5rem 0; }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head.compact { margin-bottom: 1rem; }
.section-head h2 { margin: 0 0 .7rem; font-size: clamp(1.8rem, 3vw, 2.8rem); color: #10273f; }
.section-head p { margin: 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature, .card, .post-card, .testimonial { padding: 1.5rem; }
.feature h3, .card h3, .post-card h3 { margin-top: .5rem; margin-bottom: .5rem; font-size: 1.18rem; color: #10273f; }
.feature p, .card p, .post-card p, .testimonial p { color: var(--muted); margin-bottom: 0; }
.icon {
  width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: var(--primary); font-weight: 800;
}
.cta-box {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 2rem; background: linear-gradient(120deg, #113a60, #1f5f99); color: #fff;
  border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow);
}
.cta-box p { color: rgba(255,255,255,.88); margin: .5rem 0 0; }
.site-footer {
  border-top: 1px solid var(--line); padding: 2rem 0 3rem; background: #f3f5f8;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 1.5rem; }
.footer-grid h4 { margin: 0 0 .75rem; color: #10273f; }
.footer-grid p, .footer-grid a { color: var(--muted); }
.page-hero { padding: 4rem 0 2rem; }
.page-hero .card { padding: 2rem; }
.breadcrumbs { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li + li { margin-top: .75rem; }
.blog-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
.post-meta { color: var(--muted); font-size: .95rem; }
.article { padding: 0 0 4rem; }
.article-content { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.article-content h2, .article-content h3 { color: #10273f; margin-top: 2rem; }
.article-content p, .article-content li { color: #394555; }
.article-content ul { padding-left: 1.15rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, textarea {
  width: 100%; padding: .95rem 1rem; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; font: inherit;
}
textarea { min-height: 180px; resize: vertical; }
.small-note { color: var(--muted); font-size: .95rem; }
.badge-list { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.badge { padding: .55rem .85rem; background: var(--accent); color: var(--primary); border-radius: 999px; font-weight: 700; }
@media (max-width: 900px) {
  .hero-grid, .section-grid, .blog-grid, .footer-grid, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .metrics { grid-template-columns: 1fr; }
}

.cards-stack { display: grid; gap: 1rem; }
.lead-card { padding: 1.8rem; }
.lead-card p:last-child, .card p:last-child, .feature p:last-child, .post-card p:last-child, .testimonial p:last-child { margin-bottom: 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.info-card h3 { margin-top: 0; }
.page-hero p, .article-content p, .article-content li, .footer-grid p { max-width: 70ch; }
@media (max-width: 1100px) {
  .section-grid { grid-template-columns: 1fr; }
}
