h1,
p {
  color: var(--color-blue-muted);
}
.home-background {
  position: absolute;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: -1;
}
.blue-glow {
  position: absolute;
  top: -2vw;
  left: 19vw;
  width: 60vw;
  z-index: -1;
}
.blue-glow-1 {
  position: absolute;
  top: 109vw;
  left: -21vw;
  width: 60vw;

  z-index: -1;
}
.yellow-glow {
  position: absolute;
  top: 47vw;
  left: 54vw;
  width: 32vw;
  z-index: -1;
}

#introduction {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  .introduction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    .introduction-item-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 1rem;
      h1 {
        font-family: "Space Grotesk", sans-serif;
        font-size: 3rem;
        color: var(--color-cream);
        font-weight: 600;
      }
      h2 {
        font-size: 0.9rem;
        font-weight: 400;
      }
    }
    .introduction-item-body {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      gap: 1rem;
      div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 11rem;
        gap: 0.1rem;
        background-color: #181825ff;
        border: 0.58px solid rgba(231, 108, 33, 0.5);
        box-shadow: 0 0 2rem 0.3rem rgba(230, 108, 33, 0.325);
        padding: 1rem;
        border-radius: 0.5rem;
        h2 {
          font-size: 0.7rem;
          font-weight: 400;
        }
        h1 {
          font-size: 2rem;
          font-weight: 700;
        }
        p {
          font-size: 0.7rem;
          font-weight: 200;
        }
      }
      div:nth-of-type(2) {
        border-color: rgba(154, 152, 144, 0.5);
        box-shadow: none;
        p,
        h2 {
          color: #5d5b57;
        }
        h1 {
          color: #7b808b;
        }
      }
    }
    .introduction-item-footer {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 1.5rem;
      h1 {
        font-family: "Space Grotesk", sans-serif;
        font-size: 2.5rem;
        font-weight: 400;
      }
      p {
        color: var(--color-cream);
        font-size: 0.8rem;
        font-weight: 300;
      }
    }
  }
}
#sub-introduction {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 73%;
  .sub-introduction-item {
    display: flex;
    flex-direction: column;
    h2 {
      font-size: 1rem;
      color: var(--color-orange);
      font-weight: 400;
    }
    h1 {
      font-size: 1.5rem;
      color: var(--color-cream);
      font-family: "Space Grotesk", sans-serif;
      span {
        font-family: "Space Grotesk", sans-serif;
        color: var(--color-blue-muted);
      }
    }
    p {
      font-size: 0.9rem;
      color: var(--color-cream);
    }
  }
  .sub-introduction-item-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    h1 {
      font-weight: 600;
      color: var(--color-blue-muted);
    }
  }
  .sub-introduction-item-body {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 2rem;
    background: var(--color-black);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border: 0.58px solid rgba(154, 152, 144, 0.5);
    border-bottom: none;
    box-shadow: none;
    h1 {
      font-size: 1rem;
    }
    .sub-introduction-item-body-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 0.5rem;
      width: 100%;
      h1 {
        color: #5d5b57;
        font-size: 1rem;
      }
      hr {
        width: 100%;
        height: 0.2px;
        border: none;
        opacity: 0.1;
      }
      .timeline {
        display: flex;
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-evenly;
        gap: 4rem;
        width: 100%;
        h1,
        div,
        h2 {
          flex: 1;
        }
        h1,
        h2 {
          text-align: right;
        }
        h1:nth-of-type(1) {
          text-align: center;
        }
        div {
          display: flex;
          flex: 3;
          flex-direction: column;
          gap: 1rem;
          h2 {
            color: var(--color-cream);
            font-size: 0.9rem;
            font-weight: 500;
          }
          h2,
          p {
            text-align: left;
          }
          p {
            color: #5d5b57;
            font-size: 0.8rem;
            font-weight: 200;
          }
        }
      }
    }
  }
  .sub-introduction-item-footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--color-black);
    border-end-start-radius: 1rem;
    border-end-end-radius: 1rem;
    border: 0.58px solid rgba(154, 152, 144, 0.5);
    border-top: none;
    padding: 2rem;
    .sub-introduction-item-footer-item {
      display: flex;
      justify-content: center;
      align-items: center;
      div {
        width: 100%;
        background: rgba(31, 25, 23, 1);
        border: 0.01rem solid rgba(231, 108, 33, 0.3);
        border-radius: 0.75rem;
        padding: 1rem;
        text-align: center;
        font-size: 0.8rem;
        font-weight: 200;
        color: var(--color-gray);
        .orange {
          color: var(--color-orange);
          font-weight: 500;
        }
      }
    }
  }
}

#comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 73%;
  .comparison-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    .comparison-item-header {
      display: flex;
      justify-content: center;
      text-align: center;
      h1 {
        font-weight: 600;
        font-size: 2rem;
        color: var(--color-cream);
        font-family: "Space Grotesk", sans-serif;
        span {
          font-weight: 600;
          color: var(--color-orange);
        }
      }
    }
    .comparison-item-body {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      h2 {
        font-size: 1rem;
      }
      .comparison-item-body-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        div:not(.tooltip):not(.tooltip-content) {
          display: flex;
          flex-direction: row;
          align-items: center;
          gap: 0.5rem;
          img {
            width: 1rem;
          }
        }
      }
      .comparison-item-body-content {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }
      div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }
    }
  }
  .comparison-item:last-of-type {
    display: flex;
    margin-top: 3rem;
    .comparison-item-body {
      .comparison-item-content {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        width: 100%;
        .comparison-item-content-body {
          display: flex;
          flex-direction: row;
          align-items: center;
          gap: 0.75rem;
          .line {
            width: 3rem;
          }
        }
      }
      h2 {
        color: var(--color-cream);
      }
    }
  }
}

#competitor-pros {
  display: flex;
  flex-direction: column;
  width: 73%;
  flex-direction: flex-start;
  gap: 1rem;
  .competitor-pros-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    .competitor-pros-item-header {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      h1 {
        font-size: 1.8rem;
        font-weight: 600;
        color: var(--color-cream);
        font-family: "Space Grotesk", sans-serif;
      }
      p {
        font-size: 1rem;
        font-weight: 300;
        color: var(--color-gray);
      }
    }
    .competitor-props-item-body {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(2, 1fr);
      gap: 1rem;
      div {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.5rem;
        background: #151619ff;
        border-radius: 1rem;
        padding: 1rem;
        h2 {
          font-size: 0.9rem;
          font-family: "Space Grotesk", sans-serif;
          font-weight: 400;
          color: var(--color-cream);
        }
        p {
          font-size: 0.7rem;
          font-weight: 300;
          color: var(--color-gray);
        }
        img {
          width: 1.5rem;
        }
      }
    }
  }
}
#our-pros {
  display: flex;
  flex-direction: column;
  width: 73%;
  flex-direction: flex-start;
  gap: 1rem;
  .our-pros-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    .our-pros-item-header {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      h1 {
        font-size: 1.8rem;
        font-weight: 600;
        color: var(--color-cream);
        font-family: "Space Grotesk", sans-serif;
      }
      p {
        font-size: 1rem;
        font-weight: 300;
        color: var(--color-gray);
      }
    }
    .our-pros-item-body {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(2, 1fr);
      gap: 1rem;
      div {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.5rem;
        background: rgba(31, 25, 23, 1);
        border-radius: 1rem;
        border: 0.01rem solid #e76c21bf;
        padding: 1rem;
        h2 {
          font-size: 0.9rem;
          font-family: "Space Grotesk", sans-serif;
          font-weight: 400;
          color: var(--color-cream);
        }
        p {
          font-size: 0.7rem;
          font-weight: 300;
          color: var(--color-gray);
        }
        img {
          width: 1.5rem;
        }
      }
    }
  }
}
#our-graph {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 65%;
  .our-graph-item {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    h1 {
      font-size: 1.8rem;
      color: var(--color-cream);
      font-family: "Space Grotesk", sans-serif;
      font-weight: 700;
    }
    p {
      font-size: 0.8rem;
      font-weight: 300;
      color: var(--color-cream);
    }
    img {
      width: 100%;
    }
  }
}

