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;
}

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

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

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

.plan-card 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 */
}

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

.plan-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-card form 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 */
}

.plan-card 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;
}

.plan-card ul > 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;
}

.plan-card ul > li.available::before {
  background-image: url("../../img/icons/check-line.svg");
}

.plan-card ul li {
  line-height: 130%; /* 1.3rem */
}

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

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

.dctr-button:disabled {
  cursor: default !important;
}
.dctr-button:disabled:hover {
  background-color: var(--color-secondary-container);
}
