@font-face {
  font-family: "Sora";
  src: url("sora-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #110b19;
  --text: #faf6ff;
  --muted: #b4a8c1;
  --purple: #bc88f4;
  --pink: #ef77bd;
  font-family: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, #6f30971f, transparent 52%);
}
.holding-page, .access-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}
.brand-mark { display: block; width: 96px; height: 96px; }
.brand-wordmark { display: block; width: min(370px, 80vw); height: auto; }
.holding-page .brand-mark { animation: drift 7s ease-in-out infinite; }
.progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 27px 0 0;
  font: 500 17px/1.6 "Sora", sans-serif;
  color: var(--muted);
  letter-spacing: -.3px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px #ef77bd60;
  animation: pulse 3s ease-in-out infinite;
}
.access-page .brand { gap: 14px; }
.access-page .brand-mark { width: 72px; height: 72px; }
.access-page .brand-wordmark { width: min(280px, 76vw); }
.access-page .progress { margin-top: 20px; font-size: 15px; }
.access-card { width: 100%; max-width: 320px; margin-top: 36px; }
.access-form { display: flex; flex-direction: column; }
.access-form label { font-size: 12px; font-weight: 600; margin-bottom: 8px; color: #d2c7de; }
.access-form input {
  width: 100%;
  font: 400 16px/1.4 "Manrope", sans-serif;
  color: var(--text);
  background: #1b1325;
  border: 1px solid #392b48;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 22px;
  transition: border-color .2s ease, background .2s ease;
}
.access-form input:hover { border-color: #72518b; }
.access-form input:focus-visible, a:focus-visible, .sign-out:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}
.access-form input[type="submit"] {
  margin: 3px 0 0;
  padding: 13px;
  border: 0;
  background: #c99bf5;
  color: #241034;
  font-weight: 700;
  cursor: pointer;
}
.access-form input[type="submit"]:hover { background: #dbb9fc; }
.access-error { color: #ffb7cf; font-size: 13px; line-height: 1.5; margin: 0 0 20px; }
.sign-out {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 14px;
  border: 1px solid #493459;
  border-radius: 8px;
  font: 500 12px "Manrope", sans-serif;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
@keyframes drift { 50% { transform: translateY(-7px) rotate(-3deg); } }
@keyframes pulse { 50% { opacity: .4; } }
@media (max-width: 480px) {
  .brand-mark { width: 82px; height: 82px; }
  .brand { gap: 16px; }
  .progress { font-size: 15px; }
  .access-page { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
