/* login.css — storyarc login gate, Phase 5g (restyled 2026-05-20).
 *
 * Sits directly downstream of the manifesto in the welcome flow, so the
 * layout mirrors manifesto.css: warm-paper bg from base, flex-centred
 * container with left-aligned content, no card surface or border. The
 * primary CTA matches `.manifesto__cta` (solid ink, mono uppercase,
 * 2px radius); the guest button uses the same shape but outlined, so
 * the two affordances carry equal weight.
 *
 * Reads only tokens.css custom properties — the Google "G" brand marks
 * in the inline SVG are the one exception. See STORY_ARC.md §5g.
 */

.login {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
}

.login__card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

.login__eyebrow {
  display: block;
  color: var(--accent-ink);
  margin-bottom: 1.5rem;
}

.login__title {
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.18;
}

/* ── Actions ─────────────────────────────────────────────────────── */

.login__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.login__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.1rem 1rem;
  border-radius: 2px;
  transition: opacity 120ms ease, background-color 120ms ease;
}

.login__btn:active {
  opacity: 0.7;
}

/* Primary — solid ink, matching `.manifesto__cta`. */
.login__btn--google {
  background: var(--ink);
  color: var(--bg);
}

/* Secondary — outlined, same shape and size so the two carry equal weight. */
.login__btn--guest {
  border: 1px solid var(--text-3);
  color: var(--ink);
  background: transparent;
}

@media (hover: hover) {
  .login__btn--guest:hover {
    background: var(--surface-2);
  }
}

/* The Google "G" keeps its four brand colours — sit it on a white chip
   so the marks stay legible whatever the button (and theme) underneath. */
.login__g {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  padding: 2px;
  background: #fff;
  border-radius: 2px;
  box-sizing: content-box;
}

/* ── Footnote ────────────────────────────────────────────────────── */

/* Matches .me__dek (Me tab guest variant) — warm serif italic so the
 * two surfaces feel like the same voice. Previously mono + tiny. */
.login__note {
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}
