:root {
  --bg: #fbfbf9; --panel: #ffffff; --text: #1c1c1a; --muted: #6a6a64; --line: #e7e6e1;
  --accent: #1f6feb; --accent-soft: #eaf1fe; --apply: #16a34a;
  --ww: #15803d; --ww-bg: #e4f5ea; --rg: #1f6feb; --rg-bg: #eaf1fe; --ct: #8a5a00; --ct-bg: #fbf1dc; --rm: #6a6a64; --rm-bg: #f0efeb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131312; --panel: #1b1b1a; --text: #ecebe6; --muted: #9c9b95; --line: #2c2c29;
    --accent: #7aa7f5; --accent-soft: #1d2840; --apply: #22c55e;
    --ww: #5fd08f; --ww-bg: #163322; --rg: #7aa7f5; --rg-bg: #1d2840; --ct: #e6b65c; --ct-bg: #3a2d14; --rm: #b0afa8; --rm-bg: #262624;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px 48px; }

header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--panel); flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -0.02em; }
header.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
header.site nav a { text-decoration: none; color: var(--muted); }
header.site nav a:hover { color: var(--text); }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 20px; text-align: center; }

.hero { text-align: center; padding: 44px 0 18px; }
.hero h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.03em; }
.head { padding: 28px 0 10px; }
.head h1 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 6px; letter-spacing: -0.02em; }
.intro { color: var(--muted); margin: 0 auto 12px; max-width: 640px; }
.hero .intro { font-size: 17px; }
.head .intro { margin-left: 0; font-size: 16px; }
.stats { color: var(--muted); margin: 0 0 18px; }
.stats b { color: var(--text); }
.crumbs { font-size: 13px; color: var(--muted); padding-top: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--text); }

.where { display: inline-flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; flex-wrap: wrap; justify-content: center; }
.where label { font-weight: 600; }
select, input[type=email] { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 18px 0 8px; }
.chip { text-decoration: none; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: 14px; }
.chip span { color: var(--muted); font-size: 12px; }
.chip:hover { border-color: var(--muted); }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.count { color: var(--muted); font-size: 13px; margin: 18px 0 0; }

