/* -----------------------------
   General styling
----------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #332925;
    background: #F8F3F0;
}

/* -----------------------------
   Main page
----------------------------- */

.landing-page {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 25px 6%;
}

/* -----------------------------
   Header / Logo
----------------------------- */

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 30px;
}

.logo {
    display: block;
    width: 240px;
    max-height: 110px;
    object-fit: contain;
}

/* -----------------------------
   Main hero section
----------------------------- */

.hero {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 7%;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* -----------------------------
   Left content
----------------------------- */

.hero-content {
    max-width: 520px;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #B66D68;
    margin-bottom: 22px;
}

h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: normal;
    line-height: 1.12;
    margin-bottom: 24px;
    color: #332925;
    max-width: 480px;
}

.subheading {
    font-size: 17px;
    line-height: 1.8;
    color: #75635B;
    max-width: 430px;
    margin-bottom: 32px;
}

/* -----------------------------
   Buttons
----------------------------- */

.buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 340px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.2s ease;
}

.button span {
    font-size: 20px;
}

.button-amazon {
    background: #B66D68;
    color: #FFFFFF;
}

.button-amazon:hover {
    background: #985853;
}

.button-etsy {
    border: 1px solid #B66D68;
    color: #985853;
    background: transparent;
}

.button-etsy:hover {
    background: #F0E2DE;
}

/* -----------------------------
   Product image
----------------------------- */

.hero-image {
    width: calc(100% + 40px);
    max-width: 580px;
    justify-self: end;
    aspect-ratio: 1 / 0.85;
    overflow: hidden;
    border-radius: 12px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* -----------------------------
   Footer
----------------------------- */

.footer {
    text-align: center;
    padding: 20px 0 5px;
    font-size: 10px;
    letter-spacing: 3px;
    color: #A18C80;
}

/* -----------------------------
   Tablet and mobile
----------------------------- */

@media (max-width: 768px) {

    .landing-page {
        padding: 12px 4%;
        min-height: 100svh;
    }

    .header {
        padding: 8px 0 20px;
    }

    .logo {
        width: 190px;
        max-height: 90px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 25px;
        width: 100%;
    }

    .hero-content {
        width: 100%;
        max-width: 650px;
        text-align: center;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    h1 {
        font-size: 48px;
        line-height: 1.12;
        margin-bottom: 16px;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .subheading {
        font-size: 15px;
        line-height: 1.65;
        max-width: 430px;
        margin: 0 auto 22px;
    }

    .buttons {
        max-width: 440px;
        width: 100%;
        margin: 0 auto;
        gap: 12px;
    }

    .button {
        padding: 17px 22px;
        font-size: 15px;
    }

    .hero-image {
        width: min(100%, 460px);
        max-width: 460px;
        justify-self: center;
        flex-shrink: 0;
    }

    .footer {
        padding: 22px 0 10px;
        font-size: 9px;
        letter-spacing: 2px;
    }
}

/* -----------------------------
   Small mobile screens
----------------------------- */

@media (max-width: 380px) {

    .landing-page {
        padding-left: 4%;
        padding-right: 4%;
    }

    .logo {
        width: 175px;
    }

    h1 {
        font-size: 33px;
    }

    .hero {
        gap: 20px;
    }

    .subheading {
        font-size: 14px;
    }

    .hero-image {
    width: min(100%, 460px);
    max-width: 460px;
    justify-self: center;
    flex-shrink: 0;
     }
}