/* Design D, sign-in and code pages (DF-071; auth-routes.js renderPage, served
   at /auth/signin-d.css). Page-scoped: tokens and system parts only, no new
   look. A narrow centred column, the title as the page's display line, one
   lead, roomy fields. */
@layer legacy {
.auth-card {
  inline-size: 100%;
  max-inline-size: 30rem;
  margin-inline: auto;
  gap: var(--space-5);
}
.auth-card > h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.2;
}
.auth-card > p:not([role]) {
  margin: 0;
  color: var(--color-muted);
}
.auth-card .field-label {
  display: block;
  margin-block-end: var(--space-2);
  font-weight: 600;
}
.auth-card .button-block {
  min-height: var(--target-min);
}
/* "Not you? Use another email": a full-width 44 px link under the button. */
.auth-card .button-quiet {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--target-min);
  text-align: center;
}
@media (max-width: 480px) {
  .auth-card > h1,
  .auth-card > h2 {
    font-size: var(--text-xl);
  }
}
/* /signin in two cards (the Skipper's approved mockup, 3 Dec 2026): the free
   trial with the form, a small "or", then the founders' card, tinted, with an
   outline button so the two never compete with the orange one. */
.auth-card > .signin-kicker {
  margin-block-end: calc(-1 * var(--space-3));
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.auth-card > p.signin-note {
  font-size: var(--text-sm);
}
.signin-or {
  inline-size: 100%;
  max-inline-size: 30rem;
  margin: var(--space-4) auto;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.auth-card.signin-founders {
  background: var(--color-overlay);
  border: 1px solid var(--color-line);
}
.auth-card > h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.2;
}
.auth-card > .signin-pill {
  justify-self: start;
  inline-size: fit-content;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: var(--text-sm);
}
.signin-points {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.signin-points > li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.signin-points > li::before {
  content: "✓";
  flex: none;
  font-weight: 700;
}
.auth-card .button.signin-outline {
  border: 2px solid var(--color-ink);
  background: transparent;
  color: var(--color-ink);
  font-weight: 700;
  text-decoration: none;
}
.auth-card .button.signin-outline:hover {
  background: var(--color-surface);
}
}
