:root {
  color-scheme: dark;
  background: #0d1927;
  color: #fff;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-width: 280px; min-height: 100%; }

.landscape {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  pointer-events: none;
}

main {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 32px max(28px, env(safe-area-inset-right)) 32px max(28px, env(safe-area-inset-left));
}

.brand { width: min(100%, 624px); text-align: center; }
h1, p { margin: 0; }
h1 { line-height: 0; }
p { margin-top: 36px; line-height: 0; }
picture { display: block; }
.logo { display: block; width: 100%; height: auto; }
.headline { display: block; width: 98.56%; height: auto; margin-inline: auto; }

/* Keep the cairn inside the crop on tablets and other taller screens. */
@media (max-aspect-ratio: 4/3) {
  .landscape { object-position: 28% center; }
}

@media (max-width: 520px) {
  p { margin-top: 28px; }
  .headline { width: 100%; }
}

@media (max-height: 360px) and (orientation: landscape) {
  .brand { max-width: 440px; }
  p { margin-top: 24px; }
}
