:root {
  --rethon-teal: #25d0ab;
  --rethon-ink: #101820;
  --rethon-muted: #5f6b7a;
}

.md-header,
.md-tabs {
  background-color: var(--rethon-ink);
}

.md-typeset h1,
.md-typeset h2 {
  font-weight: 720;
  letter-spacing: 0;
}

.md-typeset h1 {
  color: var(--rethon-ink);
}

[data-md-color-scheme="slate"] .md-typeset h1 {
  color: var(--rethon-teal);
}

.hero {
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
  padding: 3rem 0 2.25rem;
}

.hero__eyebrow {
  color: var(--rethon-teal);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  margin: .35rem 0 1rem;
  max-width: 12ch;
}

.hero__summary {
  color: var(--rethon-muted);
  font-size: 1.05rem;
  max-width: 44rem;
}

[data-md-color-scheme="slate"] .hero__summary {
  color: var(--md-default-fg-color--light);
}

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

.spec-card {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
  color: inherit;
  display: block;
  padding: 1rem;
  transition: border-color .15s ease, transform .15s ease;
}

.spec-card:hover {
  border-color: var(--rethon-teal);
  transform: translateY(-1px);
}

.spec-card strong {
  display: block;
  margin-bottom: .35rem;
}

.spec-card span {
  color: var(--md-default-fg-color--light);
  display: block;
  font-size: .82rem;
  line-height: 1.35;
}

.md-typeset code {
  border-radius: 4px;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 8px;
}

@media screen and (min-width: 76.25em) {
  .md-sidebar__scrollwrap {
    max-height: calc(100vh - 6.5rem);
    padding-bottom: 3.5rem;
  }

  .md-main__inner {
    padding-bottom: 2rem;
  }
}
