@import "reset.css";
@import "print.css";
@import "lenis.css";

:root {    
  --fluid-24-100: clamp(1.5rem, 0.55rem + 4.75vw, 6.25rem);
  --fluid-44-188: clamp(2.75rem, 0.95rem + 9vw, 11.75rem);
  --fluid-30-60: clamp(1.875rem, 1.5rem + 1.875vw, 3.75rem);
  --fluid-40-80: clamp(2.5rem, 2rem + 2.5vw, 5rem);  
  --fluid-30-113: clamp(1.875rem, 0.8375rem + 5.1875vw, 7.0625rem);  
  --fluid-18-22: clamp(1.125rem, 1.075rem + 0.25vw, 1.375rem);
  --fluid-28-66: clamp(1.75rem, 1.275rem + 2.375vw, 4.125rem);
  --fluid-24-60: clamp(1.5rem, 1.05rem + 2.25vw, 3.75rem);
  --fluid-15-30: clamp(0.9375rem, 0.75rem + 0.9375vw, 1.875rem);
  --fluid-16-18: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
  --fluid-20-40: clamp(1.25rem, 1rem + 1.25vw, 2.5rem);
  --fluid-30-72: clamp(1.875rem, 1.35rem + 2.625vw, 4.5rem);
  --fluid-44-100: clamp(2.75rem, 2.05rem + 3.5vw, 6.25rem);
  --fluid-15-50: clamp(0.9375rem, 0.5rem + 2.1875vw, 3.125rem);
  --fluid-15-25: clamp(0.9375rem, 0.8125rem + 0.625vw, 1.5625rem);
  --fluid-18-36: clamp(1.125rem, 0.9rem + 1.125vw, 2.25rem);
  --fluid-50-100: clamp(3.125rem, 2.5rem + 3.125vw, 6.25rem);
  --fluid-60-80: clamp(3.75rem, 3.5rem + 1.25vw, 5rem);
  --fluid-30-40: clamp(1.875rem, 1.75rem + 0.625vw, 2.5rem);
  --fluid-55-140: clamp(3.4375rem, 2.375rem + 5.3125vw, 8.75rem);
  --fluid-18-30: clamp(1.125rem, 0.975rem + 0.75vw, 1.875rem);
  --fluid-24-36: clamp(1.5rem, 1.35rem + 0.75vw, 2.25rem);
  --fluid-105-250: clamp(6.5625rem, 4.75rem + 9.0625vw, 15.625rem);
  --fluid-30-50: clamp(1.875rem, 1.625rem + 1.25vw, 3.125rem);
  --fluid-134-362: clamp(8.375rem, 5.525rem + 14.25vw, 22.625rem);
  --fluid-100-270: clamp(6.25rem, 4.125rem + 10.625vw, 16.875rem);
  --fluid-40-65: clamp(2.5rem, 2.2768rem + 1.1161vw, 4.0625rem);
  --fluid-24-32: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
  --fluid-20-28: clamp(1.25rem, 1.15rem + 0.5vw, 1.75rem);
  --fluid-18-30: clamp(1.125rem, 0.975rem + 0.75vw, 1.875rem);
  --fluid-90-200: clamp(5.625rem, 4.25rem + 6.875vw, 12.5rem);

  --color-brand-blue: #0045A0;
  --color-white: #ffffff;
  --color-white-alpha-10: #FFFFFF1A;
  --color-white-alpha-30: #FFFFFF4D;
  --color-white-alpha-60: #FFFFFF99;
  --color-info-cyan: #00A5D8;
  --color-gray: #707070;
  --color-gray-alpha-56: #7070708F;
  --color-white-rgba-17: rgba(255, 255, 255, 0.168);
  --color-white-rgba-6: rgba(255, 255, 255, 0.0588);
  --color-gray-rgba-56: rgba(112, 112, 112, 0.56);
  --color-accent-pink: #E578F9;
  --color-accent-lime: #C6F25C;
  --color-accent-red: #F77980;
  --color-accent-orange: #F7931E;
  --color-accent-cyan-rgba-67: rgba(64, 201, 255, 0.67);
  --color-footer-blue: #001364;

  --panel-glass-bg: linear-gradient(90deg, var(--color-white-rgba-17) 1%, var(--color-white-rgba-6) 100%);
  --panel-glass-border: 0.188rem solid var(--color-gray-rgba-56);
  --panel-glass-radius-lg: var(--fluid-30-72);
  --panel-glass-radius-sm: var(--fluid-15-30);

  --container-wide: calc(1570 / 1920 * 100%);
  --container-narrow: calc(1420 / 1920 * 100%);
  --container-mobile: 90vw;
}

