:root {
  --bg: #faf9f4;
  --text: #171a1d;
  --muted: #5d666f;
  --line: #d9ddd6;
  --panel: #ffffff;
  --brand: #116b3c;
  --brand-2: #8d1f2d;
  --accent: #f1c84b;
  --link: #0b5f8a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-2);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: #ffffff;
  color: #000000;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.container {
  width: calc(100vw - 32px);
  max-width: 1120px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
}

.brand strong {
  font-size: 24px;
  line-height: 1;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 15px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand);
}

.hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  color: #ffffff;
  background: #101820;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .26));
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--accent);
}

h1, h2, h3 {
  line-height: 1.16;
  margin: 0 0 14px;
  max-width: 100%;
  overflow-wrap: break-word;
}

h1 {
  max-width: 790px;
  font-size: 48px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 16px;
  overflow-wrap: break-word;
}

.lead {
  max-width: 760px;
  font-size: 19px;
}

.section {
  padding: 54px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.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(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card small,
.meta {
  color: var(--muted);
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: #ffffff;
  color: #2b2f33;
  font-size: 13px;
}

.article {
  max-width: 800px;
  padding: 48px 0 68px;
}

.article h1 {
  color: var(--text);
  font-size: 42px;
}

.article h2 {
  margin-top: 34px;
}

.notice {
  border-left: 4px solid var(--brand-2);
  background: #fff7e8;
  padding: 16px 18px;
  margin: 24px 0;
  overflow-wrap: anywhere;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.resource-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.resource-list a {
  overflow-wrap: anywhere;
}

.site-footer {
  background: #16191c;
  color: #e9ecef;
  padding: 38px 0;
}

.site-footer a {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav {
    gap: 12px;
  }

  h1,
  .article h1 {
    font-size: 26px;
  }

  .lead {
    font-size: 16px;
  }

  .hero h1,
  .hero .lead {
    max-width: 330px;
  }

  .grid,
  .grid.two,
  .resource-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 300px;
    max-width: calc(100% - 32px);
  }

  .nav {
    gap: 10px;
    font-size: 14px;
  }

  h1,
  .article h1 {
    font-size: 25px;
  }
}