:root {
    --book-bg: #ffffff;
    --book-soft-bg: #f8f6f2;
    --book-text: #292929;
    --book-muted: #555555;
    --book-heading: #222222;
    --book-accent: #986b32;
    --book-border: #e5e0d8;
    --book-button: #040f1d;
    --book-button-hover: #0e2645;
    --book-content-width: 1120px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--book-bg);
    color: var(--book-text);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

body,
main {
    overflow-wrap: break-word;
}

main {
    width: 100%;
}

main img {
    max-width: 100%;
}

main h1,
main h2,
main h3 {
    color: var(--book-heading);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
}

main h1 {
    font-size: clamp(2.5rem, 4.5vw, 3.7rem);
    letter-spacing: -0.5px;
}

main h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 24px;
}

main p {
    margin-top: 0;
    margin-bottom: 20px;
}

main p:last-child {
    margin-bottom: 0;
}

main a {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.section-container {
    width: min(var(--book-content-width), calc(100% - 48px));
    margin-inline: auto;
}

.section-container.narrow {
    max-width: 780px;
}


/* ---------- SHARED SECTION SPACING ---------- */

.book-hero,
.intro-section,
.why-section,
.feature-section,
.final-cta {
    padding: 84px 0;
}

.intro-section,
.feature-section {
    background: var(--book-bg);
}

.why-section,
.final-cta {
    background: var(--book-soft-bg);
}

.section-label,
.eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.6;
    text-transform: uppercase;
}

.section-label {
    color: var(--book-accent);
    margin-bottom: 16px;
}

.eyebrow {
    color: var(--book-accent);
    margin-bottom: 18px;
}


/* ---------- BUTTONS ---------- */

.amazon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 24px;
    margin-top: 12px;
    border: 1px solid var(--book-button);
    border-radius: 4px;
    background: var(--book-button);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.amazon-button:hover,
.amazon-button:focus-visible {
    background: var(--book-button-hover);
    border-color: var(--book-button-hover);
    color: #ffffff;
}

.amazon-button:focus-visible {
    outline: 3px solid #bca477;
    outline-offset: 4px;
}

.amazon-button .button-arrow {
    font-size: 1.15rem;
    line-height: 1;
}

.amazon-button.dark,
.amazon-button.light {
    background: var(--book-button);
    border-color: var(--book-button);
    color: #ffffff;
}

.amazon-button.dark:hover,
.amazon-button.light:hover {
    background: var(--book-button-hover);
    border-color: var(--book-button-hover);
}


/* ---------- HERO SECTION ---------- */

.book-hero {
    background: var(--book-soft-bg);
}

