:root {
  --ink: #15202b;
  --muted: #5f6f7f;
  --line: #dce5ed;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --brand: #0b6bcb;
  --brand-dark: #074f96;
  --accent: #14966d;
  --warn: #f3b23c;
  --shadow: 0 14px 36px rgba(21, 32, 43, 0.09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.topbar {
  background: #10243a;
  color: #e8f2fb;
  font-size: 0.92rem;
}

.topbar .wrap,
.nav .wrap,
.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.topbar a {
  color: #e8f2fb;
}

.nav {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-weight: 900;
}

.menu {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.menu a {
  color: var(--ink);
  font-weight: 650;
  font-size: 0.96rem;
}

.hero {
  background:
    linear-gradient(rgba(13, 37, 60, 0.74), rgba(13, 37, 60, 0.68)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
}

.hero .wrap {
  min-height: 530px;
  display: grid;
  align-items: center;
  padding: 64px 0 92px;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #bdebdc;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.55rem);
  max-width: 780px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: 1.16rem;
  color: inherit;
  max-width: 720px;
}

.hero .lead {
  color: #f1f7fb;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  border: 1px solid var(--brand);
}

.button:hover {
  color: #fff;
  background: var(--brand-dark);
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.section {
  padding: 58px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(21, 32, 43, 0.05);
}

.card p {
  color: var(--muted);
  margin: 0 0 12px;
}

.tag {
  display: inline-block;
  color: #0c5e45;
  background: #def7ed;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.article-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.page-title {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 46px 0;
}

.content {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0;
}

.content h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.content h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.content p,
.content li {
  color: #354656;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: -4px 0 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--muted);
  font-weight: 650;
}

.author-box,
.related-links {
  margin-top: 34px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.author-box h2,
.related-links h2 {
  margin-top: 0;
  font-size: 1.28rem;
}

.related-links ul {
  margin-bottom: 0;
}

.note {
  border-left: 4px solid var(--accent);
  background: #eefaf6;
  padding: 16px 18px;
  border-radius: 0 8px 8px 0;
  color: #214a3d;
}

.footer {
  background: #10243a;
  color: #dbe8f3;
  padding: 42px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer a {
  color: #dbe8f3;
}

.footer ul {
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.footer li {
  margin: 8px 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 28px;
  padding-top: 18px;
  color: #a9bfd0;
}

@media (max-width: 840px) {
  .nav .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .article-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero .wrap {
    min-height: 500px;
  }
}
