/**
 * CORE
 **/

:root {
  --primary-color: #189265;
  --primary-light-color: #2AF597;
  --primary-dark-color: #006D44;
  --secondary-color-1: #B43E69;
  --secondary-color-2: #205566;
  --secondary-color-3: #c0f428;
  --secondary-color: var(--secondary-color-2);
  --black-color: #000000;
  --off-black-color: #2F2F2F;
  --white-color: #FFFFFF;
  --off-white-color: #D9D9D9;
  --nav-height: 50px;
  --border-radius: 20px;
  --border-radius-buttons: 0.285rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

a {
  vertical-align: middle;
  text-decoration: none;
}

p a, li a {
  vertical-align: inherit;
}

a:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

input {
  border-radius: var(--border-radius-buttons);
  border: none;
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 0.67857143em 1em;
}

@media (min-width: 1024px) {
  input {
    font-size: 1.25rem;
  }
}

ul {
  list-style: disc;
  text-align: left;
  width: fit-content;
}

img {
  max-width: 100%;
}

table {
  width: 100%;
  text-align: left;
  margin-bottom: 2rem;
}

table>thead {
  color: var(--primary-dark-color);
  font-weight: bold;
}

table thead tr {
  border-bottom: 1px solid var(--secondary-color);
}

table tbody tr:not(:last-child) {
  border-bottom: 1px solid var(--off-white-color);
}

table th, table td {
  padding: 0.5rem;
}

table th:first-child, table td:first-child {
  padding-left: 0;
}

table th:last-child, table td:last-child {
  padding-right: 0;
}

@media (max-width: 1023px) {
  table {
    display: flex;
  }

  table thead tr {
    border-bottom: none;
  }

  table tr {
    display: flex;
    flex-direction: column;
  }

  table th, table td {
    padding-left: 0;
  }
}

/**
 * NAVIGATION
 **/

.nav {
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  background-color: var(--primary-dark-color);
  width: 100%;
  transition: all 0.3s ease-in-out;
  overflow: visible;
}

.nav .nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.nav .img-link {
  max-height: var(--nav-height);
  padding: 10px;
  display: flex;
}

.nav .img-link svg {
  fill: var(--white-color);
}

@media (hover: hover) {
  .nav .img-link:hover {
    background-color: var(--secondary-color);
  }
}

.nav img, .nav svg {
  height: 30px;
}

.nav .menu-toggle {
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: var(--nav-height);
  padding: 10px;
}

@media (min-width: 1024px) {
  .nav .menu-toggle {
    display: none;
  }
}

.nav .menu-toggle:hover {
  background-color: var(--secondary-color);
}

.nav .menu-toggle.active {
  background-color: var(--secondary-color);
}

.nav menu {
  flex: 1 1 0;
  display: flex;
  position: absolute;
  list-style: none;
  flex-direction: column;
  background-color: var(--secondary-color);
  user-select: none;
  width: 100%;
  /*transform: translateY(-100%);*/
  height: 0;
  max-height: calc( 100dvh - var(--nav-height));
  top: var(--nav-height);
  transition: height 0.3s;
  z-index: -1;
  overflow: hidden;
}

.nav menu.active {
  height: auto;
  /*transform: translateY(0);*/
  overflow-y: auto;
}

@media (min-width: 1024px) {
  .nav menu {
    margin-left: 100px;
    position: unset;
    height: auto;
    transform: translateY(0);
    background-color: transparent;
    flex-wrap: wrap;
    z-index: unset;
    flex-direction: row;
    align-self: center;
    overflow: visible;
  }

  .nav menu.active {
    overflow-y: visible;
  }
}

.nav menu li {
  flex: 0 0 150px;
  text-decoration: none;
  color: var(--white-color);
  font-size: 1.25rem;
  display: block;
  padding: 0;
  transition: all 0.2s;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav menu li {
    position: relative;
  }
}

@media (hover:hover) {
  .nav .sub-menu>li:hover {
    background-color: var(--white-color);
    color: var(--secondary-color);
    border-left-color: var(--primary-light-color);
  }

  @media (min-width: 1024px) {
    .nav menu>li:hover {
      background-color: var(--white-color);
      color: var(--secondary-color);
      border-left-color: var(--primary-light-color);
    }
  }
}

.nav menu a {
  display: inline-block;
  color: inherit;
  padding: 15px;
}

.nav menu ul.sub-menu {
  background-color: var(--secondary-color);
  width: 100%;
}

.nav menu ul.sub-menu li {
  border-left: 10px solid var(--white-color);
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .nav menu ul.sub-menu {
    position: absolute;
    height: 0;
    width: max-content;
    transition: height 0.3s;
    overflow: hidden;
  }

  .nav menu ul.sub-menu li {
    border-left: none;
  }

  .nav menu>li:hover>ul.sub-menu {
    height: auto;
  }
}

.nav .social-links {
  margin-left: auto;
  margin-right: 0;
}

/**
 * SECTIONS
 **/

.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .section {
    padding: 4rem;
  }
}

