:root,
[data-md-color-scheme="slate"] {
  --mh-black: #000000;
  --mh-surface: #050505;
  --mh-surface-2: #0d0d0d;
  --mh-surface-3: #141414;
  --mh-border: rgba(255, 255, 255, 0.1);
  --mh-text: #f5f7fb;
  --mh-muted: #b6bcc9;
  --mh-teal: #54f5d5;
  --mh-lime: #b8ff66;
  --mh-blue: #70c7ff;
  --mh-orange: #ffb86b;
  --md-default-bg-color: var(--mh-black);
  --md-default-fg-color: var(--mh-text);
  --md-default-fg-color--light: var(--mh-muted);
  --md-default-fg-color--lighter: rgba(245, 247, 251, 0.56);
  --md-default-fg-color--lightest: rgba(245, 247, 251, 0.18);
  --md-code-bg-color: #07110f;
  --md-code-fg-color: #d9fff4;
  --md-accent-fg-color: var(--mh-lime);
  --md-primary-fg-color: #021412;
  --md-primary-bg-color: var(--mh-text);
  --md-typeset-a-color: var(--mh-teal);
}

body,
.md-main,
.md-main__inner,
.md-content,
.md-content__inner {
  background: var(--mh-black);
}

.md-main__inner {
  margin-top: 0;
}

.md-header,
.md-tabs,
.md-sidebar,
.md-search__form,
.md-search__output,
.md-footer {
  background: var(--mh-surface);
}

.md-header,
.md-tabs {
  border-bottom: 1px solid var(--mh-border);
}

.md-sidebar {
  border-right: 1px solid var(--mh-border);
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: #ffffff;
  letter-spacing: -0.02em;
}

.md-typeset h2 {
  margin-top: 2.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.md-typeset h1 + p,
.md-typeset h2 + p {
  color: var(--mh-muted);
  max-width: 54rem;
}

.md-typeset p,
.md-typeset li,
.md-typeset td,
.md-typeset th {
  color: var(--mh-text);
}

.md-typeset code {
  color: var(--mh-lime);
  background: rgba(84, 245, 213, 0.09);
  border: 1px solid rgba(84, 245, 213, 0.18);
}

.md-typeset pre > code {
  border: 0;
  background: transparent;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.55;
}

.highlight,
.md-typeset pre {
  background: linear-gradient(180deg, #050808 0%, #091310 100%);
  border: 1px solid rgba(112, 199, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 18px 50px rgba(0, 0, 0, 0.42);
  overflow-x: auto;
}

.md-typeset pre {
  padding: 0.9rem 1rem;
}

.md-typeset pre code {
  font-size: 0.8rem;
}

.highlight .gp,
.highlight .nb,
.highlight .nv,
.highlight .fm {
  color: var(--mh-teal);
}

.highlight .s,
.highlight .sa,
.highlight .sb,
.highlight .s2 {
  color: var(--mh-lime);
}

.highlight .k,
.highlight .kd,
.highlight .kn,
.highlight .ow {
  color: var(--mh-blue);
}

.highlight .m,
.highlight .mi {
  color: var(--mh-orange);
}

.md-button {
  border-radius: 999px;
}

.md-button--primary {
  background: linear-gradient(135deg, var(--mh-teal) 0%, var(--mh-blue) 100%);
  border: 0;
  color: #001313;
  font-weight: 700;
}

.hero {
  padding: 2.5rem 1.6rem;
  margin: 0 0 2rem 0;
  border: 1px solid var(--mh-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(84, 245, 213, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(184, 255, 102, 0.12), transparent 26%),
    linear-gradient(180deg, #040404 0%, #0a0a0a 100%);
}

.hero p {
  max-width: 44rem;
}

.hero-kicker {
  color: var(--mh-lime);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.6rem 0 2rem 0;
}

.stat-card {
  padding: 1rem 1rem 1.1rem;
  background: var(--mh-surface-2);
  border: 1px solid var(--mh-border);
  border-radius: 18px;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--mh-teal);
}

.md-typeset table:not([class]) {
  background: var(--mh-surface);
  border: 1px solid var(--mh-border);
  border-radius: 14px;
}

.md-typeset table:not([class]) th {
  color: #ffffff;
  background: var(--mh-surface-3);
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 16px;
  border-width: 1px;
}

.md-typeset .admonition {
  background: linear-gradient(180deg, rgba(12, 18, 18, 0.95), rgba(8, 12, 12, 0.96));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.md-typeset .admonition-title {
  font-weight: 700;
}

.md-typeset blockquote {
  border-left: 3px solid rgba(84, 245, 213, 0.55);
  background: rgba(84, 245, 213, 0.05);
  padding: 0.8rem 1rem;
  border-radius: 0 14px 14px 0;
}

.md-typeset hr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.md-content__inner > .md-typeset > h1 {
  margin-bottom: 0.6rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.25rem 0 2rem;
}

.feature-card,
.flow-card,
.callout-card {
  border: 1px solid var(--mh-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.98), rgba(14, 14, 14, 0.98));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.feature-card {
  padding: 1.1rem 1.1rem 1rem;
}

.feature-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--mh-teal);
  font-size: 1rem;
}

.flow-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 1.25rem 0 2rem;
}

.flow-card {
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mh-teal), var(--mh-blue));
  color: #001313;
  font-weight: 800;
}

.flow-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #ffffff;
}

.callout-card {
  padding: 1.2rem 1.25rem;
  margin: 1.3rem 0 2rem;
  background:
    radial-gradient(circle at top right, rgba(184, 255, 102, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(9, 12, 11, 0.98), rgba(8, 8, 8, 0.98));
}

.callout-card strong {
  color: var(--mh-lime);
}

.section-intro {
  max-width: 58rem;
  color: var(--mh-muted);
}

.command-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 1rem 0 2rem;
}

.command-card {
  padding: 1rem 1rem 0.2rem;
  border: 1px solid rgba(112, 199, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(6, 11, 12, 0.98), rgba(7, 8, 8, 0.98));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.command-card h3,
.command-card h4 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--mh-teal);
}

.command-card p {
  margin-top: 0;
}

.command-card pre {
  margin-top: 0.8rem;
}

.path-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 1rem 0 2rem;
}

.path-card {
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(84, 245, 213, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(84, 245, 213, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(7, 10, 11, 0.98), rgba(9, 9, 9, 0.98));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.path-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--mh-lime);
}

.path-card p:last-child {
  margin-bottom: 0;
}

.md-typeset .grid-list {
  columns: 2 18rem;
  gap: 1.4rem;
}

.md-typeset .grid-list li {
  break-inside: avoid;
  margin-bottom: 0.7rem;
}

.md-footer__link,
.md-footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.md-footer-meta__inner {
  justify-content: center;
}

.md-footer-copyright,
.md-copyright,
.md-generator,
[class*="md-footer"] [href*="squidfunk"],
[class*="md-footer"] [href*="material"],
[class*="md-footer"] [href*="mkdocs-material"] {
  display: none !important;
}

@media screen and (max-width: 760px) {
  .hero {
    padding: 1.6rem 1rem;
    border-radius: 18px;
  }

  .feature-grid,
  .flow-grid,
  .command-grid {
    grid-template-columns: 1fr;
  }

  .md-typeset .grid-list {
    columns: 1;
  }
}