.bucket { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 26px 0 8px; }
ul.jobs { list-style: none; margin: 0; padding: 0; }
.job { position: relative; display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s; }
.job:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgb(0 0 0 / .06); }
.job .main { flex: 1; min-width: 0; }
.job .title { font-weight: 650; font-size: 16.5px; line-height: 1.35; margin: 0; letter-spacing: -0.005em; }
.job .title a { text-decoration: none; }
.job .title a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.job:hover .title a { color: var(--accent); }
.job .meta, .job .tags, .job .more { position: relative; z-index: 1; }
.job .meta a:hover { text-decoration: underline; }
.tag.sal { background: var(--ww-bg); color: var(--ww); border: 0; font-weight: 600; }
.job .meta { color: var(--muted); font-size: 14px; }
.job .meta a { text-decoration: none; }
.job time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #fff; background: hsl(var(--h) 55% 45%); }
.tags, .facts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag, .loc { font-size: 12.5px; padding: 2px 9px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.loc { border: 0; font-weight: 600; }
.loc-worldwide { background: var(--ww-bg); color: var(--ww); }
.loc-regional { background: var(--rg-bg); color: var(--rg); }
.loc-country { background: var(--ct-bg); color: var(--ct); }
.loc-remote { background: var(--rm-bg); color: var(--rm); }
.more { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--accent); text-decoration: none; }
.more:hover { text-decoration: underline; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

.pager { display: flex; justify-content: space-between; align-items: center; margin: 22px 0; color: var(--muted); }
.pager a { color: var(--accent); text-decoration: none; }

.newsletter { margin-top: 36px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: center; }
.newsletter h2 { margin: 0 0 4px; font-size: 20px; }
.newsletter p { color: var(--muted); margin: 0 0 14px; }
.newsletter form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
button, .apply { font: inherit; font-weight: 650; border: 0; border-radius: 10px; padding: 9px 18px; background: var(--accent); color: #fff; cursor: pointer; text-decoration: none; }

.wrap.wide { max-width: 1140px; }
.job-head { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.job-head h1 { margin: 0; font-size: clamp(24px, 4.2vw, 36px); line-height: 1.15; letter-spacing: -0.025em; }
.job-head .company { margin: 6px 0 0; color: var(--muted); }
.job-head .company a { color: var(--accent); text-decoration: none; font-weight: 600; }
.job-head .avatar { width: 60px; height: 60px; font-size: 26px; border-radius: 14px; }
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; margin-top: 24px; }
.job-body > h2 { font-size: 22px; margin: 0 0 4px; letter-spacing: -0.01em; }
.job-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h2, .card h3 { font-size: 15px; margin: 0 0 12px; letter-spacing: 0; }
.card h2:not(:first-child), .card h3:not(:first-child) { margin-top: 18px; }
.card .apply { display: block; text-align: center; margin: 0; }
.card .closed { margin: 0; }
.about { display: grid; gap: 12px; margin: 0; }
.about dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.about dd { margin: 2px 0 0; font-weight: 550; }
.about dd small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.45; }
.about dt:not(:first-child) { border-top: 1px solid var(--line); padding-top: 12px; }
.company-card { display: flex; gap: 12px; align-items: center; }
.company-card div { display: flex; flex-direction: column; min-width: 0; }
.company-card a { color: var(--accent); text-decoration: none; font-size: 14px; }
.company-card a:hover { text-decoration: underline; }
.apply { display: inline-block; background: var(--apply); font-size: 16px; padding: 12px 22px; }
.apply:hover { filter: brightness(1.08); }
.apply-top { display: none; }
.apply-end { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.note { background: var(--ct-bg); color: var(--ct); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 0 0 18px; }
.closed { background: var(--rm-bg); border-radius: 10px; padding: 12px 16px; font-weight: 600; }
.description { overflow-wrap: anywhere; font-size: 16px; line-height: 1.7; }
.description h3 { font-size: 18px; margin: 30px 0 8px; letter-spacing: -0.01em; }
.description p { margin: 0 0 14px; }
.description ul, .description ol { margin: 0 0 18px; padding-left: 22px; }
.description li { margin-bottom: 8px; padding-left: 4px; }
.description li::marker { color: var(--muted); }
.description strong { font-weight: 650; }
.job-page section { margin-top: 44px; }
.job-page section h2 { font-size: 20px; }
@media (max-width: 900px) {
  .job-grid { grid-template-columns: 1fr; gap: 20px; }
  .job-side { position: static; }
  .job-side .card:first-child { display: none; }
  .apply-top { display: block; margin-bottom: 22px; }
  .apply-top .apply { display: block; text-align: center; }
}

ul.company-list { list-style: none; padding: 0; margin: 0; columns: 3 220px; }
.company-list li { padding: 3px 0; break-inside: avoid; }
.company-list a { text-decoration: none; }
.company-list a:hover { color: var(--accent); }
.company-list span { color: var(--muted); font-size: 13px; }

@media (max-width: 600px) {
  .job { padding: 12px; gap: 10px; }
  .avatar { width: 34px; height: 34px; }
  .job time { display: none; }
  .job-head { gap: 12px; }
  .job-head .avatar { width: 44px; height: 44px; font-size: 20px; }
  .description { font-size: 15px; }
}

.tag.skill { text-decoration: none; color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); }
.tag.skill:hover { border-color: var(--accent); }
.chips.left { justify-content: flex-start; margin: 10px 0 0; }

/* List pages: jobs on the left, browse links and newsletter on the right. */
.list-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.list-side { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.list-side .newsletter { margin-top: 0; text-align: left; padding: 18px; }
.list-side .newsletter h2 { font-size: 15px; }
.list-side .newsletter p { font-size: 14px; }
.list-side .newsletter form { flex-direction: column; align-items: stretch; }
ul.links { list-style: none; margin: 0; padding: 0; }
ul.links li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 14.5px; }
ul.links a { text-decoration: none; }
ul.links a:hover, ul.links a.on { color: var(--accent); }
ul.links span { color: var(--muted); font-size: 13px; }
.browse .more { margin-top: 4px; }
@media (max-width: 900px) {
  .list-grid { grid-template-columns: 1fr; gap: 8px; }
}
footer.site a { color: var(--muted); }
.card .via { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 13px; }

/* Company profiles: company page card, job page "About" block, companies list taglines. */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; margin-top: 18px; }
.profile h2 { font-size: 18px; }
.profile p { margin: 0 0 10px; line-height: 1.6; }
.profile .tagline { font-weight: 600; }
.profile ul { margin: 0; padding-left: 20px; color: var(--muted); }
.profile dd a { color: var(--accent); }
.about-company { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0 0 26px; }
.about-company h2 { font-size: 16px; margin: 0 0 8px; }
.about-company p { margin: 0 0 8px; line-height: 1.6; }
.about-company p:last-child { margin-bottom: 0; }
.company-card small { color: var(--muted); font-size: 13px; margin: 2px 0 4px; }
.company-list small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; gap: 12px; } }