#closing {
  .closing-item {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    .closing-item-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      h1 {
        font-family: "Space Grotesk", sans-serif;
        font-size: 2rem;
        font-weight: 600;
        color: var(--color-cream);
      }
      p {
        font-size: 0.8rem;
        font-weight: 400;
        color: var(--color-cream);
      }
    }
    .closing-item-body {
      position: relative;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      gap: 2rem;
      .yellow-glow-1 {
        position: absolute;
        top: -25vw;
        left: 15vw;
        width: 39vw;
        z-index: -1;
      }
      div {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1rem;
        background-color: #191824;
        width: 15rem;
        height: 18rem;
        padding: 2rem;
        border-radius: 1rem;
        border: 0.01px solid rgba(182, 202, 222, 0.2);
        h2 {
          font-size: 0.8rem;
          font-weight: 500;
          color: var(--color-gray-muted);
        }
        h1 {
          font-size: 1rem;
          font-weight: 600;
          font-family: "Space Grotesk", sans-serif;
          color: var(--color-blue-muted);
        }
        p {
          font-size: 0.8rem;
          color: var(--color-cream);
          font-weight: 200;
        }
        button {
          background: #191a22ff;
          font-size: 0.8rem;
          width: 100%;
          border-radius: 1rem;
          border: 0.03px solid rgba(251, 247, 236, 0.2);
          margin-top: auto;
          color: var(--color-blue-muted);
          cursor: pointer;
          transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            box-shadow 0.2s ease,
            color 0.2s ease;
        }
        button:hover {
          background-color: #23242f;
          border-color: rgba(251, 247, 236, 0.45);
          color: var(--color-cream);
        }
        img {
          position: absolute;
          bottom: 0.5rem;
          right: 0.4rem;
          width: 70%;
        }
        img[src*="keycloak-logo.png"] {
          width: 60%;
          right: 0;
        }
        img[src*="fxp.png"] {
          bottom: 2rem;
        }
      }
      div:nth-of-type(3) {
        border: 0.03px solid rgba(231, 108, 33, 0.5);
        position: relative;
        button {
          background: var(--color-orange);
          box-shadow: 2px 2px 80px 10px rgba(231, 108, 33, 0.37);
        }
        button:hover {
          background-color: var(--color-orange-dark);
          border-color: rgba(231, 108, 33, 0.6);
          box-shadow: 2px 2px 90px 12px rgba(231, 108, 33, 0.5);
        }
      }
      .recommended-card {
        position: relative;
      }
      .recommended-badge {
        position: absolute;
        top: 0;
        right: 1rem;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: var(--color-orange);
        color: var(--color-cream);
        font-size: 0.75rem;
        letter-spacing: 0.08em;
        padding: 0.55rem 1.1rem;
        /* Hangs from the card's top edge, inset from the right: square where
           it meets the edge, rounded underneath */
        border-radius: 0 0 0.5rem 0.5rem;
        box-shadow: 2px 2px 20px 2px rgba(231, 108, 33, 0.45);
        font-weight: 500;
        svg {
          flex-shrink: 0;
        }
      }
    }
  }
}

@media screen and (min-width: 1024px) {
  html {
    font-size: min(1.2vw, 17.28px);
  }
  :is(
      #introduction,
      #sub-introduction,
      #comparison,
      #competitor-pros,
      #our-pros,
      #our-graph,
      #closing
    ) {
    zoom: 0.9;
    max-width: 61rem;
  }
  #our-graph {
    max-width: 54rem;
  }
}

