/* Manubolu 3.0 — Core Layout & Typography */

body {
    font-family: var(--font-main);
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography Scale — Schaeffler-inspired restraint */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Global Layout */
main {
    flex: 1;
    position: relative;
    z-index: 1;
}

footer {
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    .grid-2 {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 20px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero .grid-2> :first-child {
        order: 2;
    }

    .hero .grid-2> :last-child {
        order: 1;
    }
}