:root {
  --md-primary-fg-color: #1169d3;
  --md-primary-fg-color--light: #3d85e0;
  --md-primary-fg-color--dark: #0d4fa1;
  --md-accent-fg-color: #1169d3;
}

body:has(.support-hero) {
  background: #080f17;
  color: #e5ebf2;
}

body:has(.support-hero) .md-header,
body:has(.support-hero) .md-tabs {
  background: #080f17;
  color: #e5ebf2;
}

body:has(.support-hero) .md-header__title,
body:has(.support-hero) .md-tabs__link {
  color: #e5ebf2;
}

body:has(.support-hero) .md-search__button {
  color: #e5ebf2;
  background: #ffffff12;
}

body:has(.support-hero) .md-search__button::before {
  background-color: #e5ebf2;
}

body:has(.support-hero) .md-main__inner,
body:has(.support-hero) .md-content__inner {
  margin-top: 0;
  padding-top: 0;
}

body:has(.support-hero) .md-typeset h2 {
  color: #e5ebf2;
}

body:has(.support-hero) .md-content__inner > :not(.support-hero) {
  position: relative;
}

.support-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100vw;
  min-height: calc(100svh - 4.8rem);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background: #080f17;
  color: #fff;
}

.support-scenery {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.support-scenery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
}

.support-terrain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.support-scenery:not(.is-rendered) .support-terrain {
  visibility: hidden;
}

.support-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #060e1966, transparent 75%),
    linear-gradient(0deg, #080f17 0%, #080f1799 30%, transparent 68%);
}

.support-hero__content {
  width: min(100% - 2.4rem, 61rem);
  margin: 0 auto;
  padding: 3rem 0;
}

.support-hero h1 {
  max-width: 35rem;
  margin: .6rem 0 1rem;
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.support-hero__content > p:not(.support-eyebrow) {
  max-width: 31rem;
  color: #d0dbe8;
}

.support-eyebrow {
  color: #a9c9df;
  font-size: .6rem;
  font-weight: 650;
  letter-spacing: .14em;
}

.support-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.2rem;
}

.support-hero .md-button {
  padding: .6rem 1rem;
  border: 1px solid #ffffff40;
  background: #142334c9;
  color: #fff;
  font-size: .7rem;
}

.support-hero .md-button--primary {
  border-color: #81bcdf;
  background: #81bcdf;
  color: #07121e;
}

.support-hero .md-button:hover {
  background: #d0e9f8;
  color: #07121e;
}

.support-hero .support-hero__caption {
  margin-top: 1.3rem;
  font-size: .6rem;
  color: #9dafc1;
}

.support-motion-toggle {
  visibility: hidden;
  position: absolute;
  top: 1rem;
  right: 7.4rem;
  width: .8rem;
  height: .8rem;
  accent-color: #81bcdf;
}

.support-motion-label {
  visibility: hidden;
  position: absolute;
  top: .8rem;
  right: 1.2rem;
  padding: .2rem .4rem;
  border-radius: .2rem;
  background: #080f17a6;
  color: #d0dbe8;
  font-size: .6rem;
  cursor: pointer;
}

.support-hero:has(.is-rendered) .support-motion-toggle,
.support-hero:has(.is-rendered) .support-motion-label {
  visibility: visible;
}

.support-motion-toggle:focus-visible + .support-motion-label,
.support-hero a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.md-typeset .support-cards > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .8rem;
  padding: 0;
  margin: 1rem 0 2rem;
  list-style: none;
}

.md-typeset .support-cards > ul > li {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: .6rem;
}

body:has(.support-hero) .support-cards > ul > li {
  background: #101b27;
  border-color: #243342;
}

body:has(.support-hero) .support-cards a,
body:has(.support-hero) .md-content__inner > p a {
  color: #8ac7f0;
}

body:has(.support-hero) .md-content__inner > h2 {
  margin-top: 2.5rem;
}

body:has(.support-hero) .md-typeset .admonition {
  background: #102633;
  color: #d0dbe8;
}

body:has(.support-hero) .md-typeset .admonition-title {
  color: #e5ebf2;
}

body:has(.support-hero) .md-footer {
  background: #080f17;
  color: #9dafc1;
}

body:has(.support-hero) .md-footer a {
  color: #d0dbe8;
}

.support-cards a {
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .support-hero { min-height: calc(100svh - 2.4rem); }
  .support-hero__content { padding: 3rem 0 2rem; }
  .support-scenery img { object-position: 65% 40%; }
  .support-motion-toggle, .support-motion-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .support-motion-toggle, .support-motion-label { display: none; }
}
