*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary:  #1a56db;
  --primary-dk: #1e429f;
  --bg:       #f5f7fa;
  --border:   #e2e8f0;
  --text:     #1a202c;
  --muted:    #718096;
  --radius:   10px;
  --shadow:   0 2px 12px rgba(0,0,0,.07);
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.site-header { background: var(--primary-dk); padding: .875rem 0; position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.logo { font-size: 1.3rem; font-weight: 800; color: #fff; white-space: nowrap; }
.logo span { color: #93c5fd; }
nav { display: flex; gap: .35rem; flex-wrap: wrap; }
nav a { color: rgba(255,255,255,.85); text-decoration: none; padding: .25rem .6rem; border-radius: 5px; font-size: .82rem; white-space: nowrap; transition: background .1s; }
nav a:hover, nav a.active { background: rgba(255,255,255,.2); color: #fff; }
.hero { background: linear-gradient(135deg, var(--primary-dk), var(--primary)); color: #fff; padding: 2rem 0 1.75rem; text-align: center; }
.hero h1 { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: .5rem; }
.hero-sub { font-size: 1rem; opacity: .88; max-width: 600px; margin: 0 auto; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; padding: 2rem 0; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem; display: flex; flex-direction: column; gap: .45rem; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .15rem .5rem; border-radius: 4px; }
.badge-ng       { background: #d1fae5; color: #065f46; }
.badge-remote   { background: #dbeafe; color: #1e3a8a; }
.badge-property { background: #fef3c7; color: #92400e; }
.badge-govt     { background: #ede9fe; color: #4c1d95; }
.loc { font-size: .78rem; color: var(--muted); }
.card h2 { font-size: .95rem; font-weight: 700; line-height: 1.4; }
.card h2 a { color: var(--text); text-decoration: none; }
.card h2 a:hover { color: var(--primary); }
.price { font-size: .9rem; font-weight: 700; color: #065f46; }
.summary { font-size: .84rem; color: var(--muted); line-height: 1.5; flex: 1; }
.meta { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--muted); padding-top: .5rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: .4rem; }
.source { font-weight: 600; }
.view-btn { background: var(--primary); color: #fff; padding: .3rem .75rem; border-radius: 5px; text-decoration: none; font-weight: 600; font-size: .8rem; white-space: nowrap; }
.view-btn:hover { background: var(--primary-dk); }
.empty { text-align: center; padding: 3rem; color: var(--muted); }
.site-footer { background: var(--primary-dk); color: rgba(255,255,255,.7); padding: 1.25rem 0; margin-top: 2rem; text-align: center; font-size: .82rem; }
.site-footer a { color: #93c5fd; text-decoration: none; }
.site-footer p + p { margin-top: .35rem; }
@media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }
