
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  background: var(--airnav-color-canvas);
  color: var(--airnav-color-ink);
  font-family: var(--airnav-font-body);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--airnav-color-teal);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  clip: auto;
  overflow: visible;
  background: var(--airnav-color-canvas);
  color: var(--airnav-color-forest);
  border-radius: var(--airnav-radius-control);
}



@media (max-width: 1024px) {
  .homepage-hero {
    padding: 80px 0 96px;
  }

  .homepage-hero .airnav-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .homepage-hero__content {
    max-width: 650px;
  }

  .homepage-hero__visual {
    justify-self: center;
    margin: 0;
  }

  .homepage-statistics,
  .homepage-statistics .airnav-container,
  .homepage-statistics__list {
    min-height: 0;
  }

  .homepage-statistics__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding: 48px 0;
  }

  .homepage-statistics__item:not(:last-child)::after {
    display: none;
  }

  .homepage-data {
    padding: 96px 0;
  }

  .homepage-data__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-operations {
    height: auto;
    padding-bottom: 72px;
  }

  .homepage-operations__header {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    gap: 20px;
    margin-bottom: 48px;
  }

  .homepage-operations__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .homepage-operations__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 20px;
  }

  .homepage-operations__card {
    min-height: 210px;
  }

  .homepage-operations__monitor {
    width: min(100%, 827px);
    height: auto;
    aspect-ratio: 827 / 690.391;
    margin: 0 auto;
  }

  .homepage-operations__monitor-base {
    top: 95.532%;
    width: 100%;
    height: 4.468%;
  }

  .homepage-operations__monitor-base img {
    top: -64.838%;
    left: -2.418%;
    width: 104.837%;
    height: 229.673%;
  }

  .homepage-operations__monitor-bezel {
    width: 99.922%;
    height: 98.51%;
  }

  .homepage-operations__monitor-screen {
    top: 1.2766%;
    left: 1.0657%;
    width: 97.8686%;
    height: 66.17%;
  }

  .homepage-other-products {
    height: auto;
    padding-bottom: 96px;
  }

  .homepage-other-products .airnav-container {
    padding-top: 96px;
  }

  .homepage-other-products__header {
    height: auto;
    margin-bottom: 48px;
  }

  .homepage-other-products__title {
    width: auto;
    white-space: normal;
  }

  .homepage-other-products__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .homepage-other-products__overview {
    height: auto;
    min-height: 330px;
  }

  .homepage-other-products__overview-content,
  .homepage-other-products__overview-body {
    width: min(100%, 520px);
  }

  .homepage-custom-solution {
    height: auto;
    padding-bottom: 72px;
  }

  .homepage-custom-solution .airnav-container {
    padding-top: 72px;
  }

  .homepage-custom-solution__main {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    gap: 48px;
  }

  .homepage-custom-solution__content {
    width: min(100%, 502px);
  }

  .homepage-custom-solution__visual {
    width: min(100%, 738px);
    height: auto;
    aspect-ratio: 738 / 448;
  }

  .homepage-custom-solution__capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    height: auto;
    margin-top: -20px;
  }

  .homepage-news {
    height: auto;
    padding-bottom: 96px;
  }

  .homepage-news .airnav-container {
    padding-top: 96px;
  }

  .homepage-news__header {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 20px;
    height: auto;
  }

  .homepage-news__overall-link {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0;
  }

  .homepage-news__columns {
    margin-top: 48px;
  }

  .site-footer__main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 40px 20px;
    min-height: 0;
    padding-bottom: 48px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .footer-navigation--data,
  .footer-navigation--other-solutions,
  .footer-navigation--operations,
  .footer-navigation--hardware,
  .footer-navigation--company {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  .site-branding .custom-logo,
  .site-branding__logo-image {
    width: 180px;
    height: auto;
  }

  .homepage-hero {
    padding: 56px 0 72px;
  }

  .homepage-hero .airnav-container {
    gap: 40px;
  }

  .homepage-hero__title {
    font-size: clamp(44px, 13vw, 64px);
    line-height: 1.08;
  }

  .homepage-hero__body {
    margin-top: 24px;
    font-size: 18px;
  }

  .homepage-hero__actions {
    align-items: stretch;
    gap: 16px;
    margin-top: 32px;
  }

  .homepage-hero__actions .airnav-button {
    width: 100%;
  }

  .homepage-statistics__list {
    gap: 24px 16px;
    padding: 40px 0;
  }

  .homepage-statistics__value {
    font-size: 40px;
  }

  .homepage-statistics__label {
    font-size: 15px;
    line-height: 21px;
  }

  .homepage-data,
  .homepage-other-products {
    padding-bottom: 72px;
  }

  .homepage-data {
    padding-top: 72px;
  }

  .homepage-data__header,
  .homepage-other-products__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }

  .homepage-data__title,
  .homepage-other-products__title,
  .homepage-operations__title,
  .homepage-custom-solution__title,
  .homepage-news__title {
    width: auto;
    font-size: clamp(42px, 12vw, 56px);
  }

  .homepage-data__intro,
  .homepage-other-products__intro {
    width: auto;
    transform: none;
  }

  .homepage-data__grid,
  .homepage-operations__list,
  .homepage-news__columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .homepage-data__card {
    height: auto;
    min-height: 395px;
  }

  .homepage-data__card-content,
  .homepage-data__card-title,
  .homepage-data__card-body {
    height: auto;
  }

  .homepage-data__card-link {
    margin-top: auto;
    padding-top: 24px;
  }

  .homepage-operations {
    padding-bottom: 56px;
  }

  .homepage-operations .airnav-container {
    padding-top: 56px;
  }

  .homepage-operations__header {
    gap: 16px;
    margin-bottom: 40px;
  }

  .homepage-operations__intro {
    transform: none;
  }

  .homepage-operations__card {
    min-height: 0;
  }

  .homepage-operations__monitor {
    width: 100%;
  }

  .homepage-other-products .airnav-container {
    padding-top: 72px;
  }

  .homepage-other-products__section-glow {
    right: -330px;
  }

  .homepage-other-products__products {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .homepage-other-products__card,
  .homepage-other-products__card--radar {
    min-height: 344px;
    padding: 28px;
  }

  .homepage-other-products__card--radar {
    padding-right: 28px;
  }

  .homepage-other-products__card-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    max-width: 100%;
    margin: 24px auto 0;
    transform: none;
  }

  .homepage-other-products__card-visual--airnav-radar,
  .homepage-other-products__card-visual--widget-builder {
    width: min(100%, 305px);
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .homepage-other-products__card-visual--hardware {
    width: 268.061px;
    height: 227px;
  }

  .homepage-custom-solution {
    padding-bottom: 56px;
  }

  .homepage-custom-solution .airnav-container {
    padding-top: 56px;
  }

  .homepage-custom-solution__main {
    gap: 40px;
  }

  .homepage-custom-solution__body {
    margin-top: 24px;
  }

  .homepage-custom-solution__body + .airnav-button {
    margin-top: 32px;
  }

  .homepage-custom-solution__capabilities {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
    margin-top: 24px;
  }

  .homepage-custom-solution__capability {
    height: auto;
  }

  .homepage-news {
    padding-bottom: 72px;
  }

  .homepage-news .airnav-container {
    padding-top: 72px;
  }

  .homepage-news__header {
    grid-template-columns: minmax(0, 1fr);
  }

  .homepage-news__intro {
    margin-top: 0;
    transform: none;
  }

  .homepage-news__overall-link {
    grid-column: auto;
  }

  .homepage-news__columns {
    gap: 48px;
    margin-top: 40px;
  }

  .homepage-news__card {
    flex-direction: column;
    height: auto;
  }

  .homepage-news__thumbnail,
  .homepage-news__card-content {
    width: 100%;
    height: auto;
    flex: auto;
  }

  .homepage-news__thumbnail {
    aspect-ratio: 279 / 164;
  }

  .homepage-news__card-content {
    min-height: 164px;
    gap: 20px;
  }

  .homepage-news__thumbnail-overlay {
    display: none;
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__utility {
    padding: 40px 0;
  }

  .site-footer__social-row,
  .site-footer__legal-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__social-row {
    gap: 20px;
  }

  .footer-social {
    margin-left: 0;
  }

  .site-footer__legal-row {
    gap: 20px;
  }

  .menu--legal {
    gap: 16px 24px;
  }

  .site-footer__copyright {
    text-align: left;
    white-space: normal;
  }
}
