/* 75% content scale. The announcement and sticky header remain at their original size.
   The footer shell is full-width; scale its inner content only, never twice.
   CSS zoom participates in layout, avoiding the empty scroll area left by transform:scale().
   Browser zoom and the responsive viewport breakpoints are not changed. */
#main,
body > footer > .footer-inner,
body > dialog,
body > #toast,
body > .trial-launcher {
  zoom: 0.75;
}

/* Sticky footer in document flow: short pages reach the viewport bottom;
   long pages scroll naturally, with no fixed bar covering the content. */
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body > header {
  width: 100%;
  margin-block: 0;
  flex-shrink: 0;
}

body > #main {
  flex: 1 0 auto;
  min-width: 0;
  container-type: inline-size;
}

body > footer {
  flex-shrink: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  background: #161616;
}

.footer-inner {
  max-width: 1560px;
  margin-inline: auto;
  padding: 45px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner > p,
.footer-inner > div {
  font-size: 17px;
  flex-wrap: wrap;
}

.footer-inner > div {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.footer-inner > small {
  font-size: 14px;
  color: var(--muted);
}

.footer-inner > small:last-child { text-align: right; }

/* Break only the promo out of the narrow overview. Main's query width
   excludes the scrollbar and already accounts for the 75% content scale. */
#view .home-promo {
  width: 100cqw;
  max-width: none;
  margin-inline: calc(50% - 50cqw);
}

#view .home-promo-heading,
#view .home-promo-note {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 32px;
}

#view .home-promo-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
}

#view .home-promo-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 600px) {
  .footer-inner { padding: 30px 22px; gap: 20px; }
  .footer-inner > small:last-child { text-align: left; }
  #view .home-promo-heading,
  #view .home-promo-note { padding-inline: 22px; }
}
