.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 24px;
    text-align: center;
}

.error-page__content {
    width: min(680px, 100%);
}

.error-page__code {
    margin: 0 0 12px;
    font-size: clamp(5rem, 14vw, 9rem);
    line-height: .85;
    font-weight: 800;
    letter-spacing: -.06em;
    color: var(--icon-accent, #20b8ff);
}

.error-page h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.error-page__content > p:not(.error-page__code) {
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--text-secondary, #aeb8cc);
    line-height: 1.7;
}

.error-page__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    background: var(--icon-accent, #20b8ff);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
}

.error-page__action:hover {
    transform: translateY(-2px);
    opacity: .9;
}

@media (max-width: 640px) {
    .error-page {
        padding: 32px 20px;
    }
}
