/* Sign-in page layout. */
.signin-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s5);
  padding: var(--s8) var(--s4);
}
.signin-kicker, .signin-headline { width: min(440px, 100%); margin: 0; color: var(--on-bg); text-shadow: var(--on-bg-shadow); }
.signin-kicker { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; margin-bottom: calc(-1 * var(--s3)); }
.signin-headline { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.5rem); line-height: 1.06; font-weight: 750; letter-spacing: -0.03em; }

.signin-card { width: min(440px, 100%); padding: var(--s8) var(--s8) var(--s6); }
.signin-logo { display: inline-block; padding: 0; margin-bottom: var(--s6); }
.signin-logo img { height: 40px; }
.signin-card h2 { margin: 0; font-size: 1.375rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.018em; }
.signin-copy { margin: var(--s2) 0 var(--s6); color: var(--ink-2); }
.signin-button { width: 100%; min-height: 48px; font-size: 1rem; }
.ms-mark { width: 18px; height: 18px; padding: 2px; background: #fff; border-radius: 3px; }
.signin-error { margin: var(--s3) 0 0; padding: var(--s3) var(--s4); border-radius: var(--r-md); background: var(--bad-bg); color: var(--bad); font-size: var(--fs-small); font-weight: 560; }
.signin-dev { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: var(--s4) 0 0; font-size: var(--fs-small); color: var(--ink-2); }
.signin-foot { margin: var(--s6) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-3); }

/* The four steps as a schematic run of pipe, the same shape the test chat traces. */
.pipeline {
  display: flex;
  justify-content: space-between;
  width: min(440px, 100%);
  margin: var(--s2) 0 0;
  padding: 0;
  list-style: none;
  position: relative;
  color: var(--on-bg-2);
  font-size: var(--fs-micro);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: var(--on-bg-shadow);
}
.pipeline::before { content: ""; position: absolute; left: 6px; right: 6px; top: 5px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 158, 24, 0.75)); border-radius: 2px; }
.pipeline li { position: relative; padding-top: var(--s5); text-align: center; }
.pipeline li::before { content: ""; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--navy); border: 2px solid rgba(255, 255, 255, 0.85); }
.pipeline li:first-child { text-align: left; }
.pipeline li:first-child::before { left: 6px; }
.pipeline li:last-child { text-align: right; }
.pipeline li:last-child::before { left: auto; right: 0; margin-left: 0; border-color: var(--orange); }

@media (max-width: 720px) {
  .signin-card { padding: var(--s6) var(--s5) var(--s5); }
}
