@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #14241e;
  --muted: #50645a;
  --forest: #0e2019;
  --forest-deep: #091711;
  --lime: #cafa72;
  --field: #f4f7f2;
  --line: #dce5dc;
  --green: #246746;
  --shell: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font:
    400 1rem/1.68 Manrope,
    system-ui,
    sans-serif;
}
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
:focus-visible {
  outline: 3px solid #3c945e;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -8rem;
  z-index: 10;
  padding: 0.65rem 1rem;
  background: white;
  color: var(--ink);
  border-radius: 0.5rem;
}
.skip:focus {
  top: 1rem;
}
.shell {
  width: min(var(--shell), calc(100% - 88px));
  margin-inline: auto;
}
.site-header {
  background: var(--forest-deep);
  color: #f3f8ef;
  border-bottom: 1px solid #3c5246;
}
.header-row,
.footer-row {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.brand img {
  flex: none;
}
.brand-hub {
  color: var(--lime);
}
.topnav ul,
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.topnav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.6rem);
}
.topnav a {
  display: block;
  padding: 0.42rem 0.15rem;
  color: #d6e4da;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}
.topnav a:hover,
.topnav .current > a,
.topnav a[aria-current] {
  color: var(--lime);
}
.topnav .current > a,
.topnav a[aria-current] {
  box-shadow: 0 2px var(--lime);
}
.menu-toggle {
  font-weight: 700;
  color: #eff6ec;
  border: 1px solid #607a6a;
  border-radius: 0.5rem;
  background: transparent;
  padding: 0.4rem 0.7rem;
}
.site-grid {
  display: grid;
  width: min(var(--shell), calc(100% - 88px));
  margin-inline: auto;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding: 47px 0 64px;
}
.site-grid main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  outline: none;
}
.sidebar {
  grid-column: 1;
  grid-row: 1;
  padding: 1.15rem 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.sidebar h2 {
  font-size: 1rem;
  margin: 0 0.55rem 0.65rem;
  font-weight: 800;
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.52rem 0.55rem;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.875rem;
  color: #385044;
  font-weight: 700;
  line-height: 1.35;
  min-height: 36px;
}
.sidebar a::before {
  content: "";
  width: 0.36rem;
  height: 0.36rem;
  border: 1px solid #648371;
  border-radius: 50%;
  flex: none;
}
.sidebar a:hover,
.sidebar .current > a,
.sidebar a[aria-current] {
  color: #195336;
  background: #eaf3e8;
}
.sidebar .current > a::before,
.sidebar a[aria-current]::before {
  background: #317751;
}
.home .site-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 238px 38px minmax(0, 964px) minmax(
      0,
      1fr
    );
  gap: 0;
  padding-top: 0;
}
.home .site-grid main {
  grid-column: 1/-1;
}
.home .sidebar {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: -1px;
}
.home .site-grid:has(.hub-home) {
  display: block;
  position: relative;
}
.home .site-grid:has(.hub-home) .sidebar {
  position: absolute;
  top: var(--sidebar-top, 510px);
  left: max(44px, calc((100% - var(--shell)) / 2));
  width: 238px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #12281f;
  color: #f5fbf1;
  min-height: 462px;
  display: grid;
  align-items: center;
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
  filter: saturate(0.74) hue-rotate(16deg);
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #10271e 29%,
      #12281fea 44%,
      #142d2180 70%,
      #10271e27 100%
    ),
    linear-gradient(0deg, #10271e97, transparent 62%);
  z-index: -1;
}
.hero-inner {
  padding: 50px 0 56px;
}
.eyebrow {
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}
.hero .eyebrow {
  color: var(--lime);
}
h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.039em;
  margin: 0 0 0.75rem;
  font-weight: 800;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 790px;
}
.hero h1 span {
  color: var(--lime);
}
.hero-copy {
  max-width: 35rem;
  font-size: 1.1rem;
  color: #e1eee4;
  margin: 1.15rem 0 1.55rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.button,
.csh-widget button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.55rem 0.95rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--lime);
  color: #14241e;
  cursor: pointer;
}
.button:hover,
.csh-widget button:hover {
  background: #ddffa1;
}
.button.secondary {
  border-color: #8da092;
  color: white;
  background: #0a1d1491;
}
.button.secondary:hover {
  background: #264b38;
}
.home-library {
  padding: 48px 0 2px 276px;
  min-height: 745px;
}
.home-library h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}
.section-copy {
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
  min-width: 0;
}
.topic-card:hover {
  border-color: #649879;
  box-shadow: 0 6px 18px #213d2614;
}
.topic-card img {
  aspect-ratio: 1.65;
  width: 100%;
  object-fit: cover;
  background: #d6e4da;
}
.topic-card div {
  padding: 1rem 1rem 1.15rem;
}
.topic-card h3 {
  font-size: 1.17rem;
  margin: 0 0 0.45rem;
}
.topic-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}
.quick-links {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid #cfdfcd;
  background: #eaf3e8;
  border-radius: 14px;
  display: flex;
  gap: 1.1rem;
  align-items: center;
  justify-content: space-between;
}
.quick-links h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}
.quick-links p {
  margin: 0;
  color: var(--muted);
}
.quick-links .button {
  background: #173c29;
  color: #fff;
  flex: none;
}
.quick-links .button:hover {
  background: #26563b;
}
.inner .com-content-article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.15rem, 4vw, 2.8rem);
  min-height: 550px;
}
.inner .page-header h1,
.inner .page-header h2,
.inner .content-title {
  font-size: clamp(2.15rem, 4.3vw, 3.4rem);
  max-width: 22ch;
  margin: 0 0 1.05rem;
}
.article-body {
  max-width: 72ch;
}
.article-body p,
.article-body ul,
.article-body ol,
.article-body dl {
  margin: 0 0 1.15rem;
}
.article-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}
.article-body dt {
  font-weight: 800;
}
.article-body dd {
  margin: 0 0 0.9rem;
}
.article-body a,
.credits a {
  color: #215d3d;
  text-underline-offset: 3px;
  font-weight: 700;
}
.article-body li + li {
  margin-top: 0.35rem;
}
.article-body .intro {
  font-size: 1.13rem;
  color: var(--muted);
}
.article-body .callout {
  padding: 1rem 1.1rem;
  border-left: 4px solid #3d8c5f;
  background: #edf5eb;
  border-radius: 0 0.6rem 0.6rem 0;
}
.article-photo {
  border-radius: 12px;
  max-height: 292px;
  object-fit: cover;
  width: 100%;
  margin: 1rem 0 1.5rem;
}
.site-footer {
  background: var(--forest-deep);
  color: #e4efe6;
}
.footer-row {
  min-height: 96px;
}
.footer-row p {
  font-size: 0.88rem;
  color: #b8cbbd;
  margin: 0;
}
.csh-widget {
  margin: 1.25rem 0 1.7rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  background: #f2f7ef;
  border: 1px solid #dbe7d9;
  border-radius: 12px;
  max-width: 72ch;
}
.csh-widget h2 {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}
.csh-widget p {
  margin: 0.25rem 0 1rem;
}
.csh-widget fieldset {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d1dfd1;
  border-radius: 8px;
  min-width: 0;
}
.csh-widget legend {
  font-weight: 800;
  padding-inline: 0.25rem;
}
.csh-widget label {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.2rem 0;
  cursor: pointer;
}
.csh-widget input {
  accent-color: #286843;
  flex: none;
}
.csh-widget progress {
  display: block;
  width: 100%;
  height: 0.75rem;
  margin: 0 0 1rem;
  accent-color: #32734e;
}
.csh-widget .widget-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.csh-widget .plain {
  background: white;
  border-color: #b7ccba;
}
.csh-widget output {
  display: block;
  font-weight: 800;
  margin-top: 0.7rem;
}
.csh-widget .feedback {
  color: #315841;
  font-size: 0.93rem;
  margin: 0.55rem 0 0;
}
@media (max-width: 1060px) {
  .shell,
  .site-grid {
    width: calc(100% - 56px);
  }
  .home .site-grid:has(.hub-home) .sidebar {
    left: 28px;
    width: 210px;
  }
  .home-library {
    padding-left: 236px;
  }
  .site-grid {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 26px;
  }
}
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .topnav ul {
    gap: 0.75rem;
  }
}
@media (max-width: 760px) {
  .shell,
  .site-grid {
    width: calc(100% - 32px);
  }
  .header-row {
    flex-wrap: wrap;
    min-height: 65px;
    gap: 0;
  }
  .brand,
  .menu-toggle {
    margin-block: 12px;
  }
  .topnav {
    width: 100%;
  }
  .topnav ul {
    display: block;
    padding-bottom: 0.6rem;
  }
  .topnav a {
    padding: 0.56rem 0.3rem;
  }
  .hero {
    min-height: 435px;
  }
  .hero-inner {
    padding: 44px 0;
  }
  .hero-photo {
    width: 100%;
    object-position: 59% center;
  }
  .hero::before {
    background:
      linear-gradient(90deg, #10271ef5, #10271ea8),
      linear-gradient(0deg, #10271e80, transparent);
  }
  .home .site-grid:has(.hub-home) .sidebar {
    position: static;
    width: calc(100% - 32px);
    margin: 1.2rem auto 0;
  }
  .home-library {
    padding: 30px 0 0;
    min-height: 0;
  }
  .site-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 0 36px;
  }
  .home .site-grid {
    padding-bottom: 36px;
  }
  .site-grid main,
  .site-grid .sidebar {
    width: 100%;
  }
  .footer-row {
    min-height: 100px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 0 0.9rem;
  }
  .footer-row .brand {
    margin: 0;
  }
  .sidebar ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.45rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .quick-links {
    align-items: start;
    flex-direction: column;
  }
  .card-grid .topic-card img {
    aspect-ratio: 2.15;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.error-panel {
  padding: 4rem 0;
}
.error-panel h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
