:root {
    --bg: #f4f1ea;
    --surface: #ffffff;
    --text: #17202a;
    --muted: #66707a;
    --line: #d9d4ca;
    --accent: #e56b4e;
    --accent-dark: #c6533a;
    --dark: #17202a;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

.site-header {
    max-width: var(--max);
    margin: 0 auto;
    padding: 26px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--dark);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-name {
    font-weight: 700;
    letter-spacing: .3px;
}

.brand-tagline {
    color: var(--muted);
    font-size: 12px;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--muted);
}

nav a:hover {
    color: var(--text);
}

.hero {
    max-width: var(--max);
    min-height: 610px;
    margin: 0 auto;
    padding: 70px 24px 90px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(64px, 9vw, 118px);
    line-height: .88;
    letter-spacing: -6px;
}

.hero-text {
    max-width: 520px;
    margin: 34px 0 30px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-block;
    padding: 13px 21px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.button.primary {
    background: var(--dark);
    color: #fff;
}

.button.primary:hover {
    background: #2b3945;
}

.button.secondary {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.55);
}

.hero-shape {
    min-height: 430px;
    position: relative;
}

.shape-card {
    position: absolute;
    display: grid;
    place-items: center;
    width: 245px;
    height: 175px;
    border-radius: 22px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    box-shadow: 0 18px 45px rgba(23,32,42,.12);
}

.shape-one {
    top: 20px;
    right: 40px;
    background: #fff;
    transform: rotate(7deg);
}

.shape-two {
    top: 145px;
    left: 25px;
    background: var(--accent);
    color: #fff;
    transform: rotate(-8deg);
}

.shape-three {
    bottom: 20px;
    right: 65px;
    background: var(--dark);
    color: #fff;
    transform: rotate(5deg);
}

.sections {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px 110px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.section-card {
    min-height: 330px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(23,32,42,.08);
}

.section-number {
    color: #a1a6aa;
    font-size: 12px;
    font-weight: 700;
}

.section-icon {
    margin-top: 45px;
    font-size: 28px;
}

.section-card h2 {
    margin: 10px 0 8px;
    font-size: 28px;
    letter-spacing: 2px;
}

.section-card p {
    color: var(--muted);
    margin-bottom: 24px;
}

.section-card a {
    font-size: 13px;
    font-weight: 700;
}

.idea {
    max-width: 820px;
    margin: 0 auto;
    padding: 100px 24px 120px;
    text-align: center;
}

.idea h2 {
    margin: 0 auto 20px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.idea p:last-child {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
}

footer {
    border-top: 1px solid var(--line);
    max-width: var(--max);
    margin: 0 auto;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1px;
}

@media (max-width: 800px) {
    .site-header {
        align-items: flex-start;
    }

    nav {
        gap: 12px;
    }

    .brand-tagline {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 45px;
    }

    .hero h1 {
        letter-spacing: -4px;
    }

    .hero-shape {
        min-height: 360px;
    }

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

@media (max-width: 520px) {
    .site-header {
        padding: 20px 18px;
    }

    nav a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hero {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero h1 {
        font-size: 68px;
    }

    .hero-text {
        font-size: 16px;
    }

    .shape-card {
        width: 190px;
        height: 135px;
        font-size: 22px;
    }

    .shape-one {
        right: 5px;
    }

    .shape-two {
        left: 0;
    }

    .shape-three {
        right: 20px;
    }

    .sections {
        padding-left: 18px;
        padding-right: 18px;
    }

    footer {
        margin: 0 18px;
        padding-left: 0;
        padding-right: 0;
    }
}
