:root { --site-content-width: 1120px; }
html { scroll-padding-top: 76px; }

.footer-company {
  margin: 12px 0 0;
  color: #829087;
  font-size: .78rem;
  font-style: normal;
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  background: #07120c;
  border-bottom: 1px solid rgba(255,255,255,.11);
}

.nav.container {
  width: min(var(--site-content-width), calc(100% - 48px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 132px;
  height: auto;
  filter: invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-links a,
.modules-trigger {
  color: #9ead9f;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .16s ease;
}

.modules-trigger {
  appearance: none;
  padding: 0;
  border: 0;
  color: #9ead9f;
  background: transparent;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}

.nav-links a:hover,
.modules-trigger:hover,
.modules-trigger[aria-expanded="true"] { color: #fff; }

.modules-trigger::after {
  display: block;
  width: 0;
  height: 1px;
  margin: 7px auto -8px;
  background: #55df83;
  content: "";
  transition: width .2s ease;
}

.modules-trigger[aria-expanded="true"]::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav-cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid #55df83;
  border-radius: 999px;
  color: #06200f;
  background: #55df83;
  font-family: inherit;
  text-decoration: none;
  font-size: .91rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nav-cta:hover {
  border-color: #6ced95;
  background: #6ced95;
  box-shadow: 0 8px 24px rgba(85,223,131,.14);
}

.mobile-menu-toggle,
.mobile-menu,
.mobile-menu-backdrop { display: none; }

.mobile-menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin-left: auto;
  padding: 0;
  appearance: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #f2f7f3;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle[aria-expanded="true"] {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.09);
}

.mobile-menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .16s ease;
}

.mobile-menu-toggle span:nth-child(1) { transform: translate(-50%,-5px); }
.mobile-menu-toggle span:nth-child(2) { transform: translate(-50%,0); }
.mobile-menu-toggle span:nth-child(3) { transform: translate(-50%,5px); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%,0) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translate(-50%,0) scaleX(.3); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%,0) rotate(-45deg); }

.modules-backdrop {
  position: fixed;
  z-index: 1;
  inset: 76px 0 0;
  visibility: hidden;
  background: rgba(4,11,7,.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.modules-mega {
  position: absolute;
  z-index: 2;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  color: #172019;
  background: #f5f7f5;
  border-bottom: 1px solid #dce2dd;
  box-shadow: 0 28px 70px rgba(5,14,8,.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.site-header.modules-open .modules-backdrop,
.site-header.modules-open .modules-mega {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-header.modules-open .modules-mega { transform: translateY(0); }

.modules-mega-inner {
  width: min(var(--site-content-width), calc(100% - 48px));
  margin-inline: auto;
  padding: 30px 0 38px;
}

.modules-mega-intro {
  padding-bottom: 25px;
  border-bottom: 1px solid #d8dfda;
}

.modules-mega-kicker {
  margin: 0 0 8px;
  color: #168149;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.modules-mega-intro h2 {
  max-width: 760px;
  margin: 0;
  color: #101812;
  font-size: clamp(1.55rem,2.1vw,2rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.modules-mega-groups {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(26px,4vw,58px);
  padding-top: 27px;
}

.modules-mega-group h3 {
  margin: 0 0 9px;
  color: #7a867d;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.modules-mega-list { display: grid; }

.modules-mega-link {
  display: grid;
  grid-template-columns: 25px minmax(0,1fr);
  gap: 9px;
  margin-inline: -11px;
  padding: 12px 11px 13px;
  border-top: 1px solid #dce2dd;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: background .16s ease, box-shadow .16s ease;
}

.modules-mega-link:hover,
.modules-mega-link:focus-visible,
.modules-mega-link.is-current {
  background: #fff;
  box-shadow: 0 8px 24px rgba(22,38,27,.06);
}

.modules-mega-number {
  padding-top: 3px;
  color: #168149;
  font-size: .66rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.modules-mega-link strong {
  display: block;
  color: #152018;
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.25;
}

.modules-mega-description {
  display: block;
  margin: 4px 0 0;
  color: #6b766e;
  font-size: .76rem;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  html.mobile-nav-open { overflow: hidden; }
  .nav-links,
  .nav-actions { display: none; }
  .mobile-menu-toggle { display: block; }

  .mobile-menu-backdrop {
    position: fixed;
    z-index: 1;
    inset: 76px 0 0;
    display: block;
    visibility: hidden;
    background: rgba(3,10,6,.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .mobile-menu {
    position: absolute;
    z-index: 3;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    color: #f1f6f2;
    background: #07120c;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 30px 70px rgba(2,8,4,.34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-header.mobile-menu-open .mobile-menu-backdrop,
  .site-header.mobile-menu-open .mobile-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .site-header.mobile-menu-open .mobile-menu { transform: translateY(0); }

  .mobile-menu-inner {
    width: min(var(--site-content-width), calc(100% - 48px));
    margin-inline: auto;
    padding: 8px 0 24px;
  }

  .mobile-menu-links { display: grid; }

  .mobile-menu-link,
  .mobile-modules-trigger {
    display: flex;
    min-height: 59px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 0;
    appearance: none;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.11);
    color: #dbe5dd;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color .16s ease;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link:focus-visible,
  .mobile-menu-link[aria-current="page"],
  .mobile-modules-trigger:hover,
  .mobile-modules-trigger:focus-visible,
  .mobile-modules-trigger.is-current { color: #6ced95; }

  .mobile-menu-meta {
    color: #708077;
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .02em;
  }

  .mobile-menu-cta {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 0 22px;
    appearance: none;
    border: 1px solid #55df83;
    border-radius: 999px;
    color: #06200f;
    background: #55df83;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
  }

  .mobile-menu-cta:hover {
    border-color: #6ced95;
    background: #6ced95;
  }

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

@media (max-width: 820px) {
  html { scroll-padding-top: 68px; }
  .nav.container { width: min(100% - 32px,var(--site-content-width)); min-height: 68px; }
  .brand img { width: 116px; }
  .mobile-menu-toggle { width: 42px; height: 42px; flex-basis: 42px; }
  .modules-backdrop { inset-block-start: 68px; }
  .modules-mega { max-height: calc(100vh - 68px); }
  .modules-mega-inner { width: min(100% - 32px,var(--site-content-width)); padding: 24px 0 30px; }
  .modules-mega-intro { padding-bottom: 21px; }
  .mobile-menu-backdrop { inset-block-start: 68px; }
  .mobile-menu {
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
  }
  .mobile-menu-inner { width: min(100% - 32px,var(--site-content-width)); }
}

@media (max-width: 680px) {
  .nav.container { gap: 13px; }
  .brand img { width: 106px; }
  .modules-mega-groups { grid-template-columns: 1fr; gap: 25px; }
  .modules-mega-link { padding-block: 11px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .modules-backdrop,
  .modules-mega,
  .modules-trigger::after,
  .mobile-menu-toggle,
  .mobile-menu-toggle span,
  .mobile-menu-backdrop,
  .mobile-menu { transition: none; }
}
