.app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-main);
  margin-inline: auto;
  padding-inline: var(--space-md);
  position: relative;
}

.container--wide {
  max-width: var(--container-wide);
}

.bg-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-fullscreen video,
.bg-fullscreen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bg-fullscreen::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(10, 25, 41, 0.5) 100%),
    linear-gradient(180deg, rgba(10, 25, 41, 0.2) 0%, transparent 30%, rgba(10, 25, 41, 0.4) 100%);
  pointer-events: none;
}

.page {
  position: relative;
  z-index: var(--z-base);
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page--centered {
  align-items: center;
  justify-content: center;
}

.stack {
  display: flex;
  flex-direction: column;
}
.stack > * + * { margin-top: var(--space-md); }
.stack--lg > * + * { margin-top: var(--space-lg); }
.stack--xl > * + * { margin-top: var(--space-xl); }

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .container { padding-inline: var(--space-sm); }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

@media (max-width: 1023px) {
  :root {
    --space-xl: 2rem;
    --space-2xl: 3rem;
  }
}
