@font-face {
  font-family: "Aetr DM Sans";
  src: url("/assets/aeth/fonts/DMSans_18pt-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Aetr DM Sans";
  src: url("/assets/aeth/fonts/DMSans_18pt-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --aetr-nav-primary: #0f0928;
  --aetr-nav-secondary: #7f8187;
  --aetr-nav-accent: #c4d82e;
  --aetr-nav-panel: #e3e4df;
  --aetr-nav-surface: #efefef;
  --aetr-nav-dark: #172426;
  --aetr-nav-ticker-height: 37px;
}

#aetr-nav,
#aetr-nav * {
  box-sizing: border-box;
}

#aetr-nav {
  position: fixed;
  z-index: 1002;
  top: var(--aetr-nav-ticker-height);
  right: 0;
  left: 0;
  width: 100%;
  height: 88px;
  padding: 24px 40px;
  color: #fff;
  font-family: "Aetr DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  transform: none;
  transition: top .3s ease, transform .3s ease;
}

#aetr-nav.aetr-nav--hidden {
  transform: translateY(calc(-100% - var(--aetr-nav-ticker-height)));
}

#aetr-nav.aetr-nav--ticker-collapsed {
  top: 0;
}

#aetr-nav .aetr-nav__background {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: #fff;
  opacity: 0;
  transition: opacity .3s ease;
}

#aetr-nav.aetr-nav--scrolled .aetr-nav__background,
body.aetherion-contact-reference #aetr-nav .aetr-nav__background,
body.aetherion-stock-details #aetr-nav .aetr-nav__background,
body.aetherion-investor-detail-template #aetr-nav .aetr-nav__background,
body:has(.ag-library) #aetr-nav .aetr-nav__background {
  opacity: 1;
}

#aetr-nav .aetr-nav__container {
  display: flex;
  width: 100%;
  max-width: 1280px;
  height: 40px;
  margin: 0 auto;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  transition: color .3s ease;
}

#aetr-nav.aetr-nav--scrolled .aetr-nav__container,
body.aetherion-contact-reference #aetr-nav .aetr-nav__container,
body.aetherion-stock-details #aetr-nav .aetr-nav__container,
body.aetherion-investor-detail-template #aetr-nav .aetr-nav__container,
body:has(.ag-library) #aetr-nav .aetr-nav__container {
  color: var(--aetr-nav-primary);
}

#aetr-nav .aetr-nav__brand {
  position: relative;
  z-index: 3;
  display: block;
  flex: 0 1 180px;
  width: 180px;
  min-width: 0;
  height: 39.2px;
  color: inherit;
  transition: opacity .2s ease;
}

#aetr-nav .aetr-nav__brand:hover { opacity: .85; }
#aetr-nav .aetr-nav__brand:active { opacity: .7; }

#aetr-nav .aetr-nav__logo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity .3s ease;
}

#aetr-nav .aetr-nav__logo--light { opacity: 1; }
#aetr-nav .aetr-nav__logo--dark { opacity: 0; }

#aetr-nav.aetr-nav--scrolled .aetr-nav__logo--light,
body.aetherion-contact-reference #aetr-nav .aetr-nav__logo--light,
body.aetherion-stock-details #aetr-nav .aetr-nav__logo--light,
body.aetherion-investor-detail-template #aetr-nav .aetr-nav__logo--light,
body:has(.ag-library) #aetr-nav .aetr-nav__logo--light { opacity: 0; }

#aetr-nav.aetr-nav--scrolled .aetr-nav__logo--dark,
body.aetherion-contact-reference #aetr-nav .aetr-nav__logo--dark,
body.aetherion-stock-details #aetr-nav .aetr-nav__logo--dark,
body.aetherion-investor-detail-template #aetr-nav .aetr-nav__logo--dark,
body:has(.ag-library) #aetr-nav .aetr-nav__logo--dark { opacity: 1; }

#aetr-nav .aetr-nav__menu {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

#aetr-nav .aetr-nav__mobile-head,
#aetr-nav .aetr-nav__mobile-home,
#aetr-nav .aetr-nav__mobile-contact,
#aetr-nav .aetr-nav__menu-open { display: none; }

#aetr-nav .aetr-nav__links {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

#aetr-nav .aetr-nav__link,
#aetr-nav .aetr-nav__toggle {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity .2s ease;
}

#aetr-nav .aetr-nav__link:hover,
#aetr-nav .aetr-nav__toggle:hover { color: inherit; opacity: .8; }
#aetr-nav .aetr-nav__link:active,
#aetr-nav .aetr-nav__toggle:active { opacity: .7; }

