:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #333333;
  background: #f7f9f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #f7f9f8;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgb(0 177 242 / 8%) 0, rgb(0 177 242 / 3%) 30%, transparent 62%),
    #f7f9f8;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100svh;
  padding:
    max(1.25rem, env(safe-area-inset-top))
    max(1.25rem, env(safe-area-inset-right))
    max(1.25rem, env(safe-area-inset-bottom))
    max(1.25rem, env(safe-area-inset-left));
}

.main-content {
  display: grid;
  place-items: center;
  min-width: 0;
  padding-block: clamp(2.5rem, 8vh, 6rem);
}

.intro {
  width: min(100%, 56rem);
  text-align: center;
}

.brand-logo {
  width: clamp(16rem, 68vw, 38rem);
  height: auto;
  margin-inline: auto;
}

.message {
  margin-top: clamp(2.5rem, 7vw, 5rem);
}

h1 {
  max-width: 16ch;
  margin: 0 auto;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.supporting-copy {
  max-width: 34rem;
  margin: clamp(1.25rem, 3vw, 1.75rem) auto 0;
  color: #4b5558;
  font-size: clamp(1.0625rem, 2.1vw, 1.35rem);
  line-height: 1.55;
  text-wrap: balance;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  color: #536065;
  font-size: clamp(0.78rem, 1.4vw, 0.875rem);
  font-weight: 650;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #00b1f2;
  box-shadow: 0 0 0 0.25rem rgb(0 177 242 / 10%);
  content: "";
}

footer {
  padding-top: clamp(1.5rem, 4vh, 2.75rem);
  color: #657074;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 37.5rem) and (max-width: 63.9375rem) {
  .site-shell {
    padding-inline: max(2.5rem, env(safe-area-inset-left));
  }

  .intro {
    width: min(100%, 48rem);
  }

  .brand-logo {
    width: clamp(24rem, 62vw, 32rem);
  }

  .message {
    margin-top: clamp(3.5rem, 7vw, 4.5rem);
  }

  h1 {
    font-size: clamp(3rem, 6.2vw, 4rem);
  }
}

@media (min-width: 64rem) {
  .site-shell {
    padding-inline: max(3rem, env(safe-area-inset-left));
  }

  .brand-logo {
    width: min(42vw, 38rem);
  }
}

@media (max-height: 35rem), (orientation: landscape) and (max-height: 31rem) {
  .main-content {
    padding-block: 1.75rem;
  }

  .message {
    margin-top: clamp(1.5rem, 5vh, 2.25rem);
  }

  .supporting-copy {
    margin-top: 0.9rem;
  }

  .status {
    margin-top: 1.25rem;
  }

  footer {
    padding-top: 1rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-logo {
    animation: arrive 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .message {
    animation: arrive 650ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  footer {
    animation: fade-in 500ms 250ms ease-out both;
  }
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
