﻿/* === Design tokens (swap these after you share your sample site's palette) === */
:root {
    --brand-50: #f5f7f9;
    --brand-100: #e8eef3;
    --brand-200: #cfdce8;
    --brand-300: #a9c2d6;
    --brand-400: #7aa2c1;
    --brand-500: #4e84ac;
    --brand-600: #3a6b92;
    --brand-700: #315a7a;
    --brand-800: #294a63;
    --brand-900: #20394c;
    --accent: #a3cc3a; /* pasture green (swap to sample) */
    --accent-2: #f0b429; /* warm wheat (swap to sample) */
    --ink: #1b1b1b;
    --muted: #666;
    --bg: #ffffff;
    --bg-alt: #f7f7f7;
    --radius: 14px;
    --shadow: 0 10px 20px rgba(0,0,0,.06);
    --max: 1100px;
    --pad: 20px;
    --gap: 18px;
    --transition: 170ms ease;
    font-synthesis-weight: none;
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}

/* Layout */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad)
}

.grid {
    display: grid;
    gap: var(--gap)
}

.grid-3 {
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr))
}

/* Header / Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid #eee
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit
}

    .brand img {
        width: 36px;
        height: 36px
    }

    .brand span {
        font-weight: 700;
        letter-spacing: .2px
    }

.nav a {
    color: var(--ink);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500
}

    .nav a:hover {
        color: var(--accent)
    }

.cta {
    background: var(--accent);
    color: #000;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700
}

    .cta:hover {
        filter: brightness(.95)
    }

/* Hero */
.hero {
    padding: 70px 0 40px;
    background: linear-gradient(180deg, var(--brand-50), #fff)
}

.hero-wrap {
    display: grid;
    gap: 26px;
    align-items: center;
    grid-template-columns: 1.1fr .9fr
}

.hero h1 {
    font-size: clamp(28px, 4.2vw, 46px);
    line-height: 1.1;
    margin: 0
}

.hero p {
    color: var(--muted);
    margin: .6rem 0 1.2rem
}

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

.btn {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #ddd;
    transition: transform var(--transition)
}

    .btn:hover {
        transform: translateY(-1px)
    }

.btn-primary {
    background: var(--accent);
    border-color: transparent;
    color: #0b1
}

.hero-illustration {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow)
}

    .hero-illustration img {
        width: 100%;
        height: auto;
        display: block
    }

/* Cards */
.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px
}

    .card h3 {
        margin: .2rem 0 .3rem
    }

.kicker {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--accent-2);
    text-transform: uppercase
}

/* Sections */
.section {
    padding: 44px 0
}

    .section.alt {
        background: var(--bg-alt);
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee
    }

    .section h2 {
        font-size: clamp(22px,3.2vw,34px);
        margin: 0 0 .6rem
    }

/* Footer */
.site-footer {
    padding: 30px 0;
    border-top: 1px solid #eee;
    color: #555;
    background: #fff
}

    .site-footer .cols {
        display: grid;
        gap: 18px;
        grid-template-columns: 2fr 1fr 1fr
    }

/* Forms */
input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd
}

label {
    font-weight: 600;
    display: block;
    margin: .6rem 0 .3rem
}

button {
    padding: 12px 16px;
    border-radius: 10px;
    border: 0;
    background: var(--accent);
    font-weight: 700;
    cursor: pointer
}

    button:hover {
        filter: brightness(.95)
    }

/* Utilities */
.muted {
    color: var(--muted)
}

.center {
    text-align: center
}
