/* Gate page (A2), THE SIGNAL brand: gold on near-black. Standalone: the app bundle is behind the gate. */
:root {
  --bg: #0b0b0d; --panel: #121215; --hairline: #24242a; --accent: #d4a72c; --accent-hover: #e8be45;
  --text: #e9e6df; --muted: #8b877d; --bear: #ef5a6f;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg) url('/brand/gate-bg.webp') center / cover no-repeat fixed;
  color: var(--text);
  font: 15px/1.5 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.gate { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.card {
  width: 100%; max-width: 360px; padding: 32px 28px 28px; text-align: center;
  background: rgba(18, 18, 21, 0.86); border: 1px solid var(--hairline); border-radius: 14px;
  backdrop-filter: blur(6px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.mark { display: block; margin: 0 auto 12px; }
.word { margin: 0; font: 600 30px/1.1 'Cormorant Garamond', Georgia, serif; letter-spacing: 0.18em; color: var(--accent); }
.sub { margin: 10px 0 22px; color: var(--muted); font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
input[type='password'] {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--hairline);
  background: #0b0b0d; color: var(--text); font: 15px ui-monospace, 'JetBrains Mono', monospace; outline: none;
}
input[type='password']:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 167, 44, 0.25); }
.err { margin: 10px 0 0; color: var(--bear); font-size: 13px; }
button {
  margin-top: 16px; width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--accent); color: #0b0b0d; font-weight: 600; font-size: 14px; letter-spacing: 0.06em;
}
button:hover, button:focus-visible { background: var(--accent-hover); }
.foot { margin-top: 18px; color: var(--muted); font-size: 12px; }
