:root {
  color-scheme: dark;
  font-family: Georgia, "Times New Roman", serif;
  background: #081421;
  color: #f4f0e8;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }

body { margin: 0; }

/* Only the decoration is fixed. Content can grow and scroll at high zoom. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("./assets/stars.png") center top / 30rem auto repeat-x;
  opacity: .23;
}

main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2rem, 6vh, 4rem) max(1.5rem, env(safe-area-inset-right))
    clamp(2rem, 6vh, 4rem) max(1.5rem, env(safe-area-inset-left));
}

.announcement {
  min-width: 0;
  width: min(100%, 52rem);
  text-align: center;
  overflow-wrap: break-word;
}

.compass {
  display: block;
  width: clamp(9.1rem, 19.5vw, 13rem);
  max-width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}

.brand {
  margin: 0;
  color: #e4cba0;
  font-size: clamp(1.6875rem, 3.24vw, 2.025rem);
  line-height: 1.4;
  letter-spacing: .07em;
}

h1 {
  margin: 2.25rem 0 1.25rem;
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.message {
  margin: 0;
  color: #b8c0cb;
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: balance;
}

.divider {
  display: block;
  width: 3rem;
  max-width: 100%;
  height: 1px;
  margin: 2.25rem auto 0;
  background: #ad8b51;
  opacity: .7;
}

@media (max-width: 360px) {
  main {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  h1 { font-size: 2.5rem; }
}

@media (max-height: 500px) and (min-width: 600px) {
  main { padding-block: 1.5rem; }
  .compass { width: 6.5rem; margin-bottom: .6rem; }
  h1 { font-size: 3rem; margin-top: 1rem; margin-bottom: .75rem; }
  .divider { margin-top: 1.25rem; }
}
