:root {
    color-scheme: light;
    --alpha-ink: #17324d;
    --alpha-muted: #5f7489;
    --alpha-blue: #0759a5;
    --alpha-blue-hover: #064d90;
    --alpha-line: #d9e4ee;
    --alpha-soft: #edf5fb;
    --alpha-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body.alpha-system-page {
    margin: 0;
    color: var(--alpha-ink);
    background-color: #edf4fa;
    background-image: linear-gradient(145deg, #f7fbfe 0%, #e6f0f8 100%);
    font-family: "Segoe UI", "Noto Sans Hebrew", Arial, sans-serif;
    line-height: 1.6;
}

::selection {
    color: #ffffff;
    background: var(--alpha-blue);
}

.alpha-shell {
    width: min(92%, 860px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    place-items: center;
}

.alpha-card {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: var(--alpha-white);
    box-shadow: 0 24px 64px rgba(23, 50, 77, 0.15);
}

.alpha-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 30px;
    border-bottom: 1px solid var(--alpha-line);
}

.alpha-header a {
    display: inline-flex;
}

.alpha-logo {
    display: block;
    width: min(220px, 54vw);
    height: auto;
}

.alpha-status {
    padding: 7px 11px;
    color: var(--alpha-blue);
    border: 1px solid #bfd5e8;
    border-radius: 999px;
    background: var(--alpha-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.alpha-content {
    padding: clamp(46px, 7vw, 68px) clamp(24px, 8vw, 76px);
    text-align: center;
}

.alpha-title {
    max-width: 700px;
    margin: 0 auto 18px;
    font-size: clamp(34px, 5.2vw, 50px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.alpha-copy {
    max-width: 660px;
    margin: 0 auto;
    color: var(--alpha-muted);
    font-size: clamp(17px, 2vw, 19px);
}

.alpha-english {
    max-width: 620px;
    margin: 14px auto 0;
    color: #71879b;
    direction: ltr;
    font-size: 14px;
}

.alpha-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.alpha-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    padding: 12px 18px;
    color: var(--alpha-white);
    border: 1px solid var(--alpha-blue);
    border-radius: 10px;
    background: var(--alpha-blue);
    box-shadow: 0 9px 20px rgba(7, 89, 165, 0.2);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.alpha-button:hover {
    color: var(--alpha-white);
    background: var(--alpha-blue-hover);
    box-shadow: 0 12px 24px rgba(7, 89, 165, 0.26);
    transform: translateY(-1px);
}

.alpha-button:focus-visible,
.alpha-footer a:focus-visible,
.alpha-header a:focus-visible {
    outline: 3px solid rgba(8, 120, 209, 0.3);
    outline-offset: 3px;
}

.alpha-button.alpha-secondary {
    color: var(--alpha-blue);
    border-color: #b9cfe2;
    background: var(--alpha-white);
    box-shadow: none;
}

.alpha-button.alpha-secondary:hover {
    border-color: var(--alpha-blue);
    background: var(--alpha-soft);
}

.alpha-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 30px;
    color: #667c91;
    border-top: 1px solid var(--alpha-line);
    background: #fbfdff;
    font-size: 13px;
}

.alpha-footer a {
    color: var(--alpha-blue);
    font-weight: 700;
    text-decoration: none;
}

.alpha-copyright {
    direction: ltr;
    unicode-bidi: isolate;
}

@media (max-width: 640px) {
    .alpha-shell {
        width: min(94%, 440px);
        min-height: 100svh;
        padding: 16px 0;
    }

    .alpha-card {
        border-radius: 14px;
    }

    .alpha-header {
        align-items: center;
        flex-direction: column;
        gap: 16px;
        padding: 22px 20px;
    }

    .alpha-logo {
        width: min(205px, 64vw);
    }

    .alpha-status {
        white-space: normal;
        text-align: center;
    }

    .alpha-content {
        padding: 38px 20px 40px;
    }

    .alpha-title {
        margin-bottom: 14px;
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1.16;
    }

    .alpha-copy {
        font-size: 16px;
    }

    .alpha-english {
        font-size: 13px;
    }

    .alpha-actions {
        gap: 9px;
        margin-top: 26px;
    }

    .alpha-button {
        width: 100%;
        min-height: 46px;
    }

    .alpha-footer {
        align-items: center;
        flex-direction: column;
        gap: 4px;
        padding: 17px 20px;
        text-align: center;
    }
}

@media (max-height: 650px) and (min-width: 641px) {
    .alpha-shell {
        min-height: auto;
        padding: 22px 0;
    }

    .alpha-content {
        padding-top: 36px;
        padding-bottom: 36px;
    }
}

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