:root {
  --ink: #181817;
  --bone: #f7f7f3;
  --bone-card: #ffffff;
  --brass: #315efb;
  --brass-deep: #2047c8;
  --on-ink: #f7f7f3;
  --on-ink-mut: #aaa9a2;
  --on-bone: #181817;
  --on-bone-mut: #62625d;
  --line-bone: #d9d9d2;
}

body, body * { letter-spacing: 0; }
body { color: var(--on-bone); background: var(--bone); }
.wrap { display: grid; grid-template: 64px minmax(0, 1fr) / 1fr; min-height: 100vh; }
.brand-panel {
  flex-direction: row;
  min-height: 64px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  align-items: center;
  justify-content: flex-start;
  color: var(--on-bone);
  background: var(--bone);
  border-bottom: 1px solid var(--line-bone);
  overflow: visible;
}
.brand-panel::after,
.brand-panel .hero,
.brand-panel .points,
.lockup > svg { display: none; }
.lockup { gap: 9px; }
.lockup::before {
  width: 30px;
  height: 30px;
  flex: none;
  background: url("brand-mark.svg") center / contain no-repeat;
  content: "";
}
.wordmark { color: var(--on-bone); font-family: inherit; font-size: 20px; font-weight: 700; }
.wordmark::after {
  content: " beta";
  margin-left: 7px;
  color: var(--on-bone-mut);
  font-size: 10px;
  font-weight: 500;
  vertical-align: 5px;
}
.panel { min-height: calc(100vh - 64px); padding: 56px 24px 72px; align-items: center; }
.card { max-width: 408px; }
.eyebrow { margin-bottom: 9px; color: var(--on-bone-mut); font-size: 13px; font-weight: 600; text-transform: none; }
.card h2 { color: var(--on-bone); font-family: inherit; font-size: 31px; font-weight: 600; line-height: 1.12; }
.guest-return { color: var(--on-bone-mut); background: #eef2ff; border-color: #cdd7ff; border-radius: 8px; }
.guest-return svg { color: var(--brass-deep); }
.soc,
input,
.cta,
.pw-eye,
.sk { border-radius: 8px; }
.soc,
.cta,
.pw-eye,
.ministep button,
.alt button { transition: color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.soc:hover { background: #fff; border-color: #9d9d96; transform: translateY(-1px); }
.soc:active,
.cta:active { transform: scale(.985); }
input:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(49, 94, 251, .12); }
.code-input { font-family: inherit; letter-spacing: 0; }
.cta { background: var(--ink); }
.cta:hover { background: var(--brass); transform: translateY(-1px); box-shadow: 0 7px 18px rgba(49, 94, 251, .18); }
.msg.ok,
.ministep button,
.alt button,
.soc-note a,
.terms-note a,
.foot a { color: var(--brass-deep); }
.sk { background: #e8e8e2; animation: login-pulse 1.2s ease-in-out infinite; }
@keyframes login-pulse { 50% { opacity: .55; } }

@media (max-width: 820px) {
  .wrap { grid-template: 58px minmax(0, 1fr) / 1fr; }
  .brand-panel { min-height: 58px; padding: 0 18px; justify-content: flex-start; }
  .panel { min-height: calc(100vh - 58px); padding: 38px 20px 52px; align-items: flex-start; }
  .card { max-width: 440px; }
  .card h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
