:root {
  --home-navy: #153253;
  --home-navy-deep: #0c2038;
  --home-light-blue: #b8d7f0;
  --home-panel: #edf5fc;
  --home-panel-strong: #e2effa;
  --home-hero-bg: #dceeff;
  --home-paper: #f4f8fc;
  --home-gold: #e9b847;
  --home-gold-hover: #f4cc68;
}

[data-md-color-scheme="slate"] {
  --home-navy: #132d4b;
  --home-navy-deep: #091a2e;
  --home-light-blue: #b9dcfa;
  --home-panel: #1a2b3e;
  --home-panel-strong: #20364d;
  --home-paper: #edf4fa;
  --home-gold: #efc257;
  --home-gold-hover: #f6d47f;
}

.md-header,
.md-tabs {
  background-color: var(--home-navy-deep);
}

.md-main {
  background-color: #f5f9fe;
}

[data-md-color-scheme="slate"] .md-main {
  background-color: #101923;
}

.docs-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.88fr);
  gap: clamp(2rem, 5vw, 4rem);
  min-height: 25rem;
  margin: 1.5rem 0 4rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 0;
  border-left: 5px solid var(--home-gold);
  border-radius: 0.25rem 1.4rem 0.25rem 0.25rem;
  background-color: var(--home-hero-bg);
  box-shadow: 0 1.5rem 3.5rem rgb(12 32 56 / 20%);
  color: #000000;
}

.docs-hero__intro,
.docs-hero__example {
  position: relative;
  z-index: 1;
}

.docs-hero__intro > p:first-child {
  margin-bottom: 1.15rem;
  color: #000000;
  font-size: 0.7rem;
  letter-spacing: 0.17em;
}

.docs-hero__intro h1 {
  max-width: 13ch;
  margin: 0;
  color: #000000;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.docs-hero__intro > p:nth-of-type(2) {
  max-width: 48ch;
  margin: 1.25rem 0 1rem;
  color: #000000;
  font-size: 1.02rem;
  line-height: 1.65;
}

.md-typeset .md-button {
  margin: 0.5rem 0.45rem 0 0;
  border: 1px solid var(--home-gold);
  background-color: var(--home-gold);
  border-radius: 0.25rem;
  color: var(--home-navy-deep);
  font-weight: 650;
}

.md-typeset .md-button:hover {
  border-color: var(--home-gold-hover);
  background-color: var(--home-gold-hover);
  color: var(--home-navy-deep);
  transform: translateY(-2px);
}

.docs-hero__example > p:first-child {
  margin-bottom: 0.7rem;
  color: #000000;
}

.docs-hero__example pre {
  padding-top: 2.45rem;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 0.55rem;
  background-color: var(--home-paper);
  box-shadow: 0 1.2rem 2.5rem rgb(0 0 0 / 24%);
}

.docs-hero__example pre::before {
  border-bottom-color: #d8e3ee;
  color: #435b74;
  content: "config.py  /  QUICK START";
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.docs-capabilities {
  gap: 1rem;
  margin-top: 1.5rem;
}

.docs-capabilities > div {
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--docs-line);
  border-top: 3px solid var(--home-light-blue);
  border-radius: 0.2rem 0.2rem 0.8rem 0.8rem;
  background-color: var(--home-panel);
  box-shadow: 0 0.7rem 1.8rem rgb(21 50 83 / 7%);
}

.docs-capabilities > div:nth-child(2) {
  border-top-color: var(--home-gold);
}

.docs-capabilities > div:nth-child(3) {
  border-top-color: #5e82a8;
}

.docs-capabilities > div::before {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--docs-muted);
  font-family: var(--md-code-font-family);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.docs-capabilities > div:nth-child(1)::before {
  content: "01 / SOURCES";
}

.docs-capabilities > div:nth-child(2)::before {
  content: "02 / STRUCTURE";
}

.docs-capabilities > div:nth-child(3)::before {
  content: "03 / VALIDATION";
}

.docs-paths > div {
  padding: 1.5rem 1.6rem;
  border-radius: 0.2rem 0.8rem 0.8rem;
}

.docs-paths > div:first-child {
  background: var(--home-panel);
}

.docs-paths > div:last-child {
  background: var(--home-panel-strong);
}

.md-typeset a:focus-visible,
.md-typeset button:focus-visible {
  outline-color: var(--home-light-blue);
}

@media (max-width: 760px) {
  .docs-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 1rem;
    padding: 1.6rem;
  }

  .docs-hero__intro h1 {
    max-width: 15ch;
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .md-typeset .md-button {
    transition: none;
    transform: none;
  }
}
