/* Stellenly — plain CSS, no framework. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --text: #101828;
  --muted: #5d6676;
  --border: #e3e6ee;
  --accent: #4f46e5;        /* Stellenly indigo */
  --accent-2: #8b5cf6;      /* violet, for gradients */
  --accent-text: #ffffff;
  --accent-soft: #eef0ff;
  --support: #f26b45;       /* coral */
  --ok: #0b7a4b;   --ok-bg: #e5f6ed;
  --warn: #965a00; --warn-bg: #fff3d9;
  --bad: #b42318;  --bad-bg: #fdeceb;
  --info: #1f5fae; --info-bg: #e8f1fd;
  --skill: #5b3fd1; --skill-bg: #f2eeff;
  --neutral-bg: #eef0f5;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px -12px rgba(16,24,40,.18);
  --seen: 0.62;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0f16; --surface: #141923; --surface-2: #1b2130; --text: #e9ebf1; --muted: #9ba3b4;
    --border: #283042; --accent: #8e8cff; --accent-2: #b49cff; --accent-text: #0c0f16; --accent-soft: #22284d;
    --support: #ff8a65; --ok: #5fd39a; --ok-bg: #11301f; --warn: #f5c26b; --warn-bg: #382a0f;
    --bad: #ff9a92; --bad-bg: #3b1a19; --info: #8dbcff; --info-bg: #15253d; --skill: #c4b5fd; --skill-bg: #2a2150;
    --neutral-bg: #222938; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0f16; --surface: #141923; --surface-2: #1b2130; --text: #e9ebf1; --muted: #9ba3b4;
  --border: #283042; --accent: #8e8cff; --accent-2: #b49cff; --accent-text: #0c0f16; --accent-soft: #22284d;
  --support: #ff8a65; --ok: #5fd39a; --ok-bg: #11301f; --warn: #f5c26b; --warn-bg: #382a0f;
  --bad: #ff9a92; --bad-bg: #3b1a19; --info: #8dbcff; --info-bg: #15253d; --skill: #c4b5fd; --skill-bg: #2a2150;
  --neutral-bg: #222938; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.demo-note { margin: 12px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); font-size: 0.9rem; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); padding: 8px 14px; border-radius: 8px; font: inherit; font-size: 0.95rem; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 600; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.support { background: var(--support); border-color: var(--support); color: #fff; font-weight: 600; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.small { padding: 5px 10px; font-size: 0.85rem; }
.btn.big { padding: 12px 20px; font-size: 1.05rem; }
.btn.icon { padding: 8px 10px; }
.btn.danger { color: var(--bad); }
.btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }

/* Header / footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.header-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.site-footer { border-top: 1px solid var(--border); margin-top: 48px; padding: 20px 0; color: var(--muted); font-size: 0.9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 16px; }

/* Hero / search */
.hero { padding: 28px 0 12px; }
.hero h1 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0 0 4px; letter-spacing: -0.02em; }
.stats { margin: 0 0 16px; color: var(--muted); }
.stats b { color: var(--text); }
.search { display: grid; grid-template-columns: 1fr 200px auto; gap: 8px; }
.search input, .search select, select, textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 12px; width: 100%; }
.search input { font-size: 1.05rem; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 0.92rem; user-select: none; }
.chip input { margin: 0; accent-color: var(--accent); }
.chip:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); }

