#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

.section {
  display: none;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section--centered {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
}

.view--active { display: block; }
.section--centered.view--active { display: flex; }

.section__inner { width: 100%; }

.section__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section__title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
}

.section__subtitle {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--3col { grid-template-columns: repeat(3, 1fr); }
.grid--2col { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1024px) {
  .grid--3col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 1rem; }
  .grid--3col { grid-template-columns: 1fr; }
  .grid--2col { grid-template-columns: 1fr; }
}
