/* Spooty landing page + docs polish */

:root,
[data-md-color-scheme="slate"] {
  --spooty-green: #1db954;
  --spooty-green-dark: #148e40;
  --spooty-bg: #0b0f0c;
}

[data-md-color-scheme="default"] {
  --spooty-bg: #ffffff;
}

/* Full-width hero band behind the page title area */
.md-typeset .hero {
  margin: -0.6rem 0 1.5rem;
  padding: 1.5rem 1.5rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(140deg, var(--spooty-bg) 0%, var(--spooty-green-dark) 130%);
  border: 1px solid rgba(29, 185, 84, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.md-typeset .hero .hero-logo {
  display: block;
  margin: 0 auto 0.75rem;
  width: 96px;
  height: 96px;
  border-radius: 22%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.md-typeset .hero h1 {
  margin: 0 0 0.4rem;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, #1db954 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-md-color-scheme="default"] .md-typeset .hero h1 {
  background: linear-gradient(90deg, #0b0f0c 0%, #148e40 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.md-typeset .hero .tagline {
  max-width: 44rem;
  margin: 0 auto 1.25rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--md-typeset-color);
  opacity: 0.9;
}

.md-typeset .hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.md-typeset .hero .md-button--spot {
  background-color: var(--spooty-green);
  border-color: var(--spooty-green);
  color: #000000;
  font-weight: 700;
}

.md-typeset .hero .md-button--spot:hover {
  background-color: var(--spooty-green-dark);
  border-color: var(--spooty-green-dark);
  color: #ffffff;
}

/* Feature cards on the landing page / overview */
.md-typeset .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.md-typeset .feature-card {
  padding: 1rem 1.1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--md-typeset-color);
  border-color: rgba(29, 185, 84, 0.3);
  background: rgba(29, 185, 84, 0.06);
}

.md-typeset .feature-card h4 {
  margin: 0 0 0.35rem;
  color: var(--spooty-green);
  letter-spacing: 0.01em;
}

.md-typeset .feature-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* Code blocks: keep the gutter, tighten the look */
.md-typeset code {
  border-radius: 0.3rem;
}