:root {
    --paper: #F6F3EC;
    --ink: #1E2B3C;
    --route: #C4C2B8;
    --accent: #E8551D;
    --accent-soft: #FCEADD;
    --van-body: #1E2B3C;
    --van-accent: #E8551D;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Courier New', ui-monospace, monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    overflow-x: hidden;
}

.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin: 0;
    text-align: center;
    line-height: 1;
    letter-spacing: -0.02em;
}

h1 .dot {
    color: var(--accent);
}

.subtitle {
    max-width: 32rem;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4A5568;
    margin: 1.25rem 0 3rem;
}

.scene {
    position: relative;
    width: 100%;
    max-width: 640px;
    height: 200px;
    overflow: hidden;
}

.road {
    position: absolute;
    bottom: 38px;
    left: 0;
    width: 200%;
    height: 4px;
    background-image: repeating-linear-gradient(to right,
            var(--route) 0px,
            var(--route) 24px,
            transparent 24px,
            transparent 48px);
    animation: road-move 1.4s linear infinite;
}

@keyframes road-move {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-48px);
    }
}

.van {
    position: absolute;
    bottom: 40px;
    left: -140px;
    width: 120px;
    animation:
        van-drive 5s linear infinite,
        bounce 0.6s ease-in-out infinite alternate;
}

.van-two {
    animation-delay: 2.5s, 0s;
}

.van img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes van-drive {
    from {
        left: -140px;
    }

    to {
        left: calc(100% + 140px);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-4px);
    }
}

.status {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.1rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
}

.status .blip {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.6);
        opacity: 0.4;
    }
}

footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #8A93A3;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {

    .van,
    .road,
    .wheel,
    .package,
    .status .blip {
        animation: none !important;
    }
}