/* Audionaut dark theme — true black, grey text, no colour accent. */

[data-md-color-scheme="slate"],
[data-md-color-scheme="slate"][data-md-color-primary="black"],
[data-md-color-scheme="slate"][data-md-color-accent="white"] {
  --md-default-bg-color: #000;
  --md-default-fg-color: #f2f2f2;
  --md-default-fg-color--light: #bdbdbd;
  --md-default-fg-color--lighter: #8a8a8a;
  --md-default-fg-color--lightest: #3a3a3a;
  --md-primary-fg-color: #000;
  --md-primary-bg-color: #f2f2f2;
  --md-accent-fg-color: #fff;
  --md-typeset-a-color: #e6e6e6;
  --md-primary-fg-color--light: #bdbdbd;
  --md-primary-fg-color--dark: #000;
  --md-code-bg-color: #141414;
  --md-code-fg-color: #d6d6d6;
  --md-footer-bg-color: #000;
  --md-footer-bg-color--dark: #000;
  --md-footer-fg-color: #8a8a8a;
  --md-footer-fg-color--light: #6a6a6a;
  --md-footer-fg-color--lighter: #4a4a4a;
  --md-admonition-bg-color: #0d0d0d;
}

/* Starfield behind everything, subtle. */
body {
  background-color: #000;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
    url("../img/stars.svg");
  background-repeat: no-repeat, repeat;
  background-attachment: fixed;
}
.md-container,
.md-main,
.md-content,
.md-sidebar {
  background: transparent;
}

/* Header: flat black with a hairline, no shadow. */
.md-header {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: none;
  border-bottom: 1px solid #1c1c1c;
}
.md-header__title { font-weight: 600; }
.md-header__button.md-logo img { border-radius: 6px; }
.md-search__form { background-color: #161616; }
.md-search__form:hover { background-color: #1f1f1f; }
[data-md-toggle="search"]:checked ~ .md-header .md-search__form { background-color: #161616; }
.md-search__output { background: #0d0d0d; }
.md-search-result__meta { background: #141414; color: #8a8a8a; }
.md-search-result__item { color: #d6d6d6; }

/* Links: underline on hover only, stay grey/white. */
.md-typeset a { text-decoration: underline; text-decoration-color: #555; text-underline-offset: 0.18em; }
.md-typeset a:hover { color: #fff; text-decoration-color: #fff; }
.md-typeset h1, .md-typeset h2, .md-typeset h3 { color: #fff; font-weight: 600; }
.md-typeset h1 { letter-spacing: -0.01em; }
.md-typeset img { border-radius: 8px; box-shadow: 0 0 0 1px #1c1c1c; }
.md-typeset code { border-radius: 4px; }
.md-typeset hr { border-color: #1c1c1c; }

/* Sidebars: quiet. */
.md-nav__title { color: #8a8a8a; }
.md-nav__link:hover, .md-nav__link--active { color: #fff; }
.md-nav__item--active > .md-nav__link { color: #fff; }
.md-sidebar__scrollwrap { scrollbar-color: #2a2a2a transparent; }
.md-source { color: #8a8a8a; }
.md-source:hover { color: #fff; }
.md-footer-meta { border-top: 1px solid #1c1c1c; }
.md-footer__inner { border-top: 1px solid #1c1c1c; }

/* Tables and admonitions. */
.md-typeset table:not([class]) { border: 1px solid #1c1c1c; }
.md-typeset table:not([class]) th { background: #0d0d0d; color: #f2f2f2; }
.md-typeset table:not([class]) td { border-top-color: #1c1c1c; }

/* ---------- Landing page ---------- */

.hero {
  text-align: center;
  padding: 3.5rem 0 1rem;
}
.md-typeset .hero__home { display: inline-block; line-height: 0; }
.hero__logo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  box-shadow: 0 0 0 1px #222, 0 0 60px rgba(255, 255, 255, 0.05);
}
.md-typeset .hero__title {
  font-size: 3rem;
  line-height: 1.1;
  margin: 1.2rem 0 0.4rem;
  font-weight: 600;
  color: #fff;
}
.md-typeset .hero__tagline {
  font-size: 1.5rem;
  color: #bdbdbd;
  margin: 0 0 1.6rem;
  font-weight: 400;
}
.md-typeset .hero__lead {
  max-width: 34rem;
  margin: 0 auto 2.2rem;
  color: #8a8a8a;
  font-size: 0.95rem;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  justify-content: center;
  padding-bottom: 1.5rem;
}
.md-typeset .btn--download {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0.7rem 2.4rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease, transform 0.15s ease;
}
.md-typeset .btn--download:hover { background: #e8e8e8; color: #000; transform: translateY(-1px); }
.md-typeset .btn__sub {
  font-size: 0.68rem;
  font-weight: 400;
  color: #555;
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}
.md-content__inner:has(.hero) { max-width: 46rem; margin-left: auto; margin-right: auto; }
.md-typeset:has(.hero) h2 {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #1c1c1c;
}
.md-typeset:has(.hero) h3 { margin-top: 2.4rem; }

@media screen and (max-width: 44.9375em) {
  .md-typeset .hero__title { font-size: 2.4rem; }
  .md-typeset .hero__tagline { font-size: 1.2rem; }
}
