/* ===== ROOT & GLOBAL STYLES ===== */
html, body {
    margin: 0;
    padding: 0;
    background-color: #767576;
    color: #fcf8ed;
    font-family: 'DM Sans', 'TT Hoves', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

/* ===== TYPOGRAPHY ===== */
/* Title: Noto Serif at ~87px desktop, ~20px mobile (375px) */
h1 {
    font-family: 'Noto Serif Display', 'Noto Serif', Georgia, serif;
    font-size: clamp(20px, 6.5vw, 87px);
    font-weight: 500;
    margin: 0 0 clamp(0.75rem, 1.5vw, 2rem) 0;
    line-height: 1.15;
}

/* Section headings: Noto Serif at ~36px desktop */
h2 {
    font-family: 'EB Garamond', serif;
    font-size: clamp(18px, 2.8vw, 36px);
    font-weight: 500;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

/* Body text: DM Sans at ~25px desktop, ~13px mobile */
p {
    font-size: clamp(13px, 1.9vw, 25px);
    margin: 0 0 clamp(0.75rem, 1.2vw, 1.5rem) 0;
    line-height: 1.65;
}

/* ===== MAIN CONTAINER ===== */
main {
    max-width: 1366px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 4rem) clamp(1rem, 4vw, 5rem);
}

/* ===== SECTION STYLES ===== */
section {
    margin-bottom: clamp(2rem, 3vw, 4rem);
}

/* ===== HERO SECTION ===== */
/* Always 2 columns: text left, image right */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 4vw, 5rem);
    align-items: center;
    padding: clamp(1rem, 2.5vw, 3rem) 0 clamp(1.5rem, 3.5vw, 5rem) 0;
    margin-bottom: 0;
    border-top: 1px solid rgba(252, 248, 237, 0.4);
}

.hero-text h1 {
    margin-bottom: clamp(0.75rem, 1.5vw, 2rem);
}

.hero-text p {
    margin-bottom: clamp(0.75rem, 1.5vw, 2rem);
}

.bold-text {
    font-weight: 700;
}

.hero-cta-label {
    font-size: clamp(14px, 2vw, 27px);
    margin-bottom: clamp(0.5rem, 1vw, 1.25rem);
}

.hero-image {
    padding-left: clamp(10px, 2vw, 30px);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fcf8ed;
    color: #333;
    padding: clamp(0.4rem, 0.6vw, 0.75rem) clamp(1.25rem, 2vw, 2.5rem);
    border-radius: 50px;
    text-decoration: none;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(12px, 1.3vw, 17px);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: clamp(32px, 3.8vw, 50px);
    width: fit-content;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section h2 {
    text-align: left;
    margin-bottom: 2.5rem;
    font-size: clamp(18px, 2.3vw, 29px);
}

.testimonials-grid {
    columns: 2;
    column-gap: 3rem;
}

.testimonial {
    break-inside: avoid;
    margin-bottom: 3rem;
}


/* Quote text: System Palatino (matches Canva original) */
.testimonial-text {
    font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', 'EB Garamond', serif;
    font-size: clamp(15px, 1.7vw, 22px);
    font-style: normal;
    font-weight: 400;
    margin-bottom: .3rem;
    line-height: 1.6;
}

.testimonial-text + .testimonial-text {
    margin-top: 0.6em; 
}

.testimonial-attribution {
    font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', 'EB Garamond', serif;
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 700;
}

.attribution-name {
    color: #fcf8ed;
    font-weight: 700;
}

.attribution-title {
    color: #fcf8ed;
    font-weight: 700;
}

/* ===== BOTTOM CTA SECTION ===== */
.divider {
    width: 180px;
    height: 2px;
    background-color: #fcf8ed;
    margin: clamp(2rem, 3vw, 4rem) 0;
}

.bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 3vw, 4rem);
}

.bottom-block {
    display: flex;
    flex-direction: column;
}

.bottom-block h2 {
    margin-bottom: 1.5rem;
}

.bottom-block p {
    margin-bottom: 2rem;
    font-size: clamp(14px, 1.8vw, 23px);
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablet and below: single-column testimonials and bottom CTA */
@media (max-width: 768px) {
    .testimonials-grid {
        columns: 1;
    }

    .testimonial {
        margin-bottom: 1.25rem;
    }

    .bottom-section {
        grid-template-columns: 1fr;
    }
}

/* Mobile: bigger book image, smaller hero text */
@media (max-width: 600px) {
    .hero {
        grid-template-columns: 1fr 1.2fr;
    }

    h1 {
        font-size: clamp(16px, 5vw, 30px);
    }

    .hero-text p {
        font-size: clamp(11px, 2.8vw, 16px);
    }

    .hero-cta-label {
        font-size: clamp(11px, 2.8vw, 16px);
    }
}

/* Small mobile: full-width buttons */
@media (max-width: 400px) {
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* thinner body text on desktop */
@media (min-width: 769px) {
    p {
        font-weight: 300;
    }
}
