@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap");

:root {
    color-scheme: dark;
    --bg: #0b2029;
    --panel: #112c36;
    --border: #355b61;
    --teal: #67c9b4;
    --gold: #dfb773;
    --sand: #f5ecdd;
    --muted: #a4bdba;
}

* {
    box-sizing: border-box;
}

html,body {
    margin: 0;
    min-height: 100%;
    font-family: "DM Sans",Inter,system-ui,sans-serif;
    color: var(--sand);
}

body {
    background: radial-gradient(ellipse 45% 50% at 50% 40%,#1d4b4f99,transparent 78%),radial-gradient(ellipse 35% 35% at 50% 100%,#b78b4330,transparent 85%),#091b24;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(#9ad8c50b 1px,transparent 1px),linear-gradient(90deg,#9ad8c50b 1px,transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(#000,transparent 90%);
}

.login-stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 22px;
}

.login-card {
    position: relative;
    width: min(100%,450px);
    padding: 36px 36px 29px;
    border: 1px solid #55756d8c;
    border-radius: 22px;
    background: linear-gradient(155deg,#193b43f5,#102832fa 75%);
    box-shadow: 0 26px 100px #020c13a8,0 0 60px #64b9a31a;
    overflow: hidden;
}

.login-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg,transparent,var(--gold),var(--teal),transparent);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 32px;
}

.brand img {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 22px #d9b7792c;
}

.brand>span {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .09em;
}

.brand small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    letter-spacing: .26em;
    color: var(--gold);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    background: #1f4b4b;
    padding: 7px 11px;
    border: 1px solid #4c817763;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 9px #67c9b488;
}

h1 {
    font-size: clamp(27px,5vw,35px);
    line-height: 1.15;
    letter-spacing: -.055em;
    margin: 18px 0 13px;
    font-weight: 800;
}

h1 em {
    font-style: normal;
    color: var(--gold);
}

.intro {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0 0 25px;
}

.details {
    border: 1px solid #426169;
    background: #0b232bb0;
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 22px;
}

.details>div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
}

.details>div+div {
    border-top: 1px solid #34545a;
}

.detail-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    flex: none;
    background: #23484b;
    color: var(--teal);
    border-radius: 10px;
}

.detail-icon svg {
    width: 19px;
    height: 19px;
}

.details strong,.details small {
    display: block;
}

.details strong {
    font-size: 12px;
}

.details small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px;
}

.tick {
    width: 16px;
    height: 16px;
    color: var(--teal);
    margin-left: auto;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 14px 16px;
    border-radius: 11px;
    text-decoration: none;
    background: linear-gradient(115deg,#e9c887,#d9a65e);
    color: #142e35;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 9px 30px #d9a65e30;
    transition: transform .2s,box-shadow .2s;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px #d9a65e55;
}

.login-button>svg {
    width: 21px;
    height: 21px;
}

.login-button .arrow {
    width: 16px;
    height: 16px;
    margin-left: auto;
}

.login-button>span {
    margin-left: auto;
}

.privacy {
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
    color: #8eaaa9;
    margin: 17px 0 0;
}

.login-error {
    padding: 11px 12px;
    border: 1px solid #d77e74;
    border-radius: 9px;
    color: #ffd0c8;
    font-size: 12px;
}

.footnote {
    font-size: 10px;
    letter-spacing: .14em;
    color: #779796;
    margin: 0;
}

@media (max-width:480px) {
    .login-card {
        padding: 26px 22px;
    }

    .brand {
        margin-bottom: 25px;
    }

    .brand img {
        width: 50px;
        height: 50px;
    }
}