@layer theme, base, utility;

@font-face {
  font-family: "manrope";
  font-style: normal;
  font-display: swap;
  src: url("/system-assets/fonts/Manrope-VariableFont_wght.ttf") format("ttf");
}

@font-face {
  font-family: "manrope";
  font-style: italic;
  font-display: swap;
  src: url("/system-assets/fonts/Manrope-VariableFont_wght.ttf") format("ttf");
}

/* reset values */
*,
*::before,
*::after {
  box-sizing: border-box;
  interpolate-size: allow-keywords;
  /* allow animation for height: auto and width: fit-content, etc */
}

body {
  margin: 0;
  padding: 0;
}

@layer theme {

  /* here we define the brand fonts, colors, variables */
  :root {
    /*  Typography */
    font-family: "manrope", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.25rem;

    --headline-1: 3.5rem;
    --headline-2: 3rem;
    --headline-3: 2.25rem;
    --headline-4: 1.8rem;
    --paragraph: 1rem;
    --paragraph-2: 1.4rem;
    --paragraph-lh: 1.6rem;
    /* line height for content */
    --small: 0.8rem;
    --x-small: 0.6rem;

    /* Polygraph Color Palette */
    --bot: #ff8723;
    --primary: #009de6;
    --primary-bright: #24daff;
    /*70D2FF*/
    --primary-dark: #0179b0;
    --primary-hover: #33b9f7;
    --black: #101011;
    --black-300: #CED3DF;
    --black-400: #B1BBCD;
    --offblack: hsl(215, 1%, 27%);
    --white: hsl(0, 100%, 100%);
    --offwhite: hsl(0, 0%, 95%);

    /* Buttons */
    --secondary: #ced3df;
    --secondary-hover: #ffffff;
    --tertiary: transparent;
    --tertiary-hover: rgba(0, 157, 230, 0.3);

    /* Components */
    --bg-dark-component: #151c2d;
    --bg-dark-component-50: rgba(21, 28, 45, 0.5);
    --txt-dark-midcontrast: #b1bbcd;
    --disabled: hsl(0, 0%, 35%);
    --border-radius: 4px;

    /* Breakpoints */
    --mobile: 450px;
    --tablet: 650px;

    /* Default spacing */
    --gap: 1rem;
    --gap-wide: 2.5rem;
    --gap-x-wide: 5rem;
    --gap-half: 0.5rem;

    /* Widths */
    --section-max-width: 66rem;
    --column-base-width: 18rem;
  }

  body.darkmode {
    background-color: var(--black);
    color: var(--white);
  }

  body.darkmode .section {
    background-color: var(--black);
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    text-wrap: pretty;
  }

  h1 {
    font-size: clamp(1.9rem, 4vw + 1rem, var(--headline-1));
    line-height: clamp(120%, 4vw + 1rem, var(--headline-1));
    color: var(--white);
  }

  h2 {
    font-size: clamp(1.7rem, 3vw + 1rem, var(--headline-2));
    line-height: clamp(120%, 4vw + 1rem, var(--headline-2));
    color: var(--white);
  }

  h3 {
    font-size: clamp(1.6rem, 2vw + 1rem, var(--headline-3));
    line-height: clamp(120%, 3vw + 1rem, var(--headline-3));
    color: var(--white);
  }

  h4 {
    font-size: clamp(1.4rem, 1.6vw + 1rem, var(--headline-4));
    line-height: calc(var(--headline-4) * 1.1);
    color: var(--white);
    font-weight: 500;
    margin-block-end: 1.5rem;
  }

  .article h2 {
    font-size: clamp(1.6rem, 3vw + 1rem, var(--headline-3));
    line-height: clamp(1.8rem, 4vw + 1rem, var(--headline-3));
    color: var(--primary);
  }

  .article h3 {
    font-size: clamp(1.4rem, 2vw + 1rem, var(--headline-4));
    line-height: clamp(1.2rem, 3vw + 1rem, var(--headline-4));
  }

  .article h4 {
    font-size: var(--paragraph-2);
    line-height: calc(var(--paragraph-2) * 1.1);
  }

  .article h2:has(+ h3) {
    margin-bottom: 0;
  }

  .article h2+h3 {
    margin-top: 0.5rem;
  }

  :is(h1, h2, h3, h4, h5) strong {
    color: var(--primary-hover);
    text-shadow: 0 0 7px black;
  }

  strong {
    color: var(--white);
  }

  h4+h3 {
    margin-top: 0;
  }

  h2:has(+ p),
  h3:has(+ p),
  h4:has(+ p) {
    margin-bottom: 0;
  }

  @media all and (max-width: 650px) {

    p,
    h1,
    h2,
    h3,
    h4 {
      text-align: center;
    }

    li p {
      text-align: left;
    }
  }

  p,
  li {
    font-size: var(--paragraph);
    color: var(--txt-dark-midcontrast);
    line-height: var(--paragraph-lh);
  }

  ul {
    color: var(--txt-dark-midcontrast);
  }

  li {
    margin-bottom: var(--gap-half);
  }

  small {
    font-size: var(--small);
    color: var(--txt-dark-midcontrast);
  }

  a {
    text-decoration: none;
    font-size: var(--small);
    color: var(--white);
    transition: color 0.2s ease-in-out;
  }

  p a {
    font-size: var(--paragraph);
  }

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

  .button,
  button {
    display: inline-block;
    padding: 0.25rem var(--gap);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    transform: scale(1);
  }

  .button:hover,
  button:hover {
    transform: scale(1.05);
  }

  .button,
  button {
    display: flex;
    align-items: center;
    border: none;
    width: fit-content;
    white-space: nowrap;
    position: relative;
    z-index: 0;
    overflow: hidden;
  }

  .button::before,
  button::before {
    content: "";
    display: block;
    position: absolute;
    background-color: var(--primary-hover);
    width: 120%;
    height: 100%;
    left: -130%;
    z-index: -1;
    transform: skewX(20deg);
    transition: left 0.3s ease-out;
  }

  .button::after,
  button::after {
    content: url("/system-assets/graphics/arrow-white.svg");
    padding-left: var(--gap);
    display: inline-block;
    position: relative;
    z-index: 0;
    top: 2px;
    /* the svg seems to be slightly off centre */
  }

  .button.primary,
  button {
    background-color: var(--primary);
    color: var(--white);
  }

  .button.secondary,
  button.secondary {
    background-color: var(--secondary);
    color: var(--black);
  }

  .button.tertiary,
  button.tertiary {
    background-color: var(--tertiary);
    color: var(--white);
    border: 1px solid var(--primary);
  }

  .button.secondary::before,
  button.secondary::before {
    background-color: var(--secondary-hover);
  }

  .button.tertiary::before,
  button.tertiary::before {
    background-color: var(--tertiary-hover);
  }

  .button.primary:hover::before,
  button:hover::before,
  .button.secondary:hover::before,
  button.secondary:hover::before,
  .button.tertiary:hover::before,
  button:hover::before {
    left: -10%;
  }

  figure {
    padding: 0;
    margin: 0;
  }

  @media all and (max-width: 950px) {
    .button {
      margin: auto;
    }
  }
}

