/* ── Hero banner ─────────────────────────────────────────── */
.hero {
  padding: 4rem 1rem 3rem;
  text-align: center;
  background: linear-gradient(135deg, #00695c 0%, #004d40 60%, #1a237e 100%);
  border-radius: 12px;
  margin-bottom: 2.5rem;
  color: #fff;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 0.75rem;
  color: #fff !important;
  border: none !important;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 640px;
  margin: 0 auto 1.8rem;
  line-height: 1.7;
  color: #e0f2f1 !important;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: opacity 0.15s, transform 0.15s;
}

.hero-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hero-btn-primary {
  background: #fff;
  color: #00695c !important;
}

.hero-btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.4);
}

/* ── Section headings ─────────────────────────────────────── */
.md-content h2 {
  border-bottom: 2px solid var(--md-primary-fg-color);
  padding-bottom: 0.3rem;
  margin-top: 2.5rem;
}

/* ── Feature grid ─────────────────────────────────────────── */
.grid.cards > ul > li,
.grid.cards > ol > li {
  border-radius: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.grid.cards > ul > li:hover,
.grid.cards > ol > li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ── Method category labels ───────────────────────────────── */
.method-tag {
  display: inline-block;
  background: var(--md-primary-fg-color);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-right: 0.3rem;
  vertical-align: middle;
}

/* ── Code blocks ──────────────────────────────────────────── */
.md-typeset pre > code {
  font-size: 0.85rem;
}

/* ── Install badge row ────────────────────────────────────── */
.install-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

/* ── Responsive image rows ────────────────────────────────── */
.method-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.method-row figure {
  margin: 0;
  text-align: center;
}

.method-row img {
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.method-row img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}

.method-row figcaption {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.4rem;
  color: var(--md-default-fg-color--light);
}
