/* Plain, generic job-board look. Calm colours; nothing relies on colour alone. */
:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1f2933;
  --muted: #5b6673;
  --line: #dde1e6;
  --accent: #1e3a8a;
  --accent-hover: #172e6e;
  --soft: #eef1f7;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 1.2rem 0 .5rem; }
h2 { font-size: 1.25rem; margin: 1.6rem 0 .7rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 46rem; margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--text); letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo.small { font-size: 1.05rem; margin: 0 0 .3rem; }
.site-header nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-header nav a { color: var(--text); padding: 8px 10px; border-radius: 6px; font-size: .95rem; }
.site-header nav a:hover { background: var(--soft); text-decoration: none; }
.site-header nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }

/* Hero + search */
.hero { padding: 28px 0 8px; }
.hero h1 { font-size: 2.2rem; max-width: 40rem; }
.search { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 10px; }
.search input {
  flex: 1 1 260px; padding: 12px 14px; font-size: 1rem;
  border: 1px solid #b9c0c9; border-radius: var(--radius); background: var(--card); color: var(--text);
}
.search input:focus, select:focus { outline: 3px solid #93a8d8; outline-offset: 1px; border-color: var(--accent); }
.search button, .button {
  display: inline-block; padding: 12px 20px; font-size: 1rem; font-weight: 700;
  background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); cursor: pointer;
}
.search button:hover, .button:hover { background: var(--accent-hover); text-decoration: none; }
.button.secondary { background: var(--card); color: var(--accent); border: 1px solid var(--accent); }
.button[disabled] { opacity: .65; cursor: default; }
.quick { color: var(--muted); font-size: .95rem; }
.quick a { margin: 0 10px 0 4px; white-space: nowrap; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.side { position: sticky; top: 16px; margin-top: 1.6rem; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.box p { margin: .3rem 0 .8rem; }
.box-head { font-weight: 700; margin: 0 0 .5rem !important; }
.band { margin: 26px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Job list */
.jobs { list-style: none; padding: 0; margin: 0; }
.job {
  display: flex; justify-content: space-between; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 8px;
}
.job:hover { border-color: #9aa5b4; }
.job-title { font-weight: 700; font-size: 1.04rem; color: var(--text); }
.job-title:hover { color: var(--accent); }
.job-meta { color: var(--muted); font-size: .93rem; margin-top: 2px; }
.job-meta .company { color: var(--muted); font-weight: 600; }
.sep { margin: 0 6px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; justify-content: flex-end; max-width: 300px; }
.tag { font-size: .78rem; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); white-space: nowrap; }
.tag-new { font-weight: 700; border-color: var(--accent); color: var(--accent); background: var(--card); }
.posted { font-size: .8rem; color: var(--muted); width: 100%; text-align: right; }
.count { color: var(--muted); margin: .4rem 0 1rem; }
.more { margin: 18px 0; }

/* Lists of links with counts */
.count-list { list-style: none; padding: 0; margin: 0; columns: 1; }
.band .count-list, .two-col .count-list { columns: 3 200px; column-gap: 28px; }
.count-list li { padding: 3px 0; break-inside: avoid; display: flex; justify-content: space-between; gap: 10px; }
.letters a { display: inline-block; padding: 2px 6px; font-weight: 700; }
.crumbs { font-size: .9rem; color: var(--muted); margin-top: 18px; }
.crumbs span { color: var(--muted); }

/* Search page filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 4px 0 14px; }
.filters label { font-size: .93rem; color: var(--muted); }
.filters select { margin-left: 4px; padding: 7px 8px; font-size: .95rem; border: 1px solid #b9c0c9; border-radius: 6px; background: var(--card); color: var(--text); }
.filters .check input { margin-right: 4px; transform: translateY(1px); }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0 30px; }
.pager button, .pager span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); font-size: .95rem; }
.pager button { cursor: pointer; color: var(--accent); }
.pager [aria-current] { font-weight: 700; border-color: var(--accent); }

/* Pricing */
.notice { background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: 6px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 22px 0 40px; max-width: 760px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plan.featured { border: 2px solid var(--accent); }
.plan h2 { margin-top: 0; }
.price { font-size: 2rem; font-weight: 800; margin: 0 0 10px; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan ul { padding-left: 20px; margin-bottom: 20px; }
.prose { max-width: 42rem; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.how-grid p { margin: .3rem 0; }

/* Footer */
.site-footer { margin-top: 40px; background: var(--card); border-top: 1px solid var(--line); padding: 26px 0 18px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 20px; }
.footer-grid a { display: block; color: var(--text); padding: 2px 0; }
.footer-head { font-weight: 700; margin: 0 0 .4rem; }
.copyright { margin-top: 18px; font-size: .85rem; }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .footer-grid, .how-grid, .two-col { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.7rem; }
}
@media (max-width: 560px) {
  .job { flex-direction: column; gap: 8px; }
  .job-tags { justify-content: flex-start; max-width: none; }
  .posted { text-align: left; }
  .footer-grid, .how-grid, .two-col { grid-template-columns: 1fr; }
}
