:root {
    --font-family: 'Inter', sans-serif;
    --image-size: 1.25;
}

[data-theme='dark'] {
    --pico-background-color: rgb(40, 46, 56);
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
}

section {
    margin-bottom: 3rem;
}

nav {
    justify-content: end;
}

.text-center {
    text-align: center;
}

.hero {
    display: grid;
    /* grid-template-columns: 1fr;
    column-gap: 3rem; */
    row-gap: 2rem;
    justify-items: center;
    margin-top: 6rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.0625;
    margin-bottom: 0.5rem;
}

.highlight {
    padding: 0;
    background: #ff6f00;
    background: linear-gradient(
        0deg,
        rgba(255, 111, 0, 1) 0%,
        rgba(253, 159, 45, 1) 100%
    );
    background-clip: text;
    color: transparent;
}

.subtitle {
    margin-bottom: 0;
}

.hero h1 span {
    font-weight: 200;
}

.ebook-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.book-mockup {
    width: calc(141px * var(--image-size));
    height: calc(225px * var(--image-size));
    background-image: url('/images/book_cover.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: perspective(1000px) rotateY(-15deg);
    transition: all 0.3s ease;
}

.book-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
    scale: 1.15;
}

#book-cover article {
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
}

.features {
}

.pitch {
    margin: 0 auto;
}

footer {
    padding: 2rem 1rem;
    text-align: center;
}
footer ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

footer ul li {
    display: inline;
}

[data-theme='light'] footer img {
    filter: invert(0%) brightness(0%) saturate(100%);
}

@media screen and (min-width: 1280px) {
    .hero,
    .pitch {
        max-width: 950px;
    }
}

@media screen and (min-width: 1024px) {
    .hero,
    .pitch {
        max-width: 750px;
        margin-top: 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
