:root {
  --site-green: #1d4a29;
  --site-lime: #aacc53;
  --site-active: #9ec150;
  --gutter: clamp(20px, 5vw, 76px);
  --container: 1300px;
  --header-h: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header *,
.site-footer * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.site-header ul,
.site-footer ul {
  list-style: none;
}
.site-header a,
.site-footer a {
  color: inherit;
}
.site-header button,
.site-footer button,
.site-footer input {
  font: inherit;
  color: inherit;
}
.site-header,
.site-footer {
  font-family:
    Arial,
    Arimo,
    Helvetica Neue,
    Helvetica,
    sans-serif;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
  transition:
    background 0.45s var(--ease),
    box-shadow 0.45s;
}
.site-header:before {
  content: "";
  position: absolute;
  inset: 0 0 -40px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 17, 10, 0.55), transparent);
  transition: opacity 0.45s;
}
.site-header:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #ffffff8c;
  transition: opacity 0.45s;
}
.site-header.is-solid,
.site-header.is-menu {
  background: var(--site-green);
  box-shadow: 0 6px 24px #0000002e;
}
.site-header.is-solid:before,
.site-header.is-menu:before,
.site-header.is-solid:after {
  opacity: 0;
}
.site-header__in {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header__logo {
  flex: none;
  display: block;
}
.site-header__logo img {
  display: block;
  width: 192px;
  height: auto;
}
.menu {
  margin: 0 auto;
}
.menu__list {
  display: flex;
  align-items: center;
  gap: 30px;
}
.menu__list > li {
  position: relative;
}
.menu a {
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  transition: color 0.25s;
}
.menu__list > li > a:hover,
.menu__list > li:focus-within > a {
  color: var(--site-lime);
}
.menu a.is-active {
  color: var(--site-active);
}
.menu .has-sub > a:after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.menu .sub {
  position: absolute;
  left: -18px;
  top: 100%;
  min-width: 220px;
  padding: 10px 0;
  border-radius: 10px;
  background: #fff;
  color: var(--site-green);
  box-shadow: 0 18px 44px #00000038;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s,
    transform 0.25s var(--ease),
    visibility 0.25s;
}
.menu .sub a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 10px 20px;
  font-size: 14px;
}
.menu .sub a:hover {
  background: #eef5e2;
  color: var(--site-green);
}
.menu .sub .has-sub > a:after {
  transform: rotate(-45deg);
}
.menu .sub .sub {
  left: 100%;
  top: -10px;
}
.menu li:hover > .sub,
.menu li:focus-within > .sub,
.menu li.is-open > .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
  transition:
    background 0.3s,
    color 0.3s;
}
.pill i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.pill i:before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1.5px solid var(--site-green);
  border-right: 1.5px solid var(--site-green);
  transform: translate(-1px, 1px);
}
.pill i:after {
  content: "";
  position: absolute;
}
.pill:hover {
  background: #fff;
  color: var(--site-green);
}
.pill:hover i {
  background: var(--site-green);
}
.pill:hover i:before {
  border-color: #fff;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s;
}
.site-header.is-menu .menu-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.site-header.is-menu .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-menu .menu-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background: var(--site-green);
  padding: 12px var(--gutter) 40px;
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu .mobile-menu__list {
  display: block;
}
.mobile-menu__list li {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-menu__list a {
  display: block;
  padding: 16px 52px 16px 0;
  text-decoration: none;
  font-size: 17px;
}
.mobile-menu__list a.is-active {
  color: var(--site-active);
}
.mobile-menu__list .sub {
  display: none;
  padding: 0 0 8px 16px;
}
.mobile-menu__list .sub li {
  border: 0;
}
.mobile-menu__list .sub a {
  padding: 10px 52px 10px 0;
  font-size: 15px;
  color: #ffffffd9;
}
.mobile-menu__list .is-open > .sub {
  display: block;
}
.mobile-menu__more {
  position: absolute;
  right: 0;
  top: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
}
.mobile-menu__more:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: translate(-50%, -70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.is-open > .mobile-menu__more:before {
  transform: translate(-50%, -30%) rotate(-135deg);
}
.mobile-menu .pill {
  margin-top: 28px;
}
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--site-green);
  border-top: 22px solid var(--site-lime);
  color: #fff;
}
.site-footer__in {
  position: relative;
  z-index: 1;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 72px var(--gutter) 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 64px;
}
.site-footer__brand img {
  width: 192px;
  height: auto;
  display: block;
}
.site-footer__brand > p {
  margin-top: 36px;
  max-width: 360px;
  font-size: 16px;
  line-height: 1.45;
}
.site-footer__brand h3 {
  margin-top: 48px;
  font-weight: 400;
  font-size: clamp(28px, 2.5vw, 40px);
  letter-spacing: -0.005em;
}
.newsletter {
  position: relative;
  margin-top: 34px;
  max-width: 580px;
}
.newsletter input {
  width: 100%;
  height: 54px;
  padding: 0 60px 0 20px;
  border: 1px solid #fff;
  border-radius: 12px;
  background: transparent;
  font-size: 16px;
  color: #fff;
  outline: none;
}
.newsletter input::placeholder {
  color: #fff;
}
.newsletter input:focus {
  border-color: var(--site-lime);
}
.newsletter button {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  font-size: 20px;
}
.newsletter button:hover {
  color: var(--site-lime);
}
.newsletter__msg {
  margin-top: 10px;
  min-height: 1.2em;
  font-size: 13px;
  color: var(--site-lime);
}
.newsletter.is-error .newsletter__msg {
  color: #ffd2c2;
}
.social {
  margin-top: 34px;
  display: flex;
  gap: 20px;
}
.social a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #fff;
  transition: background 0.3s;
}
.social svg {
  width: 16px;
  height: 16px;
  fill: var(--site-green);
}
.social a:hover {
  background: var(--site-lime);
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px 32px;
  align-content: start;
  padding-top: 8px;
}
.site-footer__cols h4 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff9e;
  margin-bottom: 26px;
}
.site-footer__cols li + li {
  margin-top: 14px;
}
.site-footer__cols a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.site-footer__cols a:hover {
  color: var(--site-lime);
}
.site-footer__cols p {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.site-footer__cols p + p {
  margin-top: 14px;
}
.site-footer__cols .soft {
  font-weight: 700;
  opacity: 0.92;
}
.lime {
  color: var(--site-lime);
}
.queries {
  margin-top: 18px;
}
.queries dt {
  font-size: 14px;
  font-weight: 700;
  margin-top: 16px;
  position: relative;
  padding-bottom: 6px;
}
.queries dt:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18px;
  height: 1.5px;
  background: #fff;
}
.queries dd {
  margin-top: 6px;
}
.queries dd a {
  font-weight: 400;
}
.site-footer__base {
  grid-column: 1 / -1;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
  font-weight: 700;
}
.site-footer__base a {
  text-decoration: underline;
}
.site-footer__base a:hover {
  color: var(--site-lime);
}
.site-footer__watermark {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 420px;
  opacity: 0.1;
  pointer-events: none;
  filter: saturate(0.6);
}
@media (max-width: 1180px) {
  .menu__list {
    gap: 20px;
  }
  .menu a {
    font-size: 14px;
  }
  .site-header__logo img {
    width: 160px;
  }
}
@media (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }
  .menu,
  .site-header__in > .pill {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .site-header__logo img {
    width: 150px;
  }
  .site-footer__in {
    grid-template-columns: 1fr;
    row-gap: 56px;
  }
}
@media (max-width: 820px) {
  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__cols > div:nth-child(3),
  .site-footer__cols > div:nth-child(4) {
    grid-column: 1 / -1;
  }
  .site-footer__base {
    flex-direction: column;
  }
}
.menu .sub a[aria-current="page"] {
  font-weight: 700;
  color: #3f7a1f;
}
.mobile-menu__list a[aria-current="page"] {
  color: var(--site-lime);
}
