html {
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: #fffaf1;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.site-content {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}

.site-footer {
    flex-shrink: 0;
    padding: 1rem 0;
    color: #4a4035;
    font-size: 0.9rem;
    text-align: center;
    background: rgba(255, 250, 241, 0.94);
    border-top: 1px solid rgba(31, 27, 22, 0.1);
}

.site-footer__home {
    color: #7d5c2d;
    font-weight: 500;
    text-decoration: underline;
}

.site-footer__home:hover {
    color: #4a3418;
    text-decoration: none;
}

.logo {
    width: 20vw;
    height: auto;
}

@media (max-width: 767.98px) {
    .logo {
        width: min(56vw, 14rem);
    }
}

.name {
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: 0.85rem;
    text-transform: uppercase;
}

.email-link {
    font-weight: 400;
    color: #222;
    text-decoration: underline;
    font-size: 1rem;
}

.email-link:hover {
    text-decoration: none;
}

.instagram-link {
    font-weight: 400;
    color: #222;
    text-decoration: none;
    font-size: 1rem;
}

.instagram-link:hover {
    text-decoration: underline;
}

.product-page,
.instructions-page {
    min-height: 100%;
    color: #1f1b16;
}

.product-hero {
    background:
        radial-gradient(circle at top right, rgba(160, 119, 64, 0.18), transparent 34rem),
        linear-gradient(135deg, #fffaf1 0%, #f4e5cd 100%);
}

.eyebrow {
    color: #7d5c2d;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
}

.eyebrow a {
    color: #7d5c2d;
    text-decoration: none;
}

.eyebrow a:hover {
    text-decoration: underline;
}

.product-card,
.info-tile {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 27, 22, 0.12);
    border-radius: 1.5rem;
    box-shadow: 0 1.25rem 3rem rgba(31, 27, 22, 0.08);
}

.product-logo {
    max-width: 12rem;
    width: 50%;
    height: auto;
}

.instructions-page {
    background:
        radial-gradient(circle at bottom left, rgba(160, 119, 64, 0.14), transparent 28rem),
        #fffaf1;
}

.password-form .form-control:focus {
    border-color: #7d5c2d;
    box-shadow: 0 0 0 0.25rem rgba(125, 92, 45, 0.16);
}

.video-frame {
    overflow: hidden;
    border: 1px solid rgba(31, 27, 22, 0.14);
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 3rem rgba(31, 27, 22, 0.12);
}

.price {
    font-size: 3rem;
    font-weight: 600;
}

.not-found-page {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 36rem;
    padding: 4rem 1.25rem;
    overflow: hidden;
    color: #3f3327;
    background:
        radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.96) 0 9rem, rgba(255, 255, 255, 0) 18rem),
        linear-gradient(180deg, #f6f8fb 0%, #f9ead0 72%, #d7a45e 100%);
}

.not-found-scene {
    position: relative;
    width: min(100%, 64rem);
    min-height: 32rem;
    border: 1px solid rgba(79, 62, 41, 0.12);
    border-radius: 1.75rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 246, 230, 0.72) 52%, rgba(227, 171, 92, 0.62) 100%);
    box-shadow: 0 1.75rem 4rem rgba(67, 48, 26, 0.16);
}

.not-found-sky,
.not-found-art,
.not-found-dune,
.not-found-mascot,
.not-found-sign {
    position: absolute;
}

.not-found-sky {
    inset: 0;
}

.not-found-star {
    position: absolute;
    width: 0.42rem;
    height: 0.42rem;
    background: #c5883e;
    border-radius: 999px;
    box-shadow: 0 0 1rem rgba(197, 136, 62, 0.45);
}

.not-found-star--one {
    top: 14%;
    left: 12%;
}

.not-found-star--two {
    top: 22%;
    right: 20%;
    transform: scale(0.72);
}

.not-found-star--three {
    top: 43%;
    left: 47%;
    transform: scale(0.55);
}

.not-found-star--four {
    top: 12%;
    right: 38%;
    transform: scale(0.42);
}

