
:root {
    color-scheme: dark;
    --background: #090d15;
    --surface: #111620;
    --border: #293449;
    --accent: #a5b4fc;
    --text: #f1f5f9;
    --muted: #94a3b8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 50% 0%,
        #192342 0%, transparent 45%),
        var(--background);
    color: var(--text);
    font-family: system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

.header {
    max-width: 1160px;
    margin: auto;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header-label {
    color: var(--muted);
    font-size: 13px;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 70px 24px;
}

.hero {
    text-align: center;
    margin-bottom: 44px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 15px;
    border: 1px solid #39456a;
    border-radius: 30px;
    background: #192039;
    color: var(--accent);
    font-size: 12px;
}

.indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a5b4fc;
}

h1 {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.15;
    letter-spacing: -2px;
    margin: 28px 0 20px;
}

h1 span {
    color: var(--accent);
}

.description {
    max-width: 650px;
    margin: auto;
    color: var(--muted);
    font-size: 17px;
}

.access-card {
    max-width: 480px;
    margin: 0 auto 48px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 20px 70px #00000030;
}

.card-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: #212a45;
    color: var(--accent);
    border: 1px solid #38466c;
    border-radius: 12px;
    font-family: monospace;
    font-size: 21px;
}

h2 {
    margin: 18px 0 4px;
    font-size: 23px;
}

.muted {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 24px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 14px;
    background: #090d15;
    color: var(--text);
    border: 1px solid #374151;
    border-radius: 9px;
    outline: none;
    font-size: 15px;
    transition: border-color .2s;
}

input:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px #818cf820;
}

input::placeholder {
    color: #64748b;
}

button {
    width: 100%;
    margin-top: 16px;
    padding: 13px;
    border: none;
    border-radius: 9px;
    background: #818cf8;
    color: #0b1020;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

button:hover:not(:disabled) {
    background: #a5b4fc;
}

button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.notice {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-bottom: 0;
    margin-top: 20px;
}

.error {
    margin-top: 16px;
    padding: 12px 15px;
    border: 1px solid #783b43;
    border-radius: 9px;
    background: #2b1820;
    color: #fca5a5;
    font-size: 13px;
}

.error p {
    margin: 4px 0 0;
}

[hidden] {
    display: none !important;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
}

.feature-icon {
    color: var(--accent);
    font-size: 24px;
    font-weight: 600;
    font-family: monospace;
}

.feature h3 {
    font-size: 15px;
    margin: 12px 0 8px;
}

.feature p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

footer {
    max-width: 1160px;
    margin: auto;
    padding: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 800px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .header {
        padding: 20px;
    }

    .header-label {
        display: none;
    }

    .container {
        padding: 40px 18px;
    }

    .access-card {
        padding: 24px;
    }

    .feature {
        padding: 16px;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    h1 {
        letter-spacing: -1px;
    }
}

