/**
 * GG AND YAMART LLC
 * PROPRIETARY AND CONFIDENTIAL
 *
 * Yoruba Language Platform
 *
 * Copyright (c) 2026 GG and Yamart LLC.
 * All rights reserved.
 */

:root {
    --brown-900: #3a140b;
    --brown-800: #5a2111;
    --brown-700: #7a2e19;
    --cream: #fffdf9;
    --sand: #f4efe6;
    --text: #2c221e;
    --muted: #6e5c54;
    --border: rgba(44,34,30,.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(
        1120px,
        calc(100% - 40px)
    );

    margin-inline: auto;
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255,253,249,.96);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: var(--brown-900);
    font-weight: 900;
    letter-spacing: -.03em;
}

.nav nav {
    display: flex;
    gap: 24px;
    color: var(--muted);
    font-size: .94rem;
    font-weight: 700;
}

.hero {
    padding: 90px 0;
    background:
        radial-gradient(
            circle at top right,
            #f4d8c8,
            transparent 38%
        ),
        var(--cream);
}

.hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(320px, .8fr);
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    color: var(--brown-700);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .73rem;
    font-weight: 900;
}

h1,
h2,
h3 {
    color: var(--brown-900);
    line-height: 1.08;
    letter-spacing: -.035em;
}

h1 {
    max-width: 760px;
    margin: 16px 0 24px;
    font-size: clamp(
        3rem,
        7vw,
        5.8rem
    );
}

h2 {
    font-size: clamp(
        2rem,
        4vw,
        3.4rem
    );
}

.hero-copy {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.15rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 800;
    border: 1px solid var(--border);
}

.button.primary {
    background: var(--brown-700);
    color: white;
}

.button.secondary {
    background: white;
}

.learning-card {
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: white;
    box-shadow:
        0 25px 70px rgba(58,20,11,.10);
}

.word {
    margin: 30px 0 10px;
    color: var(--brown-700);
    font-size: 2.5rem;
    font-weight: 900;
}

.card-divider {
    height: 1px;
    margin: 28px 0;
    background: var(--border);
}

.section {
    padding: 90px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: white;
}

.feature p {
    color: var(--muted);
}

.site-footer {
    padding: 35px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: .82rem;
}

.error-page {
    min-height: 70vh;
    display: grid;
    place-content: center;
    justify-items: start;
}

@media (max-width: 760px) {

    .nav {
        align-items: flex-start;
        padding: 18px 0;
        flex-direction: column;
    }

    .nav nav {
        gap: 15px;
        flex-wrap: wrap;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 3.2rem;
    }
}

.classes-section h1 {
    max-width: 850px;
}

.class-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.class-card h2 {
    margin-bottom: 16px;
}

.class-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 4px;
}

.class-price strong {
    color: var(--brown-700);
    font-size: 1.8rem;
    font-weight: 900;
}

.class-price span {
    color: var(--muted);
    font-size: .9rem;
}

.class-meta {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}

.class-features {
    margin: 20px 0 28px;
    padding-left: 22px;
}

.class-features li {
    margin-bottom: 10px;
    color: var(--muted);
}

.class-actions {
    margin-top: auto;
    padding-top: 20px;
}

.class-actions .button {
    width: 100%;
}

