:root {
  --bg: #fbf8f1;
  --bg-2: #f4efe3;
  --surface: #ffffff;
  --ink: #12231c;
  --ink-2: #2c3d35;
  --muted: #5f6e66;
  --line: #e7e1d3;
  --line-2: #d9d1bf;
  --brand: #0f3d2e;
  --brand-2: #1d6b4f;
  --on-brand: #fbf8f1;
  --sun: #f5b83d;
  --sun-soft: #fdf0d2;
  --mint: #e6f2ea;
  --lang: #e9eefc;
  --lang-ink: #2b4aa8;
  --salary: #fff1dc;
  --salary-ink: #8a5300;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(18 35 28 / 0.06);
  --shadow: 0 1px 2px rgb(18 35 28 / 0.05), 0 8px 28px -14px rgb(18 35 28 / 0.22);
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c1511;
  --bg-2: #101c17;
  --surface: #13211b;
  --ink: #e9f1ec;
  --ink-2: #c9d6cf;
  --muted: #93a59b;
  --line: #22352c;
  --line-2: #2d443a;
  --brand: #9fe0bf;
  --brand-2: #74d3a5;
  --on-brand: #0c1511;
  --sun-soft: #33290f;
  --mint: #173226;
  --lang: #1b2547;
  --lang-ink: #aebfff;
  --salary: #36290f;
  --salary-ink: #f5c56a;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px -16px rgb(0 0 0 / 0.7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 8px 14px; background: var(--brand); color: var(--on-brand); border-radius: 8px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- Header / footer ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: var(--brand); }
.logo-mark { color: var(--sun); font-size: 1.45rem; line-height: 1; }
.site-head nav { display: flex; align-items: center; gap: 4px; font-size: 0.93rem; }
.site-head nav a:not(.btn) { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
.site-head nav a:not(.btn):hover, .site-head nav a[aria-current] { color: var(--ink); background: var(--bg-2); }
.site-head nav .btn { margin-left: 8px; }
@media (max-width: 760px) { .site-head nav a:not(.btn) { display: none; } }

.site-foot { border-top: 1px solid var(--line); margin-top: 80px; padding: 48px 0 28px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h3 { font-family: var(--body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.93rem; }
.foot-grid a { text-decoration: none; }
.foot-grid ul a:hover { color: var(--brand-2); text-decoration: underline; }
.foot-brand p { margin: 10px 0 0; max-width: 280px; font-size: 0.93rem; }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-legal p { margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Buttons & small UI ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 18px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font: 600 0.95rem/1.1 var(--body); transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 18px -10px var(--brand); }
.btn--primary:hover { background: var(--brand-2); }
.btn--ghost { border-color: var(--line-2); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand-2); }
.btn--light { background: var(--sun); color: #1b1505; }
.btn--small { padding: 8px 14px; font-size: 0.86rem; }
.btn--lg { padding: 14px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 4px; color: var(--muted); font: inherit; font-size: 0.88rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
kbd { font: 600 0.72rem var(--body); padding: 2px 7px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; color: var(--muted); background: var(--surface); }

.eyebrow { text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.76rem; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.eyebrow--light { color: color-mix(in srgb, currentColor 70%, transparent); }
.crumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin: 0 4px; opacity: 0.6; }

.avatar { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 800 1.2rem var(--display); color: hsl(var(--h) 45% 26%); background: hsl(var(--h) 62% 89%); box-shadow: inset 0 0 0 1px hsl(var(--h) 40% 50% / 0.15); }
.avatar--sm { width: 26px; height: 26px; border-radius: 7px; font-size: 0.8rem; }
.avatar--lg { width: 56px; height: 56px; border-radius: 14px; font-size: 1.5rem; }
.avatar--xl { width: 72px; height: 72px; border-radius: 18px; font-size: 2rem; }
:root[data-theme="dark"] .avatar { color: hsl(var(--h) 75% 86%); background: hsl(var(--h) 32% 22%); }

.tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--mint); font-size: 0.75rem; line-height: 1.6; color: var(--brand-2); font-weight: 500; white-space: nowrap; }
.tag--plain { background: var(--bg-2); color: var(--muted); }
.tag--lang { background: var(--lang); color: var(--lang-ink); }
.tag--salary { background: var(--salary); color: var(--salary-ink); }
.tag--verified, .tag--featured { background: var(--sun); color: #1b1505; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 48px; background: radial-gradient(900px 400px at 88% -12%, var(--sun-soft), transparent 70%), radial-gradient(760px 380px at -12% 8%, var(--mint), transparent 70%); }
.hero--small { padding: 36px 0 24px; }
.hero--small h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); max-width: 900px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: end; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding: 0 0.08em; }
:root[data-theme="dark"] .hero h1 em { color: var(--sun); background: none; }
.lede { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); max-width: 660px; margin: 0 0 28px; }
.hero--small .lede { margin-bottom: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); box-shadow: var(--shadow-sm); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 0 rgb(47 191 113 / 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(47 191 113 / 0); } 100% { box-shadow: 0 0 0 0 rgb(47 191 113 / 0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } html { scroll-behavior: auto; } }
.stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.stats div { background: var(--surface); padding: 18px 20px; }
.stats dt { font-size: 0.8rem; color: var(--muted); }
.stats dd { margin: 2px 0 0; font: 800 2rem/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 920px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats dd { font-size: 1.5rem; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Logos strip & promises ---------- */
.logos { border-block: 1px solid var(--line); background: var(--surface); padding: 18px 0; }
.logos .wrap { display: flex; align-items: center; gap: 20px; }
.logos-label { margin: 0; flex: none; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 18px; flex-wrap: wrap; }
.logos a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--ink-2); }
.logos a:hover span:last-child { text-decoration: underline; }
.logos-more { color: var(--brand-2) !important; }
@media (max-width: 760px) { .logos .wrap { flex-direction: column; align-items: flex-start; gap: 12px; } }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.promises > div { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.promises h3 { margin: 12px 0 4px; }
.promises p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.promise-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--mint); color: var(--brand-2); font-weight: 800; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }

