* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
    font-family: system-ui, sans-serif;
    background: #fbf7ef;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}
.error-wrap {
    max-width: 28rem;
}
.error-code {
    font-family: "Instrument Serif", serif;
    font-size: clamp(4rem, 15vw, 7rem);
    font-weight: 400;
    line-height: 1;
    margin: 0;
    color: #414F39;
    letter-spacing: -0.02em;
}
.error-title {
    font-family: "Instrument Serif", serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1.5rem 0 0;
    color: #414F39;
}
.error-sub {
    font-family: "Luxurious Script", cursive;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin: 0.75rem 0 0;
    color: #414F39;
    opacity: 0.9;
}
.error-p {
    font-family: "Aboreto", serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 1.75rem 0 0;
    color: #333;
}
.error-hearts {
    font-size: 1.25rem;
    letter-spacing: 0.3em;
    margin: 1.5rem 0 0;
    color: #414F39;
    opacity: 0.6;
}
.error-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.85rem 1.75rem;
    font-family: "Instrument Serif", serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fbf7ef;
    background: #414F39;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}
.error-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
