* { box-sizing: border-box; margin: 0; }

:root {
  --bg: #08080b;
  --text: #f4f4f6;
  --muted: #a3a3ad;
  --edge: clamp(1.5rem, 4.5vw, 4.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { background: var(--bg); color-scheme: dark; }

body {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: clamp(2rem, 5vh, 3rem);
  padding: clamp(1.5rem, 3.5vw, 2.75rem) var(--edge);
  color: var(--text);
  /* system fonts: no third-party font requests, so no visitor IPs sent to Google (GDPR) */
  font-family: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

header { display: flex; align-items: center; gap: .625rem; }
.wordmark { display: block; width: clamp(9.5rem, 14vw, 13rem); height: auto; }
.mark { display: block; width: clamp(3.5rem, 5.4vw, 5rem); height: auto; }

/* centred between wordmark and footer so the spare height is shared evenly */
main { align-self: center; }

/* side by side when both fit, stacked when they don't */
.details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 3rem;
  margin-top: clamp(1.25rem, 3vh, 2rem);
}

.status {
  width: fit-content;
  white-space: nowrap;
  /* "Coming soon" is about 5.85em wide, so it fills the page width; the dvh limit keeps it on screen when the window is short */
  font-size: min((100vw - 2 * var(--edge)) / 5.85, 30dvh);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}

/* white word plus gradient word, the same split as "Omni" and "vertex" in the wordmark */
.soon {
  background: linear-gradient(90deg, #ff4d94, #b45cff 50%, #2fcfff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* tall screens: two lines at a bigger size, sized to "Coming" (about 3.5em wide), so the type fills the space */
@media (orientation: portrait) {
  .status {
    font-size: min((100vw - 2 * var(--edge)) / 3.6, 30dvh);
    line-height: .95;
  }
  .soon { display: block; width: fit-content; }
}

h1 {
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 span { display: block; }

.lede {
  flex: 1 1 18rem;
  max-width: 26rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  text-wrap: pretty;
  color: var(--muted);
}

footer {
  font-size: .9375rem;
  color: var(--muted);
}

@media (max-width: 767px) {
  /* sized to the screen so the longer sentence (about 11.2em wide) stays on one line */
  h1 { font-size: min((100vw - 3rem) / 11.4, 2.75rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; }
  .details.rise { animation-delay: .1s; }
  footer.rise { animation-delay: .2s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}
