:root {
  --switchyard-ink: #10201f;
  --switchyard-teal: #0f766e;
  --switchyard-teal-dark: #115e59;
  --switchyard-orange: #ea580c;
  --switchyard-mist: #f3faf8;
}

.md-header {
  box-shadow: 0 1px 0 rgba(15, 118, 110, 0.18);
}

.md-typeset h1 {
  color: var(--switchyard-ink);
  margin-bottom: 0.8rem;
  font-size: 1.75rem;
  line-height: 1.16;
  font-weight: 750;
}

.md-typeset h2 {
  margin: 1.45rem 0 0.55rem;
  font-size: 1.24rem;
  line-height: 1.22;
  font-weight: 700;
}

.md-typeset a {
  color: var(--switchyard-teal-dark);
}

.md-typeset .hero {
  margin: 0.6rem 0 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 0.45rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(234, 88, 12, 0.12), transparent 28rem),
    linear-gradient(135deg, #f8fffd 0%, var(--switchyard-mist) 48%, #fff7ed 100%);
}

.md-typeset .hero h1 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  line-height: 1.12;
}

.md-typeset .hero p {
  max-width: 34rem;
  margin: 0.45rem 0 0;
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.55;
}

.md-typeset .hero code {
  background: rgba(15, 118, 110, 0.1);
}

.md-typeset .doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.55rem;
  margin: 0.8rem 0 1.1rem;
}

.md-typeset .doc-card {
  display: block;
  height: 100%;
  min-height: 5.75rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 0.38rem;
  background: #fff;
  color: inherit;
  transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.md-typeset .doc-card:hover {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0.45rem 1.4rem rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.md-typeset .doc-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--switchyard-teal-dark);
  font-size: 0.82rem;
}

.md-typeset .doc-card span {
  display: block;
  color: #475569;
  font-size: 0.68rem;
  line-height: 1.4;
}

.md-typeset .quick-path {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.45rem;
  margin: 0.75rem 0;
  padding: 0;
  list-style: none;
}

.md-typeset .quick-path li {
  padding: 0.58rem 0.65rem;
  border-left: 3px solid var(--switchyard-orange);
  border-radius: 0.35rem;
  background: #fff7ed;
  color: #431407;
  font-size: 0.72rem;
}

@media screen and (min-width: 76.25em) {
  .md-typeset .doc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 44.9375em) {
  .md-content__inner {
    padding-top: 0.25rem;
  }

  .md-typeset .hero {
    padding: 1rem;
  }

  .md-typeset h1 {
    font-size: 1.48rem;
  }

  .md-typeset h2 {
    font-size: 1.12rem;
  }

  .md-typeset .hero h1 {
    font-size: 1.35rem;
  }
}

[data-md-color-scheme="slate"] {
  --switchyard-ink: #ecfeff;
  --switchyard-mist: #10201f;
}

[data-md-color-scheme="slate"] .md-typeset .hero {
  border-color: rgba(94, 234, 212, 0.2);
  background:
    radial-gradient(circle at 18% 18%, rgba(234, 88, 12, 0.22), transparent 28rem),
    linear-gradient(135deg, #10201f 0%, #132f2d 55%, #28180f 100%);
}

[data-md-color-scheme="slate"] .md-typeset .hero p,
[data-md-color-scheme="slate"] .md-typeset .doc-card span {
  color: #cbd5e1;
}

[data-md-color-scheme="slate"] .md-typeset .doc-card {
  border-color: rgba(94, 234, 212, 0.18);
  background: #111827;
}

[data-md-color-scheme="slate"] .md-typeset .doc-card strong {
  color: #5eead4;
}

[data-md-color-scheme="slate"] .md-typeset .quick-path li {
  background: rgba(234, 88, 12, 0.14);
  color: #fed7aa;
}
