:root {
  --line-soft: rgba(242, 242, 242, 0.4);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
}

body {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.field {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  pointer-events: none;
  animation: field-in 1.4s var(--out) both;
}

.landing {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 360px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.landing > * {
  margin: 0;
  animation: rise 0.6s var(--out) both;
}

.landing > :nth-child(2) {
  animation-delay: 0.06s;
}

.landing > :nth-child(3) {
  animation-delay: 0.12s;
}

.landing > :nth-child(n + 4) {
  animation-delay: 0.18s;
}

h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lede {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.note,
.notice {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.notice {
  color: var(--ink);
}

.note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-soft);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s var(--out);
}

.note a:hover {
  text-decoration-color: var(--ink);
}

.note a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.actions .button {
  -webkit-backdrop-filter: blur(7px) saturate(118%);
  backdrop-filter: blur(7px) saturate(118%);
}

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

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

@media (prefers-reduced-motion: reduce) {
  .field,
  .landing > * {
    animation: none;
  }
}