/* ---------- Board, filters, list ---------- */
.board { margin-top: 48px; }
.hero--small + .board { margin-top: 16px; }
.board-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.board-head h2 { margin: 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 0.86rem; }
.chips a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.chips a:hover { border-color: var(--brand-2); }

.filters-wrap { position: sticky; top: 66px; z-index: 10; padding: 10px 0 0; background: linear-gradient(var(--bg) 70%, transparent); }
.filters { display: grid; grid-template-columns: minmax(220px, 2.2fr) repeat(4, minmax(0, 1fr)); gap: 8px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.filters select, .f-search input { width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 0.92rem; }
.filters select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.filters select:hover, .f-search input:hover { border-color: var(--line-2); }
.f-search { position: relative; display: block; }
.f-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.f-search input { padding-left: 38px; padding-right: 40px; }
.f-search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.f-search input:focus ~ kbd, .f-search input:not(:placeholder-shown) ~ kbd { display: none; }
.list-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 4px 4px; }
.f-count { margin: 0; color: var(--muted); font-size: 0.92rem; }
.f-count strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-x { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 12px; border-radius: 999px; border: 1px solid var(--brand-2); background: var(--mint); color: var(--brand-2); font: 500 0.8rem var(--body); cursor: pointer; }
.chip-x span[aria-hidden] { font-size: 1rem; line-height: 1; }
.sort { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.sort select { height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.86rem; cursor: pointer; }
@media (max-width: 960px) {
  .filters-wrap { position: static; background: none; }
  .filters { grid-template-columns: 1fr 1fr; }
  .f-search { grid-column: 1 / -1; }
  .f-search kbd { display: none; }
}

.jobs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.job-row a { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.job-row a:hover { border-color: var(--brand-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.job-row--featured a { border-color: var(--sun); background: linear-gradient(100deg, var(--sun-soft), var(--surface) 55%); }
.job-main { display: grid; gap: 3px; min-width: 0; }
.job-company { font-size: 0.86rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.job-title { font-weight: 600; font-size: 1.06rem; line-height: 1.3; color: var(--ink); }
.job-row a:hover .job-title { color: var(--brand-2); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.job-side-info { display: grid; justify-items: end; gap: 6px; text-align: right; }
.job-where { font-size: 0.86rem; color: var(--ink-2); max-width: 260px; }
.job-when { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.new-dot { display: none; padding: 1px 8px; border-radius: 999px; background: #2fbf71; color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; }
.is-new .new-dot { display: inline-block; }
@media (max-width: 720px) {
  .job-row a { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; padding: 14px; align-items: start; }
  .job-row .avatar { width: 40px; height: 40px; }
  .job-side-info { grid-column: 2; justify-items: start; text-align: left; display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
}
.empty { text-align: center; color: var(--muted); padding: 48px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); margin-top: 10px; }
.empty p { margin: 0; }
.empty-title { font: 700 1.2rem var(--display); color: var(--ink); margin-bottom: 6px !important; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.pager-info { margin: 0; font-size: 0.9rem; color: var(--muted); }
.pager-info strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.pager-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pager button { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 0.9rem var(--body); cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color 0.15s, background 0.15s; }
.pager button:hover:not(:disabled) { border-color: var(--brand-2); }
.pager button.is-current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.pager button:disabled { opacity: 0.4; cursor: default; }
.pager-gap { padding: 0 4px; color: var(--muted); }
@media (max-width: 560px) {
  .pager { justify-content: center; }
  .pager-btns button:not(.pager-step):not(.is-current) { display: none; }
  .pager-gap { display: none; }
}

/* ---------- Explore, newsletter, CTA ---------- */
.explore { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 72px; }
@media (max-width: 760px) { .explore { grid-template-columns: 1fr; } }
.link-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 20px; }
.link-grid a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.link-grid a:hover { color: var(--brand-2); }
.link-grid .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.newsletter { margin-top: 64px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--mint); display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.newsletter h2 { margin-bottom: 6px; }
.newsletter p { margin: 0; color: var(--muted); }
.nl-form { display: flex; gap: 8px; }
.nl-form input { flex: 1; height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; min-width: 0; }
.nl-soon { padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line-2); }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .nl-form { flex-direction: column; } }
.cta { margin-top: 24px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: #0f3d2e; color: #f4f1e6; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(var(--sun), transparent 65%); opacity: 0.25; pointer-events: none; }
.cta h2 { margin-bottom: 6px; }
.cta p { margin: 0; opacity: 0.85; max-width: 560px; }

/* ---------- Companies ---------- */
.company-grid { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.company-grid a { height: 100%; display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color 0.15s, transform 0.15s; }
.company-grid a:hover { border-color: var(--brand-2); transform: translateY(-2px); }
.company-grid .avatar { margin-bottom: 6px; }
.cg-name { font: 700 1.15rem var(--display); }
.cg-meta { font-size: 0.85rem; color: var(--muted); }
.cg-count { margin-top: 6px; font-size: 0.88rem; font-weight: 600; color: var(--brand-2); }

/* ---------- Job page ---------- */
.job { padding-top: 28px; }
.job-head { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.job-head-main { min-width: 0; }
.job-head-company { margin: 0 0 6px; font-weight: 600; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.job-head-company a { text-decoration: none; }
.job-head-company a:hover { color: var(--ink); text-decoration: underline; }
.job-head h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-bottom: 14px; }
.job-head-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.job-head-tags li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.88rem; }
@media (max-width: 560px) { .job-head { flex-direction: column; gap: 14px; } .job-head .avatar--xl { width: 56px; height: 56px; font-size: 1.5rem; } }
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; margin-top: 32px; }
@media (max-width: 900px) { .job-grid { grid-template-columns: 1fr; gap: 24px; } .job-side { order: -1; } }
.job-side { position: sticky; top: 90px; align-self: start; display: grid; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 900px) { .job-side { position: static; } .job-side > .btn { display: none; } }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.why { margin: 0; font-size: 0.85rem; padding: 12px 14px; border-radius: 12px; background: var(--mint); color: var(--ink-2); }
.side-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.job-bottom-apply { margin-top: 40px; padding: 24px; border-radius: var(--radius-lg); background: var(--bg-2); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.job-bottom-apply p { margin: 0; }
.prose { overflow-wrap: anywhere; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { font-family: var(--display); color: var(--ink); margin: 1.7em 0 0.5em; }
.prose h2 { font-size: 1.4rem; }
.prose h3, .prose h4 { font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--brand-2); }
.prose a { color: var(--brand-2); }
.prose strong { color: var(--ink); }
.related { margin-top: 64px; }
.related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.related-head a { font-size: 0.92rem; font-weight: 600; color: var(--brand-2); text-decoration: none; white-space: nowrap; }
.mobile-apply { display: none; }
@media (max-width: 900px) {
  .mobile-apply { display: block; position: sticky; bottom: 0; z-index: 15; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
}

/* ---------- Pricing, steps, FAQ ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; max-width: 800px; margin-top: 16px; }
.plan { position: relative; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan--hl { border: 2px solid var(--sun); }
.plan-tag { position: absolute; top: -12px; left: 26px; margin: 0; padding: 3px 11px; border-radius: 999px; background: var(--sun); color: #1b1505; font-size: 0.75rem; font-weight: 700; }
.price { color: var(--muted); margin: 0 0 18px; }
.price span { font: 800 2.8rem var(--display); color: var(--ink); letter-spacing: -0.03em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; display: grid; gap: 10px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--mint); color: var(--brand-2); font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; }
.steps { margin-top: 72px; }
.steps ol { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.steps li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; margin-bottom: 14px; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 760px) { .steps ol { grid-template-columns: 1fr; } }
.faq { margin-top: 72px; max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* ---------- Post-a-job form ---------- */
.post-form { display: grid; gap: 28px; margin-top: 8px; }
.post-form fieldset { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(18px, 3vw, 28px); margin: 0; min-width: 0; box-shadow: var(--shadow-sm); }
.post-form fieldset.pf-plans { background: none; border: 0; padding: 0; box-shadow: none; }
.pf-step { display: flex; align-items: center; gap: 10px; font: 700 1.25rem var(--display); padding: 0; margin-bottom: 18px; }
.pf-step span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 700 0.9rem var(--body); }
.plan--select { cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.plan--select:hover { transform: translateY(-2px); }
.plan--select input { position: absolute; opacity: 0; pointer-events: none; }
.plan--select.is-selected { border: 2px solid var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 18%, transparent), var(--shadow); }
.plan--select:has(input:focus-visible) { outline: 2px solid var(--brand-2); outline-offset: 3px; }
.plan-name { font: 700 1.5rem var(--display); margin-bottom: 6px; }
.plan .price { display: block; }
.plan-check { align-self: flex-start; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.plan--select.is-selected .plan-check { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.plan--select:not(.is-selected) .plan-check::before { content: 'Choose this plan'; }
.plan--select:not(.is-selected) .plan-check { font-size: 0; }
.plan--select:not(.is-selected) .plan-check::before { font-size: 0.85rem; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
@media (max-width: 720px) { .pf-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.field--full { grid-column: 1 / -1; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 400 0.95rem/1.5 var(--body); }
.field textarea { resize: vertical; min-height: 200px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-2); outline-offset: 0; border-color: transparent; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #d64545; background: color-mix(in srgb, #d64545 6%, var(--bg)); }
.field-error { margin: 0; color: #d64545; font-size: 0.84rem; font-weight: 500; }
.field-error:empty { display: none; }
.check { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; font-size: 0.92rem; background: var(--bg); }
.check:has(input:checked) { border-color: var(--brand-2); background: var(--mint); }
.check input { width: 16px; height: 16px; accent-color: var(--brand-2); }
.check--big { font-weight: 600; margin-bottom: 14px; width: fit-content; }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.country-grid.is-disabled { opacity: 0.45; pointer-events: none; }
.pf-submit { position: sticky; bottom: 12px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pf-submit p { margin: 0; }
.pf-total { font-size: 1.05rem; }
.pf-total strong { font: 800 1.5rem var(--display); }
.form-alert { margin: 0; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, #d64545 12%, var(--surface)); color: #b23535; font-weight: 500; }
.form-alert--info { background: var(--sun-soft); color: var(--ink); margin-bottom: 16px; }
:root[data-theme="dark"] .form-alert { color: #ff9b9b; }
.success-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #2fbf71; color: #fff; font-size: 2rem; font-weight: 800; margin: 0 0 20px; }
/* Legends sit inside the card instead of on its border. */
.pf-step { float: left; width: 100%; }
.pf-step + * { clear: both; }
@media (max-width: 720px) {
  .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check { padding: 8px 10px; font-size: 0.86rem; }
  .pf-submit { position: static; }
  .pf-submit .btn { width: 100%; }
}

/* ---------- Legal pages and terms checkbox ---------- */
.legal h2 { font-size: 1.2rem; margin-top: 2em; }
.legal-links { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: 0.92rem; }
.pf-terms { display: grid; gap: 6px; }
.check--terms { align-items: flex-start; padding: 14px 16px; font-size: 0.9rem; line-height: 1.5; background: var(--surface); }
.check--terms input { margin-top: 3px; flex: none; }
.check--terms a { color: var(--brand-2); }

/* ---------- Theme toggle ---------- */
.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; margin-left: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 1.05rem; line-height: 1; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.theme-toggle:hover { border-color: var(--brand-2); transform: translateY(-1px); }
.theme-toggle .tt-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .tt-sun { display: inline; }
:root[data-theme="dark"] .theme-toggle .tt-moon { display: none; }
