* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #F6F4EE;
  font-family: 'Hanken Grotesk', sans-serif;
  color: #0E1726;
}

a {
  color: #1F5C46;
  text-decoration: none;
}

a:hover {
  color: #164635;
  text-decoration: underline;
}

/* Nav */
.nav-link:hover {
  opacity: 1 !important;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: #ffffff !important;
  text-decoration: none !important;
}

/* Buttons */
.btn-green:hover {
  background: #256e54 !important;
  text-decoration: none !important;
}

.btn-outline-hero:hover {
  border-color: rgba(246, 244, 238, 0.6) !important;
  text-decoration: none !important;
}

.btn-navy:hover {
  background: #123869 !important;
  text-decoration: none !important;
}

.btn-outline-cta:hover {
  border-color: rgba(246, 244, 238, 0.5) !important;
  text-decoration: none !important;
}

.learn-more:hover {
  text-decoration: underline !important;
}

.footer-link:hover {
  color: #F6F4EE !important;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  nav {
    padding: 16px 24px !important;
  }
  nav > div:last-child {
    gap: 16px !important;
  }
  section {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  h1 {
    font-size: 40px !important;
  }
  #flagship > div {
    grid-template-columns: 1fr !important;
    padding: 32px !important;
  }
  #apps > div:last-child {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  footer > div > div:first-child {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 560px) {
  nav > div:last-child a:not(:last-child) {
    display: none;
  }
  h1 {
    font-size: 32px !important;
  }
  #apps > div:last-child {
    grid-template-columns: 1fr !important;
  }
  footer > div > div:first-child {
    grid-template-columns: 1fr !important;
  }
}
