:root {
    color-scheme: light;
    font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ft-canvas: #f8f6fc;
    --ft-surface: #ffffff;
    --ft-primary: #5b2a86;
    --ft-primary-strong: #3f1767;
    --ft-ink: #261b33;
    --ft-muted: #6c6177;
    --ft-line: #e2d9e9;
    --ft-success: #0f7b58;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    min-height: 100vh;
    background: var(--ft-canvas);
    color: var(--ft-ink);
}

.entry {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 100%);
    place-items: center;
    padding: 20px;
    background:
        radial-gradient(circle at 12% 12%, rgba(108, 92, 231, .10), transparent 34%),
        radial-gradient(circle at 88% 88%, rgba(49, 37, 144, .07), transparent 31%),
        var(--ft-canvas);
}

.entry__shell {
    width: 100%;
    max-width: 480px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ft-line);
    border-radius: 26px;
    background: var(--ft-surface);
    box-shadow: 0 24px 70px rgba(49, 37, 144, .10);
}

.entry__brand {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    min-height: 92px;
    padding: 26px 32px 22px;
    border-bottom: 1px solid var(--ft-line);
    background: #fdfcff;
}

.entry__logo {
    display: block;
    width: 112px;
    height: auto;
}

.entry__product {
    color: var(--ft-muted);
    font-size: .84rem;
    font-weight: 750;
}

.entry__content { padding: 48px 48px 40px; text-align: center; }

.entry__eyebrow {
    margin: 0 0 12px;
    color: var(--ft-primary);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.entry h1 {
    margin: 0;
    color: var(--ft-ink);
    font-size: clamp(2.15rem, 7vw, 3.35rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.entry__description {
    max-width: 34ch;
    margin: 17px auto 31px;
    color: var(--ft-muted);
    font-size: .98rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.entry__login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 13px 22px;
    border: 1px solid var(--ft-primary);
    border-radius: 14px;
    background: var(--ft-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 850;
    box-shadow: 0 12px 28px rgba(49, 37, 144, .20);
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.entry__login svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .16s ease;
}

.entry__login span { min-width: 0; }

[dir="rtl"] .entry__login svg { transform: scaleX(-1); }

.entry__login:hover {
    background: var(--ft-primary-strong);
    box-shadow: 0 16px 34px rgba(49, 37, 144, .24);
    transform: translateY(-1px);
}

.entry__login:hover svg { transform: translateX(2px); }
[dir="rtl"] .entry__login:hover svg { transform: scaleX(-1) translateX(2px); }

.entry__login:focus-visible { outline: 3px solid var(--ft-primary); outline-offset: 4px; }

.entry__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 58px;
    padding: 15px 24px;
    border-top: 1px solid var(--ft-line);
    background: #fbfaff;
    color: var(--ft-muted);
    font-size: .78rem;
    font-weight: 650;
    text-align: center;
}

.entry__status-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ft-success);
    box-shadow: 0 0 0 4px rgba(15, 123, 88, .11);
}

@media (max-width: 480px) {
    .entry { padding: 12px; }
    .entry__shell { border-radius: 21px; }
    .entry__brand { min-height: 82px; padding: 21px 24px 19px; }
    .entry__content { padding: 38px 24px 32px; }
    .entry h1 { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .entry__login,
    .entry__login svg { transition: none; }
}
