:root { color: #0b1f3a; font-family: "Segoe UI", Arial, sans-serif; background: #eef3f8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 78% 8%, rgba(120, 152, 186, .48), transparent 33%), linear-gradient(126deg, #061a33 0%, #0b294a 47%, #315574 100%); }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(2rem, 8vw, 10rem); align-items: center; max-width: 1440px; margin: auto; padding: 3rem clamp(1.5rem, 7vw, 7rem); color: #fff; }
.login-intro { max-width: 660px; }
.eyebrow, .card-kicker { margin: 0 0 1.25rem; font-size: .72rem; font-weight: 700; letter-spacing: .22em; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6vw, 5.7rem); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
h1 em { color: #b9d7f0; font-weight: 400; }
.intro-copy { max-width: 560px; margin: 2rem 0; color: #d9e6f1; font-size: 1.18rem; line-height: 1.65; }
.capabilities { display: grid; gap: .75rem; margin: 2rem 0 0; padding: 0; list-style: none; color: #eef6fb; font-size: .95rem; }
.capabilities li::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin: 0 .7rem .08rem 0; border-radius: 50%; background: #8cc9ee; }
.login-connect { max-width: 580px; margin-top: 2rem; padding-top: 1.35rem; border-top: 1px solid rgba(219, 234, 254, .32); }
.login-connect > p { margin: 0; color: #dbeafe; font-size: .96rem; line-height: 1.55; }
.intro-brand { width: min(100%, 22rem); margin-top: 1.6rem; }
.intro-brand > img { display: block; width: 100%; height: auto; }
.sign-in-card { width: min(100%, 450px); justify-self: end; padding: 2.7rem 3rem 2.5rem; border: 1px solid rgba(255,255,255,.5); border-radius: 1.15rem; background: rgba(255,255,255,.96); box-shadow: 0 28px 70px rgba(0,0,0,.28); color: #102642; }
.card-kicker { color: #4d6b88; }
.sign-in-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 2.4rem; font-weight: 400; }
.sign-in-card > p:not(.card-kicker):not(.local-note) { color: #5a6c80; line-height: 1.5; margin: .8rem 0 2rem; }
form { display: grid; gap: .65rem; }
label { margin-top: .55rem; color: #334e69; font-size: .82rem; font-weight: 700; letter-spacing: .03em; }
input { width: 100%; min-height: 3rem; padding: .7rem .8rem; border: 1px solid #b7c6d6; border-radius: .45rem; color: #102642; font: inherit; }
input:focus { outline: 3px solid rgba(82, 145, 205, .25); border-color: #346b9b; }
/* Chrome's saved-credential fill should follow the Together ivory, not its default yellow. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #102642;
    caret-color: #102642;
    -webkit-box-shadow: 0 0 0 1000px #e6dfd2 inset;
    box-shadow: 0 0 0 1000px #e6dfd2 inset;
    border-color: #cfc4b3;
    transition: background-color 9999s ease-out 0s;
}
button { margin-top: 1.1rem; min-height: 3.25rem; border: 0; border-radius: .45rem; background: #0d3158; color: #fff; font: 700 .92rem "Segoe UI", Arial, sans-serif; letter-spacing: .02em; cursor: pointer; }
button:hover { background: #164a7a; }
button:disabled { opacity: .7; cursor: wait; }
.login-error { min-height: 1.2rem; margin: .35rem 0 0; color: #b21d2b; font-size: .86rem; }
.local-note { margin: 1.8rem 0 0; color: #74879a; font-size: .76rem; text-align: center; }
.login-contact { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; margin-top: .9rem; color: #dbeafe; font-size: .77rem; }
.login-contact a { display: inline-flex; align-items: center; gap: .42rem; color: #dbeafe; text-decoration: none; transition: color .2s ease; }
.login-contact svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-contact a:nth-child(2) svg { fill: currentColor; stroke: none; }
.login-contact a:hover, .login-contact a:focus-visible { color: #fff; text-decoration: underline; }
@media (max-width: 800px) { .login-shell { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem; } .sign-in-card { justify-self: stretch; } h1 { font-size: clamp(3rem, 12vw, 4.7rem); } }
