:root {
  --ink: #0D1421;
  --ink-top: #141C2B;
  --ink-bottom: #090E19;
  --blue: #146BFF;
  --white: #FFFFFF;
  --light-gray: #F3F4F6;
}

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

html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left));
  background: linear-gradient(180deg, var(--ink-top) 0%, var(--ink) 45%, var(--ink-bottom) 100%);
  color: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Everything in the lockup is sized in em, so this one value scales it all.
   Width and height both count, which keeps landscape phones from overflowing. */
.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: clamp(2.25rem, min(6vw, 9vh), 4rem);
  animation: rise 900ms cubic-bezier(.2, .7, .2, 1) both;
}

.mark {
  display: block;
  width: auto;
  height: 3.2em;
  margin-bottom: .5em;
  overflow: visible;
}

.mark-shape {
  fill: var(--white);
}

/* The dot grows from 0 to 1. */
.mark-dot {
  fill: var(--blue);
  transform-box: fill-box;
  transform-origin: center;
  animation: zero-to-one 700ms 300ms cubic-bezier(.34, 1.56, .64, 1) both;
}

.wordmark {
  margin: 0;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.slogan {
  margin: .55em 0 0;
  font-size: max(1rem, .34em);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .08em;
  color: var(--light-gray);
}

.digit {
  color: var(--blue);
  font-weight: 500;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes zero-to-one {
  from {
    transform: scale(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lockup,
  .mark-dot {
    animation: none;
  }
}
