:root {
    --ink: #0f1d3c;
    --ink-2: #172b54;
    --ink-muted: #62708a;
    --teal: #16c1b0;
    --teal-dark: #0b9d90;
    --cyan: #7ee8dc;
    --sky: #f2f8fb;
    --line: #dfe8ee;
    --surface: #ffffff;
    --shadow: 0 24px 70px rgba(15, 29, 60, .13);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--ink); }

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr);
    width: 100%;
    min-height: 100vh;
}

.brand-panel {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    overflow: hidden;
    padding: 48px clamp(48px, 7.2vw, 132px) 38px;
    color: #fff;
    background: radial-gradient(circle at 11% 104%, rgba(34, 207, 190, .29), transparent 34%), radial-gradient(circle at 82% 2%, rgba(82, 126, 221, .24), transparent 33%), linear-gradient(137deg, #0d1833 0%, #132957 62%, #16376d 100%);
}

.brand-panel__grid {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: linear-gradient(rgba(168, 225, 240, .17) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 225, 240, .17) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.brand-panel__halo {
    position: absolute;
    width: 500px;
    aspect-ratio: 1;
    border: 1px solid rgba(108, 232, 220, .14);
    border-radius: 50%;
}

.brand-panel__halo--one { right: -235px; top: 24%; box-shadow: 0 0 0 80px rgba(44, 210, 196, .025), 0 0 0 160px rgba(44, 210, 196, .025); }
.brand-panel__halo--two { left: -300px; bottom: -350px; width: 600px; border-color: rgba(151, 205, 255, .12); }

.wordmark {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 11px;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.9px;
}

.wordmark > span:last-child > span { color: var(--cyan); }
.wordmark__mark { display: grid; width: 36px; height: 36px; place-items: center; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.06); }
.wordmark__mark img { width: 32px; height: 32px; object-fit: contain; }

.brand-copy {
    position: relative;
    z-index: 1;
    max-width: 655px;
    margin: auto 0;
    padding: 92px 0 46px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 21px;
    color: #9aeae2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow span { width: 23px; height: 2px; border-radius: 3px; background: currentColor; }

.brand-copy h1 {
    max-width: 620px;
    margin: 0;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.1;
}

.brand-copy__text {
    max-width: 580px;
    margin: 24px 0 0;
    color: rgba(230, 244, 250, .76);
    font-size: 17px;
    line-height: 1.65;
}

.signal-card {
    width: min(100%, 440px);
    margin-top: 52px;
    padding: 17px 18px 19px;
    border: 1px solid rgba(167, 238, 232, .18);
    border-radius: 16px;
    background: linear-gradient(112deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
    box-shadow: 0 20px 50px rgba(1, 9, 29, .20);
    backdrop-filter: blur(12px);
}

.signal-card__top { display: flex; justify-content: space-between; color: rgba(239,255,253,.73); font-size: 11px; font-weight: 600; }
.signal-card__status { display: flex; align-items: center; gap: 7px; }
.signal-card__status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #59e4c5; box-shadow: 0 0 0 4px rgba(89,228,197,.13); }
.signal-card__dot { letter-spacing: 2px; }
.signal-card__message { display: flex; align-items: center; gap: 13px; margin: 16px 0 15px; }
.signal-card__icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #d8fffa; background: rgba(31,210,192,.22); }
.signal-card__icon svg { width: 20px; height: 20px; }
.signal-card__message strong, .signal-card__message small { display: block; }
.signal-card__message strong { margin-bottom: 3px; font-size: 14px; font-weight: 600; }
.signal-card__message small { color: rgba(232,249,250,.62); font-size: 12px; }
.signal-card__line { overflow: hidden; height: 4px; border-radius: 20px; background: rgba(196, 241, 239, .13); }
.signal-card__line span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #91f5e9); }

.brand-footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: rgba(221, 239, 246, .52);
    font-size: 11px;
}

.brand-footer span:first-child { display: flex; align-items: center; gap: 7px; }
.brand-footer i { width: 7px; height: 7px; border: 1px solid #59e4c5; border-radius: 50%; }

.login-panel { display: flex; min-width: 0; flex-direction: column; background: #fff; }

.login-panel__topbar {
    display: flex;
    justify-content: space-between;
    padding: 28px clamp(34px, 6vw, 80px);
    color: #8b96a7;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .025em;
}

.topbar__secure { display: flex; align-items: center; gap: 6px; color: #7f8a9b; }
.topbar__secure svg { width: 13px; height: 13px; color: var(--teal-dark); }

.login-content { width: min(100%, 446px); margin: auto; padding: 54px 28px 58px; }
.mobile-brand { display: none; }
.login-heading { margin-bottom: 38px; }
.eyebrow--dark { margin-bottom: 15px; color: var(--teal-dark); }
.login-heading h2, .info-card h1 { margin: 0; font-family: 'Manrope', sans-serif; font-size: 37px; font-weight: 700; letter-spacing: -.055em; line-height: 1.15; }
.login-heading > p:last-child { margin: 13px 0 0; color: var(--ink-muted); font-size: 15px; line-height: 1.6; }

.login-form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label { color: #34415a; font-size: 13px; font-weight: 700; }
.field__label-row { display: flex; justify-content: space-between; align-items: center; }
.field__label-row a { color: var(--teal-dark); font-size: 12px; font-weight: 700; }
.field__label-row a:hover, .register-prompt a:hover { color: #08766d; text-decoration: underline; }
.field__control { position: relative; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field__control:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22,193,176,.12); }
.field__control > svg { position: absolute; left: 15px; width: 18px; height: 18px; color: #9aa7b8; pointer-events: none; }
.field input[type='email'], .field input[type='password'], .field input[type='text'] { width: 100%; height: 53px; padding: 0 49px; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 14px; background: transparent; }
.field input::placeholder { color: #aeb8c5; }
.password-toggle { position: absolute; right: 10px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 0; border-radius: 7px; color: #8290a3; background: transparent; cursor: pointer; }
.password-toggle:hover { color: var(--teal-dark); background: #f0fbfa; }
.password-toggle svg { width: 18px; height: 18px; }

.check-row { display: flex; align-items: center; width: fit-content; gap: 9px; margin-top: -2px; color: #5d6a7e; font-size: 13px; cursor: pointer; }
.check-row input { position: absolute; opacity: 0; }
.custom-check { display: grid; width: 17px; height: 17px; place-items: center; border: 1.5px solid #bac5d1; border-radius: 4px; color: #fff; transition: background .15s, border-color .15s; }
.custom-check svg { width: 11px; opacity: 0; }
.check-row input:checked + .custom-check { border-color: var(--teal-dark); background: var(--teal-dark); }
.check-row input:checked + .custom-check svg { opacity: 1; }
.check-row input:focus-visible + .custom-check { outline: 3px solid rgba(22,193,176,.22); outline-offset: 2px; }

.submit-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 53px; border: 0; border-radius: 10px; color: #fff; font: inherit; font-size: 14px; font-weight: 700; background: linear-gradient(103deg, #0da797, #14c5b5); box-shadow: 0 11px 19px rgba(13,167,151,.21); transition: transform .2s, box-shadow .2s; cursor: pointer; }
.submit-button { width: 100%; margin-top: 6px; }
.submit-button:hover, .secondary-button:hover { box-shadow: 0 14px 25px rgba(13,167,151,.30); transform: translateY(-1px); }
.submit-button svg, .secondary-button svg { width: 17px; height: 17px; }
.register-prompt { margin: 30px 0 0; color: #778397; text-align: center; font-size: 13px; }
.register-prompt a { color: var(--teal-dark); font-weight: 700; }
.launch-note { display: flex; align-items: flex-start; justify-content: center; gap: 7px; max-width: 315px; margin: 32px auto 0; color: #91a0b0; text-align: center; font-size: 11px; line-height: 1.5; }
.launch-note svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--teal-dark); }

.info-page { background: radial-gradient(circle at 7% 100%, #d7faf5, transparent 30%), #f7fafc; }
.info-shell { display: flex; width: 100%; min-height: 100vh; flex-direction: column; padding: 42px clamp(26px, 6vw, 100px); }
.wordmark--dark { color: var(--ink); }
.info-card { width: min(100%, 550px); margin: auto; padding: clamp(30px, 5vw, 64px); border: 1px solid #e5edf1; border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.info-card h1 { font-size: clamp(30px, 5vw, 43px); }
.info-card > p:last-of-type { margin: 17px 0 30px; color: var(--ink-muted); font-size: 16px; line-height: 1.65; }
.secondary-button { width: fit-content; padding: 0 20px; text-decoration: none; }

@media (max-width: 930px) {
    .auth-shell { grid-template-columns: 1fr; }
    .brand-panel { display: none; }
    .login-panel { min-height: 100vh; }
    .login-panel__topbar { padding: 24px 28px; }
    .mobile-brand { display: inline-flex; margin-bottom: 58px; color: var(--ink); }
    .mobile-brand .wordmark__mark { background: #eefaf8; }
    .login-content { margin: 0 auto auto; padding-top: 12px; }
}

@media (max-width: 510px) {
    .login-panel__topbar { padding: 20px 22px; }
    .login-panel__topbar > span:first-child { display: none; }
    .login-panel__topbar { justify-content: flex-end; }
    .login-content { padding: 32px 22px 44px; }
    .mobile-brand { margin-bottom: 43px; }
    .login-heading { margin-bottom: 31px; }
    .login-heading h2 { font-size: 33px; }
    .field__label-row { gap: 14px; }
    .info-shell { padding: 28px 20px; }
    .info-card { padding: 35px 27px; }
}

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


/* Registration and password recovery */
.form-page { background: #fff; }
.form-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(0, .98fr) minmax(500px, 1.02fr); }
.form-brand-panel { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 100vh; padding: 48px clamp(48px, 7vw, 120px) 38px; color: #fff; background: radial-gradient(circle at 14% 100%, rgba(25, 200, 181, .3), transparent 35%), radial-gradient(circle at 94% 12%, rgba(78, 123, 231, .23), transparent 32%), linear-gradient(145deg, #0d1833, #142c5c 68%, #173e79); }
.form-brand-panel::after { position: absolute; width: 520px; height: 520px; right: -270px; bottom: -198px; border: 1px solid rgba(115, 236, 224, .15); border-radius: 50%; content: ''; box-shadow: 0 0 0 77px rgba(92, 231, 217, .025), 0 0 0 154px rgba(92, 231, 217, .018); }
.form-brand-panel__grid { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(168, 225, 240, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 225, 240, .16) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.form-brand-copy { position: relative; z-index: 1; width: min(100%, 548px); margin: auto 0; padding: 70px 0 42px; }
.form-brand-copy h1 { margin: 0; font-family: 'Manrope', sans-serif; font-size: clamp(36px, 3.8vw, 57px); font-weight: 700; letter-spacing: -.058em; line-height: 1.1; }
.form-brand-copy > p { max-width: 500px; margin: 23px 0 0; color: rgba(231, 245, 251, .76); font-size: 16px; line-height: 1.64; }
.benefit-list { display: grid; gap: 20px; margin: 42px 0 0; padding: 0; list-style: none; }
.benefit-list li { display: flex; align-items: center; gap: 14px; }
.benefit-list__icon { display: grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(162, 239, 230, .2); border-radius: 11px; color: #b2fbf1; background: rgba(255,255,255,.08); }
.benefit-list__icon svg { width: 19px; height: 19px; }
.benefit-list strong, .benefit-list small { display: block; }
.benefit-list strong { color: #fff; font-size: 14px; font-weight: 600; }
.benefit-list small { margin-top: 2px; color: rgba(226, 245, 250, .61); font-size: 12px; }
.form-content-panel { display: flex; min-width: 0; min-height: 100vh; flex-direction: column; background: #fff; }
.form-content-panel__topbar { display: flex; justify-content: space-between; padding: 28px clamp(34px, 6vw, 80px); color: #8b96a7; font-size: 11px; font-weight: 600; letter-spacing: .025em; }
.form-content { width: min(100%, 510px); margin: auto; padding: 43px 28px 54px; }
.form-content--register { width: min(100%, 525px); }
.form-heading { margin-bottom: 29px; }
.form-heading h2 { margin: 0; font-family: 'Manrope', sans-serif; font-size: 34px; font-weight: 700; letter-spacing: -.055em; line-height: 1.16; }
.form-heading > p:last-child { margin: 11px 0 0; color: var(--ink-muted); font-size: 14px; line-height: 1.55; }
.account-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid .field__control > input:first-child { padding-right: 15px; padding-left: 15px; }
.select-control { position: relative; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.select-control:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22,193,176,.12); }
.select-control select { width: 100%; height: 53px; padding: 0 34px 0 15px; appearance: none; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 13px; background: transparent; }
.select-control > svg { position: absolute; right: 12px; width: 16px; height: 16px; color: #8491a3; pointer-events: none; }
.check-row--terms { align-items: flex-start; margin-top: 1px; line-height: 1.45; }
.check-row--terms .custom-check { margin-top: 1px; }
.check-row--terms span:last-child { color: #69768a; font-size: 12px; }
.form-content .register-prompt { margin-top: 24px; }
.form-content .launch-note { margin-top: 23px; }

.recovery-page { background: radial-gradient(circle at 8% 100%, #d4faf5, transparent 30%), radial-gradient(circle at 100% 0, #dce9ff, transparent 31%), #f7fafc; }
.recovery-shell { display: flex; width: 100%; min-height: 100vh; flex-direction: column; padding: 42px clamp(26px, 6vw, 100px); }
.recovery-card { width: min(100%, 480px); margin: auto; padding: clamp(31px, 5vw, 58px); border: 1px solid #e3edf1; border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.recovery-icon { display: grid; width: 48px; height: 48px; margin-bottom: 28px; place-items: center; border-radius: 14px; color: var(--teal-dark); background: #e8f9f7; }
.recovery-icon svg { width: 23px; height: 23px; }
.recovery-card h1 { margin: 0; font-family: 'Manrope', sans-serif; font-size: clamp(31px, 5vw, 39px); font-weight: 700; letter-spacing: -.055em; line-height: 1.14; }
.recovery-card__intro { margin: 15px 0 29px; color: var(--ink-muted); font-size: 15px; line-height: 1.6; }
.recovery-card .submit-button { margin-top: 4px; }
.back-link { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 25px; color: var(--teal-dark); font-size: 13px; font-weight: 700; }
.back-link:hover { color: #08766d; text-decoration: underline; }
.back-link svg { width: 15px; height: 15px; }
.recovery-card .launch-note { margin-top: 28px; }

@media (max-width: 960px) {
    .form-shell { grid-template-columns: 1fr; }
    .form-brand-panel { display: none; }
    .form-content-panel { min-height: 100vh; }
    .form-content-panel__topbar { padding: 24px 28px; }
    .form-content { margin: 0 auto auto; padding-top: 12px; }
    .form-content .mobile-brand { display: inline-flex; margin-bottom: 48px; color: var(--ink); }
    .form-content .mobile-brand .wordmark__mark { background: #eefaf8; }
}

@media (max-width: 510px) {
    .form-content-panel__topbar { justify-content: flex-end; padding: 20px 22px; }
    .form-content-panel__topbar > span:first-child { display: none; }
    .form-content { padding: 31px 22px 43px; }
    .form-content .mobile-brand { margin-bottom: 38px; }
    .form-heading h2 { font-size: 31px; }
    .form-grid { grid-template-columns: 1fr; gap: 18px; }
    .recovery-shell { padding: 28px 20px; }
    .recovery-card { padding: 34px 26px; }
}


/* Compact desktop registration and a stronger recovery backdrop */
@media (min-width: 961px) {
    .form-content--register { padding-top: 15px; padding-bottom: 21px; }
    .form-content--register .form-heading { margin-bottom: 19px; }
    .form-content--register .form-heading > p:last-child { margin-top: 7px; font-size: 13px; line-height: 1.42; }
    .form-content--register .account-form { gap: 11px; }
    .form-content--register .field { gap: 5px; }
    .form-content--register .field label { font-size: 12px; }
    .form-content--register .field input, .form-content--register .select-control select { height: 46px; }
    .form-content--register .select-control select { font-size: 12px; }
    .form-content--register .form-grid { gap: 12px; }
    .form-content--register .check-row--terms span:last-child { font-size: 11px; }
    .form-content--register .submit-button { min-height: 47px; margin-top: 0; }
    .form-content--register .register-prompt { margin-top: 15px; }
    .form-content--register .launch-note { margin-top: 12px; font-size: 10px; }
    .form-content-panel__topbar { padding-top: 19px; padding-bottom: 19px; }
}

.recovery-page { min-height: 100vh; background: radial-gradient(circle at 8% 102%, rgba(24,194,176,.32), transparent 35%), radial-gradient(circle at 97% 2%, rgba(74,130,235,.30), transparent 34%), linear-gradient(139deg, #0c1834 0%, #132b59 59%, #16417e 100%); }
.recovery-shell { position: relative; overflow: hidden; background-image: linear-gradient(rgba(153,224,239,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(153,224,239,.12) 1px, transparent 1px); background-size: 74px 74px; }
.recovery-shell::before { position: absolute; width: 570px; height: 570px; right: -275px; bottom: -250px; border: 1px solid rgba(131,238,225,.16); border-radius: 50%; box-shadow: 0 0 0 78px rgba(88,229,215,.025), 0 0 0 156px rgba(88,229,215,.018); content: ''; }
.recovery-shell > * { position: relative; z-index: 1; }
.recovery-shell .wordmark--dark { color: #ffffff; }
.recovery-shell .wordmark__mark { background: rgba(255,255,255,.08); }
.recovery-card { border-color: rgba(213,237,243,.67); background: rgba(255,255,255,.97); }
