.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.content-page {
  padding: 2rem 0 4rem;
}

.content-page .prose {
  max-width: 780px;
  margin: 0 auto;
}

.content-page .prose h2 {
  margin: 2rem 0 1rem;
}

.content-page .prose h3 {
  margin: 1.5rem 0 0.75rem;
}

.content-page .prose p,
.content-page .prose li {
  line-height: 1.75;
  margin-bottom: 1rem;
}

.content-page .prose ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.error-page {
  text-align: center;
  padding: 5rem 1.25rem;
}

.error-page h1 {
  font-size: 6rem;
  color: var(--color-green-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-beige);
  border-radius: var(--radius);
}

.value-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }
}
