:root {
  --md-primary-fg-color: #283593;
  --md-primary-fg-color--light: #5f5fc4;
  --md-primary-fg-color--dark: #0d0d3b;
  --md-accent-fg-color: #e65100;
}

.md-typeset h1 {
  font-weight: 600;
}

.md-typeset h2 {
  font-weight: 500;
  border-bottom: 1px solid var(--md-default-fg-color--lighter);
  padding-bottom: 0.3em;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0 1rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
}

.hero p {
  font-size: 1.2rem;
  max-width: 36rem;
  color: var(--md-default-fg-color--light);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

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

.feature-card:hover {
  border-color: var(--md-primary-fg-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--md-default-fg-color--light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.gallery-item {
  border: 1px solid var(--md-default-fg-color--lighter);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.gallery-item:hover {
  border-color: var(--md-primary-fg-color);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item .caption {
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
}

.badge-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.5rem 0;
  justify-content: center;
}

.badge-row img {
  height: 24px;
}

.stats-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--md-primary-fg-color);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
}