#aetr-nav .aetr-nav__link.aetr-nav__mobile-home,
#aetr-nav .aetr-nav__link.aetr-nav__mobile-contact { display: none; }

#aetr-nav .aetr-nav__toggle {
  gap: 8px;
  align-items: center;
}

#aetr-nav .aetr-nav__chevron {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  transition: transform .2s ease;
}

#aetr-nav .aetr-nav__toggle[aria-expanded="true"] .aetr-nav__chevron {
  transform: rotate(-180deg);
}

#aetr-nav .aetr-nav__dropdown { position: relative; }

#aetr-nav .aetr-nav__backdrop {
  position: fixed;
  z-index: 1;
  inset: 0;
  visibility: hidden;
  background: rgb(0 0 0 / 10%);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(20px);
  transition: opacity .3s ease, visibility 0s linear .3s;
}

#aetr-nav.aetr-nav--dropdown-open .aetr-nav__backdrop {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

#aetr-nav.aetr-nav--dropdown-open .aetr-nav__container { color: #fff; }
#aetr-nav.aetr-nav--dropdown-open .aetr-nav__logo--light { opacity: 1; }
#aetr-nav.aetr-nav--dropdown-open .aetr-nav__logo--dark { opacity: 0; }

#aetr-nav .aetr-nav__panel {
  position: fixed;
  z-index: 2;
  top: calc(128px + var(--aetr-nav-ticker-height));
  right: 40px;
  left: 40px;
  display: grid;
  width: calc(100% - 80px);
  max-height: calc(100vh - 152px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 8px;
  overflow: auto;
  background: var(--aetr-nav-panel);
  color: var(--aetr-nav-primary);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}

#aetr-nav .aetr-nav__panel[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

#aetr-nav .aetr-nav__panel--solutions { grid-template-columns: 1fr 1fr; gap: 12px; }
#aetr-nav .aetr-nav__panel--investors { grid-template-columns: 1fr; }
#aetr-nav.aetr-nav--ticker-collapsed .aetr-nav__panel { top: 128px; }

#aetr-nav .aetr-nav__panel-column {
  display: flex;
  min-width: 0;
  padding: 12px;
  flex-direction: column;
  gap: 24px;
}

#aetr-nav .aetr-nav__overview {
  display: flex;
  color: var(--aetr-nav-primary);
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

#aetr-nav .aetr-nav__overview-title { display: flex; gap: 8px; align-items: center; font-size: 20px; line-height: 1.2; }
#aetr-nav .aetr-nav__overview-arrow { width: 20px; height: 20px; transition: transform .2s ease; }
#aetr-nav .aetr-nav__overview:hover .aetr-nav__overview-arrow { transform: rotate(45deg); }
#aetr-nav .aetr-nav__divider { width: 100%; height: 1px; margin: auto 0; background: rgb(0 0 0 / 10%); }

#aetr-nav .aetr-nav__menu-link,
#aetr-nav .aetr-nav__investor-link {
  display: flex;
  min-width: 0;
  gap: 16px;
  align-items: center;
  color: var(--aetr-nav-primary);
  text-decoration: none;
  transition: opacity .2s ease;
}

#aetr-nav .aetr-nav__menu-link:hover,
#aetr-nav .aetr-nav__investor-link:hover { color: var(--aetr-nav-primary); opacity: .9; }

#aetr-nav .aetr-nav__icon {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

#aetr-nav .aetr-nav__icon--overview {
  display: flex;
  height: auto;
  padding: 20px 0;
  border-radius: 12px;
  background: #f0f1ed;
  align-items: center;
  justify-content: center;
}

#aetr-nav .aetr-nav__icon--overview svg { display: block; width: 28px; height: 28px; }

#aetr-nav .aetr-nav__link-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
#aetr-nav .aetr-nav__link-title { font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
#aetr-nav .aetr-nav__link-description { color: var(--aetr-nav-secondary); font-size: 16px; line-height: 1.4; }

#aetr-nav .aetr-nav__feature {
  display: grid;
  min-height: 300px;
  grid-template-rows: minmax(120px, 1fr) auto;
  color: #d2d2d2;
  text-decoration: none;
}