/* Layout */
.layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; margin-top: 12px; align-items: start; }
.filters { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 16px; }
.filters details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.filters summary { font-weight: 700; cursor: pointer; }
.filters fieldset { border: 0; padding: 0; margin: 12px 0 0; }
.filters legend { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.filters fieldset label, .field.check { display: flex; gap: 8px; align-items: center; font-size: 0.92rem; padding: 2px 0; }
.filters input[type="checkbox"] { accent-color: var(--accent); }
.field { display: block; font-size: 0.9rem; font-weight: 600; margin-top: 12px; }
.field select { margin-top: 4px; font-weight: 400; padding: 7px 10px; }
.filter-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.popular h2 { font-size: 0.95rem; margin: 0 0 8px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 6px;
  padding: 2px 8px; font-size: 0.82rem; cursor: pointer; font-family: inherit; }
.tag[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.tag .n { color: var(--muted); margin-left: 4px; }
.tag[aria-pressed="true"] .n { color: inherit; opacity: .8; }
.side-note { font-size: 0.9rem; }
.side-note p { margin: 4px 0 0; }

/* Tabs / toolbar */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 14px; font: inherit; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 10px 0; }
.toolbar p { margin: 0; }
.toolbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sort { font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.sort select { width: auto; padding: 6px 8px; }

/* Nudge */
.nudge { background: var(--surface); border: 1px dashed var(--support); border-radius: var(--radius); padding: 12px 14px;
  margin-bottom: 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.nudge p { margin: 0; }

/* Results */
.results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.job { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.job.seen .job-title, .job.seen .job-meta { opacity: var(--seen); }
.job-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.job-title { margin: 0; font-size: 1.05rem; }
.job-title button { all: unset; cursor: pointer; font-weight: 700; color: var(--text); }
.job-title button:hover { text-decoration: underline; }
.job-title button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.job-meta { color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.job-meta .company { color: var(--text); font-weight: 600; }
.job-actions { display: flex; gap: 2px; flex-shrink: 0; }
.job-actions .btn { padding: 4px 8px; font-size: 0.85rem; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge { font-size: 0.8rem; padding: 2px 8px; border-radius: 6px; background: var(--neutral-bg); color: var(--text); white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.badge.warn { background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.badge.bad { background: var(--bad-bg); color: var(--bad); font-weight: 600; }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.new { background: var(--accent); color: var(--accent-text); font-weight: 700; }
.badge abbr { text-decoration: underline dotted; cursor: help; }

.job-details { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 0 0 12px; }
.facts div { background: var(--surface-2); border-radius: 8px; padding: 8px 10px; }
.facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 0.92rem; }
.snippet { white-space: pre-line; font-size: 0.93rem; color: var(--text); max-height: 14em; overflow: auto; margin: 0 0 12px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.more { text-align: center; margin: 16px 0; }
.empty { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.applied-tools { margin-top: 12px; }

/* Transparency */
.transparency { margin-top: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.transparency h2 { margin: 0 0 4px; font-size: 1.15rem; }
.cost-box table { width: 100%; max-width: 520px; border-collapse: collapse; font-size: 0.92rem; margin-top: 8px; }
.cost-box td { padding: 4px 0; border-bottom: 1px solid var(--border); }
.cost-box td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.goal { margin-top: 12px; max-width: 520px; }
.goal-bar { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.goal-bar span { display: block; height: 100%; background: var(--support); }
.goal p { margin: 6px 0 0; font-size: 0.9rem; }

/* Dialogs */
.dialog { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text);
  width: min(560px, calc(100vw - 32px)); padding: 24px; max-height: calc(100vh - 32px); }
.dialog::backdrop { background: rgba(0,0,0,.45); }
.dialog h2 { margin-top: 0; padding-right: 32px; }
.dialog-close { position: absolute; top: 12px; right: 12px; margin: 0; }
.dialog-close button { border: 0; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; padding: 6px; }
.dialog .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pill-list li { background: var(--surface-2); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 0.9rem; display: flex; align-items: center; gap: 4px; }
.pill-list button { border: 0; background: none; cursor: pointer; color: var(--muted); }
.glossary dt { font-weight: 700; margin-top: 10px; }
.glossary dd { margin: 2px 0 0; color: var(--muted); }

/* Mobile */
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters details:not([open]) { padding-bottom: 12px; }
  .search { grid-template-columns: 1fr 1fr; }
  .search input { grid-column: 1 / -1; }
  .header-actions .btn.ghost:not(.icon) { padding: 6px 8px; font-size: 0.85rem; }
  .job-top { flex-direction: column; }
  .job-actions { order: 2; }
}

/* ---------------- Content pages: blog, resources, landing pages ---------------- */
.content-page { max-width: 860px; padding-top: 28px; }
.content-page h1 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 0 0 8px; }
.content-page h2 { margin-top: 32px; font-size: 1.25rem; }
.lead { font-size: 1.08rem; color: var(--muted); }
.article { line-height: 1.65; }
.article p, .article li { max-width: 70ch; }
.article table, table.data { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 12px 0; }
.article th, .article td, table.data th, table.data td { border-bottom: 1px solid var(--border); padding: 6px 8px; text-align: left; }
.article th, table.data th { background: var(--surface-2); }
table.data td:not(:first-child), table.data th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.article blockquote { margin: 16px 0; padding: 8px 14px; border-left: 3px solid var(--accent); background: var(--surface); }
.cta { margin: 28px 0; padding: 16px; background: var(--accent-soft); border-radius: var(--radius); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 12px 0; }
.resource { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.resource:hover { border-color: var(--accent); }
.resource span:last-child { color: var(--muted); font-size: 0.9rem; }
.resource .badge { align-self: flex-start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.kpis div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; }
.kpis b { font-size: 1.5rem; }
.kpis span { color: var(--muted); font-size: 0.88rem; }
.post-list, .link-list { padding-left: 18px; }
.post-list li { margin: 0 0 14px; }
.results.static .job-title a { color: var(--text); text-decoration: none; }
.results.static .job-title a:hover { text-decoration: underline; }
.affiliate-note { margin-top: 32px; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; }
.sponsor { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; font-size: 0.9rem; }
.sponsor span:last-child { color: var(--muted); }
.sponsor-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Companies directory + map */
.crumbs { font-size: 0.9rem; color: var(--muted); margin: 0 0 8px; }
.co-links { display: flex; flex-wrap: wrap; gap: 8px; }
.co-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 16px 0 10px; }
.co-toolbar input[type="search"] { flex: 1 1 320px; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--surface); color: var(--text); }
.co-chips { margin-bottom: 16px; }
.co-chips .tag { text-decoration: none; }
.co-map { position: relative; height: min(70vh, 560px); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, var(--accent-soft), transparent 60%), var(--surface-2); margin-bottom: 28px; }
.co-map.ready { background: var(--surface-2); }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 4px; }
.map-consent-title { font-size: 1.25rem; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.map-consent p { margin: 4px 0; max-width: 520px; }
.map-consent .btn { margin: 10px 0 6px; }
.map-wait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; }
.co-city { margin: 0 0 32px; scroll-margin-top: 16px; }
.co-city > h2 { font-size: 1.3rem; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin: 0 0 14px; }
.co-city > h2 .muted { font-size: 0.95rem; font-weight: 500; }
.co-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.co-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, box-shadow .15s; }
.co-card:hover { border-color: var(--accent); box-shadow: 0 6px 22px -14px rgba(0,0,0,.35); }
.co-card .badges { margin: 0; }
.co-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.co-head h3 { margin: 0; font-size: 1.08rem; display: flex; gap: 6px; align-items: center; }
.co-head h3 a { color: var(--text); text-decoration: none; }
.co-head h3 a:hover { color: var(--accent); text-decoration: underline; }
.co-count { font-size: 0.85rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.co-desc { margin: 0; font-size: 0.93rem; color: var(--text); }
.co-facts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 0.85rem; }
.co-facts div { display: flex; gap: 4px; }
.co-facts dt { color: var(--muted); }
.co-facts dd { margin: 0; font-weight: 600; }
.co-roles { list-style: none; margin: 4px 0 0; padding: 8px 0 0; border-top: 1px dashed var(--border); font-size: 0.88rem; }
.co-roles li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 2px 0; }
.co-roles a { color: var(--text); }
.co-more { margin-top: 12px; }
.co-more summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.co-minis { list-style: none; margin: 10px 0 0; padding: 0; columns: 3 220px; column-gap: 24px; font-size: 0.92rem; }
.co-minis li { break-inside: avoid; padding: 3px 0; }

/* Map pins (Booking-style pills) and hover cards */
.pin-wrap { background: none; border: 0; }
.pin, .pin-cluster { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; font: 600 12px/1 var(--font);
  border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; }
.pin { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 10px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; background: inherit;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: translateX(-50%) rotate(45deg); }
.pin b { background: var(--accent); color: var(--accent-text); border-radius: 999px; padding: 3px 7px; font-size: 11px; }
.pin.startup b { background: var(--support); color: #fff; }
.pin.quiet b { background: var(--neutral-bg); color: var(--muted); }
.leaflet-marker-icon:hover .pin, .leaflet-marker-icon:focus .pin { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.leaflet-marker-icon:hover .pin b { background: var(--accent-text); color: var(--accent); }
.pin-cluster { display: flex; flex-direction: column; align-items: center; padding: 7px 12px; background: var(--accent);
  color: var(--accent-text); transform: translate(-50%, -50%); font-weight: 500; }
.pin-cluster b { font-size: 14px; }
.pin-cluster small { opacity: .85; font-size: 10.5px; margin-top: 2px; }
.co-popup .leaflet-popup-content-wrapper { background: var(--surface); color: var(--text); border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.35); border: 1px solid var(--border); }
.co-popup .leaflet-popup-tip { background: var(--surface); }
.co-popup .leaflet-popup-content { margin: 14px 16px; font: 14px/1.4 var(--font); }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 1.02rem; }
.pc-meta { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.pc-count { font-weight: 600; color: var(--accent); margin: 8px 0 4px; font-size: 0.9rem; }
.pc-roles { list-style: none; margin: 0; padding: 0; }
.pc-roles li { padding: 4px 0; border-top: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-roles a { color: var(--text); text-decoration: none; }
.pc-roles a:hover { color: var(--accent); text-decoration: underline; }
.pc-more { display: inline-block; margin-top: 8px; font-weight: 600; }
.leaflet-container { font-family: var(--font); background: var(--surface-2); }
.co-map .leaflet-tile-pane { filter: grayscale(1) sepia(.12) contrast(.88) brightness(1.06); }
.co-map.dark .leaflet-tile-pane { filter: grayscale(1) invert(.92) contrast(.85) brightness(.9); }
.leaflet-container a.pc-more, .leaflet-container .pc-roles a { color: inherit; }
.leaflet-container a.pc-more { color: var(--accent); }
@media (max-width: 640px) {
  .co-map { height: 62vh; }
  .co-grid { grid-template-columns: 1fr; }
}

/* Job insights: hints + comparison with similar jobs */
.badge.hint { cursor: help; }
.insight { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; }
.insight h4 { margin: 0 0 8px; font-size: 0.95rem; }
.hint-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.hint-list li { padding: 6px 10px; border-radius: 8px; background: var(--surface); border-left: 3px solid var(--border); }
.hint-list li.warn { border-left-color: var(--warn); }
.hint-list li.good { border-left-color: var(--ok); }
.hint-list li.info { border-left-color: var(--info); }
.salbar { margin: 6px 0 10px; }
.salbar-track { position: relative; height: 10px; border-radius: 999px; background: var(--neutral-bg); margin: 10px 0 4px; }
.salbar-band { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent); }
.salbar-median { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--accent); transform: translateX(-1px); }
.salbar-job { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--support);
  border: 2px solid var(--surface); transform: translate(-50%, -50%); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.salbar-legend { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); }
.salbar p { margin: 4px 0 0; }
.peer-stats { margin: 0 0 8px; padding-left: 18px; font-size: 0.9rem; }
.insight > p.small { margin: 4px 0; }
.similar-list { margin: 0 0 8px; padding-left: 18px; font-size: 0.9rem; }
.similar-list li { padding: 2px 0; }
.tiny { font-size: 0.78rem; margin: 6px 0 0; }

/* =====================================================================
   Stellenly redesign: brand header, hero search, logo cards, job popup
   ===================================================================== */
body { -webkit-font-smoothing: antialiased; }
.btn { border-radius: 10px; font-weight: 500; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: 0; box-shadow: 0 6px 16px -8px var(--accent); }
.btn.primary:hover { filter: brightness(1.07); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.28rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-logo { width: 32px; height: 32px; display: block; border-radius: 9px; box-shadow: 0 4px 12px -6px var(--accent); }
.header-actions .btn.ghost { color: var(--muted); font-weight: 500; }
.header-actions .btn.ghost:hover { color: var(--text); }

/* Hero + search */
.hero { padding: 44px 0 18px; }
.eyebrow { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent); font-size: 0.8rem; font-weight: 600; letter-spacing: .02em; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 12px; font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2) 60%, var(--support)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 0 10px; }
.stats { font-size: 0.95rem; }
.search { display: flex; gap: 0; align-items: stretch; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 6px; box-shadow: var(--shadow); margin-top: 18px; }
.search-field { position: relative; display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
.search-field + .search-field { border-left: 1px solid var(--border); }
.city-field { flex: 0 0 220px; }
.search-icon { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input, .search select { border: 0 !important; background: transparent !important; box-shadow: none !important;
  padding: 12px 12px 12px 40px !important; width: 100%; font-size: 1rem; color: var(--text); outline: none; }
.search input:focus-visible, .search select:focus-visible { outline: none; }
.search-field:focus-within { background: var(--surface-2); border-radius: 10px; }
.search .btn.primary { padding: 0 22px; border-radius: 12px; font-size: 1rem; white-space: nowrap; }
.quick { margin-top: 14px; }
.chip { border-radius: 999px; padding: 7px 12px; font-size: 0.9rem; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--accent); }

/* Filters & tabs */
.filters details { border-radius: var(--radius); }
.tag { border-radius: 999px; padding: 4px 10px; font-size: 0.85rem; }
.tag[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.tabs { gap: 2px; }
.tab { border-radius: 10px 10px 0 0; font-weight: 500; }
.tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }

/* Badges: soft tinted pills */
.badge { border-radius: 999px; padding: 3px 10px; font-size: 0.78rem; font-weight: 500; background: var(--neutral-bg); }
.badge.ok, .badge.warn, .badge.bad { font-weight: 600; }
.skill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 6px; font-size: 0.78rem;
  font-weight: 600; background: var(--skill-bg); color: var(--skill); }
.skill.nice { background: transparent; border: 1px dashed color-mix(in srgb, var(--skill) 45%, transparent); font-weight: 500; }
.skill.ghost { background: var(--surface-2); color: var(--text); font-weight: 500; }
.skill small { color: var(--muted); font-weight: 500; }
.skills-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* Logos (self-hosted images, or coloured initials) */
.logo { flex: none; display: inline-grid; place-items: center; object-fit: contain; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; width: 48px; height: 48px; padding: 6px; }
.logo.mono { padding: 0; font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; color: hsl(var(--h) 55% 32%);
  background: hsl(var(--h) 70% 93%); border-color: hsl(var(--h) 45% 84%); }
:root[data-theme="dark"] .logo.mono { color: hsl(var(--h) 70% 82%); background: hsl(var(--h) 35% 20%); border-color: hsl(var(--h) 30% 30%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo.mono {
  color: hsl(var(--h) 70% 82%); background: hsl(var(--h) 35% 20%); border-color: hsl(var(--h) 30% 30%); } }
.logo-lg { width: 64px; height: 64px; border-radius: 16px; font-size: 1.3rem; padding: 8px; }
.logo-sm { width: 36px; height: 36px; border-radius: 10px; font-size: 0.85rem; padding: 4px; }
.logo-xs { width: 28px; height: 28px; border-radius: 8px; font-size: 0.7rem; padding: 3px; }

/* Job cards */
.results { gap: 12px; }
.job { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 18px 20px;
  border-radius: var(--radius); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.job:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: var(--shadow); transform: translateY(-1px); }
.job-title { font-size: 1.06rem; letter-spacing: -0.01em; }
.job-title a { color: var(--text); text-decoration: none; font-weight: 700; }
.job-title a:hover { color: var(--accent); }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 3px; }
.job-meta span + span::before { content: "·"; margin-right: 12px; color: var(--muted); }
.job .badges { margin-top: 10px; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.job-salary { font-weight: 700; font-size: 1.02rem; color: var(--ok); white-space: nowrap; }
.job-salary small { color: var(--muted); font-weight: 500; font-size: 0.78rem; margin-left: 3px; }
.job-salary.none { color: var(--muted); font-weight: 500; font-size: 0.82rem; }
.job-actions { opacity: .75; }
.job:hover .job-actions { opacity: 1; }
.job.seen .job-logo { opacity: var(--seen); }

/* Job popup */
.job-dialog { width: min(1080px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0;
  border-radius: 20px; background: var(--bg); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); overflow: hidden; }
.job-dialog::backdrop { background: rgba(12, 15, 22, .55); backdrop-filter: blur(3px); }
.job-dialog[open] { animation: jd-in .18s ease-out; }
@keyframes jd-in { from { opacity: 0; transform: translateY(10px) scale(.99); } }
@media (prefers-reduced-motion: reduce) { .job-dialog[open] { animation: none; } .job:hover { transform: none; } }
.jd { max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.jd-wait { padding: 48px; text-align: center; }
.jd-head { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px 18px; background: var(--surface);
  border-bottom: 1px solid var(--border); }
.jd-titles { flex: 1; min-width: 0; }
.jd-company { margin: 0; font-weight: 600; color: var(--accent); }
.jd-head h2 { margin: 2px 0 6px; font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: -0.025em; line-height: 1.2; }
.jd-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; color: var(--muted); font-size: 0.92rem; }
.jd-salary { color: var(--ok); font-weight: 700; }
.jd-close { flex: none; border: 1px solid var(--border); background: var(--surface); color: var(--muted); width: 38px; height: 38px;
  border-radius: 10px; font-size: 1rem; cursor: pointer; }
.jd-close:hover { color: var(--text); background: var(--surface-2); }
.jd-actions { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 28px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.jd-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; padding: 20px 28px 28px; }
.jd-main > .badges { margin: 0 0 14px; }
.jd-side { display: flex; flex-direction: column; gap: 14px; }
.jd-card, .jd-side .insight { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin: 0; }
.jd-card + .jd-card { margin-top: 14px; }
.jd-side .jd-card + .jd-card { margin-top: 0; }
.jd-card h3, .jd-side .insight h4 { margin: 0 0 10px; font-size: 1rem; letter-spacing: -0.01em; }
.jd-side .facts { grid-template-columns: 1fr 1fr; margin: 0; }
.jd-desc { line-height: 1.65; font-size: 0.96rem; }
.jd-desc h4 { margin: 18px 0 6px; font-size: 0.98rem; }
.jd-desc p { margin: 0 0 10px; }
.jd-desc ul { margin: 0 0 12px; padding-left: 20px; }
.jd-desc li { margin: 3px 0; }
.jd-ai { background: linear-gradient(135deg, var(--accent-soft), var(--surface) 70%); border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); }
.ai-dot { color: var(--accent); }
.jd-ai ul { margin: 0 0 8px; padding-left: 18px; }
.sk-list { list-style: none; margin: 8px 0 10px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sk-list li { display: grid; grid-template-columns: 1fr; gap: 3px; }
.sk-name { font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.sk-nice { font-size: 0.7rem; font-weight: 500; color: var(--muted); border: 1px dashed var(--border); border-radius: 999px; padding: 0 6px; }
.sk-bar { height: 8px; border-radius: 999px; background: var(--neutral-bg); overflow: hidden; }
.sk-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.sk-peer { font-size: 0.76rem; color: var(--muted); }
.jd-co-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.jd-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; font-size: 0.9rem; }
.similar-list { list-style: none; padding: 0; }
.similar-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--border); }
.similar-list li div { display: flex; flex-direction: column; min-width: 0; }
.similar-list a { color: var(--text); font-weight: 600; text-decoration: none; }
.similar-list a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .search { flex-wrap: wrap; }
  .search-field { flex: 1 1 100%; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid var(--border); }
  .search .btn.primary { flex: 1 1 100%; padding: 12px; margin-top: 4px; }
  .job { grid-template-columns: auto 1fr; }
  .job-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .jd-body { grid-template-columns: 1fr; padding: 16px; }
  .jd-head { padding: 18px 16px 14px; gap: 12px; }
  .jd-actions { padding: 10px 16px; }
  .job-dialog { width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
  .jd { max-height: 100vh; }
  .logo-lg { width: 52px; height: 52px; }
}
.job-dialog:focus, .job-dialog:focus-visible { outline: none; }
@media (max-width: 640px) {
  .popular, #sponsor-slot, .side-note { display: none; }
  .header-actions [data-open="hired-dialog"], .header-actions [data-open="glossary-dialog"] { display: none; }
  .header-row { min-height: 54px; }
  .hero { padding-top: 24px; }
}
@media (max-width: 860px) { .jd-side { order: -1; } }

