/* The sign-in page: the hero photo on the left, one white panel on the right. */

.login { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(440px, 1fr); min-height: 100vh; min-height: 100dvh; background: var(--white); }
.login, .login h1, .login h2, .login p, .login .btn { font-family: "Roboto", "Segoe UI", Arial, sans-serif; }
.login__photo { display: flex; align-items: flex-end; background: linear-gradient(to top, var(--blue) 0, var(--blue) 30%, rgba(29, 53, 94, .88) 55%, rgba(29, 53, 94, 0) 100%), url("login-hero.jpg") 58% 30% / cover no-repeat; }
.login__story { max-width: 640px; padding: 0 clamp(32px, 5vw, 72px) clamp(32px, 6vh, 64px); color: var(--white); }
.login__panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px clamp(32px, 5vw, 72px); background: var(--white); }
.login__card { width: 100%; max-width: 400px; }
.login__card img { display: block; width: 200px; max-width: 100%; height: auto; margin-bottom: 44px; }
.login .login__eyebrow { margin: 0 0 12px; font-family: "Roboto Condensed", "Arial Narrow", sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-80); }
.login .login__story .login__eyebrow { color: var(--blue-20); }
.login .login__headline { font-size: 44px; line-height: 1.08; }
.login .login__story .login__headline { color: var(--white); }
.login .login__lede { margin-top: 16px; font-size: 20px; line-height: 1.45; }
.login .login__story .login__lede { color: var(--white); }
.login__agents { display: grid; gap: 16px; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--blue-80); list-style: none; }
.login__agents li { display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; align-items: start; }
.login__agents .ic { width: 24px; height: 24px; margin-top: 2px; color: var(--white); }
.login__agents strong { font-size: 18px; font-weight: 600; color: var(--white); }
.login__agents span { grid-column: 2; font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--blue-20); }
.login__intro { display: none; }
.login .login__fine { margin-top: 20px; font-size: 15px; font-weight: 400; line-height: 1.45; color: var(--text-muted); }
.login .login__foot { width: 100%; max-width: 400px; margin: 40px 0 0; font-size: 14px; font-weight: 400; letter-spacing: .04em; color: var(--text-muted); }
.login h1, .login h2 { margin: 0; font-size: 36px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; color: var(--blue); }
.login h1:has(+ h2) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.login p { margin: 12px 0 0; font-size: 20px; font-weight: 400; line-height: 1.4; color: var(--blue); }
.login p:has(> .btn) { margin-top: 0; }
.login .btn-ms { display: flex; width: 100%; min-height: 56px; margin-top: 32px; gap: 12px; padding: 0 20px; border-radius: 8px; background: var(--blue); border-color: var(--blue); color: var(--white); font-size: 18px; font-weight: 700; letter-spacing: .01em; text-decoration: none; }
.login .btn-ms:hover { background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 20px -12px var(--blue); }
.login .btn-ms:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.login .btn-ms .ic rect { fill: currentColor; stroke: none; }

@media (max-width: 700px) {
  .login { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  /* The three agents live only in the photo's words, so the photo stays and
     loses its picture; the panel already carries the headline and the line. */
  .login__photo { order: 2; align-items: start; background: var(--blue); }
  .login__story { padding: 28px 24px 32px; }
  .login__story .login__headline, .login__story .login__lede { display: none; }
  .login__agents { margin-top: 0; padding-top: 0; border-top: 0; }
  .login__panel { padding: 32px 24px; }
  .login__card { max-width: none; }
  .login__card img { width: 160px; margin-bottom: 32px; }
  .login__intro { display: block; margin-bottom: 28px; }
  .login .login__headline { font-size: 28px; }
  .login .login__lede { font-size: 18px; }
  .login .login__fine { font-size: 16px; }
}
