@font-face {
  font-family: "Josefin Sans";
  src: url("/_human/fonts/JosefinSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #f5f5f7;
  background: #000;
}
body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
}
main {
  box-sizing: border-box;
  width: max-content;
  max-width: min(100%, 35rem);
  padding: 3rem 1rem;
  text-align: left;
}
.wordmark {
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
  font:
    400 clamp(2.25rem, 5vw, 3rem) / 1 "Josefin Sans",
    sans-serif;
  letter-spacing: -0.03em;
}
h1 {
  margin: 0 0 clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 450;
  font-size: clamp(1rem, 4.4vw, 1.625rem);
  line-height: 1.8;
  letter-spacing: 0.015em;
}
h1 span {
  display: block;
}
h1 span + span {
  color: #fff;
}
.verification-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1rem;
}
button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  color: #a6a6ad;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 180ms ease;
}
#language-toggle {
  margin-inline-start: auto;
  gap: 0.3rem;
  white-space: nowrap;
}
#language-toggle[hidden] {
  display: none;
}
:root[lang="zh-CN"] #language-toggle [lang="zh-CN"],
:root[lang="en"] #language-toggle [lang="en"],
button:where(:not(:disabled):is(:hover, :active)),
button[data-state="loading"] {
  color: #f5f5f7;
}
button:focus-visible {
  outline: 2px solid #f5f5f7;
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
}
button[data-state="success"] {
  color: #d5e9db;
}
.verify-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: currentColor;
  animation: verification-blink 1.4s ease-in-out infinite;
}
button[data-state="loading"] .verify-dot,
button[data-state="success"] .verify-dot {
  display: none;
}
.verify-icon {
  display: none;
  position: relative;
  width: 1rem;
  height: 1rem;
}
button[data-state="loading"] .verify-icon,
button[data-state="success"] .verify-icon {
  display: block;
}
.verify-spinner,
.verify-check {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 160ms ease;
}
.verify-spinner {
  box-sizing: border-box;
  border: 1.5px solid #55555c;
  border-top-color: currentColor;
  border-radius: 50%;
}
button[data-state="loading"] .verify-spinner {
  opacity: 1;
  animation: verification-spin 720ms linear infinite;
}
.verify-check {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button[data-state="success"] .verify-check {
  opacity: 1;
}
button[data-state="success"] .verify-check path {
  animation: verification-check 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
#status {
  contain: inline-size;
  min-height: 1.5em;
  margin: 0.8rem 0 0;
  color: #a6a6ad;
  font-size: 0.8125rem;
  line-height: 1.5;
}
@keyframes verification-blink {
  50% {
    opacity: 0.25;
  }
}
@keyframes verification-spin {
  to {
    transform: rotate(1turn);
  }
}
@keyframes verification-check {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  button,
  .verify-spinner,
  .verify-check {
    transition: none;
  }
  .verify-dot,
  button[data-state="loading"] .verify-spinner,
  button[data-state="success"] .verify-check path {
    animation: none;
  }
}