/* =====================================================================
   Guides, sections, articles and resources
   ===================================================================== */
.guides-page, .post-page { max-width: 1160px; padding-top: 28px; }
.content-page { padding-top: 28px; }
.page-hero { padding: 8px 0 18px; max-width: 760px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 10px; }
.page-hero .lead { margin: 0 0 16px; }
.page-hero .tag-cloud .tag, .other-sections .tag, .res-nav .tag { text-decoration: none; color: var(--text); }
.page-hero .tag-cloud .tag:hover, .other-sections .tag:hover, .res-nav .tag:hover { border-color: var(--accent); color: var(--accent); }
.kicker { margin: 0 0 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cta { border-radius: var(--radius); background: linear-gradient(135deg, var(--accent-soft), var(--surface)); border: 1px solid var(--border); }

/* Cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin: 16px 0; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.post-card-img { width: 100%; height: auto; aspect-ratio: 15 / 7; object-fit: cover; display: block; }
.post-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.post-sec { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: hsl(var(--h) 60% 40%); background: hsl(var(--h) 80% 95%); padding: 3px 8px; border-radius: 6px; }
:root[data-theme="dark"] .post-sec { color: hsl(var(--h) 80% 78%); background: hsl(var(--h) 35% 20%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .post-sec { color: hsl(var(--h) 80% 78%); background: hsl(var(--h) 35% 20%); } }
.post-card-title { font-weight: 750; font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.015em; }
.post-card-desc { color: var(--muted); font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-meta { margin-top: auto; padding-top: 6px; font-size: 0.8rem; color: var(--muted); }
.post-card.featured { display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card.featured .post-card-img { height: 100%; aspect-ratio: auto; min-height: 260px; }
.post-card.featured .post-card-body { padding: 28px; justify-content: center; }
.post-card.featured .post-card-title { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.featured-wrap { margin: 10px 0 24px; }

/* Section banners (blog index + section pages) */
.sec-block { margin: 36px 0 12px; }
.sec-banner { position: relative; display: block; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; min-height: 170px; }
.sec-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sec-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,24,.55), rgba(10,12,24,0) 70%); }
.sec-banner-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; max-width: 620px; }
.sec-banner h1, .sec-banner h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.025em; color: #fff; }
.sec-banner-text span { opacity: .92; }
.sec-banner small { opacity: .8; font-weight: 600; }
.sec-banner:hover img { transform: scale(1.02); }
.sec-banner img { transition: transform .4s ease; }
.sec-banner.big { min-height: 260px; margin: 6px 0 10px; }
.sec-banner.big .sec-banner-text { padding: 40px 36px; }
.sec-more { font-weight: 600; text-decoration: none; }
.other-sections { margin: 32px 0 8px; }