.hero-inner {
    width: min(var(--book-content-width), calc(100% - 48px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 64px;
}

.hero-book {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

/* Remove decorative shadow elements and image frames. */

.book-shadow {
    display: none;
}

.book-cover {
    display: block;
    width: 100%;
    max-width: 370px;
    height: auto;
    object-fit: contain;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 26px;
}

.hero-intro {
    color: var(--book-text);
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.85;
    margin-bottom: 20px;
}

.hero-description {
    color: var(--book-muted);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 26px;
}


/* ---------- INTRODUCTION ---------- */

.intro-section .section-container {
    max-width: 780px;
}

.intro-section h2 {
    max-width: 720px;
    margin-bottom: 30px;
}

.intro-text p {
    color: var(--book-text);
    font-size: 1rem;
    line-height: 1.95;
    margin-bottom: 22px;
}


/* ---------- WHY LORI WROTE THE BOOK ---------- */

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 64px;
}

.why-image {
    min-width: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Remove the decorative frame and colored accent. */

.image-frame {
    position: relative;
    width: 100%;
    max-width: 390px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.image-accent {
    display: none;
}

.image-frame img,
.why-image img {
    position: static;
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: center bottom;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.why-content {
    min-width: 0;
    max-width: 650px;
}

.why-content h2 {
    margin-bottom: 28px;
}

.why-content p:not(.section-label) {
    color: var(--book-text);
    font-size: 0.98rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.signature {
    margin-top: 26px;
    color: var(--book-heading);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-style: italic;
    font-weight: 600;
}

/* Lori's image: clean white background, no decorative frame */

.why-section {
    background: rgb(255, 252, 247);
}

.why-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 390px;
    padding: 0;
    margin: 0;
    border: none;
    background: #ffffff;
    box-shadow: none;
}

.image-accent {
    display: none;
}

.image-frame img,
.why-image img {
    position: static;
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border: none;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
}

/* ---------- WHAT YOU'LL FIND INSIDE ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 64px;
}

.feature-book {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.feature-book img {
    display: block;
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;

    /* No artificial white card or shadow. */
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.feature-content {
    min-width: 0;
    max-width: 650px;
}

.feature-content h2 {
    margin-bottom: 28px;
}

.feature-content p:not(.section-label) {
    color: var(--book-text);
    font-size: 0.98rem;
    line-height: 1.9;
    margin-bottom: 20px;
}


/* ---------- FINAL CALL TO ACTION ---------- */

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

.final-cta-inner {
    width: min(760px, calc(100% - 48px));
    margin-inline: auto;
}

.final-cta .section-label {
    margin-bottom: 18px;
}

.final-cta h2 {
    margin-bottom: 24px;
}

.final-cta h2 span {
    color: var(--book-accent);
}

.final-cta-inner > p:not(.section-label) {
    max-width: 620px;
    margin: 0 auto 24px;
    color: var(--book-muted);
    font-size: 1rem;
    line-height: 1.9;
}


/* ---------- RESPONSIVE: TABLETS ---------- */

@media (max-width: 900px) {

    .book-hero,
    .intro-section,
    .why-section,
    .feature-section,
    .final-cta {
        padding: 64px 0;
    }

    .hero-inner,
    .why-grid,
    .feature-grid {
        gap: 40px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }

    .why-grid {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    }

    .feature-grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }

    .book-cover {
        max-width: 310px;
    }

    .image-frame img,
    .why-image img {
        max-width: 340px;
    }

}


/* ---------- RESPONSIVE: MOBILE ---------- */

@media (max-width: 640px) {

    .section-container,
    .hero-inner {
        width: calc(100% - 36px);
    }

    .book-hero,
    .intro-section,
    .why-section,
    .feature-section,
    .final-cta {
        padding: 48px 0;
    }

    .hero-inner,
    .why-grid,
    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .hero-inner {
        gap: 32px;
    }

    .hero-book {
        order: 0;
    }

    .hero-content {
        max-width: none;
    }

    .book-cover {
        max-width: 260px;
    }

    main h1 {
        font-size: clamp(2.25rem, 10vw, 3rem);
    }

    main h2 {
        font-size: clamp(1.9rem, 8vw, 2.45rem);
        margin-bottom: 20px;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .hero-description,
    .intro-text p,
    .why-content p:not(.section-label),
    .feature-content p:not(.section-label) {
        font-size: 0.95rem;
        line-height: 1.85;
    }

    .hero-content h1 {
        margin-bottom: 20px;
    }

    .amazon-button {
        width: 100%;
        box-sizing: border-box;
        padding: 14px 18px;
    }

    .why-image {
        order: 0;
    }

    .image-frame img,
    .why-image img {
        width: 100%;
        max-width: 300px;
    }

    .why-content {
        max-width: none;
    }

    .feature-book {
        order: 0;
    }

    .feature-book img {
        max-width: 320px;
    }

    .final-cta-inner {
        width: calc(100% - 36px);
    }
}


/* ---------- SMALL MOBILE SCREENS ---------- */

@media (max-width: 380px) {

    .section-container,
    .hero-inner,
    .final-cta-inner {
        width: calc(100% - 28px);
    }

    .book-cover {
        max-width: 230px;
    }

    main h1 {
        font-size: 2.15rem;
    }

    main h2 {
        font-size: 1.85rem;
    }

}


/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    main a {
        transition: none;
    }
}