/*
 * Coming soon page. Colours and type follow packages/shared/site/tokens.css.
 * Josefin Sans 500 is self-hosted as a small subset (OFL), so the page makes no external request.
 */

@font-face {
  font-family: "Mints Josefin";
  src: url("/fonts/josefin-sans-500-subset.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --m-navy: #1d2440;
  --m-cream: #fbfaf6;
  --m-cream-2: #bdbec3; /* cream at 72% on navy, secondary text */
  --m-font-sans: "Mints Josefin", "Josefin Sans", Futura, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: var(--m-navy);
  color: var(--m-cream);
  font: 500 16px/24px var(--m-font-sans);
  -webkit-font-smoothing: antialiased;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  /* Optical centre: lift the group a little above the true middle. */
  padding: 32px 24px calc(32px + 6vh);
  text-align: center;
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0;
  font: inherit;
}

.wordmark {
  display: block;
  width: min(520px, 84vw);
  height: auto;
}

.tagline {
  display: block;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.4em;
  /* Cancel the trailing track so the word sits on the optical centre. */
  margin-right: -0.4em;
  text-transform: uppercase;
  color: var(--m-cream);
}

.status {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: var(--m-cream-2);
}

@media (max-width: 480px) {
  main {
    gap: 40px;
  }

  .lockup {
    gap: 16px;
  }

  .tagline {
    font-size: 14px;
    line-height: 20px;
  }

  .status {
    font-size: 16px;
  }
}
