h1 {
  color: var(--color-on-surface-container);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 110%; /* 3.025rem */
}

main {
  display: flex;
  flex-wrap: wrap;
  padding: 0rem 1.5em;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 24.625rem;
  padding: 2.5em 2em;
  margin-top: 2rem;
  border-radius: 1em;
  color: var(--color-on-surface-container);
  font-family: var(--font-body) !important;

  &.premium {
    background: var(--color-surface-container);
    box-shadow: 0px 2px 22px 0px rgba(0, 0, 0, 0.08);
  }

  .icon {
    width: 1.125em;
    height: 1.125em;
    aspect-ratio: 1/1;
  }

  button > .icon {
    margin-right: 0.375em;
  }

  p {
    color: var(--color-on-surface-container-variant);
    font-family: var(--font-body) !important;
    font-size: 1rem;
    font-style: normal;
    line-height: 130% !important; /* 1.3rem */
  }

  strong {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 110%; /* 3.85rem */
    font-weight: 400 !important;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    h2 {
      /*
        TODO: in some cases bootstrap's "normalize.css" adds paddings and margins instead of removing them
        https://getbootstrap.com/docs/4.0/content/reboot/
        This is fucking stupid, and we should reset things properly in the future.
      */
      margin-bottom: 0;
      font-family: var(--font-heading);
      font-size: 1.625rem;
      font-style: normal;
      font-weight: 400;
      line-height: 110%; /* 1.7875rem */
    }
  }

  ul {
    flex: 1;
    margin-bottom: 0;
    padding-left: 0;

    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-on-surface-container-variant);
    /*
    `list-style-image` is still shit, e.g. you cannot customize the size of a marker properly without
    relying on the `::marker` pseudo-element, which has limited support on Safari, and only works with font-size,
    so I'm building my own markers.
    */
    list-style: none;

    & > li {
      &::before {
        content: "";
        display: inline-block;
        vertical-align: text-top;
        width: 1.125em;
        height: 1.125em;
        margin-right: 0.25em;
        aspect-ratio: 1/1;
        background-image: url("../../img/icons/close-line.svg");
        background-size: contain;
        background-repeat: no-repeat;
      }

      &.available::before {
        background-image: url("../../img/icons/check-line.svg");
      }
    }

    li {
      line-height: 130%; /* 1.3rem */
    }
  }

  small {
    font-size: 0.75rem;
    padding-top: 1rem;
  }
}

@media (max-width: 576px) {
  .plan-card {
    width: 100%;
  }
}

/*
  This should be covered in `theme.css`, but again, since ALL of the buttons in application are disabled for 500ms
  after clicking them, I set this here for this specific button only.
*/
.dctr-button:disabled {
  cursor: default !important;
  &:hover {
    background-color: var(--color-secondary-container);
  }
}
