.error-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 88px 24px;
}

.error-container {
    width: min(640px, 100%);
    margin: 0 auto;
    text-align: center;
}

.error-container h1 {
    margin: 0;
    font-size: clamp(88px, 14vw, 128px);
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #b10000;
}

.error-container h2 {
    margin: 18px 0 0;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
    color: #222;
}

.error-container p {
    margin: 18px auto 0;
    max-width: 460px;
    font-size: 16px;
    line-height: 1.7;
    color: #777;
}

a.btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 14px 28px;
    border-radius: 6px;
    background: #b10000;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

a.btn-home:hover {
    background: #8f0000;
    color: #fff;
}