html, body {
  overflow-x: clip;
  overflow-y: visible;
}

html {
  font-family: sans-serif;
  background-color: var(--color-brand-blue);
  color: var(--color-white);
  scrollbar-color: var(--color-accent-pink) var(--color-brand-blue);
  scrollbar-width: thin;
}

body {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.js .slide-from-right,
.js .slide-from-left {
  opacity: 0;
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 500ms ease;
  will-change: transform, opacity;
}

.js .slide-from-right {
  transform: translateX(100%) scale(0.5);
  transform-origin: right bottom;
}

.js .slide-from-left {
  transform: translateX(-100%) scale(0.5);
  transform-origin: left bottom;
}

.js .slide-from-right.is-visible,
.js .slide-from-left.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.js .slide-up {
  opacity: 0;
  transform: translateY(3rem);
  transition: transform 500ms ease var(--reveal-delay, 0ms), opacity 500ms ease var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.js .slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .slide-scale {
  opacity: 0;
  transform: scale(0.6);
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1) var(--reveal-delay, 0ms), opacity 500ms ease var(--reveal-delay, 0ms);
  will-change: transform, opacity;
  transform-origin: center center;
}

.js .slide-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {

  .js .slide-from-right,
  .js .slide-from-left,
  .js .slide-from-right.is-visible,
  .js .slide-from-left.is-visible,
  .js .slide-up,
  .js .slide-up.is-visible,
  .js .slide-scale,
  .js .slide-scale.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
h1 {
  font-family: "myriad-pro-condensed", sans-serif;
  font-weight: 700;
  font-size: var(--fluid-28-66);
}

h2,.h2,
h3,.h3 {
  font-family: "myriad-pro-condensed", sans-serif;
  font-weight: 700;
  font-style: italic;
}
h4 {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: var(--fluid-24-32);
  text-transform: uppercase;
}
h5 {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: var(--fluid-20-28);
  text-transform: uppercase;
}

.wrapper {
  position: relative;
  max-width: 120rem;
  margin: 0 auto;
}

.intro,
.sniff,
.solution {
  max-width: var(--container-wide);
  margin-inline: auto;
}

.forwhat,
.how,
.howwhy {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

@media (width < 98.125rem) {

  .intro,
  .sniff,
  .solution,
  .forwhat,
  .how,
  .howwhy {
    max-width: var(--container-mobile);
  }
}

.sniff,
.how {
  background: var(--panel-glass-bg) 0% 0% no-repeat padding-box;
  border: var(--panel-glass-border);
  border-radius: var(--panel-glass-radius-lg);
}

.how .content div,
.howwhy .howlong {
  background: var(--panel-glass-bg) 0% 0% no-repeat padding-box;
  border: var(--panel-glass-border);
  border-radius: var(--panel-glass-radius-sm);
}

header {
  background-image: url("../img/bg12.png"), url("../img/bg11.jpg");
  background-position: center top, center top;
  background-size: min(165rem, 137.5%) auto, cover;
  background-repeat: repeat-y, no-repeat;
  background-blend-mode: multiply, normal;
  padding-bottom: var(--fluid-30-60);
}

#nos1 {
  position: absolute;
  z-index: 1;
  display: block;
  width: calc(329/1170 * 100%);
  height: auto;
  right: 0;
  top: -52%;

  @media (width < 50rem) {
    right: -10%;
  }
}

#usta1 {
  position: absolute;
  z-index: 1;
  display: block;
  width: calc(431/1570 * 100%);
  height: auto;
  left: calc(-239/1570 * 100%);
  bottom: 0;

  @media (width < 50rem) {
    left: -20%;
  }
}

#usta2 {
  position: absolute;
  z-index: 1;
  display: block;
  width: calc(458/1570 * 100%);
  height: auto;
  right: calc(-257/1570 * 100%);
  bottom: 0;

  @media (width < 50rem) {
    right: -23%;
  }
}

.logos {
  max-width: calc(1570/1920 * 100%);
  margin: 0 auto;
  padding-block: var(--fluid-20-40);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--fluid-20-40);

  a:first-child img {
    width: var(--fluid-134-362);
  }
  a:last-child img {
    width: var(--fluid-100-270);
  }


  @media (width < 98.125rem) {
    max-width: 90vw;
  }
}

.intro {
  position: relative;
  padding-top: var(--fluid-40-80);
  background: var(--color-brand-blue) 0% 0% no-repeat padding-box;
  border-radius: var(--fluid-30-113);
}

.help {
  position: relative;
  z-index: 2;
  max-width: calc(1170/1570 * 100%);
  margin-inline: auto;

  div {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    width: fit-content;
    gap: 1rem;
  }

  h2 {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
  }

  h2:nth-of-type(1) {
    grid-area: 1 / 1 / 2 / 3;
    font-size: var(--fluid-24-100);
    text-align: center;
  }

  h2:nth-of-type(2) {
    grid-area: 2 / 1 / 3 / 2;
    font-size: var(--fluid-24-100);
  }

  h2:nth-of-type(3) {
    grid-area: 2 / 2 / 3 / 3;
    font-size: var(--fluid-44-188);
  }
}

.text {
  position: relative;
  z-index: 2;
  padding: var(--fluid-20-40) 0;
  max-width: calc(1170/1570 * 100%);
  margin-inline: auto;

  >*+* {
    margin-top: var(--fluid-15-30);
  }

  p {
    font-size: var(--fluid-18-22);
    line-height: 1.375;
    text-align: center;
    text-wrap: balance;
  }

  @media (width < 50rem) {
    max-width: calc(1410/1570 * 100%);
    margin: 0 auto;
    padding: var(--fluid-40-80) 0 var(--fluid-40-80) 0;
  }
}

.what {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr var(--fluid-30-60) 1fr;
  grid-template-rows: auto auto var(--fluid-30-60);
  max-width: calc(1380/1570 * 100%);
  margin: 0 auto;

  h2 {
    grid-area: 1 / 1 / 2 / 4;
    z-index: 3;
    line-height: 1.1;
    margin-bottom: var(--fluid-15-30);
    font-size: var(--fluid-28-66);
    text-align: center;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
  }

  .bg-left { grid-area: 2 / 1 / 3 / 2; }
  .bg-right { grid-area: 2 / 3 / 3 / 4; }

  .bg {
    z-index: 1;
    background: var(--panel-glass-bg) 0% 0% no-repeat padding-box;
    border: var(--panel-glass-border);
    border-radius: var(--panel-glass-radius-sm);
  }

  .content {
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: var(--fluid-15-30);
    padding: var(--fluid-20-40) var(--fluid-40-80) var(--fluid-20-40) var(--fluid-20-40);

    h3 {
      font-size: var(--fluid-24-60);
      line-height: 1.1;
      text-box-trim: trim-both;
      text-box-edge: cap alphabetic;
    }

    p {
      flex: 1;
      font-size: var(--fluid-18-22);
      line-height: 1.375;
      display: flex;
    }
  }
  
  .content-left { grid-area: 2 / 1 / 3 / 2; }
  .content-right { grid-area: 2 / 3 / 3 / 4; }

  .virus {
    grid-area: 1 / 1 / 4 / 4;
    z-index: 2;

    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
    }
  }

  @media (width < 50rem) {

    grid-template-columns: 1fr;
    grid-template-rows: auto auto var(--fluid-30-60) auto var(--fluid-30-60);

    h2 { grid-area: 1 / 1 / 2 / 2; }
    .bg-left { grid-area: 2 / 1 / 3 / 2; }
    .bg-right { grid-area: 4 / 1 / 5 / 2; }
    .content-left { grid-area: 2 / 1 / 3 / 2; }
    .content-right { grid-area: 4 / 1 / 5 / 2; }
    .virus { grid-area: 1 / 1 / 6 / 2; }

    .content { padding: var(--fluid-30-60); }

  }
}

