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: 41vw;
  left: 50vw;
  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,
        h1,
        h2 {
          color: #5d5b57;
        }
      }
    }
    .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;
    }
  }
  .sub-introduction-item-body {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-black);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    h1 {
      font-size: 1rem;
      color: #7a7d85;
    }
    .sub-introduction-item-body-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      width: 100%;
      .stacks {
        display: flex;
        flex-direction: column;
        width: 100%;
        div:nth-of-type(1) {
          background-color: #8e909a;
          border-top-left-radius: 1rem;
          border-top-right-radius: 1rem;
          padding: 2.5rem 2rem 2.5rem 2rem;
        }
        div:nth-of-type(2) {
          background-color: #838691;
          padding: 2.1rem 2rem 2.1rem 2rem;
        }
        div:nth-of-type(3) {
          background-color: #686c76;
          padding: 1.8rem 2rem 1.8rem 2rem;
        }
        div:nth-of-type(4) {
          background-color: #52565e;
          border-bottom-left-radius: 1rem;
          border-bottom-right-radius: 1rem;
        }
        div:nth-of-type(5) {
          justify-content: center;
        }
        div {
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          padding: 1.5rem 2rem 1.5rem 2rem;
          h2 {
            font-size: 1rem;
            color: var(--color-black);
          }
          p {
            color: var(--color-black);
          }
          h1 {
            font-size: 2rem;
            color: #838691;
            font-weight: 500;
            span {
              color: #5d5b57;
              font-weight: 200;
              font-size: 1rem;
            }
          }
        }
      }
    }
    .sub-introduction-item-body-item:nth-of-type(2) {
      justify-content: flex-end;
      h1 {
        color: var(--color-orange);
      }
      .stacks {
        div {
          justify-content: center;
          padding: 1.5rem 2rem 1.5rem 2rem;
        }
        div:nth-of-type(1) {
          background-color: var(--color-orange);
          border-radius: 1rem;
        }
        div:nth-of-type(2) {
          background-color: transparent;
        }
      }
    }
  }
  .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-top: 0.01rem solid #1f2128;
    padding: 2rem;
    .sub-introduction-item-footer-item {
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      border-radius: 1rem;
      width: 100%;
      gap: 1rem;
      h1 {
        font-size: 1.2rem;
      }
      h2 {
        font-size: 1rem;
        font-weight: 400;
        color: #5d5b57;
        font-weight: 200;
      }
      p {
        font-size: 0.8rem;
        color: #5d5b57;
        font-weight: 200;
      }
      div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        background-color: #040406;
        padding: 1rem;
        border: 0.01rem solid #1f2128;
        border-radius: 1rem;
        width: 100%;
      }
    }
  }
}

#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: center;
        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: center;
        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: 2rem;
      color: var(--color-cream);
      font-family: "Space Grotesk", sans-serif;
      font-weight: 700;
    }
    p {
      font-size: 0.9rem;
      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*="forgejo.png"] {
          width: 40%;
          right: 1.5rem;
        }
        img[src*="fxp.png"] {
          bottom: 1rem;
        }
      }
      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;
        }
      }
    }
  }
}
