:root {
    color-scheme: light;
    font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
    color: #251b36;
    background: #eceaf5;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    padding: clamp(16px, 5vw, 70px);
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 34% 12%, #e5bfdc, transparent 45%),
        radial-gradient(ellipse at 10% 90%, #bacde7, transparent 56%),
        linear-gradient(130deg, #c5bbd8, #eceaf4 68%, #c8d9e5);
}
.login-shell {
    width: min(100%, 1080px);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid #fff;
    border-radius: 30px;
    background: #fff9;
    box-shadow: 0 30px 70px #36315036, inset 0 0 0 3px #fff6;
}
.login-art {
    isolation: isolate;
    display: grid;
    align-content: space-between;
    justify-items: start;
    position: relative;
    overflow: hidden;
    min-height: 570px;
    border-radius: 22px;
    padding: clamp(22px, 4vw, 46px);
    background: radial-gradient(ellipse at 8% 7%, #fff0fa 0%, transparent 40%),
        radial-gradient(ellipse at 26% 47%, #b860af 0%, transparent 62%),
        radial-gradient(ellipse at 82% 16%, #ac9af4 0%, transparent 53%),
        radial-gradient(ellipse at 82% 75%, #e3f7fc 0%, transparent 68%),
        linear-gradient(130deg, #cfb3ec, #dce6fa);
}
.brand-wordmark { font-weight: 750; font-size: clamp(2.2rem, 6.4vw, 5.15rem); letter-spacing: -.075em; line-height: 1; color: #281b49; }
.brand-orb { position: absolute; z-index: -1; top: 48%; left: 50%; width: min(90%, 390px); height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 23px 30px #52235b3a); }
.brand-caption { align-self: end; max-width: 21rem; }
.brand-caption p { margin: 0 0 4px; font-size: 1.45rem; font-weight: 720; letter-spacing: -.03em; }
.brand-caption span { color: #3e3554; }
.setup-card { display: grid; align-content: center; background: linear-gradient(155deg, #f7eff8, #f7f7fb 80%); border-radius: 22px; padding: clamp(22px, 4vw, 55px); }
.login-content { width: 100%; max-width: 390px; margin: auto; }
.app-icon { display: block; object-fit: contain; padding: 3px; border-radius: 13px; box-shadow: 0 3px 12px #31274b18; background: #fff; }
h1 { margin: 14px 0 5px; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -.045em; }
p { color: #544a64; margin: 8px 0 18px; }
.stack { display: grid; gap: 9px; }
label { font-weight: 650; font-size: .9rem; }
input[type=email], button, .secondary { width: 100%; min-height: 46px; border: 1px solid #ddd4e8; border-radius: 13px; padding: 10px 14px; font: inherit; }
input[type=email] { background: #fff; color: inherit; }
button, .secondary { cursor: pointer; text-decoration: none; font-weight: 650; }
.primary { background: linear-gradient(105deg, #91388e, #753d9e); color: #fff; border-color: transparent; }
.primary:hover { background: #70266e; }
.secondary { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; color: #251b36; background: #fff; text-align: center; }
.secondary:hover { background: #f8f4fc; }
.secondary small { font-weight: 400; color: #544a64; }
.separator { display:flex; align-items:center; gap: 10px; color: #544a64; font-size: .82rem; margin: 6px 0; }
.separator::before, .separator::after { content: ""; height: 1px; background: #ddd4e8; flex: 1; }
.provider.google { color: #185abc; font-weight: 800; }
.provider.microsoft { width: 14px; height: 14px; background: conic-gradient(#7cbb00 0 25%, #ffbb00 25% 50%, #00a1f1 50% 75%, #f65314 75%); }
.footnote { text-align: center; margin: 16px 0 0; font-size: .91rem; }
a { color: #71328d; }
:focus-visible { outline: 2px solid #683187; outline-offset: 3px; }
.notice { color: #7d2544; background: #fff0f3; border-radius: 10px; padding: 10px; }
.step { font-size: .85rem; margin-bottom: 0; }
@media (max-width: 740px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-art { min-height: 148px; padding: 20px; }
    .brand-wordmark { font-size: 2.45rem; }
    .brand-orb { left: auto; right: -10px; width: 150px; transform: translateY(-50%); }
    .brand-caption { max-width: calc(100% - 100px); }
    .brand-caption p { font-size: 1rem; }
    .brand-caption span { display: none; }
}
.remember { display: flex; align-items: center; gap: 7px; min-height: 32px; font-weight: 500; }
.remember input { width: 16px; height: 16px; margin: 0; accent-color: #873785; }
.brand-wordmark {
    position: absolute;
    top: 23%;
    left: 4%;
    right: 4%;
    color: #fff;
    text-align: center;
    font-family: Arial, "Segoe UI", sans-serif;
    font-size: clamp(2.2rem, 6.25vw, 5.25rem);
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 2px 10px #36234f38;
}
.brand-orb { z-index: 0; width: min(63%, 320px); }
.brand-caption { z-index: 1; grid-row: 2; position: relative; }
.login-art { align-content: end; }
@media (max-width: 740px) {
    .brand-wordmark { position: relative; inset: auto; text-align: left; font-size: clamp(1.7rem, 7vw, 2.6rem); }
    .brand-orb { width: 126px; right: -5px; }
    .login-art { align-content: space-between; }
}
.brand-wordmark {
    top: 25%;
    font-size: clamp(2.2rem, 6vw, 4.85rem);
    letter-spacing: -.055em;
}
.brand-orb { top: 51%; }
.secondary:disabled { opacity: .68; cursor: default; background: #f9f7fb; }
.provider-note { margin: 0; font-size: .8rem; }
@media (max-width: 740px) {
    .brand-wordmark { top: auto; font-size: clamp(1.7rem, 7vw, 2.6rem); }
}