.text-narrow {
  position: relative;
  z-index: 2;
  max-width: calc(1170/1570 * 100%);
  margin: 0 auto;
  padding: var(--fluid-20-40) 0 var(--fluid-15-30) 0;
  text-align: center;

  >*+* {
    margin-top: var(--fluid-15-30);
  }

  p {
    font-weight: 500;
    font-size: var(--fluid-18-22);
    line-height: 1.3;
    text-wrap: balance;
  }

  span {
    display: block;
    margin-top: var(--fluid-15-30);
    font-size: var(--fluid-16-18);
    line-height: 1.47;
    color: var(--color-info-cyan);
  }

  @media (width < 50rem) {
    max-width: calc(1410/1570 * 100%);
    padding: var(--fluid-15-30) 0 var(--fluid-15-30) 0;

    span {
      br {
        display: none;
      }
    }
  }
}


main {
  background-color: var(--color-brand-blue);
  background-image: url(../img/bg2.png);
  background-repeat: repeat-y;
  background-size: min(190.5rem, 158.75%) auto;
  background-position: top center;
  background-blend-mode: multiply;
  padding: var(--fluid-30-60) 0;
}

.sniff {
  position: relative;
  padding: var(--fluid-20-40) 0 var(--fluid-40-80) 0;

  h2 {
    max-width: calc(1120/1570 * 100%);
    margin-inline: auto;
    font-size: var(--fluid-28-66);
    text-align: center;
    line-height: 0.9;
    margin-bottom: 2.5rem;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;

    span {
      display: block;
      font-size: var(--fluid-44-100);
    }

    @media (width < 98.125rem) {
      max-width: calc(1410/1570 * 100%);
    }
  }

  div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fluid-20-40);
    max-width: calc(1120/1570 * 100%);
    margin: 0 auto;

    p {
      font-family: "myriad-pro-condensed", sans-serif;
      font-weight: 700;
      font-size: var(--fluid-18-30);
      line-height: 1.1;
      text-align: center;
      color: var(--color-brand-blue);
      padding: var(--fluid-15-30);
      border-radius: var(--fluid-15-30);
    }

    p:nth-of-type(1) {
      background: var(--color-accent-pink);
    }

    p:nth-of-type(2) {
      background: var(--color-accent-lime);
    }

    p:nth-of-type(3) {
      background: var(--color-accent-red);
    }

    p:nth-of-type(4) {
      background: var(--color-accent-orange);
    }

    @media (width < 98.125rem) {
      max-width: calc(1410/1570 * 100%);
    }

    @media (width < 50rem) {
      grid-template-columns: repeat(1, 1fr);
    }
  }

  #nos2 {
    position: absolute;
    display: block;
    width: calc(360/1570 * 100%);
    height: auto;
    left: calc(-239/1570 * 100%);
    bottom: -12.1875%;

    @media (width < 50rem) {
      bottom: -5%;
    }
  }

}

.headline {
  margin: var(--fluid-40-80) auto;
  width: fit-content;

  h2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--fluid-15-30);
  }

  span:nth-of-type(1) {
    display: block;
    font-size: var(--fluid-24-100);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
  }

  span:nth-of-type(2) {
    display: block;
    font-family: "myriad-pro-semiextended", sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: var(--fluid-44-188);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
    margin-left: var(--fluid-30-60);
  }
}

.solution {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  padding: var(--fluid-20-40) 0 var(--fluid-40-80) 0;
  background: var(--color-accent-cyan-rgba-67) 0% 0% no-repeat padding-box;
  border-radius: var(--fluid-30-72);

  h3 {
    font-size: var(--fluid-28-66);
    text-align: center;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
  }

  #nos3 {
    position: absolute;
    z-index: 1;
    display: block;
    width: calc(331/1570 * 100%);
    height: auto;
    right: calc(-80/1570 * 100%);
    top: -9.111%;
    @media (width < 50rem) {
      top: -2%;
    }
  }

  #usta3 {
    position: absolute;
    z-index: 1;
    display: block;
    width: calc(391/1570 * 100%);
    height: auto;
    left: calc(-239/1570 * 100%);
    bottom: -9.5%;
    @media (width < 50rem) {
      bottom: -2%;
    }
  }

  #usta4 {
    position: absolute;
    display: block;
    width: calc(481/1420 * 100%);
    height: auto;
    right: calc(-331/1420 * 100%);
    bottom: -19%;
    @media (width < 50rem) {
      bottom: -2%;
    }
  }

  @media (width < 50rem) {
    gap: var(--fluid-30-60);
  }
}

