[data-md-color-scheme="slate"] .md-header .md-logo img {
  filter: invert(1) brightness(2);
}

[data-md-color-scheme="default"] {
  --md-text-color: #111111;
  --md-typeset-a-color: #6b4f21;
  --md-accent-fg-color: #6b4f21;
  --md-accent-fg-color--transparent: rgba(107, 79, 33, 0.12);
  --md-default-bg-color: #f6f2e9;
}

[data-md-color-scheme="default"] .md-sidebar--primary,
[data-md-color-scheme="default"] .md-header,
[data-md-color-scheme="default"] .md-tabs {
  background: #fbf8f2;
}

[data-md-color-scheme="slate"] {
  --md-text-color: #f7f2e8;
  --md-typeset-a-color: #f2cb7d;
  --md-accent-fg-color: #f2cb7d;
  --md-accent-fg-color--transparent: rgba(242, 203, 125, 0.14);
  --md-default-bg-color: #13110d;
}

[data-md-color-scheme="slate"] .md-sidebar--primary,
[data-md-color-scheme="slate"] .md-header,
[data-md-color-scheme="slate"] .md-tabs {
  background: #11100d;
}

.md-sidebar--primary .md-sidebar__scrollwrap {
  padding-left: 1rem;
  padding-right: 1rem;
}

[data-md-color-scheme="default"] .md-nav__link--active {
  color: #111111 !important;
  font-weight: 700 !important;
}

[data-md-color-scheme="slate"] .md-nav__link--active {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin: 0 0 2rem;
}

.hero-panel {
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(107, 79, 33, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(242, 203, 125, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(248, 242, 230, 0.94));
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

[data-md-color-scheme="slate"] .hero-panel {
  border-color: rgba(242, 203, 125, 0.2);
  background:
    radial-gradient(circle at top left, rgba(242, 203, 125, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(39, 34, 27, 0.95), rgba(18, 16, 13, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.hero-panel h1,
.hero-panel h2,
.hero-panel h3 {
  margin-top: 0;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(107, 79, 33, 0.08);
  color: #6b4f21;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-md-color-scheme="slate"] .hero-kicker {
  background: rgba(242, 203, 125, 0.12);
  color: #f2cb7d;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-card {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(107, 79, 33, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

[data-md-color-scheme="slate"] .hero-card {
  border-color: rgba(242, 203, 125, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

.stack-block {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(107, 79, 33, 0.12);
  background: rgba(255, 255, 255, 0.62);
  font-family: "JetBrains Mono", monospace;
  white-space: pre-line;
}

[data-md-color-scheme="slate"] .stack-block {
  border-color: rgba(242, 203, 125, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

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