h1,
p {
  color: var(--color-cream);
}
h1,
h3 {
  font-family: "Space Grotesk", sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.active {
  color: #e76c21;
}
#introduction ~ div {
  margin-top: 6rem;
}
.home-background {
  position: absolute;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: -1;
}
.blue-glow {
  position: absolute;
  top: 0.5rem;
  left: calc(50% - 1.68rem);
  width: 50rem;
  opacity: 0.5;
  z-index: -1;
}

#introduction,
#why-teams-switch,
#pricing,
#bills,
#backups,
#tools,
#ownership,
#cta {
  width: 64.25rem;
}
#introduction button,
#cta button {
  padding: 0.875rem 1.083rem;
  background: linear-gradient(to bottom, var(--color-orange) 0%, #ee8e41 100%);
  color: var(--color-black);
  font-family: "Poppins", sans-serif;
  font-size: 0.833rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  transition: filter 0.25s ease;
  &:hover {
    filter: brightness(1.1);
  }
}
#introduction,
#why-teams-switch,
#bills {
  h2 {
    font-size: 0.958rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-orange);
  }
}

#introduction {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 8.7rem 1.6rem;
  box-sizing: border-box;
  .introduction-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    h2 {
      font-size: 1.1rem;
    }
    h1 {
      margin-top: 0.6rem;
      font-size: 4rem;
      font-weight: 600;
      line-height: 1.1;
    }
    p {
      width: 32rem;
      margin-top: 1.5rem;
      font-size: 1rem;
      font-weight: 300;
      color: var(--color-gray-muted);
    }
    button {
      margin-top: 2.67rem;
    }
  }
  .astro {
    width: 15rem;
    transform: translateY(2rem);
    animation: float 6s ease-in-out infinite;
  }
}

@keyframes float {
  50% {
    transform: translateY(1.25rem) rotate(-2deg);
  }
}

#why-teams-switch {
  h1 {
    margin-top: 0.433rem;
    font-size: 1.917rem;
    font-weight: 600;
    line-height: 1;
  }
  .cards {
    display: flex;
    flex-direction: row;
    gap: 1.225rem;
    margin-top: 1.317rem;
  }
  .card {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.667rem;
    min-height: 12.83rem;
    padding: 1.333rem;
    box-sizing: border-box;
    background: #1f150f;
    border: 1px solid rgba(231, 108, 33, 0.75);
    border-radius: 1.333rem;
    svg {
      width: 1.95rem;
      height: 1.95rem;
      fill: var(--color-orange);
    }
    h3 {
      font-size: 1.108rem;
      font-weight: 400;
      line-height: 1;
    }
    p {
      font-size: 0.8rem;
      font-weight: 300;
      color: var(--color-gray-muted);
    }
  }
}

#pricing {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7.475rem;
  .pricing-introduction {
    width: 19.58rem;
    flex-shrink: 0;
    h1 {
      font-size: 2.604rem;
      font-weight: 700;
      line-height: 1;
    }
    p {
      width: 19.17rem;
      margin-top: 1.417rem;
      font-size: 0.808rem;
      font-weight: 300;
      line-height: 1;
      color: var(--color-gray-muted);
    }
  }
  table {
    display: block;
    width: 36.67rem;
    padding: 2.19rem;
    box-sizing: border-box;
    background: var(--color-midnight);
    border: 1px solid var(--color-charcoal);
    border-radius: 1.367rem;
    thead,
    tbody {
      display: block;
    }
    tr {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 0.833rem;
      padding: 0.825rem 0;
    }
    thead tr {
      padding: 0 0 0.592rem;
    }
    tbody tr {
      border-top: 1px solid var(--color-charcoal);
    }
    tbody tr:last-child {
      padding-bottom: 0;
    }
    th,
    td {
      padding: 0;
      font-weight: 500;
      text-align: left;
      white-space: nowrap;
    }
    th:last-child,
    td:last-child {
      text-align: right;
    }
    th {
      font-size: 0.767rem;
      text-transform: uppercase;
      color: var(--color-charcoal);
    }
    td {
      font-size: 0.983rem;
    }
    td:last-child {
      font-family: "Space Grotesk", sans-serif;
      font-size: 1.317rem;
      font-weight: 600;
      color: var(--color-orange);
      span {
        font-family: "Space Grotesk", sans-serif;
        font-size: 0.875rem;
        color: var(--color-gray-muted);
      }
    }
    tr:nth-child(3) td:last-child {
      color: var(--color-cream);
    }
    tr:nth-child(4) td:last-child {
      font-size: 1.092rem;
      color: var(--color-blue-muted);
    }
  }
}

