/* Public lock screen — severe, institutional, empty on purpose */

:root {
  --lock-bg: #0a0a0a;
  --lock-wordmark: #f5f5f5;
  --lock-muted: #a3a3a3;
  --lock-footer: #525252;
  --lock-border: #404040;
  --lock-hover: #e5e5e5;
  --lock-hover-border: #737373;
  --lock-font: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

html,
body.lock-body {
  margin: 0;
  padding: 0;
  background: var(--lock-bg);
  color: var(--lock-wordmark);
  font-family: var(--lock-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lock-shell {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--lock-bg);
  display: flex;
  flex-direction: column;
  color: var(--lock-wordmark);
}

/* Fixed dual banners */
.lock-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.lock-ticker-bar {
  height: 2rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #4f46e5, #2563eb, #0891b2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .lock-ticker-bar {
    font-size: 0.8125rem;
  }
}

.lock-ticker {
  display: inline-block;
  white-space: nowrap;
  padding: 0 1.5rem;
  animation: lock-scroll-left 45s linear infinite;
}

.lock-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lock-ticker-up {
  color: #86efac;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.lock-ticker-down {
  color: #fca5a5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

@keyframes lock-scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.lock-brand-bar {
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c0c0c;
  border-bottom: 1px solid #262626;
}

.lock-brand-bar a {
  color: #d4d4d4;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 150ms ease;
}

.lock-brand-bar a:hover {
  color: #a5b4fc;
}

/* Center stage */
.lock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5.5rem 1.5rem 6rem; /* clear fixed banners + footer */
  animation: lock-fade 150ms ease-out;
}

@keyframes lock-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lock-wordmark {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--lock-wordmark);
  line-height: 1.15;
}

.lock-sentence {
  margin: 1.25rem 0 0;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--lock-muted);
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.lock-signin {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.65rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--lock-wordmark);
  background: transparent;
  border: 1px solid var(--lock-border);
  border-radius: 2px;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease;
}

.lock-signin:hover {
  color: var(--lock-hover);
  border-color: var(--lock-hover-border);
}

/* Footer */
.lock-footer {
  padding: 1.25rem 1.5rem 1.75rem;
  text-align: center;
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--lock-footer);
}

.lock-footer p {
  margin: 0 0 0.5rem;
}

.lock-footer a {
  color: var(--lock-footer);
  text-decoration: none;
  margin: 0 0.55rem;
  transition: color 150ms ease;
}

.lock-footer a:hover {
  color: var(--lock-muted);
}

/* Legal pages under same chrome */
.lock-legal {
  flex: 1;
  max-width: 36rem;
  width: 100%;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 3rem;
  animation: lock-fade 150ms ease-out;
}

.lock-legal h1 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--lock-wordmark);
}

.lock-legal p,
.lock-legal li {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--lock-muted);
}

.lock-legal p {
  margin: 0 0 1rem;
}

.lock-legal a.back {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--lock-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.lock-legal a.back:hover {
  color: var(--lock-wordmark);
  border-bottom-color: var(--lock-border);
}