/* Article */
.post-cover { border-radius: 20px; overflow: hidden; margin: 0 0 26px; background: hsl(var(--h) 70% 55%); }
.post-cover img { display: block; width: 100%; height: clamp(180px, 30vw, 340px); object-fit: cover; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; align-items: start; }
.post { max-width: 740px; }
.post h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.03em; margin: 8px 0 12px; }
.post-lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 18px; line-height: 1.55; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 14px 0; margin-bottom: 8px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 0.88rem; color: var(--muted); }
.post-meta .author { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 0.78rem; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.post-meta .live { color: var(--ok); font-weight: 600; }
.post-meta .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 3px var(--ok-bg); }
.post-body { font-size: 1.05rem; line-height: 1.75; }
.post-body h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin: 38px 0 10px; scroll-margin-top: 80px; }
.post-body h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.post-body a { text-underline-offset: 3px; }
.post-body li { margin: 4px 0; }
.post-body table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.post-body th { text-align: left; }
.post-body .results, .post-body .resource-grid { margin: 18px 0; }
.post-toc { position: sticky; top: 84px; font-size: 0.9rem; border-left: 2px solid var(--border); padding-left: 16px; }
.post-toc p { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.post-toc a { color: var(--muted); text-decoration: none; }
.post-toc a:hover { color: var(--accent); }
.post-sources { margin: 36px 0 12px; }
.post-sources h2 { font-size: 1.15rem; margin: 0 0 4px; }
.review-note { margin: 24px 0; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); color: var(--muted); font-size: 0.88rem; }
.related { margin: 48px 0 12px; padding-top: 28px; border-top: 1px solid var(--border); }
.related h2 { font-size: 1.3rem; margin: 0; }

