:root {
  --md-primary-fg-color: #167f72;
  --md-primary-fg-color--light: #3fa897;
  --md-primary-fg-color--dark: #0f5e55;
  --md-accent-fg-color: #1c9e8e;
  --asestack-ink: #102522;
  --asestack-muted: #536b66;
  --asestack-line: rgba(30, 132, 116, 0.2);
  --asestack-soft: #eff9f6;
}
[data-md-color-scheme="slate"] {
  --md-default-bg-color: #07100f;
  --md-default-bg-color--light: #0b1715;
  --md-default-fg-color: #edf8f5;
  --md-default-fg-color--light: #c8d8d4;
  --md-default-fg-color--lighter: #91a8a2;
  --md-code-bg-color: #0d1c1a;
  --md-code-fg-color: #e4f4f0;
  --asestack-ink: #edf8f5;
  --asestack-muted: #a9bbb6;
  --asestack-line: rgba(143, 198, 191, 0.22);
  --asestack-soft: #0d1c1a;
}

body,
input {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.md-header {
  background: linear-gradient(110deg, #07100f 0%, #0b2722 72%, #104a41 100%);
  box-shadow: 0 1px 0 rgba(143, 198, 191, 0.2);
}

.md-tabs {
  background: #091714;
  border-bottom: 1px solid rgba(143, 198, 191, 0.18);
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  width: 1.75rem;
  height: 1.85rem;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: var(--asestack-ink);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.md-typeset h1 {
  margin-bottom: 0.75rem;
}

.md-typeset a:not(.md-button) {
  text-underline-offset: 0.14em;
}

.md-typeset .md-button {
  border-radius: 0.4rem;
  font-weight: 700;
}

.md-typeset .md-button--primary {
  background: #168f7f;
  border-color: #168f7f;
  color: #fff;
}

.md-typeset .md-button--primary:hover,
.md-typeset .md-button--primary:focus {
  background: #0f6f63;
  border-color: #0f6f63;
}

.asestack-hero {
  position: relative;
  margin: -0.5rem 0 2.4rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
  border: 1px solid var(--asestack-line);
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(54, 214, 189, 0.2), transparent 30%),
    linear-gradient(135deg, #07100f 0%, #0c201d 72%, #123b35 100%);
  color: #f4fbf8;
  box-shadow: 0 1.4rem 4rem rgba(4, 22, 19, 0.16);
}

.asestack-hero::after {
  position: absolute;
  right: -4rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(143, 198, 191, 0.18);
  border-radius: 50%;
  content: "";
}

.asestack-hero h1 {
  max-width: 17ch;
  margin: 0.45rem 0 0.85rem;
  color: #f4fbf8;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 0.98;
}

.asestack-hero p {
  max-width: 60ch;
  color: #c5d8d3;
  font-size: 1.08rem;
}

.asestack-eyebrow {
  color: #72dfc7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.asestack-hero .md-button:not(.md-button--primary) {
  border-color: rgba(197, 216, 211, 0.5);
  color: #f4fbf8;
}

.md-typeset .grid.cards > ul > li {
  border-color: var(--asestack-line);
  border-radius: 0.55rem;
  box-shadow: none;
}

.md-typeset .grid.cards > ul > li:hover {
  border-color: rgba(28, 158, 142, 0.6);
  box-shadow: 0 0.8rem 2rem rgba(10, 74, 65, 0.08);
}

.md-typeset table:not([class]) {
  border-radius: 0.45rem;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 0.45rem;
  box-shadow: none;
}

.md-footer {
  border-top: 1px solid var(--asestack-line);
}

@media screen and (max-width: 44.984375em) {
  .asestack-hero {
    margin-inline: -0.4rem;
    padding: 1.8rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
