:root {
    --brand-blue: #0A369D;
    --brand-green: #2E8B57;
    --bg-color: #F8F9FA;
    --card-bg: #FFFFFF;
    --text-color: #333333;
    --muted: #6B7280;
    --rule: #EAEAEA;
}

* { box-sizing: border-box; }

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

.brand-text {
    background: linear-gradient(to right, var(--brand-blue) 40%, var(--brand-green) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── nav ─────────────────────────────────────────────── */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    max-width: 980px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-nav .logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.site-nav .links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-nav .links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.site-nav .links a:hover,
.site-nav .links a.active {
    border-bottom-color: var(--brand-green);
}

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

/* ── footer ──────────────────────────────────────────── */
.site-footer {
    max-width: 980px;
    margin: 3rem auto 0;
    padding: 1.5rem;
    border-top: 1px solid var(--rule);
    color: var(--muted);
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-footer a { color: var(--brand-blue); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ── generic components ──────────────────────────────── */
.card {
    background: var(--card-bg);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 1.5rem;
}

.btn {
    display: inline-block;
    background: var(--brand-blue);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover { opacity: 0.92; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

h1 { letter-spacing: -0.03em; }

/* Hidden from sighted users and most bots alike without `display:none`,
   which some scraping bots skip past when filling forms. */
.hp-field {
    position: absolute;
    left: -5000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