#aetr-nav .aetr-nav__feature-media { min-height: 120px; border-radius: 8px; overflow: hidden; }
#aetr-nav .aetr-nav__feature-image { display: block; width: 100%; height: 100%; object-fit: cover; }
#aetr-nav .aetr-nav__feature-copy { position: relative; display: flex; padding: 24px; border-radius: 8px; background: var(--aetr-nav-dark); flex-direction: column; gap: 12px; }
#aetr-nav .aetr-nav__eyebrow { color: var(--aetr-nav-accent); font-size: 12px; line-height: 1.4; text-transform: uppercase; }
#aetr-nav .aetr-nav__feature-title { color: #d2d2d2; font-size: 24px; line-height: 1.25; }
#aetr-nav .aetr-nav__feature-description { margin: 0; color: #8f9697; font-size: 14px; line-height: 1.4; }
#aetr-nav .aetr-nav__feature-arrow { position: absolute; top: 16px; right: 16px; display: none; width: 20px; height: 20px; }
#aetr-nav .aetr-nav__mobile-all { display: none; }

#aetr-nav .aetr-nav__investor-grid {
  display: grid;
  padding: 12px;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

#aetr-nav .aetr-nav__contact {
  position: relative;
  z-index: 3;
  display: flex;
  width: 107px;
  height: 40px;
  padding: 10px 20px;
  border: 1px solid #fff;
  border-radius: 8px;
  background: #fff;
  color: var(--aetr-nav-primary);
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

#aetr-nav.aetr-nav--scrolled .aetr-nav__contact,
body.aetherion-contact-reference #aetr-nav .aetr-nav__contact,
body.aetherion-stock-details #aetr-nav .aetr-nav__contact,
body.aetherion-investor-detail-template #aetr-nav .aetr-nav__contact,
body:has(.ag-library) #aetr-nav .aetr-nav__contact {
  border-color: var(--aetr-nav-primary);
  background: var(--aetr-nav-primary);
  color: #fff;
}

#aetr-nav.aetr-nav--dropdown-open .aetr-nav__contact { border-color: #fff; background: #fff; color: var(--aetr-nav-primary); }

#aetr-nav .aetr-nav__contact-copy { display: flex; width: 100%; height: 18.2px; overflow: hidden; flex-direction: column; align-items: center; }
#aetr-nav .aetr-nav__contact-copy span { display: flex; min-height: 18.2px; align-items: center; transition: transform .2s ease; }
#aetr-nav .aetr-nav__contact:hover .aetr-nav__contact-copy span,
#aetr-nav .aetr-nav__contact:focus-visible .aetr-nav__contact-copy span { transform: translateY(-18.2px); }

#aetr-nav :focus-visible {
  outline: 2px solid var(--aetr-nav-accent);
  outline-offset: 3px;
}

#aetr-nav-legacy { display: none; }

