:root {
  color-scheme: dark;
  --bg: #0b1020;
  --surface: #13192b;
  --text: #f2f3f8;
  --muted: #939bb0;
  --mint: #bcf9d9;
  --violet: #bda6f5;
  --line: rgba(177, 191, 228, 0.15);
  font-family: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 6px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px;
  background: var(--mint);
  color: var(--bg);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
button {
  touch-action: manipulation;
}
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding: 40px clamp(24px, 4.45vw, 64px);
}
.brand-hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 24px;
}
.hero-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.27em;
  margin: 0;
  font-size: clamp(64px, 18vw, 252px);
  font-weight: 900;
  line-height: 1;
}
.hero-wordmark svg {
  width: 0.76em;
  height: 0.76em;
  flex: 0 0 auto;
  fill: var(--mint);
}
.hero-wordmark-text {
  display: block;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.wordmark-dot {
  color: var(--mint);
}
.not-found {
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 32px;
}
.not-found h1 {
  font-size: clamp(40px, 8vw, 80px);
  letter-spacing: -0.05em;
  margin: 0 0 16px;
}
.not-found p {
  color: var(--muted);
  margin: 0 0 32px;
}
.not-found a {
  justify-self: center;
  text-decoration: none;
}
.button {
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-weight: 600;
  font-size: 14px;
  min-height: 48px;
  padding: 12px 24px;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button span[aria-hidden] {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
.button-outline {
  border-color: #4b5267;
  background: transparent;
  color: var(--text);
  min-height: 42px;
  padding: 10px 20px;
}
.button-outline:hover {
  background: #1c2438;
  border-color: var(--mint);
}
.button-primary {
  background: var(--mint);
  color: #13251e;
  box-shadow: 0 3px 18px #bcf9d908;
}
.button-primary:hover {
  background: #d0ffe6;
  box-shadow: 0 6px 24px #bcf9d91a;
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
dialog {
  background: #131a2c;
  color: var(--text);
  border: 1px solid #394358;
  border-radius: 20px;
  padding: 40px;
  width: calc(100% - 36px);
  max-width: 460px;
  max-height: calc(100dvh - 36px);
  box-shadow: 0 30px 100px #0009;
}
dialog::backdrop {
  background: #040918cc;
  backdrop-filter: blur(9px);
}
.dialog-emblem {
  display: block;
  width: 30px;
  height: 30px;
  fill: var(--mint);
  margin: 0 0 24px;
}
#login-description {
  color: #adb8cc;
  line-height: 1.6;
  font-size: 13px;
  margin: 0 0 28px;
}
form label {
  display: block;
  font-size: 12px;
  margin-bottom: 9px;
  font-weight: 600;
}
form input {
  display: block;
  width: 100%;
  border: 1px solid #4b5670;
  background: #0d1424;
  color: var(--text);
  border-radius: 7px;
  padding: 13px 14px;
  font-size: 16px;
  outline: none;
}
form input::placeholder {
  color: #75819a;
}
form input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px #bcf9d912;
}
.submit-button {
  margin-top: 24px;
  width: 100%;
  justify-content: space-between;
}
.form-feedback {
  font-size: 12px;
  line-height: 1.6;
  color: #fac8ce;
  margin: 0;
}
.form-feedback:not(:empty) {
  margin-top: 17px;
  padding: 12px;
  border: 1px solid #f59ca42b;
  border-radius: 6px;
  background: #fda4af09;
}
@media (max-width: 600px) {
  .site-header {
    padding: 24px;
  }
  .button-outline {
    font-size: 12px;
    gap: 15px;
    padding: 9px 16px;
  }
}
@media (max-width: 390px) {
  dialog {
    padding: 32px 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
