:root {
    --green: #287a4b;
    --green-dark: #185634;
    --green-light: #eaf5ee;
    --ink: #1e2a23;
    --muted: #6b776f;
    --border: #dfe7e1;
    --background: #f7faf8;
    --white: #ffffff;
    --shadow: 0 12px 35px rgba(25, 55, 38, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.site-header {
    height: 72px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--green);
    font-size: 1.4rem;
}

.site-header nav { display: flex; gap: 26px; color: var(--muted); }
.site-header nav a:hover { color: var(--green); }

.hero {
    min-height: 560px;
    padding: 80px 8%;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #edf8f0, #ffffff 55%);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 5.7rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.hero-text {
    max-width: 650px;
    margin: 25px 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 19px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid var(--border);
}

.button.primary { color: white; background: var(--green); border-color: var(--green); }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { background: white; }

.hero-card {
    min-height: 330px;
    padding: 40px;
    border-radius: 28px;
    background: white;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--border);
}

.hero-icon { font-size: 5rem; margin-bottom: 20px; }
.hero-card h2 { margin: 0 0 8px; font-size: 2rem; }
.hero-card p { color: var(--muted); line-height: 1.6; }

.section { padding: 90px 8%; }
.light-section { background: white; }

.section-heading { margin-bottom: 35px; }
.section-heading h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.2rem); }
.section-heading > p:last-child { color: var(--muted); }

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

.space-card {
    min-height: 230px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: white;
    box-shadow: 0 4px 18px rgba(25,55,38,.04);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: start;
    transition: transform .2s, box-shadow .2s;
}

.space-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.space-icon { font-size: 2.2rem; }
.card-label { margin: 0 0 7px; font-size: .72rem; font-weight: 800; color: var(--green); letter-spacing: .08em; }
.space-card h3 { margin: 0 0 10px; font-size: 1.55rem; }
.space-card p:not(.card-label) { margin: 0; color: var(--muted); line-height: 1.6; }
.arrow { font-size: 1.6rem; color: var(--green); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-grid article {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 18px;
}

.feature-grid span { color: var(--green); font-weight: 800; }
.feature-grid h3 { margin-bottom: 8px; }
.feature-grid p { color: var(--muted); line-height: 1.5; }

.site-footer {
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    background: white;
}

.dashboard {
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: 250px 1fr;
}

.sidebar {
    padding: 28px 18px;
    background: #173f29;
    color: white;
}

.sidebar .brand { margin: 0 12px 35px; }
.sidebar .brand-mark { background: #3c9962; }

.sidebar nav { display: grid; gap: 6px; }
.sidebar nav a, .sidebar nav button {
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    color: #d9e8de;
    background: transparent;
    border: 0;
    border-radius: 10px;
    font: inherit;
    cursor: pointer;
}
.sidebar nav a:hover, .sidebar nav button:hover, .sidebar nav .active {
    color: white;
    background: rgba(255,255,255,.11);
}

.dashboard-main { padding: 36px; min-width: 0; }
.dashboard-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}
.dashboard-top h1 { margin: 0 0 6px; font-size: 2.1rem; }
.muted { color: var(--muted); }

.avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--green);
    font-weight: 800;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.stat-card, .panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 3px 14px rgba(25,55,38,.035);
}

.stat-card { padding: 22px; }
.stat-card .label { color: var(--muted); font-size: .82rem; }
.stat-card strong { display: block; margin-top: 8px; font-size: 2rem; }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.panel { padding: 24px; }
.panel h2 { margin: 0 0 18px; font-size: 1.2rem; }

.list { display: grid; gap: 10px; }
.list-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 14px;
    border-radius: 11px;
    background: #f7faf8;
}
.list-item strong { display: block; margin-bottom: 4px; }
.list-item small { color: var(--muted); }

.badge {
    height: fit-content;
    padding: 5px 9px;
    border-radius: 99px;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: .75rem;
    font-weight: 700;
}

.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.small-button {
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 9px 12px;
    background: white;
    font-weight: 700;
    cursor: pointer;
}
.small-button:hover { border-color: var(--green); color: var(--green); }

.toast {
    position: fixed;
    left: 50%;
    bottom: 25px;
    transform: translate(-50%, 20px);
    opacity: 0;
    padding: 13px 18px;
    border-radius: 12px;
    background: #173f29;
    color: white;
    box-shadow: var(--shadow);
    pointer-events: none;
    transition: .2s;
    z-index: 100;
}
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .space-grid, .dashboard-grid { grid-template-columns: 1fr; }
    .feature-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard { grid-template-columns: 1fr; }
    .sidebar { padding: 15px; }
    .sidebar .brand { margin-bottom: 15px; }
    .sidebar nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .site-header nav { display: none; }
    .hero, .section, .dashboard-main { padding: 45px 5%; }
    .space-grid, .feature-grid, .stats-grid { grid-template-columns: 1fr; }
    .space-card { grid-template-columns: auto 1fr; }
    .arrow { display: none; }
    .site-footer { flex-direction: column; }
}
