/* landing.css — shared stylesheet for the five Night Protocol community
   landing domains. Aesthetic continuity with night-protocol.com: black
   CRT field, neon pink, IBM Plex Mono body (uppercase), Press Start 2P
   wordmark. Mobile-first responsive — these are the social-launch entry
   points and most first-testers arrive on a phone. */

:root {
  --bg: #0a0a0f;
  --pink: #ff3d7f;
  --pink-dim: #ff3d7f55;
  --fg: #f3eef2;
  --fg-dim: #b9aeb6;
  --fg-faint: #6f6670;
  --line: #ffffff1a;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --display: 'Press Start 2P', 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--fg); }
body {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  /* faint scanline texture */
  background-image: repeating-linear-gradient(0deg, #ffffff05 0 1px, transparent 1px 3px);
}
a { color: var(--pink); text-decoration: none; }
a:hover { color: #ff6c9c; }

/* Corner readouts */
.corner {
  position: fixed; font-size: 9px; letter-spacing: 0.18em; color: var(--fg-faint);
  padding: 14px 16px; z-index: 5; line-height: 1.5;
}
.corner.tl { top: 0; left: 0; }
.corner.tr { top: 0; right: 0; text-align: right; }
.corner.bl { bottom: 0; left: 0; max-width: 70vw; }
.corner.br { bottom: 0; right: 0; text-align: right; }

/* Stage + wordmark */
.stage {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  padding: 64px 20px 80px;
}
.wordmark { display: flex; align-items: center; gap: 10px; margin-bottom: 38px; }
.wordmark .moon { width: 22px; height: 22px; }
.wordmark-text { font-size: 10px; letter-spacing: 0.22em; color: var(--fg); }
.wordmark-text .dot { color: var(--fg-faint); }
.wm-code { color: var(--pink-dim); }

/* Center column */
.col { width: 100%; max-width: 480px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.glyph { margin-bottom: 22px; filter: drop-shadow(0 0 12px var(--pink-dim)); }
.headline {
  font-family: var(--display); font-size: 18px; line-height: 1.5; font-weight: 400;
  color: var(--fg); margin: 0 0 22px; text-shadow: 0 0 18px var(--pink-dim);
}
.bullets { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 10px; }
.bullets li {
  font-size: 12px; letter-spacing: 0.06em; color: var(--fg-dim); text-transform: lowercase; line-height: 1.5;
}
.bullets li::before { content: '> '; color: var(--pink); }

.divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--pink-dim), transparent); margin: 26px 0; }

/* Auth surface */
.auth { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.auth label { font-size: 9px; letter-spacing: 0.18em; color: var(--fg-faint); align-self: flex-start; }
.auth input, .auth select {
  width: 100%; background: #000; border: 1px solid var(--line); color: var(--fg);
  font-family: var(--mono); font-size: 14px; padding: 12px 14px; border-radius: 0;
  text-transform: none; letter-spacing: 0; outline: none;
}
.auth input:focus, .auth select:focus { border-color: var(--pink); }
.auth .roles { display: flex; flex-wrap: wrap; gap: 8px; }
.auth .role-pill {
  flex: 1 1 auto; min-width: 96px; padding: 11px 12px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--fg-dim);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.auth .role-pill.active { border-color: var(--pink); color: var(--pink); background: var(--pink) 10; background: #ff3d7f14; }
.auth .submit {
  margin-top: 6px; padding: 14px; cursor: pointer; border: none;
  background: var(--pink); color: #000; font-family: var(--mono); font-weight: 600;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: 0 0 20px -4px var(--pink);
}
.auth .submit:disabled { background: #2a2530; color: var(--fg-faint); box-shadow: none; cursor: default; }
.auth .toggle { background: none; border: none; color: var(--fg-dim); font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.1em; cursor: pointer; padding: 4px; text-transform: lowercase; }
.auth .toggle:hover { color: var(--pink); }

.auth-msg { margin-top: 14px; font-size: 11px; line-height: 1.5; color: var(--fg-dim);
  text-transform: none; letter-spacing: 0; max-width: 480px; text-align: center; }
.auth-msg.error { color: #ff8a96; }
.auth-msg.ok { color: #6ad19a; }

/* Mobile */
@media (max-width: 520px) {
  .stage { padding: 52px 16px 76px; }
  .headline { font-size: 15px; }
  .corner { font-size: 8px; padding: 10px 12px; }
  .corner.bl { max-width: 60vw; }
  .auth .role-pill { min-width: 0; flex: 1 1 40%; }
}
