:root {
  --brand: #54a491;
  --brand-dark: #2f7569;
  --ink: #1b1918;
  --text: #2f3437;
  --muted: #647174;
  --line: #d9dadb;
  --soft: #f5f7f7;
  --white: #ffffff;
  --rail: #ececed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--text);
  font-family: Arial, "Segoe UI", Helvetica, sans-serif;
  line-height: 1.55;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.topbar,
.hero,
main,
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  width: 178px;
  max-width: 46vw;
  display: block;
}

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

.nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.nav a.active {
  color: var(--brand-dark);
}

.hero {
  padding-top: 58px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 42px;
  align-items: end;
}

.eyebrow {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  color: var(--ink);
  margin-top: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  margin-bottom: 18px;
}

h2 {
  font-size: 26px;
  line-height: 1.18;
  margin-bottom: 12px;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 780px;
  margin: 0;
}

.hero-panel {
  border-left: 6px solid var(--brand);
  padding-left: 22px;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--brand-dark);
  background: var(--brand-dark);
  color: var(--white);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.btn.secondary {
  color: var(--brand-dark);
  background: var(--white);
}

.btn:hover {
  text-decoration: none;
  background: #255e54;
}

.btn.secondary:hover {
  background: #edf6f4;
}

main {
  padding-top: 34px;
  padding-bottom: 48px;
}

.band {
  margin: 0 -28px;
  padding: 34px 28px;
  border-top: 1px solid var(--line);
}

.band.white {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-head p,
.text-block p,
.card p,
.article-row p,
.source-meta {
  color: var(--muted);
  margin: 0;
}

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

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

.card,
.article-row,
.source-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.card {
  min-height: 188px;
}

.tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 18px;
}

.toolbar label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.toolbar input,
.toolbar select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.toolbar input {
  flex: 1;
  min-width: 240px;
}

.news-list,
.article-list {
  display: grid;
  gap: 14px;
}

.article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.meta {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #758083;
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef3f2;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

.cell-note {
  display: block;
  margin-top: 4px;
  color: #788286;
  font-size: 12px;
}

.source-box {
  margin-bottom: 18px;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

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

.site-footer a,
.site-footer p {
  color: #d9e5e2;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero,
  .grid,
  .grid.two,
  .article-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .nav {
    gap: 12px;
  }
}