/* Resources */
.resource-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.resource { gap: 10px; padding: 16px; border-radius: 14px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.resource:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.res-top { display: flex; align-items: center; gap: 10px; }
.res-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.res-name small { color: var(--muted); font-size: 0.78rem; }
.res-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.res-go { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--accent) !important; }
.res-section { margin: 34px 0; scroll-margin-top: 80px; }
.res-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.res-head h2 { margin: 0 0 2px; font-size: 1.35rem; letter-spacing: -0.02em; }
.res-head p { margin: 0; color: var(--muted); }
.res-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h) 72% 56%), hsl(calc(var(--h) + 38) 70% 44%)); box-shadow: 0 8px 20px -10px hsl(var(--h) 70% 45%); }
.res-icon svg { width: 30px; height: 30px; }
.res-guides { margin: 12px 0 0; font-size: 0.92rem; }

@media (max-width: 960px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-toc { display: none; }
  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .post-card-img { min-height: 0; aspect-ratio: 15 / 7; }
}
.res-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.res-foot .res-go { margin-top: 0; }
.sec-banner img { object-position: right center; }

/* =====================================================================
   Hero band (search) — calm, editorial: solid navy, white search card
   ===================================================================== */
.btn.primary { background: var(--accent); box-shadow: none; }
.btn.primary:hover { filter: none; background: color-mix(in srgb, var(--accent) 86%, #000); }
.hero-band { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 420px at 88% -20%, rgba(91, 99, 241, .28), transparent 65%), #0c1630; }
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 170px; color: #fff; opacity: .05; pointer-events: none; }
.hero-band .hero { position: relative; z-index: 1; padding: 64px 16px 36px; }
.hero-band h1 { margin: 0 0 14px; max-width: 780px; font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.028em; color: #fff; }
.hero-band .hero-sub { max-width: 600px; margin: 0 0 30px; color: #b8c2da; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.55; }
.hero-band .search { max-width: 980px; margin: 0; border: 0; border-radius: 14px; padding: 8px; background: #fff;
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .6); color: #101828; }
.hero-band .search input, .hero-band .search select { color: #101828; }
.hero-band .search input::placeholder { color: #6b7385; }
.hero-band .search .search-icon { color: #6b7385; }
.hero-band .search-field + .search-field { border-color: #e3e6ee; }
.hero-band .search-field:focus-within { background: #f3f5fa; }
.hero-band .search .btn.primary { padding: 0 28px; border-radius: 10px; font-weight: 600; }
.hero-band .quick { margin-top: 16px; gap: 8px; }
.hero-band .chip { background: transparent; color: #dfe5f3; border: 1px solid rgba(255, 255, 255, .22); font-size: 0.88rem; padding: 6px 12px; }
.hero-band .chip:hover { border-color: rgba(255, 255, 255, .5); }
.hero-band .chip:has(input:checked) { background: #fff; color: #0c1630; border-color: #fff; }
.hero-band .chip input { accent-color: #4f46e5; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 34px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.hero-stats dt { font-size: 0.78rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #8f9bb8; }
.hero-stats dd { margin: 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats:empty { display: none; }
.hero-band .demo-note { max-width: 980px; }

/* Companies hiring now */
.hiring-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.hiring-row { display: flex; align-items: center; gap: 24px; min-height: 76px; padding-top: 10px; padding-bottom: 10px; }
.hiring-label { flex: none; font-size: 0.78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hiring-logos { display: flex; align-items: center; gap: 22px; flex: 1; overflow: hidden; flex-wrap: wrap; }
.hiring-logos a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 600;
  font-size: 0.9rem; filter: grayscale(1); opacity: .8; transition: filter .15s, opacity .15s, color .15s; }
.hiring-logos a:hover { filter: none; opacity: 1; color: var(--text); }
.hiring-logos img { width: 26px; height: 26px; border-radius: 6px; object-fit: contain; background: #fff; }
.hiring-all { flex: none; font-weight: 600; font-size: 0.9rem; text-decoration: none; }
main.wrap > .layout { margin-top: 28px; }

@media (max-width: 860px) {
  .hero-band .hero { padding: 40px 16px 28px; }
  .hero-band .search { padding: 6px; }
  .hero-stats { gap: 12px 28px; }
  .hero-stats dd { font-size: 1.3rem; }
  .hiring-row { flex-wrap: wrap; gap: 10px 16px; }
  .hiring-logos { order: 3; flex-basis: 100%; gap: 14px; }
  .hiring-logos span { display: none; }
}
.hero-band h1 { max-width: 940px; }
.hero-skyline { opacity: .035; height: 130px; }
.hero-band .search .btn.primary { background: #4f46e5; color: #fff; }
.hero-band .search .btn.primary:hover { background: #4338ca; }
.hiring-logos { flex-wrap: nowrap; }
@media (max-width: 860px) { .hero-band .search .btn.primary { padding: 13px 16px; } }