.section.corners {
  background: no-repeat;
  background-image:
      url("./assets/img/pixel-corner-to-green-tl.png"),
      url("./assets/img/pixel-corner-to-green-br.png");
  background-position:
      left top,
      right bottom;
  background-size: 100px 100px;
}

@media (min-width: 1024px) {
  .section.corners {
    background-size: 200px 200px;
  }
}

.section.green.corners {
  background-image:
      url("./assets/img/pixel-corner-to-white-tl.png"),
      url("./assets/img/pixel-corner-to-white-br.png");
}

.section.corners.reversed {
  background-image:
      url("./assets/img/pixel-corner-to-green-tr.png"),
      url("./assets/img/pixel-corner-to-green-bl.png");
  background-position: right top, left bottom;
}

.section.green.corners.reversed {
  background-image:
      url("./assets/img/pixel-corner-to-white-tr.png"),
      url("./assets/img/pixel-corner-to-white-bl.png");
}

.section .section-content {
  width: 100%;
  max-width: 1200px;
}

.section .section-content:not(:last-child) {
  margin-bottom: 50px;
}

.section .section-content.center {
  text-align: center;
}

@media (max-width: 1023px) {
  .section .section-content.sm-center {
    text-align: center;
  }
}

.section .section-content.wide {
  max-width: 100%;
}

.section h1, .section h2, .section h3, .section h4, .section h5, .section h6, .section p, .section img {
  margin-bottom: 1.5rem;
}

.section h1:not(:first-child), .section h2:not(:first-child), .section h3:not(:first-child), .section h4:not(:first-child), .section h5:not(:first-child), .section h6:not(:first-child) {
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .section h1, .section h2, .section h3, .section h4, .section h5, .section h6, .section p {
    margin-bottom: 2rem;
  }

  .section h1:not(:first-child), .section h2:not(:first-child), .section h3:not(:first-child), .section h4:not(:first-child), .section h5:not(:first-child), .section h6:not(:first-child) {
    margin-top: 4rem;
  }
}

.section ol, .section ul {
  margin-bottom: 2rem;
  margin-left: 1.3rem;
}

.section ol.center, .section ul.center {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1023px) {
  .section ol.sm-center, .section ul.sm-center {
    margin-left: auto;
    margin-right: auto;
  }
}

.section ol {
  list-style: decimal;
}

.section .section-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .section .section-img {
    max-width: 75%;
  }
}

.section.green {
  background-color: var(--primary-light-color);
}

.section.dark-green {
  background-color: var(--primary-dark-color);
  color: var(--white-color)
}

.section.green h1, .section.green h2, .section.green h3, section.green h4, section.green h5, section.green h6 {
  color: var(--primary-dark-color);
}

.section.dark {
  color: var(--white-color);
  background-color: var(--primary-dark-color);
}

.section.secondary {
  color: var(--white-color);
  background-color: var(--secondary-color);
}

.section.secondary h2, section.secondary h3, section.secondary h4, section.secondary h5, section.secondary h6 {
  color: var(--primary-light-color);
}

.section.splash {
  background-image: url("/assets/img/stock-7.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  align-items: flex-start;
}

.section.splash .section-content {
  padding: 2rem;
  background-color: rgba(255,255,255,0.9);
  border-radius: var(--border-radius);
}

@media (min-width: 1024px) {
  .section.splash .section-content {
    max-width: 50%;
  }
}

.section-divider {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (min-width: 1024px) {
  .section-divider {
    height: 50vh;
  }
}

.section-divider img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: auto;
  will-change: transform;
}

/**
 * HERO SECTION
 **/

.hero {
  background: var(--primary-light-color)  no-repeat;
  background-image:
      url("./assets/img/pixel-corner-to-white-tl.png"),
      url("./assets/img/pixel-corner-to-white-br.png");
  background-position:
      left var(--nav-height),
      right bottom;
  background-size: 200px 200px;
}

.hero.section {
  padding: 0;
}

.hero .section-content {
  padding: 4rem 2rem;
  text-align: center;
}

.hero .section-content h1,
.hero .section-content p {
  margin-bottom: 2.5rem;
}

.hero .section-content p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .hero.section {
    flex-direction: row;
    padding: 4rem;
  }

  .hero .section-content {
    margin: 0;
    padding: 4rem;
  }

  .hero .section-content h1,
  .hero .section-content p {
    margin-bottom: 3rem;
  }

  .hero .section-content .title {
    font-size: 4rem;
    line-height: 4.2rem;
  }
}

.hero .section-content .title mark {
  vertical-align: sub;
}

.hero .section-content .title:not(.no-mark):after {
  content: "I";
  display: inline;
  width: 10px;
  height: 5.188rem;
  vertical-align: sub;
  color: var(--primary-dark-color);
  background-color: var(--primary-dark-color);
  margin-left: 10px;
  animation: blink 1s steps(2, start) infinite;
}