@layer base {

  /* ANIMATIONS */
  .animate,
  .mobile-nav .stagger>*,
  .animate.stagger>* {
    transition: opacity 300ms ease-out, transform 750ms ease-out,
      right 400ms ease-out, bottom 500ms ease-in;
  }

  .banner .animate.overlay.left {
    left: 100%;
    opacity: 0;
    transition: left 1.5s ease-out, opacity 0.5s ease-out,
      transform 0.5s ease-out;
  }

  .banner .animate.overlay.left.active {
    left: 0;
    opacity: 1;
  }

  .fade-in-right {
    opacity: 0;
    right: 2rem;
    position: relative;
  }

  .fade-in-right.active {
    opacity: 1;
    right: 0;
  }

  .fade-in-up {
    opacity: 0;
    bottom: -0.5rem;
    position: relative;
  }

  .fade-in-up.active {
    opacity: 1;
    bottom: 0;
  }

  .fade-in-zoom {
    opacity: 0;
    transform: scale(0.92);
    position: relative;
    transition-delay: 400ms;
  }

  .fade-in-zoom.active {
    opacity: 1;
    transform: scale(1);
  }

  /* retrain animation */
  .rotate {
    opacity: 0;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }

  .rotate.active {
    opacity: 1;
    animation-name: rotate;
  }

  @keyframes rotate {
    0% {
      transform: rotate(360deg);
    }

    100% {
      transform: rotate(0deg);
    }
  }

  /* virus animations */
  .virus {
    position: relative;
  }

  .virus-particle {
    width: 0.5rem;
    height: 0.5rem;
    opacity: 0.6;
    border-radius: 999px;
    background-color: var(--bot);
    z-index: 10;
    position: absolute;
    transition: top 7s ease-out, left 7s ease-out, right 7s ease-out,
      bottom 7s ease-out, opacity 7s ease-out;
  }

  /* bot blocking animation */
  .bot {
    background: linear-gradient(to right,
        rgba(255, 135, 35, 0) 0%,
        rgba(255, 135, 35, 1) 90%);
  }

  .human {
    background: linear-gradient(to right,
        rgba(0, 157, 230, 0) 0%,
        rgba(0, 157, 230, 0.8) 90%);
  }

  .visitor {
    position: absolute;
    left: 0;
    width: 0.25rem;
    height: 0.25rem;
    opacity: 0;
    transition: width 1s ease-in, opacity 0.3 linear;
    animation-name: bot-attack;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
  }

  @keyframes bot-attack {
    0% {
      opacity: 0;
      width: 0.25rem;
    }

    10% {
      opacity: 1;
    }

    90% {
      opacity: 1;
    }

    100% {
      opacity: 0;
      width: 120%;
    }
  }

  #botblock {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
  }

  #unprotected-zone {
    width: 50%;
    height: 100%;
    transform: skew(-15deg);
    overflow: hidden;
    background: transparent;
    position: relative;
    z-index: 20;
  }

  .bluebar {
    width: 0.25rem;
    height: 100%;
    background: var(--primary);
    transform: skew(-15deg);
    position: relative;
    z-index: 30;
  }

  #humans-only {
    width: 50%;
    overflow: hidden;
    transform: skew(-15deg);
    position: relative;
    z-index: 10;
  }

  .bg-gradient-primary {
    position: absolute;
    left: -1rem;
    top: 0;
    width: 100%;
    height: 100%;
    transform: skew(15deg);
    background: linear-gradient(to right,
        rgba(0, 157, 230, 0.8) 0%,
        rgba(0, 157, 230, 0) 38%);
  }

  /* MAIN NAVIGATION */
  nav.top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100vw;
    height: 4rem;
    background: transparent;
    padding: var(--gap-half) var(--gap);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right,
        rgba(255, 255, 255, 0) 15%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 88%) 1;
  }

  nav.top .mirror {
    position: absolute;
    width: 100%;
    height: 50%;
  }

  nav.top .mirror.one {
    top: 0%;
    backdrop-filter: blur(10px);
    z-index: -1;
  }

  nav.top .mirror.two {
    top: 50%;
    backdrop-filter: blur(20px);
    z-index: -1;
  }

  nav.top .mirror {
    background: rgba(0, 0, 0, 0.25);
  }


  nav .nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: var(--section-max-width);
  }

  nav .logo {
    max-height: 2rem;
  }

  nav ul {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    max-width: 26rem;
    list-style: none;
  }

  nav ul li {
    margin-right: var(--gap-half);
    margin-bottom: 0;
  }

  nav .right {
    margin-left: auto;
    display: flex;
    align-items: center;
  }

  nav.top a {
    font-size: var(--paragraph);
  }

  nav .right a {
    margin-right: var(--gap);
    margin-bottom: 0;
  }

  nav .hamburger {
    display: none;
  }

  nav.mobile-nav {
    display: none;
  }

  @media screen and (max-width: 850px) {
    nav .hamburger {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 36px;
      width: 36px;
      padding: 0.6rem 8px;
      background: var(--black);
      border-radius: var(--border-radius);
      cursor: pointer;
      transition: background-color 0.5s ease-in-out;
    }

    nav .hamburger:hover {
      background-color: var(--primary-hover);
    }

    nav .hamburger .line {
      height: 1px;
      width: 100%;
      background: var(--offwhite);
    }

    nav .desktop-nav {
      display: none;
    }

    nav.mobile-nav {
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      position: fixed;

      left: -100vw;
      top: 0;
      height: 100vh;
      width: 100vw;
      opacity: 0;
      overflow: hidden;
      z-index: 900;

      transition: left 0.3s ease-in-out, opacity 0.5s ease-in-out;
    }

    nav.mobile-nav::after {
      content: "";
      position: absolute;
      z-index: -1;
      background-color: rgba(0, 78, 115, 0.8);
      backdrop-filter: blur(4px);
      transform: skew(-10deg);
      width: 130%;
      height: 100%;
      left: -38%;
    }

    nav.active.mobile-nav {
      left: 0;
      opacity: 1;
    }

    nav.mobile-nav ul {
      display: flex;
      flex-direction: column;
      gap: var(--gap);
      padding-bottom: 5rem;
    }

    nav.mobile-nav li {
      margin-bottom: var(--gap-half);
    }

    nav.mobile-nav li a {
      font-size: clamp(1.5rem, 4vw + 0.75rem, var(--headline-2));
    }

    nav.mobile-nav li a.button {
      padding: 0.75rem 1rem;
      margin-left: 0;
    }
  }

  /* BANNERS */
  .banner {
    min-height: 90vh;
    display: flex;
    padding: 5rem;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    text-wrap: pretty;
  }

  .banner.height-fit {
    /*padding-top: 10rem;*/
  }

  .banner .content {
    z-index: 2;
    max-width: var(--section-max-width);
    width: 100%;
    padding: 10rem 5rem 6rem;
    margin: auto;
  }

  .banner .content h1 {
    margin: 0;
  }

  .banner .content h3 {
    margin-top: 0;
  }

  .banner:has(.overlay) .content h1,
  .banner:has(.overlay) .content p {
    max-width: 45rem;
    width: 100%;
  }

  .banner:has(.overlay.left) .content h1,
  .banner:has(.overlay.left) .content p {
    max-width: 30rem;
  }

  .banner .overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .banner .overlay.left img {
    left: -100rem;
    position: relative;
    opacity: 0.7;
  }

  .banner .overlay.right img {
    right: -35%;
    height: 100%;
    opacity: 0.5;
    position: relative;
  }

  .banner .overlay.bottom-left {
    left: 0;
    top: calc(100% - 50vh);
  }

  .banner .overlay.darken {
    left: 0;
    top: 0;
    background-color: var(--offblack);
    mix-blend-mode: multiply;
  }

  .price-template .banner .content {
    width: 100%;
  }

  .price-template .banner .content .card>h4 {
    color: var(--txt-dark-midcontrast);
  }

  .price-template .banner .content .card,
  .price-template .banner .content .disclaimer {
    /* width: 40rem; */
    height: initial;
  }

  .price-template .price-calc-container {
    display: flex;
    gap: var(--gap-x-wide);
    align-items: center;
  }

  @media screen and (max-width: 1400px) {
    .banner .overlay.left img {
      left: -118rem;
    }

    .banner .content :is(p, h1) {
      max-width: 36rem;
      width: 100%;
    }

    .banner:has(.overlay) .content {
      width: var(--section-max-width);
    }

    .banner:has(.overlay) h1,
    .banner:has(.overlay) p {
      max-width: 28rem;
    }

    .price-template .price-calc-container {
      gap: var(--gap-wide);
    }
  }

  @media screen and (max-width: 950px) {
    .banner .overlay.left img {
      left: -126rem;
    }

    .banner .overlay.darken {
      background-color: var(--white);
    }

    /* banners darken anyway on mobile, don;t let it get too dark */
    .banner .content {
      padding-left: var(--gap);
      padding-right: var(--gap);
      margin-left: 0;
    }

    .banner:has(.overlay) .content {
      width: 29rem;
    }

    .banner {
      padding-left: var(--gap);
    }

    .price-template .price-calc-container {
      flex-direction: column;
    }

    .price-template .banner .content .card,
    .price-template .banner .content .disclaimer {
      width: 100%;
    }
  }

  @media screen and (max-width: 780px) {
    .banner .overlay.left img {
      left: -134rem;
    }

    .banner:has(.overlay) .content {
      width: 18rem;
    }

    .price-template .banner .content {
      width: 100%;
    }
  }

  @media screen and (max-width: 650px) {
    .banner {
      padding: var(--gap);
      align-items: center;
    }

    .banner:has(.overlay) .content {
      width: 16rem;
      margin-top: 150px;
    }

    .price-template .banner .content {
      width: 100%;
      padding: 0;
    }

    .banner .overlay.left img {
      left: -142rem;
    }

    .banner .content :is(p, h1, h3) {
      text-align: left;
    }
  }

  /* SECTIONS */
  .section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    padding: 3rem;
    padding-top: 12rem;
    overflow: hidden;
  }

  .section:has(> div.background.cover) {
    padding-bottom: 12rem;
  }

  .section:not(:has(.background)):has(+ .section > div.background),
  .section:has(.card):has(+ .section > div.background.cover),
  main>div:last-child {
    padding-bottom: 12rem;
  }

  .section>.content {
    width: 100%;
    padding: var(--gap-half);
    max-width: var(--section-max-width);
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    position: relative;
    z-index: 2;
  }

  .section .content.writer {
    display: block;
    gap: initial;
  }

  .section .content ul:has(+ p) {
    margin-top: 0;
  }

  .section .content p+ul {
    margin-top: 0;
  }

  .section .content ul li p {
    margin-top: 0;
  }

  .section.gap-wide>.content {
    gap: var(--gap-wide);
  }

  .section.gap-widest>.content,
  .section.gap-widest>.content .row {
    gap: var(--gap-x-wide);
  }

  @media screen and (max-width: 650px) {

    .section:not(:has(.background)):has(+ .section > div.background.hide-mobile),
    .section:has(.card):has(+ .section > div.background.cover.hide-mobile) {
      padding-bottom: 0;
    }

    .section:has(> div.background.cover),
    main>div:last-child:has(.card) {
      padding-bottom: 8rem;
    }

    .section.gap-widest>.content,
    .section.gap-widest>.content .row {
      gap: var(--gap-wide);
    }
  }

  /* ARTICLE STYLES */
  .article .section {
    max-width: 46rem;
    width: 90vw;
    margin: auto;
  }

  .article :is(p, li, a) {
    font-size: 1.2rem;
    line-height: 2rem;
    letter-spacing: 0.03rem;
    text-wrap: pretty;
  }

  .article :is(p, li) {
    color: var(--black-300);
  }

  .article .content a {
    text-decoration: underline;
  }

  .article .section .content {
    padding-left: 0;
    padding-right: 0;
  }

  main.article .section {
    padding-top: 0;
  }

  .article .banner :is(p, h1, .content) {
    width: 100%;
    max-width: none;
  }

  .article .banner {
    height: 50vh;
    max-height: 25rem;
    margin-bottom: var(--gap-wide);
  }

  .article .banner .content {
    max-width: var(--section-max-width);
    padding: 0 var(--gap);
    top: 2rem;
    position: relative;
  }

  .article .banner .content {
    padding-left: 0;
    padding-right: 0;
  }

  @media screen and (max-width: 650px) {
    .article .section {
      width: 100%;
    }

    .article .banner {
      padding-left: var(--gap);
      padding-right: var(--gap);
    }
  }



  /*  SECTION GRID */
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--gap-wide);
    justify-content: space-around;
    width: 100%;
    max-width: var(--section-max-width);
  }

  .grid.columns--4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .grid.columns--2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid:not(.columns--4, .columns--3)>div:nth-child(5n - 1) {
    grid-column: 1 / span 2;
  }

  /*  SECTION ROW */
  .row {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    margin: auto;
    gap: var(--gap-wide);
    height: 100%;
    width: 100%;
    max-width: var(--section-max-width);
  }

  .row img {
    max-width: 100%;
  }

  .row>div {
    width: auto;
  }

  .row>div> :first-child:not(button, .button) {
    margin-top: 0;
    padding-top: 0;
  }

  .row .columns--3 {
    width: 14.25rem;
  }

  .row .columns--4 {
    width: 18rem;
  }

  .row .columns--6 {
    width: 28rem;
  }

  .row .columns--8 {
    width: 39rem;
  }

  .row .columns--12 {
    width: 57rem;
  }

  /*  SECTION ROW + GRID RESPONSIVE  */
  @media all and (max-width: 950px) {
    .section {
      padding: var(--gap);
      padding-top: 8rem;
      overflow: hidden;
    }

    .section:has(div.background) {
      padding-bottom: 8rem;
    }

    .grid {
      display: flex;
      flex-direction: column;
    }

    .row {
      flex-direction: row;
      flex-wrap: wrap;
    }

    .row .columns--3 {
      width: calc(50% - 2rem);
    }

    .row .columns--4,
    .row .columns--6,
    .row .columns--8 {
      width: calc(100% - 2rem);
      margin: auto;
      max-width: initial;
    }
  }

  @media all and (max-width: 650px) {

    .row .columns--3,
    .row .columns--4,
    .row .columns--6,
    .row .columns--8 {
      width: calc(100% - 2rem);
      margin: auto;
      max-width: initial;
    }
  }

  .card {
    background-color: var(--bg-dark-component);
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid;
    border-left: 0;
    border-right: 0;
    border-image: linear-gradient(to right,
        rgba(0, 157, 230, 0) 10%,
        rgba(0, 157, 230, 0.6) 50%,
        rgba(0, 157, 230, 0) 90%) 1;
  }

  .card figure {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 9rem;
    margin: 0;
  }

  .card figure.fill img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .card figure.icon {
    margin-top: 0;
    height: 6rem;
    align-items: flex-end;
  }

  .card figure.icon img {
    margin-left: auto;
    margin-right: auto;
    width: 3.5rem;
    display: block;
  }

  .card.cta {
    text-align: left;
    padding: var(--gap-wide) var(--gap);
    background-color: var(--bg-dark-component-50);
  }

  .card .content {
    display: flex;
    flex-direction: column;
    padding: var(--gap-wide) var(--gap);
    flex-grow: 1;
  }

  .card .content :is(h3, h4):first-child {
    margin-top: 0;
  }

  .card .content :is(.text-area, h4, h3, p):last-child {
    margin-bottom: 0;
  }

  .card .content .text-area {
    flex-grow: 1;
    margin-bottom: var(--gap);
  }

  @media all and (max-width: 950px) {
    .card.cta .grid {
      gap: var(--gap);
    }

    .card .row .columns--3,
    .card .row .columns--4,
    .card .row .columns--6,
    .card .row .columns--8 {
      padding: 0;
      width: 100%;
    }
  }

  .remove-bg .card,
  .remove-bg {
    background-color: transparent;
    border: 0;
  }

  /* SECTIONS - Unique */
  .section.window-section .content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .section.window-section .left h2 {
    margin: 0;
    text-wrap: nowrap;
    padding-top: 2rem;
  }

  .section.window-section .right {
    padding-top: 2rem;
  }

  .section.window-section .window {
    margin-left: -5rem;
    margin-right: -5rem;
  }

  .section.window-section .window img {
    max-width: 100%;
  }

  @media screen and (max-width: 650px) {
    .section.window-section .content {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .section.window-section .left h2 {
      margin-bottom: var(--gap);
    }

    .section.window-section .right {
      padding-top: 0;
    }

    .section.window-section .window img {
      width: 90vw;
    }
  }

  /* BACKGROUNDS */
  .background {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .background img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center right;
  }

  .background.darken img {
    opacity: 0.25;
  }

  .background.contain img {
    object-fit: contain;
    width: unset;
    height: unset;
    max-width: 100%;
  }

  .background.bg-default img {
    object-fit: contain;
  }

  .background.bg-default.cover img {
    object-fit: cover;
  }

  .background.bg-glow-bot {
    background-image: radial-gradient(300px at calc(100% + 150px) center,
        var(--bot) 0%,
        #ff872300 100%);
  }

  .background.bg-glow-protect {
    background-image: radial-gradient(300px at -150px center,
        var(--primary) 0%,
        #009de600 100%);
  }

  .height-fit .background.bg-glow-protect {
    background-image: radial-gradient(215px at -140px center,
        var(--primary) 0%,
        #009de600 100%);
  }

  .image-gallery {
    display: flex;
    list-style: none;
    justify-content: flex-start;
    align-items: center;
    gap: 4rem;
    overflow: hidden;
    width: 100%;
  }

  @media all and (max-width: 650px) {
    .image-gallery {
      padding-left: 0;
      flex-wrap: wrap;
      justify-content: center;
      gap: var(--gap);
    }

    /* Dim the background images so the text is legible on mobile */
    .background img {
      opacity: 0.7;
    }
  }

  /* PRICE CALC */
  .price-calc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--gap-wide);
    text-align: left;
  }

  .price-calc p {
    margin-bottom: 0;
    font-size: var(--small);
  }

  .price-calc h4 {
    margin-top: 0.85rem;
    display: inline-block;
  }

  .price-calc input {
    margin-top: var(--gap-half);
    display: block;
    width: 100%;
    font-size: var(--paragraph-2);
    text-align: center;
  }

  @media all and (max-width: 650px) {
    .price-calc {
      grid-template-columns: 1fr;
    }

    .price-calc :nth-child(1) {
      order: -2;
    }

    .price-calc :nth-child(3) {
      order: -1;
    }

    .price-calc,
    .price-calc-container {
      padding: 0;
    }

    .price-calc,
    .price-calc input,
    .price-calc-container h4 {
      text-align: left;
    }
  }

  /* CONTENT */
  .simple-row {
    display: flex;
    align-items: flex-start;
    gap: var(--gap);
  }

  .simple-row.wrap {
    flex-wrap: wrap;
  }

  @media screen and (max-width: 650px) {

    /* on homepage, mobile screens prevents buttons from centering themselves. */
    .simple-row.wrap>.button {
      margin-right: auto;
      margin-left: 0;
    }
  }

  .decorative-list {
    list-style: none;
    width: 100%;
    padding-bottom: var(--gap);
    padding-left: 0;
  }

  .decorative-list li {
    color: var(--white);
    background: var(--bg-dark-component);
    border: solid 1px var(--offblack);
    padding: var(--gap-half) var(--gap);
    display: flex;
    justify-items: flex-start;
    align-items: center;
    margin-top: var(--gap-half);
    font-size: var(--small);
    text-align: left;
    border-radius: var(--border-radius);
  }

  .decorative-list li :first-child {
    padding-right: var(--gap);
    width: 2.5rem;
  }

  form .form-row {
    margin-top: var(--gap);
    display: flex;
    flex-direction: column;
  }

  form .form-row:first-of-type {
    margin-top: 0;
  }

  form label {
    color: var(--txt-dark-midcontrast);
    font-size: var(--small);
    text-align: left;
  }

  .price-calc input,
  form input:not(.button, button),
  form select,
  form textarea {
    border: 1px solid var(--primary-dark);
    border-radius: var(--border-radius);
    transition: border 0.2s ease-in-out;
    padding: var(--gap-half);
  }

  .price-calc input,
  form input:not(.button, button),
  form select,
  form textarea {
    background: transparent;
    color: var(--white);
  }

  form input:focus:not(.button, button),
  form select:focus,
  form textarea:focus {
    border-color: var(--primary-hover);
    outline: var(--primary-hover);
  }

  form button {
    margin-left: auto;
    margin-top: var(--gap);
  }

  form select {
    cursor: pointer;
    display: grid;
    grid-template-areas: "select";
    position: relative;
    align-items: center;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: url(/system-assets/graphics/carrat.svg) no-repeat 98% 50%;
  }

  form .honeypot {
    position: relative;
    left: 99rem;
    height: 0;
    padding: 0;
  }

  select,
  .select:after {
    grid-area: select;
  }

  select:focus+.focus {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 2px solid var(--white);
  }

  /* FOOTER */
  footer {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 2rem 4rem;
    background: linear-gradient(345deg,
        rgb(21, 28, 45) 0%,
        rgb(0, 0, 0) 50%,
        rgb(21, 28, 45) 100%) 100%;
    min-height: 33vh;
    position: relative;
    z-index: 2;
  }

  footer .footer-container {
    display: flex;
    justify-content: space-between;
    gap: var(--gap);
    width: 100%;
    max-width: var(--section-max-width);
  }

  footer .left-column {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  footer .left-column .logo {
    max-height: 2rem;
  }

  footer .right-column {
    flex-grow: 1;
    display: flex;
    gap: calc(var(--gap) * 2);
    align-items: flex-start;
    justify-content: flex-end;
  }

  footer .logo {
    height: 2rem;
  }

  footer h4 {
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-weight: 500;
    font-size: var(--paragraph);
    margin: 0;
  }

  footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  footer ul li {
    padding-bottom: var(--gap-half);
    margin-bottom: 0;
  }

  @media all and (max-width: 650px) {
    footer {
      flex-direction: column;
      flex-flow: column-reverse;
    }

    footer .footer-container {
      flex-direction: column;
    }

    footer .logo {
      margin-top: var(--gap-wide);
      margin-bottom: var(--gap);
    }

    footer .left-column {
      width: 100%;
      margin-bottom: var(--gap);
    }

    footer .right-column {
      flex-direction: column;
    }
  }

  .whitemode .card {
    background-color: var(--offwhite);
    color: var(--black);
  }
}

@layer utility {

  /* typography */
  .text-sm {
    font-size: var(--paragraph)
  }

  /* padding adjustments */
  .add-padding {
    padding: var(--gap-wide) var(--gap);
  }

  .add-section-padding-bottom {
    padding-bottom: 12rem;
  }

  .add-margin-bottom {
    margin-bottom: var(--gap);
  }

  .add-margin-top {
    margin-top: var(--gap);
  }

  .add-margin-top-4x {
    margin-top: calc(var(--gap) * 4);
  }

  .reduce-padding-vertical {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .reduce-padding-top {
    padding-top: 3rem;
  }

  .remove-padding-top {
    padding-top: 0;
  }

  .remove-padding-left {
    padding-left: 0;
  }

  .remove-padding-bottom {
    padding-bottom: 0;
  }

  .remove-padding-vertical {
    padding-top: 0;
    padding-bottom: 0;
  }

  .remove-margin-top {
    margin-top: 0;
  }

  .remove-margin-bottom {
    margin-bottom: 0;
  }

  .remove-margin-vertical {
    margin-top: 0;
    margin-bottom: 0;
  }

  @media screen and (max-width: 650px) {
    .remove-padding-top-mobile {
      padding-top: 0;
    }

    .remove-padding-vertical-mobile {
      padding-top: 0;
      padding-bottom: 0;
    }

    .add-section-padding-bottom {
      padding-bottom: revert-layer;
    }
  }

  /* background adjustments */
  .bg-add {
    background-color: var(--bg-dark-component);
    border: 1px solid;
    border-left: 0;
    border-right: 0;
    border-image: linear-gradient(to right,
        rgba(0, 157, 230, 0) 10%,
        rgba(0, 157, 230, 0.6) 50%,
        rgba(0, 157, 230, 0) 90%) 1;
  }

  .bg-semi-transparent {
    background-color: var(--bg-dark-component-50);
  }

  .bg-blur {
    background-color: rgba(16, 16, 17, 0.8);
    backdrop-filter: blur(4px);
  }

  .bg-dim img {
    opacity: 0.35;
  }

  .bg-dont-dim img {
    opacity: 1;
  }

  /* sizing */
  .cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .contain {
    object-fit: contain;
    max-height: 100%;
  }

  /* heights */
  .height-fit {
    min-height: fit-content;
  }

  .height-initial {
    height: initial;
  }

  /* widths */
  .wider {
    max-width: 38rem;
  }

  .width-fit {
    width: fit-content;
  }

  .width-initial {
    width: initial;
  }

  /* spacers */
  .section-spacer {
    height: 12rem;
    width: 100%;
    background-color: var(--black);
    position: relative;
    /* to hide video playing on homepage */
  }

  /* positioning */
  .wrap {
    flex-wrap: wrap;
  }

  .fixed {
    position: fixed;
  }

  /* flex adjustments */
  .align-center {
    align-items: center;
  }

  .flex-bottom-right {
    align-items: flex-end;
  }

  .flex-bottom-left {
    align-items: flex-end;
  }

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

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

  .flex-bottom-right div,
  .flex-top-right div {
    justify-content: flex-end;
  }

  .flex-bottom-left div,
  .flex-top-left div {
    justify-content: flex-start;
  }

  .flex-center {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .flex-left {
    justify-content: flex-start;
    margin-right: auto;
    margin-left: 0;
  }

  .flex-right {
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0;
  }

  .flex-left>img {
    object-position: left;
  }

  .flex-right>img {
    object-position: right;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .remove-gap {
    gap: 0;
  }

  /* text positioning */
  .textalign-left {
    text-align: left;
  }

  .textalign-right {
    text-align: right;
  }

  .textalign-center {
    text-align: center;
  }

  /* added these to accomodate web-admin expectations */
  .textalign-center .row {
    justify-content: center;
  }

  .textalign-center .image-gallery {
    justify-content: center;
  }

  .section.textalign-center .button {
    margin-left: auto;
    margin-right: auto;
  }

  @media all and (max-width: 650px) {

    .textalign-left,
    .textalign-right {
      text-align: center;
    }

    .writer :is(p, h1, h2, h3, h4) {
      text-align: left;
    }
  }

  /* colors & fonts */
  .subheading {
    color: var(--primary);
    margin-bottom: 0.25rem;
  }

  .subheading+ :is(h1, h2, h3, h4, h5) {
    margin-top: 0.5rem;
  }

  .strong-bot-color strong {
    color: var(--bot);
  }

  /* mobile utilities */
  .show-mobile {
    display: none;
  }

  @media screen and (max-width: 951px) {
    .show-mobile {
      display: block;
    }

    .section:has(> div.background.cover.hide-mobile) {
      padding-bottom: 0;
    }

    .hide-mobile {
      display: none;
    }

    .flex-reverse-mobile {
      flex-direction: column-reverse;
    }

    .card.add-padding .content {
      padding-left: var(--gap-half);
      padding-right: var(--gap-half);
    }

    .add-padding {
      padding-left: var(--gap-half);
      padding-right: var(--gap-half);
    }
  }
}



/* CYCLE SECTION */

.cycle-section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  position: relative;

}

.cycle-section-container .cycle-container {
  position: relative;
  max-width: 815px;
  margin-inline: auto;
}

.cycle-section-container .cycle-img-container {
  max-width: 36.15413rem;
  /* height: 33.26656rem; */
}

.cycle-section-container .cycle-img-container object {
  max-width: 100%;
  min-width: 448px;
}

.cycle-section-container .text-card {
  background: linear-gradient(0deg, rgba(21, 28, 45, 0.35) 0%, rgba(21, 28, 45, 0.35) 100%), #101011;
  display: flex;
  padding: 1rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
}

.cycle-section-container .text-card-title {
  color: #B1BBCD;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.cycle-section-container .text-card-content {
  align-self: stretch;
  color: #828EA6;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.cycle-section-container .description-card {
  display: flex;
  padding: 0.5rem 1rem;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid rgba(0, 157, 230, 0.00);
  background: #435370;
  color: #FFF;
  font-family: Manrope;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}

.cycle-section-container .step-1 .text-card-content {
  width: 12.5rem;
}

.cycle-section-container .step-1-1 .card-content {
  width: 11.5rem;
  font-family: "manrope", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.cycle-section-container .step-2 .text-card-content {
  width: 18.375rem;
}

.cycle-section-container .step-3 .text-card-content {
  width: 7.5rem;
}

.cycle-section-container .step-1 {
  position: absolute;
  bottom: 88%;
  right: 0;
}

.cycle-section-container .step-1-1 {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  left: 90%;
}

.cycle-section-container .step-2 {
  position: absolute;
  top: 85%;
  right: 0;
}

.cycle-section-container .step-3 {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  right: 82%;
}

.cycle-section-container .line-bg-blue {
  height: 33rem;
  background: linear-gradient(180deg, rgba(0, 87, 128, 0.00) 7.69%, rgba(0, 157, 230, 0.49) 52.92%, rgba(0, 87, 128, 0.00) 100%);
  position: absolute;
  bottom: 20px;
  transform: translate(0, 50%);
  width: 100%;
  z-index: -1;
}



@media (max-width:991px) {

  .cycle-section-container {
    padding: 5rem 1rem;
  }

  .cycle-section-container .cycle-img-container {
    max-width: 24rem;
  }

  .cycle-section-container .cycle-img-container object {
    max-width: 100%;
    min-width: 120px;
  }
  .cycle-section-container .text-card {
    padding: 1rem 1rem;
    gap: 0.5rem;
  }

  .cycle-section-container .text-card-title {
    font-size: .875rem;
  }

  .cycle-section-container .text-card-content {
    font-size: .875rem;
  }

  .cycle-section-container .description-card {
    padding: 0.5rem .5rem;
    font-size: .875rem;
  }

  .cycle-section-container .step-1 .text-card-content {
    width: 11rem;
  }

  .cycle-section-container .step-1-1 .card-content {
    width: 8.5rem;
  }

  .cycle-section-container .step-2 .text-card-content {
    width: 15rem;
  }

  .cycle-section-container .step-3 .text-card-content {
    width: 7rem;
  }

}

@media (max-width:767px) {
  .cycle-section-container .step-1-1 .card-content {
    width: 6rem;
  }
}

@media (min-width:576px) {
  .v2.cycle-section-container .cycle-img-mobile {
    display: none;
  }
}

@media (max-width:575px) {
  .v2.cycle-section-container .cycle-img-desktop {
    display: none;
  }

  .v2.cycle-section-container {
    padding: 5rem 1rem;
    margin-bottom: 5rem;
  }

  .v2.cycle-section-container .cycle-img-container {
    max-width: 24rem;
  }

  .v2.cycle-section-container .text-card {
    padding: 0.5rem;
    gap: 0.25rem;
  }

  .v2.cycle-section-container .text-card-title {
    font-size: .75rem;
  }

  .v2.cycle-section-container .text-card-content {
    font-size: .75rem;
  }

  .v2.cycle-section-container .description-card {
    padding: 0.5rem;
    font-size: .75rem;
  }

  .v2.cycle-section-container .step-1 {
    position: absolute;
    bottom: 88%;
    right: auto;
    left: 0;
  }

  .v2.cycle-section-container .step-1-1 {
    position: absolute;
    top: auto;
    bottom: 88%;
    transform: translate(0, 0);
    left: auto;
    right: 0;
  }

  .v2.cycle-section-container .step-2 {
    position: absolute;
    top: 90%;
    right: 0;
  }

  .v2.cycle-section-container .step-3 {
    position: absolute;
    top: 50%;
    transform: translate(0, 0);
    left: 0;
    top: 90%;
    right: auto;
  }



  .v2.cycle-section-container .step-1 .text-card-content {
    width: 8.5rem;
  }

  .v2.cycle-section-container .step-1-1 .card-content {
    width: 8.5rem;
  }

  .v2.cycle-section-container .step-2 .text-card-content {
    width: 8.5rem;
  }

  .v2.cycle-section-container .step-3 .text-card-content {
    width: 8.5rem;
  }

  .cycle-section-container .line-bg-blue {
    bottom: 40px;
    height: 24rem;
  }

}