/* ── Nav logo size override ── */
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  width: 2.4rem !important;
  height: 2.4rem !important;
}

/* ── Hero section on home page ── */
.vids-hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.vids-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.vids-hero .vids-tagline {
  font-size: 1.15rem;
  color: var(--md-default-fg-color--light);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ── Value proposition cards ── */
.vids-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0 2.5rem;
}

.vids-card {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.vids-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.vids-card h3 {
  margin-top: 0;
  font-size: 1rem;
  font-weight: 700;
}

.vids-card p {
  font-size: 0.88rem;
  color: var(--md-default-fg-color--light);
  margin-bottom: 0;
  line-height: 1.55;
}

/* ── Quick start box ── */
.vids-quickstart {
  background: var(--md-code-bg-color);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.vids-quickstart h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

/* ── Badges row ── */
.vids-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.vids-badges img {
  height: 22px;
}

/* ── Directory tree styling ── */
.vids-tree {
  background: var(--md-code-bg-color);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  font-family: var(--md-code-font-family);
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
}

/* ── Spec metadata table on spec page ── */
.vids-spec-meta td, .vids-spec-meta th {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

/* ── Home comparison table ── */
.vids-compare td, .vids-compare th {
  font-size: 0.85rem;
  padding: 0.5rem 0.8rem;
}

/* ── Citation block ── */
.vids-cite {
  background: var(--md-code-bg-color);
  border-left: 4px solid var(--md-primary-fg-color);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.vids-cite code {
  font-size: 0.8rem;
}
