* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #faf9f8;
  color: #171717;
  min-height: 100vh;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
}

.login-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  z-index: 10;
  background: transparent;
}

.login-brand {
  color: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.login-brand:hover {
  opacity: 0.7;
}

.login-page {
  min-height: 100vh;
  min-height: 100svh;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.auth-panel {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  text-align: center;
}

.auth-panel-title {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.75px;
  line-height: 1.2;
  color: inherit;
}

.auth-panel-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-panel-note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #737373;
  font-weight: 400;
}

.auth-panel .auth-error {
  margin-top: -16px;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #2a2a28;
    color: #ecece9;
  }

  .auth-panel-note {
    color: #a3a3a3;
  }
}

@media (max-width: 520px) {
  .login-nav {
    padding: 0 1rem;
  }
}
