:root {
    --bg: #f7f5ef;
    --text: #222222;
    --muted: #666666;
    --accent: #c79a2b;
    --accent-dark: #8a6918;
    --teal: #52b7b0;
    --card: #ffffff;
    --dark: #1f241d;
    --border: #ded9cd;
    --max: 1060px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(90%, var(--max));
    margin: 0 auto;
}

.narrow {
    max-width: 760px;
}

.center {
    text-align: center;
}

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f4f1e8 100%);
    padding: 54px 0;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
    align-items: center;
}

.hero-text h1 {
    margin: 0 0 10px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-text h2 {
    margin: 0 0 22px;
    font-size: clamp(1.35rem, 2.2vw, 1.95rem);
    font-weight: 500;
    color: var(--accent-dark);
}

.hero-copy {
    max-width: 650px;
    font-size: 1.08rem;
    color: #3d3d3d;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: min(100%, 320px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--teal);
}

.button {
    display: inline-block;
    margin-top: 12px;
    padding: 13px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.button.primary {
    background: var(--accent);
    color: #111111;
}

.button.secondary {
    background: var(--dark);
    color: #ffffff;
}

.section {
    padding: 56px 0;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2,
.product-copy h2,
.about-section h2,
.final-section h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    line-height: 1.12;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.learn-item {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 8px;
}

.learn-item h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.18rem;
}

.learn-item p {
    margin: 0;
    color: var(--muted);
}

.workbook-section {
    background: #ebe7dc;
}

.product-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 46px;
    align-items: center;
}

.product-image {
    display: flex;
    justify-content: center;
}

.product-image img {
    width: min(100%, 320px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.product-copy {
    max-width: 600px;
}

.product-copy p {
    font-size: 1.05rem;
    color: #3e3e3e;
}

.about-section {
    background: #ffffff;
    padding: 46px 0;
}

.about-section p {
    font-size: 1.05rem;
    color: #444444;
}

.final-section {
    background: var(--dark);
    color: #ffffff;
    padding: 56px 0;
}

.final-section p {
    color: #d9ddd5;
    font-size: 1.08rem;
}

footer {
    background: #111111;
    color: #d7d7d7;
    padding: 24px 0;
    font-size: 0.92rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.footer-content p {
    margin: 0;
}

.footer-content a {
    color: #ffffff;
}

@media (max-width: 800px) {
    .container {
        width: min(92%, var(--max));
    }

    .hero {
        padding: 48px 0;
    }

    .hero-content,
    .product-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-image img {
        width: min(78vw, 330px);
    }

    .learn-grid {
        grid-template-columns: 1fr;
    }

    .product-copy {
        max-width: none;
    }

    .product-image img {
        width: min(82vw, 350px);
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 54px 0;
    }

    .about-section {
        padding: 46px 0;
    }

    .final-section {
        padding: 54px 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.7rem;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .learn-item {
        padding: 22px;
    }
}