/* Big World Jobs. Mobile first. One column of job cards, the way people scan a list on a phone. */
:root {
  --cobalt: #2457F5;
  --cobalt-dark: #1a44c4;
  --ink: #111B33;
  --offwhite: #F6F7F2;
  --sky: #DCE6FF;
  --citrus: #D9F279;
  --line: #e3e5e9;
  --muted: #5b6275;
  --card: #ffffff;
  --radius: 12px;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--offwhite); color: var(--ink); font: 16px/1.5 var(--font-body); }
a { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.35rem; margin-top: 1.6em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }

/* header */
.site-head { background: #fff; border-bottom: 1px solid var(--line); }
.site-head .row { height: 56px; }
.logo { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; line-height: 1; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 28px; height: 28px; color: var(--cobalt); }
.wordmark b { color: var(--cobalt); font-weight: 800; }
.site-nav { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: .92rem; padding: 10px 10px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 8px; white-space: nowrap; }
.site-nav a[aria-current="page"], .site-nav a:hover { background: var(--sky); text-decoration: none; }
@media (max-width: 640px) { .site-nav a { padding: 10px 8px; font-size: .88rem; } .wordmark { display: none; } .site-nav { mask-image: linear-gradient(90deg, #000 88%, transparent); } }

/* hero + search */
.hero { padding: 28px 0 8px; }
.hero h1 { font-size: 2rem; }
@media (min-width: 640px) { .hero h1 { font-size: 2.6rem; } }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 40ch; }
.search { display: flex; gap: 8px; margin: 12px 0 8px; }
.search input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.search button, .btn { font: inherit; font-weight: 600; padding: 12px 18px; border: 0; border-radius: 10px; background: var(--cobalt); color: #fff; cursor: pointer; white-space: nowrap; }
.search button:hover, .btn:hover { background: var(--cobalt-dark); text-decoration: none; }
.btn.secondary { background: var(--sky); color: var(--ink); }

/* mode tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 16px; }
.tabs a { padding: 9px 12px; min-height: 40px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 500; }
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs a:hover { text-decoration: none; border-color: var(--ink); }
.tabs .count { color: var(--muted); font-weight: 400; margin-left: 4px; }
.tabs a[aria-current="page"] .count { color: #cdd6ff; }

/* breadcrumbs, facts, category chips */
.crumbs { font-size: .85rem; color: var(--muted); padding: 12px 0 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-current] { color: var(--ink); }
.facts-line { font-size: .92rem; color: var(--muted); margin-top: 4px; }
.tabs.cats a { background: #fff; }
.more-links { font-size: .92rem; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 12px 0 8px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.3rem; }
.stat span { color: var(--muted); font-size: .85rem; }
.co-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.co-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.co-list .sub { color: var(--muted); font-size: .85rem; }

/* filters */
.filters-box { margin: 4px 0 12px; }
.filters-box summary { cursor: pointer; font-weight: 600; padding: 8px 0; color: var(--ink); list-style: none; }
.filters-box summary::before { content: "\25B8"; display: inline-block; margin-right: 6px; transition: transform .15s; }
.filters-box[open] summary::before { transform: rotate(90deg); }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--muted); }
.filters label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: .92rem; align-self: end; min-height: 40px; }
.filters select, .filters input[type="number"] { font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); min-height: 40px; width: 100%; }
.filters .pair { display: grid; grid-template-columns: 1fr 88px; gap: 6px; }
.filters .btn { align-self: end; }
.filters .clear { align-self: center; font-size: .92rem; }
@media (min-width: 640px) { .filters { grid-template-columns: repeat(3, 1fr); } }

/* job list */
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.job { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px 12px 16px; }
.job::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--sky); }
.job.picked::before { background: var(--citrus); }
.job:hover { border-color: #c9cfdb; }
.job .t { display: block; padding-right: 44px; font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; color: var(--ink); line-height: 1.25; overflow-wrap: anywhere; }
.job .t::after { content: ""; position: absolute; inset: 0; }  /* whole card clickable */
.job .c { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.job .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: .8rem; padding: 3px 8px; border-radius: 999px; background: var(--offwhite); border: 1px solid var(--line); color: var(--ink); }
.chip.mode-remote { background: var(--sky); border-color: transparent; }
.chip.mode-hybrid { background: #eef3ff; border-color: transparent; }
.chip.mode-onsite { background: #fff; }
.chip.salary { font-variant-numeric: tabular-nums; }
.chip.picked { background: var(--citrus); border-color: transparent; font-weight: 600; }
.job .age { position: absolute; right: 14px; top: 12px; color: var(--muted); font-size: .8rem; }

/* job page */
.job-head { padding: 20px 0 6px; }
.job-head .c { font-size: 1.05rem; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.apply-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 0; margin-top: 24px; }
.apply-bar .wrap { display: flex; flex-direction: column; gap: 8px; }
.apply-bar .btn { text-align: center; }
.apply-bar small { color: var(--muted); font-size: .82rem; }
@media (min-width: 640px) { .apply-bar .wrap { flex-direction: row; align-items: center; justify-content: space-between; } .apply-bar .btn { flex-shrink: 0; } }
.desc { max-width: 68ch; }
.desc h2, .desc h3 { margin-top: 1.4em; font-size: 1.1rem; }
.desc ul { padding-left: 1.2em; }
.notice { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--citrus); padding: 10px 14px; border-radius: 10px; font-size: .92rem; }
.source { color: var(--muted); font-size: .85rem; }
.hire-note { border-left-color: var(--cobalt); margin-top: 16px; }

/* misc */
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px 16px; text-align: center; color: var(--muted); }
.pager { display: flex; justify-content: space-between; margin: 20px 0; }
.grid-links { columns: 2; column-gap: 24px; padding: 0; list-style: none; }
.grid-links li { break-inside: avoid; padding: 4px 0; }
@media (min-width: 640px) { .grid-links { columns: 3; } }

/* footer */
.site-foot { margin-top: 48px; border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: .9rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 10px; }
.site-foot a { color: var(--ink); }
.foot-promise { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.foot-legal { font-size: .82rem; }
