/* Sign-in screen. Brand tokens: docs/UI_GUIDE.md. Same look as the hub. */
* { box-sizing: border-box; }
html { font-size: 106.25%; }
body { margin: 0; min-height: 100vh; font: 400 1rem/1.6 Poppins, system-ui, sans-serif; background: #1c1c52; color: #1c1c52; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.top, .wrap, .foot { position: relative; z-index: 1; }
.top { height: 72px; padding: 0 clamp(1.25rem, 4vw, 3rem); display: flex; align-items: center; }
.top img { display: block; height: 40px; width: auto; }
.wrap { flex: 1; width: min(1320px, 100%); margin: 0 auto; padding: clamp(1rem, 5vh, 3rem) clamp(1.25rem, 4vw, 3rem) 0; display: grid; grid-template-columns: minmax(0, 1fr) min(27rem, 100%); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.pitch { align-self: end; padding-bottom: clamp(1rem, 6vh, 4rem); }
.pitch .big { margin: 0; color: #fff; font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; opacity: 0; animation: fade .9s cubic-bezier(.22, .7, .2, 1) 1.2s forwards; }
.pitch .big span { display: block; font-weight: 300; color: #dcd9f0; }
.box { position: relative; overflow: hidden; background: #fff; border-radius: 22px; padding: 2.2rem 2.2rem 2rem; opacity: 0; animation: fade .7s cubic-bezier(.22, .7, .2, 1) .25s forwards; }
.box::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #507dbf, #7054a3); }
h1 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5rem; }
.muted { color: #4a4b68; font-size: .9rem; margin: 0; }
#login { min-height: 380px; margin-top: 1.2rem; }
#login iframe { width: 100%; min-height: 380px; border: 0; }
.link { display: inline-block; margin-top: 1rem; color: #7054a3; font-size: .9rem; }
.foot { margin: 1.5rem auto 2rem; color: #a9a5cf; font-size: .8rem; text-align: center; padding: 0 1rem; }
:focus-visible { outline: 2px solid #7ea6d7; outline-offset: 3px; border-radius: 4px; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .pitch { display: none; }
  .box { width: min(27rem, 100%); }
}
@media (prefers-reduced-motion: reduce) { .box, .pitch .big { animation: none; opacity: 1; } }