.products {
  display: flex;
  align-items: stretch;
  gap: var(--fluid-30-60);
  width: calc(1160/1570 * 100%);

  .product {
    flex: 1;
    position: relative;
    display: grid;
    grid-template-rows: var(--fluid-40-80) max-content 1fr;

    .bg {
      position: relative;
      z-index: 1;
      grid-area: 2 / 1 / 4 / 2;
      background: transparent linear-gradient(135deg, var(--color-white-alpha-60) 1%, var(--color-white-alpha-10) 100%) 0% 0% no-repeat padding-box;
      border: 0.125rem solid var(--color-gray);
      border-radius: var(--fluid-15-50);
    }

    figure {
      position: relative;
      z-index: 2;
      grid-area: 1 / 1 / 3 / 2;
      margin-block: 0;
      align-self: start;

      img {
        display: block;
      }

      @media (width < 50rem) {
        img {
          height: 18.75rem;
          width: auto;
        }
      }
    }

    .name {
      position: relative;
      z-index: 2;
      grid-area: 3 / 1 / 4 / 2;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      gap: 1rem;

      h4 {
        font-size: var(--fluid-18-30);
        line-height: 1.1;
        font-weight: 900;
        text-align: center;
        padding-inline: 5%;
        text-transform: none;
      }

      p {
        font-size: var(--fluid-18-22);
        line-height: 1.1;
        text-align: center;
        padding-inline: 15%;
        text-wrap: balance;
        flex: 1;
      }

      .button {
        display: block;
        padding: var(--fluid-15-30) var(--fluid-30-60);
        margin-block: var(--fluid-15-30);
        overflow: hidden;
        cursor: pointer;
        font-size: var(--fluid-18-22);
        font-weight: 700;
        color: var(--color-white);
        text-decoration: none;
        text-box-trim: trim-both;
        text-box-edge: cap alphabetic;
        background: var(--color-brand-blue) 0% 0% no-repeat padding-box;
        border: 0.063rem solid var(--color-gray);
        border-radius: 120rem;
      }

      @media (width < 50rem) {
        p {
          padding-inline: 5%;
        }
      }
    }
  }

  @media (width < 98.125rem) {
    width: calc(1410/1570 * 100%);
  }

  @media (width < 50rem) {
    flex-direction: column;
  }
}



.headline-small {
  margin: var(--fluid-40-80) auto var(--fluid-30-60) auto;
  width: fit-content;
  padding-inline: 5%;
  text-align: center;

  h2 {
    font-size: var(--fluid-28-66);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;

    img {
      display: inline-block;
      height: 1cap;
      width: auto;
      margin-inline: 0.5rem;
    }
  }
}


.forwhat {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr;
  gap: 1rem var(--fluid-30-60);
  padding: var(--fluid-20-40) var(--fluid-30-60);
  background: linear-gradient(135deg, var(--color-white-alpha-30) 1%, var(--color-white-alpha-10) 100%);
  border: 0.125rem solid var(--color-gray-alpha-56);
  border-radius: var(--fluid-15-50);
  font-size: var(--fluid-18-22);
  line-height: 1.375;

  p:nth-of-type(1) {
    grid-area: 2 / 1 / 3 / 2;
  }

  p:nth-of-type(2) {
    grid-area: 1 / 2 / 2 / 3;
    font-weight: 700;
  }

  ul:nth-of-type(1) {
    grid-area: 2 / 2 / 3 / 3;
    list-style: none;
    padding-left: 0;
    margin: 0;

    li {
      padding: 0.5rem 0.5rem 0.5rem 1.75rem;
      position: relative;
      margin-bottom: 1rem;
      background: transparent linear-gradient(135deg, var(--color-white-alpha-30) 1%, var(--color-white-alpha-10) 100%) 0% 0% no-repeat padding-box;
      border: 0.063rem solid var(--color-gray);
      border-radius: var(--fluid-15-25);
    }

    li::before {
      content: "•";
      position: absolute;
      left: 0.75rem;
      top: 0.8rem;
      line-height: 1;
    }

    li:last-child {
      margin-bottom: 0;
    }
  }

  ul:nth-of-type(2) {
    grid-area: 2 / 3 / 3 / 4;
    list-style: none;
    padding-left: 0;
    margin: 0;

    li {
      padding-left: 1.75rem;
      margin-top: 1rem;
      position: relative;
    }

    li::before {
      content: "•";
      position: absolute;
      left: 0.75rem;
      top: 0.3rem;
      line-height: 1;
    }

    li:first-child {
      padding-left: 0;
      margin-top: 0;

      &:before {
        display: none;
      }
    }
  }

  @media (width < 98.125rem) {
    padding: var(--fluid-20-40) 5%;
  }

  @media (width < 50rem) {
    display: flex;
    flex-direction: column;
  }
}