@media (min-width: 1024px) {
  .hero .section-content .title:after {
    height: 5.188rem;
  }
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.hero .section-content p {
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero .section-content p {
    max-width: 75%;
  }
}

.hero .section-content img {
  width: 100%;
}

.hero.image {
  background: var(--primary-light-color)  no-repeat;
  background-image:url("./assets/img/robot-green.jpg");
  background-size: cover;
  background-position: center;
}

/**
 * FEATURES
 **/

.features {
  display: flex;
  margin: 4rem auto;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
}

@media (min-width: 1024px) {
  .features {
    gap: 64px;
    flex-direction: row;
  }
}

.features.align-top {
  align-items: flex-start;
}

.features.stretch {
  align-items: stretch;
}

.features>div {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1023px) {
  .features.sm-reverse {
    flex-direction: column-reverse;
  }
}

.features.four>div {
  flex: 1 1 calc(50% - 32px);
}

@media (min-width: 1024px) {
  .features.one-one>div {
    flex: 1 1 calc(50% - 32px);
  }

  .features.one-two>div {
    flex: 1 0 calc(33.33333333% - 32px);
  }

  .features.one-two>div:nth-child(2) {
    flex: 1 0 calc(66.66666667% - 32px);
  }

  .features.two-one>div {
    flex: 1 0 calc(66.66666667% - 32px);
  }

  .features.two-one>div:nth-child(2) {
    flex: 1 0 calc(33.3333333% - 32px);
  }

  .features.four>div {
    flex: 0 1 calc(25% - 48px);
  }
}

.features.extra-gap {
  gap: 64px;
}

.features .feature-img.rounded img {
  border-radius: var(--border-radius);
}

.features .feature-box {
  background: rgba(255,255,255, 0.6);
  border-radius: var(--border-radius);
  padding: 2rem 2rem 0;
}

.features .feature-img.round {
  max-width: 250px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  aspect-ratio: 1/1;
  padding: 3em;
  background-color: var(--primary-dark-color);
}

.features .feature-img.round img {
  object-fit: cover;
  margin-bottom: 0;
}

.features .feature-img.round.secondary {
  background-color: var(--secondary-color);
}

/**
 * CTAS
 **/

.ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.ctas.left {
  justify-content: flex-start;
}

.cta {
  font-family: "Assistant", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white-color);
  background-color: var(--primary-dark-color);
  border-radius: var(--border-radius-buttons);
  padding: 0.785rem 1.5rem 0.785rem;
  font-size: 1.6rem;
  white-space: pre;
}

@media (min-width: 1024px) {
  .cta {
    font-size: 2.5rem;
  }
}

.cta:hover {
  color: var(--primary-dark-color);
  background-color: var(--primary-light-color);
}

.cta.secondary {
  color: var(--white-color);
  background-color: var(--secondary-color);
}

.cta.secondary:hover {
  background-color: var(--primary-color);
}

.ctas.attached {
  gap: 0;
}

.ctas.attached label {
  display: none;
}

.ctas.attached .input {
  font-size: 1rem;
  flex: 1 1 0;
  min-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.ctas.attached .cta {
  font-size: 1rem;
  padding: 0.67857143em 1em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

@media (min-width: 1024px) {
  .ctas.attached .cta, .ctas.attached .input {
    font-size: 1.25rem;
  }
}

/**
 * FILE DOWNLOAD
 **/

.file-display {
  display: flex;
  gap: 24px;
  flex-direction: row;
}

.file-display .file-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.file-display .file-download img {
  width: 100%;
  height: auto;
  max-width: 150px;
}

@media (max-width: 600px) {
  .file-display {
    flex-direction: column;
  }

  .file-display .file-download {
    flex-direction: row;
  }
}


/**
 * FOOTER
 **/

footer.section {
  background-color: var(--secondary-color);
  color: var(--white-color);
  padding: 2rem;
}

footer .section-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 1024px) {
  footer .section-content {
    flex-direction: row;

  }
}

footer .footer-list-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  footer .footer-list-container {
    flex-direction: row;
  }
}

footer .footer-list {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

footer .footer-list.horizontal {
  flex-direction: row;
}

@media (min-width: 1024px) {
  footer .footer-list.right {
    text-align: right;
  }

  footer .footer-list.right.horizontal {
    justify-content: flex-end;
  }
}

footer a {
  color: var(--white-color);
}

footer a:hover {
  color: var(--primary-light-color);
}

footer .footer-logo, footer .logo-text {
  width: 100%;
  max-width: 300px;
  text-align: center;
}

footer .logo-text {
  margin-top: -16px;
}

footer .title {
  margin-bottom: 0;
}

footer .social-links {
  margin-top: 16px;
}

footer .social-links a svg {
  fill: var(--white-color);
  height: 50px;
}

footer .social-links a:hover svg {
  fill: var(--primary-light-color);
}

/**
 * MAILCHIMP
 **/

#mc_embed_shell {
  width: 100%;
  max-width: 500px;
  margin: 3rem auto;
}

.mc-field-group.ctas {
  position: relative;
  flex-wrap: wrap;
}

#mc_embed_signup div.mce_inline_error {
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  border-radius: var(--border-radius-buttons);
}

#mce-responses .response {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 1.5rem;
  border-radius: var(--border-radius-buttons);
  color: var(--white-color);
  font-size: 1.5rem;
}

#mce-responses #mce-success-response {
  background-color: green;
}

#mce-responses #mce-error-response {
  background-color: darkred;
}
