/*
 * Site styles. Phase 1 carries only the scaffold basics; the full port of
 * ev-display.css and the global header/footer CSS lands in phase 3.
 * New variable names use the American "color" spelling.
 */
:root {
    --color-bg: #0f172a;
    --color-accent: #3b82f6;
    --color-text: #1e293b;
    --color-muted: #94a3b8;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
}

.eev-header {
    background: var(--color-bg);
    color: #fff;
}

.eev-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eev-logo {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
}

.eev-logo span { color: var(--color-accent); }

.eev-nav-toggle { display: none; }

.eev-nav-list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eev-nav-list a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
}

.eev-nav-list a:hover { color: #fff; }

.eev-scaffold {
    max-width: 720px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.eev-footer {
    background: var(--color-bg);
    color: #e2e8f0;
    margin-top: 80px;
}

.eev-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.eev-footer-logo {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.eev-footer-logo span { color: var(--color-accent); }

.eev-footer-tagline {
    color: var(--color-muted);
    max-width: 320px;
}

.eev-footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.eev-footer-nav-list a {
    color: #e2e8f0;
    text-decoration: none;
}

.eev-footer-bottom {
    border-top: 1px solid #1e293b;
    text-align: center;
    padding: 16px 20px;
    color: var(--color-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .eev-nav-toggle {
        display: block;
        background: none;
        border: 0;
        cursor: pointer;
        padding: 8px;
    }
    .eev-nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        margin: 5px 0;
    }
    .eev-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        padding: 12px 20px 20px;
    }
    .eev-nav.is-open { display: block; }
    .eev-nav-list { flex-direction: column; gap: 12px; }
    .eev-header { position: relative; }
}