#bills {
  h1 {
    margin-top: 0.433rem;
    font-size: 1.917rem;
    font-weight: 600;
    line-height: 1;
  }
  .bills-card {
    display: flex;
    flex-direction: column;
    gap: 1.367rem;
    margin-top: 2.433rem;
    padding: 2.167rem 1.95rem;
    background: var(--color-midnight);
    border: 1px solid var(--color-charcoal);
    border-radius: 1.367rem;
  }
  .bill {
    display: grid;
    grid-template-columns: 13.33rem 36.42rem 1fr;
    grid-template-areas: "title bar total";
    align-items: center;
  }
  .bill-title {
    grid-area: title;
    h3 {
      font-size: 0.908rem;
      font-weight: 500;
    }
    p {
      margin-top: 0.275rem;
      font-size: 0.454rem;
      color: var(--color-charcoal);
    }
  }
  .bill-bar {
    grid-area: bar;
    position: relative;
    height: 1.683rem;
    background: #1f1d25;
    border-radius: 999px;
    overflow: hidden;
    span {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
    }
    .management {
      width: var(--management);
    }
    .aws {
      width: var(--aws);
    }
  }
  .bill-total {
    grid-area: total;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.425rem;
    font-weight: 500;
    text-align: right;
    span {
      font-family: "Space Grotesk", sans-serif;
      font-size: 1rem;
      color: var(--color-charcoal);
    }
  }
  .bill-bar .management,
  .bills-legend .management::before {
    background: var(--color-orange);
  }
  .bill-bar .aws,
  .bills-legend .aws::before {
    background: var(--color-blue-dark);
  }
  .bills-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.275rem;
    padding-top: 1.133rem;
    border-top: 1px solid var(--color-charcoal);
    span {
      display: flex;
      align-items: center;
      gap: 0.454rem;
      font-size: 0.725rem;
      font-weight: 300;
      color: var(--color-gray-muted);
      &::before {
        content: "";
        width: 0.683rem;
        height: 0.683rem;
        border-radius: 0.225rem;
      }
    }
  }
}

#backups {
  display: flex;
  justify-content: space-between;
  align-items: center;
  .backups-introduction {
    width: 25.125rem;
    h1 {
      width: 21.12rem;
      font-size: 2.809rem;
      font-weight: 700;
      line-height: 1;
    }
    > p {
      margin-top: 1.525rem;
      font-size: 0.872rem;
      font-weight: 300;
      line-height: 1;
      color: var(--color-gray-muted);
      strong {
        font-weight: 400;
      }
    }
  }
  .restores {
    width: 23.54rem;
    margin-top: 3.277rem;
    padding: 1.33rem;
    background: var(--color-midnight);
    border: 1px solid var(--color-charcoal);
    border-radius: 0.886rem;
    p {
      font-size: 0.62rem;
      font-weight: 300;
      color: var(--color-charcoal);
    }
    dl div {
      display: flex;
      justify-content: space-between;
      margin-top: 0.443rem;
      font-size: 0.709rem;
    }
    dt {
      display: flex;
      align-items: center;
      gap: 0.443rem;
      font-weight: 300;
      color: var(--color-gray-muted);
      &::before {
        content: "";
        width: 0.665rem;
        height: 0.665rem;
        border-radius: 0.222rem;
      }
    }
    dd {
      font-family: "Space Grotesk", sans-serif;
      font-weight: 600;
      white-space: nowrap;
    }
    .ours dt::before {
      background: var(--color-orange);
    }
    .ours dd {
      color: var(--color-orange);
    }
    .aws dt::before {
      background: var(--color-blue-dark);
    }
  }
  .backups-card {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    width: 31.29rem;
    padding: 1.667rem;
    box-sizing: border-box;
    background: var(--color-midnight);
    border: 1px solid var(--color-charcoal);
    border-radius: 1.25rem;
  }
  .backups-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    h3,
    span {
      font-size: 0.583rem;
      font-weight: 300;
      color: var(--color-gray-muted);
    }
    p {
      font-family: "Space Grotesk", sans-serif;
      font-size: 0.833rem;
    }
    .badge {
      padding: 0.247rem 0.494rem;
      font-size: 0.395rem;
      font-weight: 400;
      color: var(--color-orange);
      background: #391a08;
      border: 1px solid var(--color-orange);
      border-radius: 999px;
    }
  }
  .timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-bottom: 1.875rem;
    border-bottom: 1px solid var(--color-charcoal);
    &::before {
      content: "";
      position: absolute;
      top: 0.396rem;
      left: 0.625rem;
      right: 0.625rem;
      height: 1px;
      background: var(--color-charcoal);
    }
    li {
      position: relative;
      display: grid;
      grid-template-rows: 0.792rem auto;
      place-items: center;
      row-gap: 0.125rem;
      width: 1.25rem;
      font-size: 0.416rem;
      color: var(--color-gray-muted);
      &::before {
        content: "";
        width: 0.792rem;
        height: 0.792rem;
        background: var(--color-orange);
        border-radius: 50%;
        box-shadow: 0 0 0.625rem 0.208rem rgba(231, 108, 33, 0.39);
      }
      &:last-child::before {
        width: 0.417rem;
        height: 0.417rem;
        background: var(--color-charcoal);
        box-shadow: none;
      }
    }
  }
  .history {
    display: flex;
    flex-direction: column;
    gap: 0.417rem;
  }
  .history-bars {
    height: 2.458rem;
    background: linear-gradient(to right, #4f2c1e, #e8762d);
    mask: repeating-linear-gradient(
      to right,
      #000 0 0.708rem,
      transparent 0.708rem calc((100% - 0.708rem) / 29)
    );
  }
  .immutable {
    display: flex;
    align-items: center;
    gap: 1.667rem;
    padding: 0.833rem 1.667rem;
    background: #141322;
    border: 1px solid var(--color-charcoal);
    border-radius: 0.333rem;
    svg {
      width: 1rem;
      height: 1rem;
      flex-shrink: 0;
      fill: var(--color-blue-muted);
    }
    p {
      font-size: 0.833rem;
      font-weight: 300;
      color: var(--color-gray-muted);
    }
  }
}