.not-found-planet {
    position: absolute;
    top: 3.25rem;
    right: 5.5rem;
    width: 5rem;
    height: 5rem;
    border-radius: 999px;
    background:
        radial-gradient(circle at 32% 30%, #fff7db 0 0.6rem, transparent 0.66rem),
        linear-gradient(135deg, #e9bc74, #ba7331);
    box-shadow: inset -0.9rem -1rem 0 rgba(88, 50, 20, 0.12), 0 0 2rem rgba(186, 115, 49, 0.2);
}

.not-found-copy {
    position: relative;
    z-index: 2;
    max-width: 30rem;
    padding: 4.5rem 0 0 4.75rem;
}

.not-found-code {
    margin: 0 0 0.5rem;
    color: #7d5c2d;
    font-size: clamp(4.5rem, 12vw, 9rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.5rem;
}

.not-found-copy h1 {
    margin: 0;
    color: #24292f;
    font-size: clamp(1.65rem, 4vw, 2.9rem);
    font-weight: 600;
    letter-spacing: -0.08rem;
    line-height: 1.02;
}

.not-found-art {
    inset: 0;
    z-index: 1;
}

.not-found-dune {
    right: -8%;
    bottom: -5rem;
    left: -8%;
    height: 14rem;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.not-found-dune--back {
    bottom: -2.5rem;
    background: #e7bd79;
    transform: rotate(-2deg);
}

.not-found-dune--front {
    height: 11rem;
    background: #cf9147;
    transform: rotate(1.5deg);
}

.not-found-shadow {
    position: absolute;
    right: 11rem;
    bottom: 6.7rem;
    width: 10rem;
    height: 1.2rem;
    background: rgba(70, 43, 20, 0.17);
    border-radius: 999px;
    filter: blur(0.25rem);
}

.not-found-mascot {
    right: 13.2rem;
    bottom: 7.25rem;
    width: 7.5rem;
    height: 8rem;
}

.not-found-mascot__ear,
.not-found-mascot__face,
.not-found-mascot__body,
.not-found-mascot__tail {
    position: absolute;
    display: block;
    background: #24292f;
}

.not-found-mascot__ear {
    top: 0.2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 0.35rem 0.35rem 0.2rem 0.2rem;
    transform: rotate(45deg);
}

.not-found-mascot__ear--left {
    left: 1rem;
}

.not-found-mascot__ear--right {
    right: 1rem;
}

.not-found-mascot__face {
    top: 0.85rem;
    left: 0.95rem;
    width: 5.6rem;
    height: 4.7rem;
    border-radius: 48% 48% 44% 44%;
    box-shadow: inset 0 -0.7rem 0 rgba(255, 255, 255, 0.1);
}

.not-found-mascot__face::before,
.not-found-mascot__face::after {
    position: absolute;
    top: 2.25rem;
    width: 0.44rem;
    height: 0.44rem;
    content: "";
    background: #fffaf1;
    border-radius: 999px;
}

.not-found-mascot__face::before {
    left: 1.8rem;
}

.not-found-mascot__face::after {
    right: 1.8rem;
}

.not-found-mascot__body {
    left: 2rem;
    bottom: 0.1rem;
    width: 3.6rem;
    height: 3.9rem;
    border-radius: 45% 45% 35% 35%;
}

.not-found-mascot__tail {
    right: 0.2rem;
    bottom: 0.8rem;
    width: 3.4rem;
    height: 1.1rem;
    background: transparent;
    border: 0.7rem solid #24292f;
    border-left: 0;
    border-bottom: 0;
    border-radius: 0 999px 0 0;
    transform: rotate(18deg);
}

.not-found-sign {
    right: 7rem;
    bottom: 8.5rem;
    width: 4.5rem;
    height: 3rem;
    color: #7d5c2d;
    font-size: 1.7rem;
    font-weight: 800;
    text-align: center;
    background: #fff8e7;
    border: 0.18rem solid #7d5c2d;
    border-radius: 0.45rem;
    transform: rotate(7deg);
}

.not-found-sign::after {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0.25rem;
    height: 3.8rem;
    content: "";
    background: #7d5c2d;
    transform: translateX(-50%);
}

@media (max-width: 767.98px) {
    .not-found-page {
        padding: 1.25rem;
    }

    .not-found-scene {
        min-height: 40rem;
    }

    .not-found-copy {
        padding: 3rem 1.6rem 0;
    }

    .not-found-planet {
        top: 1.5rem;
        right: 1.5rem;
        width: 3.7rem;
        height: 3.7rem;
    }

    .not-found-shadow {
        right: 5.8rem;
        bottom: 6.2rem;
    }

    .not-found-mascot {
        right: 7.5rem;
        bottom: 6.8rem;
        transform: scale(0.88);
        transform-origin: bottom right;
    }

    .not-found-sign {
        right: 2.5rem;
        bottom: 7.75rem;
        transform: scale(0.86) rotate(7deg);
        transform-origin: bottom right;
    }
}

.error {
    width: 50vw;
    height: auto;
}
