:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --border: #e2e2e2;
  --accent: #1e5a8a;
  --code-bg: #f4f4f4;
  --hero-bg: #eef4fa;
  --badge-bg: #eef4fa;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --text: #e8e8e8;
    --muted: #9a9a9a;
    --border: #2c2f36;
    --accent: #6fb3e8;
    --code-bg: #1d2025;
    --hero-bg: #1a2530;
    --badge-bg: #1e2b38;
  }
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.wrap.wide { max-width: 920px; }

/* Hero -- full-bleed band behind the headline + filter bar, used on the
   homepage and /jobs.html. Kept to a flat tint + accent underline rather
   than a gradient/illustration -- still plain CSS, no image assets, but
   enough visual weight to read as a product, not a docs page. Not nested
   inside .wrap -- it's its own full-width block with its own inner
   max-width container, so .wrap's side padding never doubles up. */
.hero {
  width: 100%;
  background: var(--hero-bg);
  border-bottom: 3px solid var(--accent);
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 40px;
}
.hero h1 { font-size: 40px; max-width: 15ch; }
.hero p.tagline { font-size: 18px; max-width: 46ch; }
@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
}

header.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 8px;
}

header.site-header a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
header.site-header nav a { font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 18px; }
header.site-header nav a:hover { color: var(--accent); }

h1 { font-size: 32px; letter-spacing: -0.02em; margin-bottom: 4px; }
h2 { font-size: 20px; margin-top: 40px; border-top: 1px solid var(--border); padding-top: 28px; }
h3 { font-size: 16px; margin-top: 24px; }
p.tagline { color: var(--muted); font-size: 17px; margin-top: 0; }

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

code, pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--code-bg);
  border-radius: 6px;
}
code { padding: 2px 6px; font-size: 0.9em; }
pre { padding: 16px; overflow-x: auto; font-size: 13.5px; }
pre code { padding: 0; background: none; }

.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 14px 0;
}
.card h3 { margin-top: 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.filters input, .filters select {
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
}
.filters input { flex: 1 1 200px; }

button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 9px 16px;
  cursor: pointer;
  align-self: flex-start;
}
button:hover { opacity: 0.9; }

.job-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 12px 0;
}
.job-card h3 { margin: 0 0 4px; font-size: 16.5px; }
.job-card .meta { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.job-card .badges { display: flex; gap: 6px; flex-wrap: wrap; }

.badge {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  background: var(--badge-bg);
  border-radius: 999px;
  padding: 3px 10px;
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0;
  font-size: 14px;
}
.pagination button:disabled { opacity: 0.4; cursor: default; }

.muted-section {
  background: var(--code-bg);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 20px 0;
}
.muted-section h2 { margin-top: 0; border-top: none; padding-top: 0; }

table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }

.agent-note {
  font-size: 13.5px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 14px;
  margin: 16px 0;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
footer a { color: var(--muted); }