#tools {
  h1 {
    font-size: 2.833rem;
    font-weight: 700;
    line-height: 1;
  }
  > p {
    width: 39.13rem;
    margin-top: 0.625rem;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1;
    color: var(--color-gray-muted);
  }
  .tools {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.17rem 1.402rem;
    margin-top: 2.557rem;
    li {
      display: flex;
      align-items: center;
      gap: 0.841rem;
      padding: 0.731rem;
      font-family: "Space Grotesk", sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      background: var(--color-midnight);
      border: 1px solid var(--color-gray-muted);
      border-radius: 0.731rem;
    }
    svg {
      width: 1.667rem;
      height: 1.667rem;
      flex-shrink: 0;
      fill: var(--color-orange);
    }
    .note {
      font-family: "Poppins", sans-serif;
      font-size: 0.583rem;
      font-weight: 400;
      color: var(--color-charcoal);
      border: 1px dashed var(--color-charcoal);
    }
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.193rem;
    margin-top: 2.557rem;
    li {
      display: flex;
      flex-direction: column;
      gap: 0.654rem;
      min-height: 9.625rem;
      padding: 1.307rem;
      box-sizing: border-box;
      background: #1f150f;
      border: 1px solid rgba(231, 108, 33, 0.75);
      border-radius: 1.307rem;
    }
    span {
      font-family: "Space Grotesk", sans-serif;
      font-size: 0.848rem;
      font-weight: 600;
      line-height: 1;
      color: var(--color-orange);
    }
    h3 {
      font-size: 1.086rem;
      font-weight: 400;
      line-height: 1;
    }
    p {
      max-width: 17.4rem;
      font-size: 0.784rem;
      font-weight: 300;
      color: var(--color-gray-muted);
    }
  }
}

