/* ––––––––––– SYSTEM PAGES ––––––––– */

section.system-page {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  min-height: 100svh;
  display: flex;
  align-items: center;

  padding-top: calc(var(--header-height) + var(--section-padding));
  background-color: var(--color-black);
  color: var(--color-white);
}

section.system-page::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    radial-gradient(
      circle at 18% 34%,
      hsla(from var(--color-primary) h s l / 0.18),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--color-black) 0%,
      var(--color-secondary) 58%,
      var(--color-black) 100%
    );

  pointer-events: none;
  user-select: none;
}

section.system-page::after {
  content: "";

  position: absolute;
  right: -120px;
  bottom: -120px;
  z-index: -1;

  width: 280px;
  height: 280px;

  border-radius: 50%;
  background-color: hsla(from var(--color-primary) h s l / 0.16);
  filter: blur(18px);

  pointer-events: none;
  user-select: none;
}

section.system-page .container {
  display: grid;
  gap: 2rem;
}

section.system-page .system-page__content {
  display: grid;
  gap: 1rem;
}

section.system-page h1 {
  max-width: 900px;

  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-white);
}

section.system-page .system-page__content > p:not(.section-label) {
  max-width: 680px;

  color: var(--color-gray);
  font-size: var(--text-md);
  line-height: 1.55;
}

section.system-page .system-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;

  margin-top: 1rem;
}

section.system-page .system-page__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  display: grid;
  gap: 1rem;

  padding: 1.25rem;
  border: 1px solid hsla(from var(--color-white) h s l / 0.12);
  border-radius: 28px;
  background-color: hsla(from var(--color-secondary) h s l / 0.72);
  backdrop-filter: blur(12px);
}

section.system-page .system-page__card::before {
  content: "";

  position: absolute;
  right: -48px;
  bottom: -48px;
  z-index: -1;

  width: 140px;
  height: 140px;

  border-radius: 50%;
  background-color: hsla(from var(--color-primary) h s l / 0.18);
}

section.system-page .system-page__card span {
  width: fit-content;

  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background-color: var(--color-primary);

  color: var(--color-black);
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1;
  text-transform: uppercase;
}

section.system-page .system-page__card p {
  color: var(--color-white);
  font-size: var(--text-base);
  line-height: 1.55;
}

@media screen and (min-width: 768px) {
  section.system-page::after {
    right: -180px;
    bottom: -180px;

    width: 460px;
    height: 460px;
  }

  section.system-page .container {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 4rem;
  }

  section.system-page .system-page__card {
    padding: 1.5rem;
    border-radius: 36px;
  }
}

@media screen and (min-width: 1024px) {
  section.system-page .system-page__card {
    padding: 2rem;
  }
}