:root {
    color-scheme: light;
    --bg: #f7f7f2;
    --surface: #ffffff;
    --surface-alt: #edf3ef;
    --text: #1b2420;
    --muted: #5f6d67;
    --line: #d9e1dc;
    --brand: #1f6f5b;
    --brand-strong: #124d3f;
    --accent: #b7791f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}

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

a:hover,
a:focus-visible {
    color: var(--brand);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 16px 20px;
    background: rgba(247, 247, 242, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-strong);
}

.site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 8px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.site-nav.is-open {
    display: grid;
    gap: 10px;
}

.site-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    font-weight: 650;
    color: var(--muted);
}

.nav-toggle {
    min-width: 44px;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hero-section {
    display: grid;
    gap: 28px;
    align-items: end;
    min-height: 560px;
    padding: 72px 20px 48px;
    border-bottom: 1px solid var(--line);
}

.hero-copy,
.section-inner {
    width: min(100%, 1040px);
    margin: 0 auto;
}

.hero-copy {
    display: grid;
    gap: 18px;
}

.eyebrow,
.section-kicker {
    margin: 0;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

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

h1 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: 2.7rem;
    line-height: 1.05;
}

h2 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: 1.9rem;
    line-height: 1.2;
}

h3 {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.35;
}

.lead {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.status-panel {
    width: min(100%, 1040px);
    margin: 0 auto;
    display: grid;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    overflow: hidden;
}

.status-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

.status-row:last-child {
    border-bottom: 0;
}

.status-row span {
    color: var(--muted);
}

.status-row strong {
    color: var(--brand-strong);
}

.content-section {
    padding: 64px 20px;
    background: var(--surface);
}

.content-section.muted {
    background: var(--surface-alt);
}

.content-section p {
    max-width: 780px;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.feature-card {
    min-height: 170px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.feature-card p {
    margin-bottom: 0;
}

.cta-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.primary-action,
.form-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--brand);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
}

.primary-action:disabled {
    background: #a8b6b0;
    cursor: not-allowed;
}

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 20px;
    color: var(--muted);
    background: var(--bg);
}

.site-footer nav {
    display: flex;
    gap: 16px;
}

.legal-page,
.contact-page {
    width: min(100%, 880px);
    margin: 0 auto;
    padding: 56px 20px 80px;
}

.legal-page h1,
.contact-page h1 {
    font-size: 2rem;
}

.legal-page section {
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.legal-page dt {
    font-weight: 800;
}

.legal-page dd {
    min-height: 24px;
    margin: 0 0 12px;
    border-bottom: 1px solid var(--line);
}

.contact-form {
    display: grid;
    gap: 14px;
    max-width: 640px;
    margin-top: 24px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

@media (min-width: 760px) {
    .site-header {
        padding: 16px 40px;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 22px;
        padding: 0;
        background: transparent;
        border-bottom: 0;
    }

    .hero-section {
        min-height: 620px;
        padding: 96px 40px 56px;
    }

    h1 {
        font-size: 4.4rem;
    }

    h2 {
        font-size: 2.35rem;
    }

    .status-panel {
        grid-template-columns: repeat(3, 1fr);
    }

    .status-row {
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }

    .status-row:last-child {
        border-right: 0;
    }

    .content-section {
        padding: 84px 40px;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 28px 40px;
    }
}
