/* Coming-soon page (ops-coming-soon-pages). Colours are the theme tokens of
   packages/ui/src/theme.css, written out because this page has no build step. */
:root {
  --background: #f5faf9;
  --text: #0b2120;
  --text-muted: #4a6360;
  --accent-deep: #0b6a66;
  --accent-bright: #17b5a6;
  --accent-soft: #dcf0ed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  background:
    radial-gradient(
      60rem 40rem at 15% -10%,
      var(--accent-soft),
      transparent 70%
    ),
    radial-gradient(
      50rem 36rem at 95% 110%,
      var(--accent-soft),
      transparent 70%
    ),
    var(--background);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.6;
}

main {
  margin: auto;
  width: 100%;
  max-width: 40rem;
  padding: 4rem 1rem;
  text-align: center;
}

img {
  display: block;
  margin: 0 auto 2.5rem;
  max-width: 100%;
  height: 3rem;
  width: auto;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.9375rem, 4.4vw, 1.125rem);
}

a {
  color: var(--accent-deep);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

a:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

main > * {
  animation: rise 700ms cubic-bezier(0.2, 0, 0, 1) backwards;
}

main > :nth-child(2) {
  animation-delay: 80ms;
}

main > :nth-child(3) {
  animation-delay: 160ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  main > * {
    animation: none;
  }
}
