/* OP361 — the sign-in screen.
 *
 * It lives inside index.html and is all that "/" shows to a visitor without a
 * session: the name and the way in. The inline script in the document head
 * sets data-view="home" before first paint; js/home.js sets or clears it once
 * the session is known. Tokens only, like app.css: no literal colours.
 */
html:not([data-view="home"]) #home { display: none; }
html[data-view="home"] #root { display: none; }
html[data-view="home"] body { overflow: auto; }

.home {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: var(--space-6) var(--space-4);
}
.home-card {
  width: min(360px, 100%);
  display: flex; flex-direction: column; gap: var(--space-6);
}
.home-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 44px; line-height: 1; letter-spacing: -0.02em;
  color: var(--color-text);
}
.home-brand span { color: var(--color-accent); }

/* Which buttons exist depends on the deployed config, which only js/home.js
   knows. Hold the space and reveal once, so nothing jumps. */
.home-actions {
  display: flex; flex-direction: column; gap: var(--space-3);
  min-height: 46px; visibility: hidden;
}
.home-actions[data-ready] { visibility: visible; }
.home-actions .btn {
  margin-top: 0; padding: 12px 18px; font-size: 15px;
  justify-content: center; text-align: center;
}
.home-actions .btn-ghost { padding: 6px var(--space-1); font-size: 13px; }

.home-note { font-size: 13px; color: var(--color-neutral-600); margin: 0; }
.home-note a { color: var(--color-accent); }
