/* ── auth.css — the GL-01 master ──────────────────────────────────────────────
   Sign-in, invite acceptance and the error pages. One centred 420px column on
   the app-page floor, no shell.

   Composes tokens.css and kit.css only: the card, the field stack, the label,
   the input, the button and the separator all come from kit.css and are
   deliberately not restated here — a duplicate loading after the primitives
   would silently override them.

   NB: never write a class glob ending in a star immediately before a slash in a
   comment in this file. That sequence closes the comment early and the parser
   then swallows the next rule whole.
   ────────────────────────────────────────────────────────────────────────── */

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-7) var(--sp-4);
  /* The card's visual mass sits slightly above the geometric centre, which is
     where the eye expects it. Straight centring reads as low. */
  padding-bottom: var(--sp-10);
  background: var(--app-page);
}

.auth-col { width: 420px; max-width: 100%; display: flex; flex-direction: column; align-items: center; }

.auth-lockup {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  color: var(--a-ink);
}
.auth-lockup .brand-mark { width: 40px; height: 40px; }
.auth-word {
  font: 300 32px/1 var(--f-body);
  letter-spacing: 0.02em;
  color: var(--a-ink);
  -webkit-text-stroke: 0.4px currentColor;
}
.auth-logo { max-height: 40px; width: auto; display: block; }

.auth-card { width: 100%; padding: var(--sp-7); display: flex; flex-direction: column; gap: var(--sp-4); }
/* heading to first field = 24 (16 gap + 8) */
.auth-head { margin-bottom: var(--sp-2); }
.auth-head h1 {
  font-size: var(--fs-page-title);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-title);
}
.auth-head p { color: var(--a-muted); font-size: 13px; line-height: var(--lh-small); margin-top: var(--sp-1); }

/* kit.css gives .field a bottom margin for stacked forms; inside the auth card
   the flex gap owns the rhythm, so cancel it. */
.auth-card .field { margin-bottom: 0; }
/* fields to CTA = 24 (16 gap + 8), matching .modal-foot */
.auth-cta { margin-top: var(--sp-2); }

.auth-note { text-align: center; font-size: var(--fs-small); color: var(--a-muted); line-height: var(--lh-small); }
.auth-note b { color: var(--a-body); font-weight: 500; }
.auth-note a { font-weight: 500; }

.auth-foot {
  margin-top: var(--sp-6);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: var(--ls-mono-2);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--a-muted);
  text-align: center;
}

.auth-card-form { display: flex; flex-direction: column; gap: var(--sp-4); }

@media (max-width: 30rem) {
  .auth-card { padding: var(--sp-5); }
  .auth-word { font-size: 26px; }
}
