.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--container-max), calc(100% - 2 * var(--container-padding)));
  margin: 0 auto;
}

.page {
  flex: 1 0 auto;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 7rem;
}

.page-intro {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
  margin-bottom: 2rem;
}

.page-intro--compact {
  max-width: 49rem;
}

.page-intro__eyebrow {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.25rem;
  color: var(--color-text-muted);
}

.page-intro__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-intro__text {
  max-width: 46rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: rgba(255, 255, 255, 0.88);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin-top: 0.3rem;
  font-size: 1.5rem;
  line-height: 1.6rem;
  color: var(--color-text-muted);
}

.section-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(4, 24, 42, 0.74);
  box-shadow: var(--shadow-soft);
}

.section-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.document-page__container {
  max-width: 52rem;
  padding-top: 3rem;
}

@media (max-width: 64rem) {
  .page {
    padding-top: calc(var(--header-height-mobile) + 2rem);
    padding-bottom: 4.5rem;
  }

  .section-card__header {
    padding: 1.5rem 1.25rem;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.35rem;
  }
}
