/* Каркас: .page → шапка / main.content / подвал */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding: max(.25rem, env(safe-area-inset-top)) var(--gutter) max(0rem, env(safe-area-inset-bottom));
}
.content { flex: 1; }