.how {
  position: relative;
  margin-bottom: var(--fluid-40-80);
  padding: var(--fluid-20-40) var(--fluid-30-60);

  h3 {
    font-size: var(--fluid-24-60);
    font-style: normal;
    text-align: center;
    margin-bottom: var(--fluid-15-30);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;

    span {
      display: block;
      font-size: var(--fluid-18-36);
      margin-bottom: var(--fluid-30-60);
    }
  }

  .content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fluid-15-30) var(--fluid-30-60);

    @media (width < 50rem) {
      display: flex;
      flex-direction: column;
      gap: var(--fluid-30-60) var(--fluid-15-30);
    }

    div {
      position: relative;
      grid-row: span 2;
      display: grid;
      grid-template-rows: subgrid;
      padding: var(--fluid-15-30);
      gap: 1rem;

      figure {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        margin-block: 0;
      }

      p {
        font-size: var(--fluid-18-22);
        line-height: 1.375;
        text-align: center;
        text-wrap: balance;
      }

      .num {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: var(--fluid-60-80);
        aspect-ratio: 1;
        top: calc(var(--fluid-30-40) * -1);
      }
    }
  }

  #usta5 {
    position: absolute;
    display: block;
    width: calc(397/1420 * 100%);
    height: auto;
    left: -20%;
    top: -20%;
    @media (width < 50rem) {
      left: -20%;
      top: -7%;
    }
  }
}

.application {
  figure {
    padding-top: var(--fluid-20-40);
  }
}

.howwhy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--fluid-30-60);
  padding-bottom: var(--fluid-40-80);

  h3 {
    font-size: var(--fluid-24-60);
    line-height: 1;
    font-style: normal;
  }

  @media (width < 50rem) {
    display: flex;
    flex-direction: column;
  }

  .howlong {
    padding: var(--fluid-30-60);
    margin-bottom: var(--fluid-40-80);

    ul {
      list-style: none;
      padding-left: 0;

      li {
        padding: 0 0 0 1.75rem;
        position: relative;
        font-size: var(--fluid-18-22);
        line-height: 1.375;
        text-wrap: balance;
      }

      li::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0.4rem;
        line-height: 1;
      }
    }

    p {
      font-size: var(--fluid-18-22);
      line-height: 1.375;
      text-wrap: balance;
    }

    >*+* {
      margin: var(--fluid-15-30) 0 0 0;
    }

    @media (width < 50rem) {
      margin-bottom: 0;
      padding: var(--fluid-20-40);
    }
  }

  .whychoose {
    position: relative;
    align-self: self-end;
    padding-bottom: var(--fluid-40-80);

    @media (width < 50rem) {
      align-self: auto;
    }

    h3 {
      padding-right: var(--fluid-40-80);
      margin-bottom: var(--fluid-15-30);
    }

    div {
      --sx: var(--fluid-55-140);
      --sy: var(--fluid-55-140);
      position: relative;
      margin-right: var(--fluid-50-100);
      padding: var(--fluid-20-40) var(--fluid-50-100) var(--fluid-20-40) var(--fluid-20-40);

      &:before {
        content: "";
        position: absolute;
        inset: 0;
        border: 0.375rem solid var(--color-white);
        border-radius: var(--fluid-15-50);
        clip-path: polygon(0 0,
            100% 0,
            100% calc(100% - var(--sy)),
            calc(100% - var(--sx)) calc(100% - var(--sy)),
            calc(100% - var(--sx)) 100%,
            0 100%);
      }

      @media (width < 50rem) {
        --sx: var(--fluid-105-250);
        --sy: var(--fluid-30-50);
        margin-right: 0;
      }
    }

    ul {
      list-style: none;
      padding-left: 0;

      li {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
        padding: 0;

        p {
          font-family: "myriad-pro-condensed", sans-serif;
          font-weight: 400;
          font-style: normal;
          font-size: var(--fluid-24-36);
          line-height: 1;
          text-wrap: balance;
          flex: 1;
          padding-top: 0.3rem;
          padding-bottom: 1.5rem;
          border-bottom: 0.088rem solid var(--color-white);
          text-box-trim: trim-both;
          text-box-edge: cap alphabetic;
        }
      }

      li:last-child {
        p {
          border-bottom: 0;
        }
      }
    }

    #nos4 {
      position: absolute;
      display: block;
      width: calc(360/680 * 100%);
      height: auto;
      right: calc(-209/680 * 100%);
      top: -29%;
      @media (width < 50rem) {
        width: 35%;
        right: -18%;
        top: -5%;
      }
    }

    .ec {
      position: absolute;
      right: 0;
      bottom: 0;
      display: block;
      width: var(--fluid-90-200);
      margin: 0;
    }
  }
}