@media (max-width: 991px) {
  #aetr-nav {
    height: 87.2px;
    padding: 24px 40px;
  }

  #aetr-nav .aetr-nav__container { height: 39.2px; }
  #aetr-nav .aetr-nav__brand { z-index: 4; flex-basis: 180px; width: 180px; }
  #aetr-nav .aetr-nav__contact { display: none; }

  #aetr-nav .aetr-nav__menu-open {
    position: relative;
    z-index: 4;
    display: flex;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  #aetr-nav .aetr-nav__menu-open svg { width: 24px; height: 24px; }

  #aetr-nav .aetr-nav__menu {
    position: fixed;
    z-index: 3;
    inset: 0 0 auto;
    display: none;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    padding: 24px 40px;
    overflow: auto;
    background: rgb(0 0 0 / 60%);
    color: var(--aetr-nav-primary);
    opacity: 0;
    backdrop-filter: blur(100px);
    justify-content: flex-start;
    transition: opacity .3s ease;
  }

  #aetr-nav.aetr-nav--menu-open .aetr-nav__menu { display: flex; flex-direction: column; align-items: stretch; }
  #aetr-nav.aetr-nav--menu-visible .aetr-nav__menu { opacity: 1; }
  #aetr-nav.aetr-nav--menu-open .aetr-nav__brand { visibility: hidden; }
  #aetr-nav.aetr-nav--menu-open .aetr-nav__menu-open { visibility: hidden; }

  #aetr-nav .aetr-nav__mobile-head {
    display: flex;
    min-height: 44px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;
  }

  #aetr-nav .aetr-nav__mobile-mark { display: block; width: 44px; height: 44px; object-fit: contain; object-position: left center; }
  #aetr-nav .aetr-nav__menu-close { display: flex; padding: 8px 0; border: 0; background: transparent; color: #fff; gap: 12px; align-items: center; font: inherit; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; text-transform: uppercase; cursor: pointer; }
  #aetr-nav .aetr-nav__menu-close svg { width: 24px; height: 24px; }

  #aetr-nav .aetr-nav__links {
    display: flex;
    padding: 12px 12px 20px;
    border-radius: 8px;
    background: var(--aetr-nav-panel);
    flex-direction: column;
    gap: 1px;
    align-items: stretch;
  }

  #aetr-nav .aetr-nav__link.aetr-nav__mobile-home,
  #aetr-nav .aetr-nav__link.aetr-nav__mobile-contact { display: flex; }

  #aetr-nav .aetr-nav__link,
  #aetr-nav .aetr-nav__toggle {
    width: 100%;
    padding: 16px 8px;
    border-bottom: 1px solid rgb(15 9 40 / 20%);
    color: var(--aetr-nav-primary);
    justify-content: flex-start;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
  }

  #aetr-nav .aetr-nav__toggle { justify-content: space-between; }
  #aetr-nav .aetr-nav__toggle--current {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 14px;
  }
  #aetr-nav .aetr-nav__mobile-contact { border-bottom: 0; }
  #aetr-nav .aetr-nav__mobile-home[aria-current="page"]::before,
  #aetr-nav .aetr-nav__toggle--current::before {
    width: 10px;
    height: 10px;
    margin: auto 0;
    border-radius: 50%;
    background: var(--aetr-nav-accent);
    content: "";
    flex: 0 0 10px;
  }

  #aetr-nav .aetr-nav__backdrop { display: none; }

  #aetr-nav .aetr-nav__dropdown { width: 100%; }
  #aetr-nav .aetr-nav__panel {
    position: static;
    display: none;
    width: 100%;
    max-width: none;
    max-height: none;
    padding: 20px 0 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    opacity: 1;
    transform: none;
    transition: none;
  }

  #aetr-nav .aetr-nav__panel[aria-hidden="false"] { display: flex; }
  #aetr-nav .aetr-nav__panel--solutions { flex-direction: column; }
  #aetr-nav .aetr-nav__panel--investors { flex-direction: column; }
  #aetr-nav .aetr-nav__panel-column { width: 100%; padding: 0; gap: 16px; }
  #aetr-nav .aetr-nav__overview,
  #aetr-nav .aetr-nav__divider { display: none; }
  #aetr-nav .aetr-nav__menu-link,
  #aetr-nav .aetr-nav__investor-link { margin-top: 16px; gap: 12px; }
  #aetr-nav .aetr-nav__icon { width: 44px; height: 44px; flex-basis: 44px; }
  #aetr-nav .aetr-nav__link-title { font-size: 20px; }
  #aetr-nav .aetr-nav__link-description { display: none; }

  #aetr-nav .aetr-nav__mobile-all {
    display: flex;
    min-height: 52px;
    margin-top: 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--aetr-nav-primary);
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  #aetr-nav .aetr-nav__feature { min-height: 0; margin-top: 16px; grid-template-rows: auto; }
  #aetr-nav .aetr-nav__feature-media { display: none; }
  #aetr-nav .aetr-nav__feature-copy { min-height: 200px; padding: 20px; }
  #aetr-nav .aetr-nav__feature-arrow { display: block; }
  #aetr-nav .aetr-nav__investor-grid { width: 100%; padding: 0; gap: 0 24px; }
}

@media (min-width: 480px) and (max-width: 991px) {
  #aetr-nav .aetr-nav__panel--solutions[aria-hidden="false"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  #aetr-nav { height: 71.2px; padding: 16px 20px; }
  #aetr-nav .aetr-nav__container { height: 39.2px; }
  #aetr-nav .aetr-nav__menu { padding: 16px 20px; }
  #aetr-nav .aetr-nav__mobile-head { min-height: 38px; margin-bottom: 12px; }
  #aetr-nav .aetr-nav__mobile-mark { width: 38px; height: 38px; }
  #aetr-nav .aetr-nav__links { padding: 16px 20px; }
  #aetr-nav .aetr-nav__link,
  #aetr-nav .aetr-nav__toggle { padding: 12px 4px; font-size: 17px; }
  #aetr-nav .aetr-nav__panel { padding-top: 16px; }
  #aetr-nav .aetr-nav__menu-link,
  #aetr-nav .aetr-nav__investor-link { margin-top: 12px; }
  #aetr-nav .aetr-nav__icon { width: 42px; height: 42px; flex-basis: 42px; }
  #aetr-nav .aetr-nav__link-title { font-size: 17px; }
  #aetr-nav .aetr-nav__feature-copy { padding: 16px; }
}

@media (max-width: 479px) {
  #aetr-nav .aetr-nav__panel--solutions { flex-direction: column; }
  #aetr-nav .aetr-nav__investor-grid { grid-template-columns: 1fr; }
  #aetr-nav .aetr-nav__feature { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #aetr-nav,
  #aetr-nav *,
  #aetr-nav *::before,
  #aetr-nav *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
