* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", "Segoe UI", sans-serif;
    background: #f6f6f6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #111111;
}

.error-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.error-content {
    width: min(560px, 100%);
    text-align: left;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 28px;
    padding: 40px 36px;
}

.logo-container {
    margin-bottom: 28px;
}

.logo-container img {
    height: 72px;
    width: auto;
}

.error-code {
    font-size: 5.5rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.9;
    color: #A90A1E;
    margin-bottom: 12px;
}

.error-title {
    font-size: 1.8rem;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.error-message {
    color: #5c5c5c;
    font-weight: 500;
    margin-bottom: 24px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
}

.btn-primary {
    background: #A90A1E;
    color: #ffffff;
}

.btn-secondary {
    border: 1px solid #cfcfcf;
    color: #111111;
}

.helpful-links p {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.helpful-links ul {
    list-style: none;
}

.helpful-links a {
    color: #111111;
    font-weight: 600;
    text-decoration: none;
}

.helpful-links li + li {
    margin-top: 4px;
}

.error-footer {
    padding: 18px 20px 24px;
    text-align: center;
    color: #5c5c5c;
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 640px) {
    .error-content {
        padding: 28px 22px;
    }

    .error-code {
        font-size: 4.2rem;
    }
}
