:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #15171a;
  background: #f7f8fb;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(64, 89, 173, 0.08), transparent 32rem),
    linear-gradient(315deg, rgba(45, 106, 79, 0.08), transparent 28rem),
    #f7f8fb;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.brand {
  color: #121417;
  font-weight: 800;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header nav a {
  color: #3b414a;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  padding: 0.55rem 0.7rem;
}

.site-header nav a:hover {
  color: #111827;
}

.site-header .cta {
  color: #fff;
  background: #2d6a4f;
  border-radius: 8px;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
}

.blog-hero,
.article-hero {
  max-width: 820px;
  padding: 4rem 0 2.2rem;
}

.eyebrow {
  color: #b23a48;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 0.98;
  margin: 0;
  max-width: 920px;
}

.blog-hero p:not(.eyebrow),
.description {
  color: #4b5563;
  font-size: 1.15rem;
  max-width: 760px;
}

.article-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.article-card {
  min-height: 260px;
  padding: 1.2rem;
  border: 1px solid #dde2ea;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.article-card:hover {
  border-color: #4059ad;
  transform: translateY(-2px);
}

.article-card span,
.meta-row span {
  color: #4059ad;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-card h2 {
  font-size: 1.45rem;
  line-height: 1.12;
  margin: 1rem 0 0.75rem;
}

.article-card p {
  color: #4b5563;
  margin: 0;
}

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

.back-link {
  display: inline-block;
  color: #4059ad;
  font-weight: 750;
  margin-top: 1rem;
  text-decoration: none;
}

.meta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.article-content {
  color: #23272f;
  font-size: 1.05rem;
}

.article-content h2 {
  font-size: 1.75rem;
  line-height: 1.18;
  margin: 2.4rem 0 0.8rem;
}

.article-content h3 {
  font-size: 1.18rem;
  margin: 1.6rem 0 0.4rem;
}

.article-content p,
.article-content li {
  color: #3e4652;
}

.article-content blockquote {
  border-left: 4px solid #2d6a4f;
  margin: 1.4rem 0;
  padding: 0.15rem 0 0.15rem 1rem;
  background: rgba(45, 106, 79, 0.06);
}

.article-content code {
  border: 1px solid #dde2ea;
  border-radius: 6px;
  background: #fff;
  padding: 0.1rem 0.28rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #dde2ea;
}

th,
td {
  border-bottom: 1px solid #dde2ea;
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  color: #111827;
  background: #edf1f7;
}

.source-panel {
  margin-top: 3rem;
  padding: 1.2rem;
  border: 1px solid #dde2ea;
  border-radius: 8px;
  background: #fff;
}

.source-panel h2 {
  margin: 0 0 0.5rem;
}

.source-panel p,
.source-panel li {
  color: #4b5563;
}

.source-panel a {
  color: #4059ad;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    justify-content: flex-start;
  }

  .blog-hero,
  .article-hero {
    padding-top: 2.6rem;
  }
}