:root {
    --ink: #17332f;
    --muted: #536661;
    --paper: #f6f5ef;
    --green: #d8ed75;
    --line: #d9dfd5
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65
}

a {
    color: inherit
}

a:focus-visible,
.menu-btn:focus-visible {
    outline: 3px solid #768c27;
    outline-offset: 5px
}

.wrap {
    max-width: 1160px;
    margin: auto;
    padding: 0 28px
}

header {
    border-bottom: 1px solid var(--line)
}

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

.brand {
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    flex-shrink: 0
}

.brand figure {
    margin: 0;
    display: flex;
    align-items: center
}

.brand img {
    display: block;
    height: 62px;
    width: auto
}

.brand span {
    color: #778c28
}

nav {
    display: flex;
    gap: 26px;
    align-items: center
}

nav a {
    font-size: 14px;
    text-decoration: none
}

.menu-btn {
    display: none
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.06;
    letter-spacing: -3px;
    max-width: 850px;
    margin-bottom: 28px
}

h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    max-width: 760px;
    margin-bottom: 22px
}

h3 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 14px
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px
}

.hero {
    padding-block: 90px 68px
}

.hero--compact {
    padding-block: 90px 40px
}

.hero--compact h1 {
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -2.5px
}

.lead {
    font-size: 20px;
    max-width: 700px;
    color: var(--muted);
    margin-bottom: 30px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    background: var(--green);
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4
}

.btn:hover {
    background: #c8e15d
}

.actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap
}

.small {
    font-size: 14px;
    color: var(--muted)
}

.hero-bottom {
    margin-top: 58px;
    border-top: 1px solid var(--line);
    padding-top: 23px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    color: var(--muted)
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.stat-num {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--ink)
}

.stat-label {
    max-width: 260px
}

section {
    padding: 76px 0
}

.intro {
    max-width: 730px;
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 34px
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 10px
}

.card p {
    color: var(--muted);
    margin-bottom: 0
}

.num {
    display: block;
    color: #7c8c50;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 22px
}

.dark {
    background: var(--ink);
    color: var(--paper)
}

.dark .intro,
.dark p {
    color: #c4d2cb
}

.dark .eyebrow {
    color: var(--green)
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    margin-top: 44px
}

.steps article {
    border-top: 1px solid #536963;
    padding-top: 24px
}

.steps .num {
    color: var(--green)
}

.project-label {
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #6b7d32;
    margin-bottom: 15px;
    font-weight: 700
}

.result {
    padding-top: 18px;
    margin-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 14px
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start
}

.about p {
    color: var(--muted);
    font-size: 18px
}

.quotes {
    background: #e9eddf
}

.quote {
    margin: 0;
    background: transparent
}

.quote blockquote {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.75
}

.quote figcaption {
    font-size: 14px;
    font-weight: 700
}

.quote figcaption span {
    display: block;
    color: var(--muted);
    font-weight: 400
}

.posts {
    border-bottom: 1px solid var(--line)
}

.post {
    border-top: 1px solid var(--line);
    padding: 26px 0
}

.post time {
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #6b7d32;
    font-weight: 700
}

.post h3 {
    margin: 12px 0 8px
}

.post h3 a {
    text-decoration: none
}

.post h3 a:hover {
    text-decoration: underline
}

.post p {
    color: var(--muted);
    margin-bottom: 0;
    max-width: 680px
}

.post-body {
    max-width: 720px;
    padding-block: 70px 90px
}

.post-body time {
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #6b7d32;
    font-weight: 700;
    display: block;
    margin-bottom: 20px
}

.post-body h1 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0 0 26px
}

.post-body h2 {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 40px 0 14px
}

.post-body p,
.post-body li {
    font-size: 18px;
    color: var(--muted)
}

.post-body p {
    margin: 0 0 20px
}

.post-body ul,
.post-body ol {
    color: var(--muted);
    padding-left: 24px;
    margin: 0 0 20px
}

.post-body li {
    margin-bottom: 8px
}

.post-body strong {
    color: var(--ink)
}

.back {
    display: inline-block;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    width: 100%;
    font-size: 14px;
    text-decoration: none;
    color: var(--muted)
}

.back:hover {
    color: var(--ink)
}

.contact {
    padding: 80px 0
}

.contact-inner {
    background: var(--green);
    padding: 50px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 36px;
    align-items: center
}

.contact h2 {
    margin-bottom: 18px
}

.contact p {
    max-width: 650px;
    margin-bottom: 0
}

.contact .btn {
    background: var(--ink);
    color: white
}

.contact-side {
    text-align: right
}

.contact-side .small {
    display: block;
    margin-top: 14px
}

footer {
    border-top: 1px solid var(--line);
    padding: 26px 0
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted)
}

@media(max-width:700px) {
    .wrap {
        padding: 0 22px
    }

    header {
        position: relative
    }

    .nav {
        min-height: 72px
    }

    .brand img {
        height: 46px
    }

    .brand {
        font-size: 21px
    }

    .menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        margin-right: -11px;
        background: none;
        border: 0;
        cursor: pointer
    }

    .menu-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
        transition: transform .2s ease, opacity .2s ease
    }

    .menu-btn[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .menu-btn[aria-expanded="true"] span:nth-child(2) {
        opacity: 0
    }

    .menu-btn[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 6px 22px 14px;
        z-index: 10
    }

    nav.open {
        display: flex
    }

    nav a {
        font-size: 17px;
        padding: 15px 0;
        border-top: 1px solid var(--line)
    }

    nav a:first-child {
        border-top: 0
    }

    .hero {
        padding-block: 58px 42px
    }

    .hero--compact {
        padding-block: 58px 30px
    }

    h1 {
        letter-spacing: -1.8px
    }

    .lead {
        font-size: 18px
    }

    .hero-bottom {
        flex-direction: column;
        gap: 18px;
        margin-top: 38px
    }

    section {
        padding: 52px 0
    }

    .grid,
    .steps,
    .about,
    .contact-inner {
        grid-template-columns: 1fr
    }

    .card {
        padding: 24px
    }

    .steps,
    .about {
        gap: 24px
    }

    .contact-inner {
        padding: 28px
    }

    .contact-side {
        text-align: left
    }

    .contact {
        padding: 48px 0
    }

    .post-body {
        padding-block: 48px 64px
    }

    .post-body h1 {
        letter-spacing: -1.4px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}
