:root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #172033;
    --muted: #647084;
    --line: #d9e0ea;
    --primary: #116149;
    --primary-dark: #0b4434;
    --accent: #d97706;
    --danger: #b42318;
    --success: #067647;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(18px, 4vw, 48px);
}

.site-header {
    background: var(--panel);
    border-bottom: 1px solid var(--line);
}

.site-footer {
    color: var(--muted);
}

.brand {
    font-weight: 700;
    text-decoration: none;
}

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

.nav a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}

.page {
    width: min(1080px, calc(100% - 36px));
    margin: 0 auto;
    padding: 42px 0;
}

.hero {
    display: grid;
    align-items: center;
    min-height: 420px;
    padding: clamp(36px, 7vw, 84px);
    color: #ffffff;
    background:
        linear-gradient(rgba(9, 39, 34, 0.82), rgba(9, 39, 34, 0.78)),
        url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1600&q=80') center / cover;
    border-radius: 8px;
}

.hero h1,
.panel h1 {
    max-width: 720px;
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: 0;
}

.hero p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: var(--primary);
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}

.button:hover {
    background: var(--primary-dark);
}

.button.secondary {
    background: #ffffff;
    color: var(--primary-dark);
}

.button-small {
    min-height: 36px;
    padding: 0 12px;
    color: #ffffff !important;
}

.features,
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.features article,
.dashboard-grid article,
.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.features h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.features p,
.panel p {
    color: var(--muted);
}

.narrow {
    max-width: 480px;
    margin: 0 auto;
}

.form {
    display: grid;
    gap: 16px;
}

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

.form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 12px;
    color: var(--text);
    font: inherit;
}

.alert {
    margin-bottom: 18px;
    border-radius: 6px;
    padding: 12px 14px;
    font-weight: 700;
}

.alert.success {
    background: #ecfdf3;
    color: var(--success);
}

.alert.error {
    background: #fef3f2;
    color: var(--danger);
}

.dashboard-grid article {
    display: grid;
    gap: 8px;
}

.dashboard-grid span {
    color: var(--muted);
}

@media (max-width: 760px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        flex-wrap: wrap;
    }

    .hero {
        min-height: 360px;
        padding: 30px;
    }

    .features,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