@media screen and (max-width: 767px) {
  main {
    gap: 128px;
  }
  .blue-glow {
    top: 40px;
    left: -10vw;
    width: 120vw;
  }
  .blue-glow-1 {
    top: 900px;
    left: -40vw;
    width: 120vw;
  }
  .yellow-glow {
    top: 420px;
    left: 50vw;
    width: 80vw;
  }

  #introduction,
  #sub-introduction,
  #comparison,
  #competitor-pros,
  #our-pros,
  #our-graph,
  #closing {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  #introduction {
    padding-top: 24px;
    .introduction-item {
      width: 100%;
      gap: 48px;
      container-type: inline-size;
      .introduction-item-header {
        gap: 8px;
        h1 {
          font-size: 30px;
          line-height: 1.15;
          br {
            display: none;
          }
        }
        h2 {
          font-size: 13px;
          letter-spacing: 0.06em;
        }
      }
      .introduction-item-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr auto auto auto 1fr;
        column-gap: 14px;
        row-gap: 0;
        min-height: calc((100cqw - 30px) / 2);
        padding: 0 8px;
        box-sizing: border-box;
        div {
          display: grid;
          grid-row: 1 / -1;
          grid-template-rows: subgrid;
          box-sizing: border-box;
          width: auto;
          min-width: 0;
          row-gap: 4px;
          h2 {
            grid-row: 2;
          }
          h1 {
            grid-row: 3;
          }
          p {
            grid-row: 4;
          }
          padding: 12px;
          border-radius: 12px;
          border-width: 1px;
          box-shadow: 0 0 24px 2px rgba(230, 108, 33, 0.3);
          h2 {
            font-size: min(10px, 2.6cqw);
          }
          h1 {
            font-size: 36px;
          }
          p {
            font-size: 10.5px;
            line-height: 1.35;
          }
        }
      }
      .introduction-item-footer {
        gap: 16px;
        h1,
        h2 {
          font-size: 24px;
        }
        p {
          font-size: 14px;
          line-height: 1.5;
          br {
            display: none;
          }
        }
      }
    }
  }

  #sub-introduction {
    gap: 0;
    .sub-introduction-item {
      h2 {
        font-size: 13px;
        letter-spacing: 0.06em;
      }
      h1 {
        font-size: 26px;
        line-height: 1.2;
      }
      p {
        font-size: 14px;
        line-height: 1.5;
      }
    }
    .sub-introduction-item-header {
      gap: 12px;
      margin-bottom: 32px;
      p br {
        display: none;
      }
    }
    .sub-introduction-item-body {
      padding: 16px;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      border-width: 1px;
      .sub-introduction-item-body-item {
        gap: 14px;
        hr {
          height: 1px;
        }
        .timeline {
          display: grid;
          grid-template-columns: 1fr 76px 64px;
          align-items: baseline;
          column-gap: 8px;
          row-gap: 8px;
          h1 {
            font-size: 14px;
          }
          h1:nth-of-type(1) {
            text-align: left;
          }
          div {
            grid-column: 1 / -1;
            gap: 2px;
            h2 {
              font-size: 15px;
            }
            p {
              font-size: 12px;
              line-height: 1.45;
            }
          }
          div:empty,
          h1:empty {
            display: none;
          }
          h1:empty + h1 {
            grid-column: 2;
          }
        }
        .timeline:last-of-type h1 {
          font-size: 11px;
          letter-spacing: 0.06em;
        }
      }
    }
    .sub-introduction-item-footer {
      padding: 16px;
      border-end-start-radius: 16px;
      border-end-end-radius: 16px;
      border-width: 1px;
      .sub-introduction-item-footer-item {
        div {
          box-sizing: border-box;
          padding: 14px;
          border-width: 1px;
          border-radius: 12px;
          font-size: 13px;
          line-height: 1.5;
        }
      }
    }
  }

  #comparison {
    gap: 24px;
    .comparison-item {
      gap: 32px;
      .comparison-item-header {
        h1 {
          font-size: 26px;
        }
      }
      .comparison-item-body {
        gap: 10px;
        h2 {
          font-size: 14px;
        }
        .comparison-item-body-header {
          position: relative;
          gap: 8px;
          div:not(.tooltip):not(.tooltip-content) {
            gap: 8px;
            img {
              width: 16px;
            }
          }
          h2 span {
            margin-left: 6px;
          }
        }
        .comparison-item-body-content {
          gap: 6px;
        }
      }
    }
    .comparison-item:last-of-type {
      margin-top: 12px;
      .comparison-item-body {
        .comparison-item-content {
          justify-content: center;
          .comparison-item-content-body {
            gap: 8px;
            .line {
              width: 32px;
            }
          }
        }
      }
    }
    .line,
    .line-percentage {
      height: 8px;
      border-radius: 8px;
    }
  }

  #competitor-pros,
  #our-pros {
    .competitor-pros-item,
    .our-pros-item {
      gap: 32px;
      .competitor-pros-item-header,
      .our-pros-item-header {
        gap: 12px;
        h1 {
          font-size: 26px;
        }
        p {
          font-size: 14px;
          line-height: 1.5;
        }
      }
      .competitor-props-item-body,
      .our-pros-item-body {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 16px;
        div {
          gap: 8px;
          padding: 16px;
          border-radius: 12px;
          border-width: 1px;
          h2 {
            font-size: 16px;
          }
          p {
            font-size: 13px;
            line-height: 1.5;
            br {
              display: none;
            }
          }
          img {
            width: 24px;
          }
        }
      }
    }
  }

  #competitor-pros .competitor-pros-item .competitor-props-item-body div {
    border: 1px solid rgba(154, 152, 144, 0.25);
  }

  #our-graph {
    flex-direction: column;
    gap: 40px;
    .our-graph-item {
      gap: 16px;
      h1 {
        font-size: 28px;
        line-height: 1.2;
        br {
          display: none;
        }
      }
      p {
        font-size: 14px;
        line-height: 1.5;
        br {
          display: none;
        }
      }
    }
    .line-chart {
      --chart-height: 200px;
      --chart-pad: 16px;
      gap: 12px;
      border-radius: 16px;
      .line-chart-badge {
        position: static;
        align-self: flex-end;
        padding: 4px 10px;
        font-size: 11px;
      }
      .line-chart-plot {
        column-gap: 8px;
      }
      .line-chart-y-axis,
      .line-chart-x-axis,
      .line-chart-tick {
        font-size: 11px;
      }
      .line-chart-x-axis .line-chart-tick {
        padding-top: 8px;
      }
      .line-chart-point::before {
        inset: 0 -16px;
      }
      .line-chart-dot {
        width: 7px;
        height: 7px;
      }
      .line-chart-dot-lead {
        width: 8px;
        height: 8px;
      }
      .line-chart-tooltip {
        --shift-y: -12px;
        gap: 4px;
        padding: 8px 10px;
        border-radius: 8px;
        b,
        span {
          font-size: 12px;
        }
      }
      .line-chart-point:first-child .line-chart-tooltip {
        --shift-x: -8px;
      }
      .line-chart-point:last-child .line-chart-tooltip {
        --shift-x: calc(-100% + 8px);
      }
      .line-chart-tooltip-below {
        --shift-y: calc(100% + 12px);
      }
      .line-chart-axis-label {
        padding-top: 4px;
        font-size: 11px !important;
      }
      .line-chart-legend {
        gap: 20px;
        span {
          gap: 6px;
          font-size: 12px !important;
        }
        .line-chart-swatch {
          width: 8px;
          height: 8px;
          border-radius: 2px;
        }
      }
    }
  }

  #closing {
    .closing-item {
      gap: 32px;
      .closing-item-header {
        gap: 12px;
        text-align: center;
        h1 {
          font-size: 26px;
        }
        p {
          font-size: 14px;
        }
      }
      .closing-item-body {
        flex-direction: column;
        gap: 20px;
        .yellow-glow-1 {
          top: 20%;
          left: -20vw;
          width: 140vw;
        }
        div {
          box-sizing: border-box;
          width: 100%;
          height: auto;
          gap: 8px;
          padding: 24px 20px 20px;
          border-radius: 16px;
          border-width: 1px;
          h2 {
            font-size: 13px;
          }
          h1 {
            font-size: 20px;
          }
          p {
            font-size: 14px;
            line-height: 1.5;
            padding-right: 30%;
            br {
              display: none;
            }
          }
          button {
            margin-top: 16px;
            padding: 14px;
            font-size: 14px;
            border-radius: 999px;
          }
          img {
            top: 16px;
            bottom: auto;
            right: 12px;
            width: 30%;
          }
          img[src*="keycloak-logo.png"] {
            width: 34%;
            right: 0;
          }
          img[src*="fxp.png"] {
            top: 40px;
            bottom: auto;
          }
        }
        div:nth-of-type(3) button {
          box-shadow: 2px 2px 40px 4px rgba(231, 108, 33, 0.35);
        }
        .recommended-badge {
          right: 16px;
          gap: 6px;
          padding: 6px 12px;
          font-size: 11px;
          border-radius: 0 0 8px 8px;
        }
      }
    }
  }
}
