:root {
  --hc-indigo: #3f51b5;
  --hc-indigo-dark: #303f9f;
  --hc-yellow: #ffcf00;
  --hc-ink: #0f172a;
  --hc-muted: #64748b;
  --hc-border: #e2e8f0;
  --hc-surface: #f8fafc;
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: var(--hc-indigo);
  --md-primary-fg-color--light: #5c6bc0;
  --md-primary-fg-color--dark: var(--hc-indigo-dark);
  --md-accent-fg-color: var(--hc-indigo);
  --md-typeset-a-color: var(--hc-indigo);
}

.md-banner {
  background: var(--hc-indigo-dark);
  color: #fff;
}

.md-banner strong,
.md-banner .twemoji {
  color: var(--hc-yellow);
}

.md-header__button.md-logo img,
.md-nav__title .md-logo img {
  height: 2rem;
  width: 2rem;
}

.md-tabs__link {
  font-weight: 500;
}

.md-typeset h1 {
  color: var(--hc-ink);
  font-weight: 700;
}

.md-typeset h2 {
  font-weight: 600;
}

body:has(.home-page-marker) .md-content__inner > h1 {
  display: none;
}

.hero {
  align-items: center;
  background: linear-gradient(135deg, #eef2ff 0%, #fff 60%, #fff9d6 100%);
  border: 1px solid #dbe3ff;
  border-radius: 1rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(12rem, .7fr);
  margin: .5rem 0 2rem;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  position: relative;
}

.hero::after {
  background: var(--hc-yellow);
  border-radius: 999px;
  content: "";
  height: 10rem;
  opacity: .55;
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 10rem;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -.04em;
  line-height: 1.08;
  margin: 0 0 .75rem;
}

.hero p {
  color: var(--hc-muted);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
  max-width: 38rem;
}

.hero__mark {
  align-items: center;
  background: var(--hc-indigo);
  border-radius: 2rem;
  box-shadow: 0 1.2rem 2.5rem rgb(63 81 181 / 22%);
  display: flex;
  justify-content: center;
  min-height: 13rem;
  transform: rotate(2deg);
}

.hero__mark img {
  height: 7rem;
  width: 7rem;
}

.hero .md-button {
  margin-right: .5rem;
  margin-top: .35rem;
}

.hero .md-button--primary {
  background: var(--hc-indigo);
  border-color: var(--hc-indigo);
}

.md-typeset .grid.cards > ul > li {
  border-color: var(--hc-border);
  border-radius: .65rem;
  box-shadow: 0 .1rem .25rem rgb(15 23 42 / 5%);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.md-typeset .grid.cards > ul > li:hover {
  border-color: #a5b4fc;
  box-shadow: 0 .55rem 1.3rem rgb(15 23 42 / 9%);
  transform: translateY(-2px);
}

.md-typeset .grid.cards .lg {
  color: var(--hc-indigo);
}

.md-typeset .grid.cards hr {
  margin: .7rem 0;
}

.quick-path {
  background: var(--hc-surface);
  border-left: .2rem solid var(--hc-indigo);
  border-radius: 0 .35rem .35rem 0;
  color: var(--hc-ink);
  padding: .65rem .85rem;
}

.status-key {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
}

.status-dot {
  background: #16a34a;
  border-radius: 50%;
  height: .55rem;
  width: .55rem;
}

.app-screen {
  margin: 1.4rem 0 2rem;
}

.app-screen__media {
  border: 1px solid var(--hc-border);
  border-radius: .8rem;
  box-shadow: 0 .8rem 2rem rgb(15 23 42 / 14%);
  overflow: hidden;
  position: relative;
}

.app-screen__media img {
  display: block;
  margin: 0;
  width: 100%;
}

.app-screen__marker {
  align-items: center;
  background: var(--hc-yellow);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 .15rem .45rem rgb(15 23 42 / 35%);
  color: var(--hc-ink);
  display: flex;
  font-size: .7rem;
  font-weight: 800;
  height: 1.6rem;
  justify-content: center;
  left: var(--x);
  position: absolute;
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 1.6rem;
}

.app-screen figcaption {
  color: var(--hc-muted);
  font-size: .75rem;
  margin-top: .55rem;
}

.md-typeset .admonition.warning,
.md-typeset details.warning {
  border-color: var(--hc-yellow);
}

.md-typeset .warning > .admonition-title,
.md-typeset .warning > summary {
  background: rgb(255 207 0 / 12%);
}

@media screen and (max-width: 44.984375em) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__mark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .md-typeset .grid.cards > ul > li {
    transition: none;
  }
}
