:root {
    --page: #c8e3d9;
    --surface: #ffffff;
    --ink: #17251f;
    --muted: #69766f;
    --line: #dce4dc;
    --green: #176b48;
    --green-hover: #10583a;
    --accent: #61e6cf;
    --radius: 11px;
    --content-width: 1120px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--page);
    color: var(--ink);
    font-family: 'Trebuchet MS', sans-serif;
    line-height: 1.5;
}

a { color: inherit; }

.site-header {
    min-height: 76px;
    padding: 0 clamp(20px, 5vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}

.brand {
    color: var(--ink);
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.055em;
    white-space: nowrap;
}
.brand span { color: var(--green); }

.header-nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 160ms ease, color 160ms ease;
}
.nav-link:hover { background: var(--page); color: var(--ink); }

.page-main {
    width: min(var(--content-width), calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(32px, 5vw, 64px) 0;
    flex: 1;
}

.page-heading {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.page-intro {
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid var(--green);
    border-radius: var(--radius);
    background: var(--green);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}
.button:hover { background: var(--green-hover) }

.button--secondary {
    background: transparent;
    color: var(--green);
}
.button--secondary:hover { background: #e8f1eb; color: var(--green-hover); }

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd7ce;
    border-radius: 9px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}
input:focus, select:focus, textarea:focus {
    outline: 3px solid rgba(38, 119, 223, 0.2);
    border-color: #2677df;
}
label { display: block; margin-bottom: 6px; font-weight: 650; }

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px clamp(20px, 5vw, 72px);
    border-top: 1px solid var(--line);
    color: #89958e;
    font-size: 0.8rem;
}

button:focus-visible, a:focus-visible {
    outline: 3px solid #79b7ff;
}

@media (max-width: 640px) {
    .site-header { min-height: 68px; padding-inline: 16px; gap: 8px; }
    .brand { font-size: 1.18rem; }
    .header-nav { gap: 0; }
    .nav-link { padding: 8px 7px; font-size: 0.8rem; }
    .page-main { width: calc(100% - 32px); padding: 32px 0; }
    .site-footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