#ownership {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  .ownership-introduction {
    h2 {
      font-size: 0.833rem;
      font-weight: 400;
      text-transform: uppercase;
      color: var(--color-orange);
    }
    h1 {
      margin-top: 1.042rem;
      font-size: 2.809rem;
      font-weight: 700;
      line-height: 1;
    }
    p {
      width: 27.33rem;
      margin-top: 1.525rem;
      font-size: 1.042rem;
      font-weight: 300;
      line-height: 1;
      color: var(--color-gray-muted);
    }
  }
  .milestones {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    width: 25.17rem;
    padding-bottom: 1.5rem;
    &::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: calc(0.542rem - 1px);
      width: 2px;
      background: linear-gradient(
        to bottom,
        var(--color-orange),
        var(--color-charcoal)
      );
    }
    li {
      position: relative;
      padding-left: 3.25rem;
      &::before {
        content: "";
        position: absolute;
        top: -0.125rem;
        left: 0;
        width: 1.083rem;
        height: 1.083rem;
        box-sizing: border-box;
        background: #000;
        border: 2px solid var(--color-orange);
        border-radius: 50%;
      }
      &:nth-child(3)::before {
        border-color: #b8642c;
      }
      &:nth-child(4)::before {
        border-color: #785c4f;
      }
    }
    span {
      font-size: 0.583rem;
      text-transform: uppercase;
      color: var(--color-gray-muted);
    }
    li:nth-child(-n + 2) span {
      color: var(--color-orange);
    }
    h3 {
      margin-top: 0.75rem;
      font-size: 1.042rem;
      font-weight: 700;
      line-height: 1;
    }
    p {
      width: 15.92rem;
      margin-top: 0.417rem;
      font-size: 0.583rem;
      font-weight: 300;
      line-height: 1;
      color: var(--color-gray-muted);
    }
  }
}

#cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 7rem;
  text-align: center;
  .cta-glow {
    position: absolute;
    top: 7rem;
    left: 50%;
    width: 40rem;
    transform: translate(-50%, -50%);
    z-index: -1;
  }
  h2 {
    font-size: 0.958rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-orange);
  }
  h1 {
    width: 43.4rem;
    margin-top: 1.5rem;
    font-size: 2.833rem;
    font-weight: 600;
    line-height: 1;
  }
  p {
    width: 31.5rem;
    margin-top: 1.05rem;
    font-size: 0.875rem;
    line-height: 1.2;
    color: var(--color-gray-muted);
  }
  button {
    margin-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #introduction .astro {
    animation: none;
  }
}

@media screen and (min-width: 1024px) {
  html {
    font-size: min(1.2vw, 17.28px);
  }
}

