:root {
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0b1020;
    color: #f4f6ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 75% 15%, #172b48 0%, transparent 45%),
        #0b1020;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
}

.nav {
    height: 96px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ffffff12;
}

.logo {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span,
.hero h1 span,
.error-code span {
    color: #65e4b3;
}

.nav-link {
    font-size: 14px;
    color: #a9b5cc;
}

.nav-link:hover {
    color: white;
}

.hero {
    padding: 110px 0 100px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #65e4b3;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #65e4b3;
    box-shadow: 0 0 15px #65e4b388;
}

.hero h1 {
    margin: 28px 0;
    font-size: clamp(64px, 9vw, 112px);
    line-height: 1.02;
    letter-spacing: -6px;
}

.description {
    max-width: 520px;
    color: #a9b5cc;
    font-size: 18px;
    line-height: 1.8;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s, background 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.primary {
    color: #0b1020;
    background: #65e4b3;
}

.primary:hover {
    background: #91f5ce;
}

.secondary {
    background: #ffffff0d;
    border: 1px solid #ffffff24;
}

.secondary:hover {
    background: #ffffff1a;
}

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

.feature {
    padding: 30px;
    border: 1px solid #ffffff14;
    border-radius: 14px;
    background: #ffffff06;
}

.feature-icon {
    color: #65e4b3;
    font-size: 13px;
    font-weight: 700;
}

.feature h2 {
    margin: 24px 0 10px;
    font-size: 20px;
}

.feature p {
    margin: 0;
    color: #a9b5cc;
    font-size: 14px;
    line-height: 1.7;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 30px 0;
    border-top: 1px solid #ffffff12;
    color: #7e8ba5;
    font-size: 12px;
}

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

.error-content {
    max-width: 550px;
}

.error-code {
    margin: 10px 0;
    font-size: clamp(130px, 25vw, 240px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -15px;
}

.error-content h1 {
    margin: 0 0 16px;
    font-size: 30px;
}

.error-content p {
    color: #a9b5cc;
    line-height: 1.8;
    margin-bottom: 32px;
}

@media (max-width: 700px) {
    .nav {
        height: 76px;
    }

    .hero {
        padding: 90px 0 70px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .features {
        grid-template-columns: 1fr;
        padding-bottom: 50px;
    }

    .error-code {
        letter-spacing: -8px;
    }
}