:root {
    --primary-color: #005a96;
    --secondary-color: #ffffff;
    --border-color: #8a8f94;
    --text-color: #1a1a1a;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-color);
    background: #fff;
}

header {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

header h1 { margin: 0; font-size: 1.5rem; }

header nav { display: flex; flex-wrap: wrap; gap: 1rem; }

header nav a { color: var(--secondary-color); font-weight: bold; }

main { padding: 1.5rem; max-width: 960px; margin: 0 auto; }

a:focus, button:focus, input:focus, label:focus-within {
    outline: 3px solid #f0a500;
    outline-offset: 2px;
}

.flashes {
    list-style: none;
    padding: 0.75rem 1rem;
    margin: 0 0 1.5rem;
    background: #e8f2fa;
    border-left: 4px solid var(--primary-color);
}

.btn-primary, .btn-secondary, .btn-danger {
    display: inline-block;
    font-size: 1rem;
}

.help { margin-top: 1.5rem; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