@media screen and (max-width: 767px) {
  main {
    gap: 80px;
  }
  #introduction ~ div {
    margin-top: 40px;
  }
  .blue-glow {
    display: none;
  }
  #introduction,
  #why-teams-switch,
  #pricing,
  #bills,
  #backups,
  #tools,
  #ownership,
  #cta {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  #introduction,
  #why-teams-switch,
  #bills {
    h2 {
      font-size: 13px;
    }
  }

  #introduction {
    align-items: flex-start;
    min-height: calc(100svh - 170px);
    padding-top: 12svh;
    padding-bottom: 0;
    .introduction-item {
      h2 {
        font-size: 13px;
      }
      h1 {
        margin-top: 8px;
        font-size: 40px;
      }
      p {
        width: auto;
        margin-top: 20px;
        font-size: 14px;
      }
      button {
        margin-top: 32px;
        padding: 14px 20px;
        font-size: 14px;
      }
    }
    .astro {
      display: none;
    }
  }

  #why-teams-switch {
    h1 {
      margin-top: 8px;
      font-size: 25px;
    }
    .cards {
      flex-direction: column;
      gap: 16px;
      margin-top: 24px;
    }
    .card {
      gap: 10px;
      min-height: 0;
      padding: 24px;
      border-radius: 24px;
      svg {
        width: 35px;
        height: 35px;
      }
      h3 {
        font-size: 20px;
      }
      p {
        font-size: 14px;
      }
    }
  }

  #pricing {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    .pricing-introduction {
      width: auto;
      h1 {
        font-size: 33px;
      }
      p {
        width: auto;
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.2;
      }
    }
    table {
      width: 100%;
      padding: 24px;
      border-radius: 24px;
      tr {
        gap: 12px;
        padding: 12px 0;
      }
      thead tr {
        padding: 0 0 12px;
      }
      th,
      td {
        white-space: normal;
      }
      th {
        font-size: 12px;
      }
      td {
        font-size: 15px;
      }
      td:last-child {
        font-size: 20px;
        span {
          font-size: 13px;
        }
      }
      tr:nth-child(4) td:last-child {
        font-size: 16px;
      }
    }
  }

  #bills {
    h1 {
      margin-top: 8px;
      font-size: 25px;
    }
    .bills-card {
      gap: 24px;
      margin-top: 24px;
      padding: 24px;
      border-radius: 24px;
    }
    .bill {
      grid-template-columns: 1fr auto;
      grid-template-areas:
        "title total"
        "bar bar";
      gap: 10px;
    }
    .bill-title {
      h3 {
        font-size: 16px;
      }
      p {
        margin-top: 4px;
        font-size: 10px;
      }
    }
    .bill-bar {
      height: 24px;
    }
    .bill-total {
      font-size: 24px;
      span {
        font-size: 16px;
      }
    }
    .bills-legend {
      gap: 8px 24px;
      padding-top: 20px;
      span {
        gap: 8px;
        font-size: 13px;
        &::before {
          width: 12px;
          height: 12px;
          border-radius: 4px;
        }
      }
    }
  }

  #backups {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    .backups-introduction {
      width: auto;
      h1 {
        width: auto;
        font-size: 33px;
      }
      > p {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.2;
      }
    }
    .restores {
      width: auto;
      margin-top: 32px;
      padding: 24px;
      border-radius: 24px;
      p {
        font-size: 12px;
      }
      dl div {
        gap: 12px;
        margin-top: 10px;
        font-size: 14px;
      }
      dt {
        gap: 8px;
        &::before {
          width: 12px;
          height: 12px;
          flex-shrink: 0;
          border-radius: 4px;
        }
      }
    }
    .backups-card {
      width: 100%;
      gap: 28px;
      padding: 24px 16px;
      border-radius: 24px;
    }
    .backups-heading {
      h3,
      span {
        font-size: 12px;
      }
      p {
        font-size: 18px;
      }
      .badge {
        padding: 4px 10px;
        font-size: 10px;
      }
    }
    .timeline {
      padding-bottom: 28px;
      &::before {
        top: 8px;
        left: 16px;
        right: 16px;
      }
      li {
        grid-template-rows: 16px auto;
        row-gap: 4px;
        width: 32px;
        font-size: 9px;
        &::before {
          width: 14px;
          height: 14px;
          box-shadow: 0 0 10px 3px rgba(231, 108, 33, 0.39);
        }
        &:last-child::before {
          width: 8px;
          height: 8px;
        }
      }
    }
    .history {
      gap: 10px;
    }
    .history-bars {
      height: 48px;
      mask: repeating-linear-gradient(
        to right,
        #000 0 6px,
        transparent 6px calc((100% - 6px) / 29)
      );
    }
    .immutable {
      gap: 16px;
      padding: 16px;
      border-radius: 12px;
      svg {
        width: 20px;
        height: 20px;
      }
      p {
        font-size: 14px;
      }
    }
  }

  #tools {
    h1 {
      font-size: 33px;
    }
    > p {
      width: auto;
      margin-top: 20px;
      font-size: 14px;
      line-height: 1.2;
    }
    .tools {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: 32px;
      li {
        gap: 10px;
        padding: 12px;
        font-size: 14px;
        border-radius: 12px;
      }
      svg {
        width: 24px;
        height: 24px;
      }
      .note {
        font-size: 11px;
      }
    }
    .steps {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-top: 32px;
      li {
        gap: 10px;
        min-height: 0;
        padding: 24px;
        border-radius: 24px;
      }
      span {
        font-size: 16px;
      }
      h3 {
        font-size: 20px;
      }
      p {
        max-width: none;
        font-size: 14px;
      }
    }
  }

  #ownership {
    flex-direction: column;
    gap: 40px;
    .ownership-introduction {
      h2 {
        font-size: 13px;
      }
      h1 {
        margin-top: 12px;
        font-size: 33px;
      }
      p {
        width: auto;
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.2;
      }
    }
    .milestones {
      gap: 32px;
      width: auto;
      padding-bottom: 24px;
      &::before {
        left: 9px;
      }
      li {
        padding-left: 40px;
        &::before {
          top: -2px;
          width: 20px;
          height: 20px;
        }
      }
      span {
        font-size: 11px;
      }
      h3 {
        margin-top: 10px;
        font-size: 18px;
        line-height: 1.1;
      }
      p {
        width: auto;
        margin-top: 6px;
        font-size: 13px;
        line-height: 1.2;
      }
    }
  }

  #cta {
    padding-bottom: 100px;
    .cta-glow {
      top: 140px;
      width: 500px;
    }
    h2 {
      font-size: 13px;
    }
    h1 {
      width: auto;
      margin-top: 16px;
      font-size: 33px;
    }
    p {
      width: auto;
      margin-top: 20px;
      font-size: 14px;
      line-height: 1.2;
    }
    button {
      margin-top: 32px;
      padding: 14px 20px;
      font-size: 14px;
    }
  }
}
