/* Minimal starter styles. This is intentionally plain -- swap it out
   per-site rather than trying to make it generically "good design". */

:root {
    --color-text: #222;
    --color-bg: #fff;
    --color-accent: #2a5db0;
    --color-border: #ddd;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

a { color: var(--color-accent); }

/* --- Header / nav --- */

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

.site-header-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-name {
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--color-text);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.site-nav a {
    text-decoration: none;
    color: var(--color-text);
}

.site-nav a.current {
    color: var(--color-accent);
    font-weight: 600;
}

.nav-label {
    color: var(--color-text);
    cursor: default;
}

.has-dropdown { position: relative; }

.has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    list-style: none;
    margin: 4px 0 0;
    padding: 8px 0;
    min-width: 160px;
    flex-direction: column;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: flex;
}

.dropdown li { padding: 4px 16px; }

/* --- Footer --- */

.site-footer {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;
    color: #888;
    font-size: 0.85rem;
    border-top: 1px solid var(--color-border);
}