.back-to-top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin-inline: auto;
  padding: 1rem var(--fluid-30-60);
  gap: var(--fluid-15-30);
  background: var(--color-white) 0% 0% no-repeat padding-box;
  border: 0.063rem solid var(--color-gray);
  border-radius: 120rem;
  font-size: var(--fluid-18-22);
  color: var(--color-brand-blue);
  font-weight: 700;
  text-decoration: none;
}

footer {
  background-color: var(--color-brand-blue);

  .wrapper {
    background-color: var(--color-footer-blue);
    max-width: 100%;
  }
}

.up {
  margin-inline: auto;
  width: calc(1580/1920 * 100%);
  max-width: 98.75rem;
  padding-block: var(--fluid-30-60);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  column-gap: var(--fluid-15-30);
  row-gap: var(--fluid-30-60);

  div {
    font-family: "myriad-pro", sans-serif;
    font-weight: 300;
    font-style: normal;
    text-wrap: balance;
    font-size: var(--fluid-18-22);
    line-height: 1.5;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;    
  }

  > div {
    display: flex;
    flex-direction: column;
    gap: var(--fluid-15-30);
  }

  > div > * + * {
    border-top: 0.5px solid var(--color-white); 
    padding-top: var(--fluid-15-30);
  }

  > div:last-child > * + * {
    border-top: 0; 
  }

  a { 
    color: var(--color-white); 
    text-decoration: none;
  }

  .links {
    display: flex; 
    gap: var(--fluid-15-30);
    a {
      white-space: nowrap;
    }
  }

  strong {
    font-weight: 700;
  }

  @media (width < 98.125rem) {
    width: 90vw;
  }

  @media (width < 50rem) {
    flex-direction: column;
    .links {
      flex-direction: column;
    }
  }
}

.down {
  padding-block: var(--fluid-40-80);  

  a {
    color: var(--color-white);
    text-decoration: none;
    white-space: nowrap;
  }

  img {
    display: block;
    width: var(--fluid-40-65);
  }

  .logos-footer {
    display: flex;
    width: fit-content;
    gap: var(--fluid-15-30);
    margin-inline: auto;
  }

  p {
    font-size: var(--fluid-18-22);
    line-height: 1.375;
    text-align: center;
    margin-top: var(--fluid-30-60);
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
  }

  @media (width < 98.125rem) {
    width: 90vw;
    max-width: 90vw;
    margin-inline: auto;
  }
}

.text-only {

  header { padding-bottom: 0; }
  main { padding-top: var(--fluid-20-40); }

  .text-only-inner {
    margin-inline: auto;
    width: calc(1580/1920 * 100%);
    max-width: 98.75rem;
    font-size: var(--fluid-18-22);
    padding-bottom: var(--fluid-30-60);

    a { color: var(--color-white); font-weight: 600; }
    ol, ul { padding-left: var(--fluid-30-60); }
  }
}
