/* Version 3: Dark. Near-black, mint accent, monospace details, split-view search. */
:root {
  color-scheme: dark;
  --bg: #0A0C10; --surface: #11141A; --surface-2: #171B23; --surface-3: #1E232D;
  --line: #232833; --line-2: #313847; --text: #E9EDF5; --text-2: #C3CAD6; --muted: #9AA3B2;
  --mint: #7CF5C9; --mint-ink: #04291C; --mint-dim: rgba(124,245,201,.12); --violet: #B3A8FF; --violet-dim: rgba(179,168,255,.14); --amber: #FFC66B; --amber-dim: rgba(255,198,107,.13); --red: #FF8A80;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 8px; --r: 12px; --r-lg: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--mint); text-underline-offset: 3px; }
a:hover { color: #B4FFE3; }
h1, h2, h3, h4 { font-family: var(--sans); letter-spacing: -0.03em; line-height: 1.1; margin: 0; font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
kbd { font-family: var(--mono); font-size: 12px; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--mint); color: var(--mint-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--mint); color: var(--mint-ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: var(--mint-ink); }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.loading { padding: 80px 0; color: var(--muted); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-dim); margin-right: 10px; animation: pulse 2.4s ease-in-out infinite; vertical-align: 1px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(124,245,201,0); } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn kbd { background: rgba(4,41,28,.12); border-color: rgba(4,41,28,.25); color: var(--mint-ink); }
.btn-primary { background: var(--mint); color: var(--mint-ink); }
.btn-primary:hover { background: #A8FFE0; color: var(--mint-ink); }
.btn-outline, .btn-secondary { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover, .btn-secondary:hover { border-color: var(--text-2); color: var(--text); background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-dark { background: var(--surface-3); color: var(--text); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--mint); font-weight: 500; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(10,12,16,.82); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.04em; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-glyph { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--mint-ink); background: var(--mint); border-radius: 7px; padding: 3px 6px; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn):hover { color: var(--text); background: var(--surface-2); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--text); background: var(--surface-2); }
.site-nav .btn { margin-left: 10px; min-height: 40px; }
.count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--mint); color: var(--mint-ink); font-family: var(--mono); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.count[hidden] { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }

/* hero */
.hero { border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; position: relative; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.55), var(--bg) 92%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.eyebrow { color: var(--text-2); display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-weight: 800; letter-spacing: -0.05em; line-height: .98; margin-top: 26px; }
.accent { color: var(--mint); }
.lead { font-size: 19px; color: var(--text-2); margin-top: 22px; max-width: 580px; }
.cmd-search { display: flex; align-items: center; gap: 10px; margin-top: 34px; padding: 8px 8px 8px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 20px 60px -20px rgba(124,245,201,.18); transition: border-color .15s, box-shadow .15s; }
.cmd-search:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px var(--mint-dim); }
.cmd-search > svg { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.cmd-search input { border: 0; outline: none; background: transparent; min-width: 0; font-size: 17px; padding: 12px 0; color: var(--text); }
.cmd-search input::placeholder { color: #6E7787; }
.cmd-search input[name=q] { flex: 3 1 0; }
.cmd-where { flex: 1 1 0; border-left: 1px solid var(--line-2) !important; padding-left: 14px !important; font-family: var(--mono); font-size: 14px !important; }
.cmd-compact { margin-top: 0; box-shadow: none; }
.slash-hint { flex: 0 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.chips-label { color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2); text-decoration: none; font-size: 14px; }
.chip:hover { border-color: var(--mint); color: var(--text); }
.feed { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.feed-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.feed-head h2 { font-weight: 500; color: var(--text-2); display: inline-flex; align-items: center; }
.feed-head a { color: var(--muted); text-decoration: none; }
.feed-head a:hover { color: var(--mint); }
.feed-list .card { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; }
.feed-list .card:last-child { border-bottom: 0; }
.feed-list .card:hover { background: var(--surface-2); }

/* principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); margin-top: 0; }
.principle { padding: 32px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle .mono { color: var(--mint); }
.principle h2 { font-size: 20px; margin: 12px 0 6px; letter-spacing: -0.02em; }
.principle p { color: var(--muted); font-size: 15px; }

/* blocks */
.block { padding-top: 80px; }
.last-block { padding-bottom: 96px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.block-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.block-head a { color: var(--muted); text-decoration: none; }
.block-head a:hover { color: var(--mint); }
.match-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.match-copy { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; background: var(--surface); }
.match-copy h2 { font-size: 26px; }
.match-copy p { color: var(--muted); margin-top: 8px; }
.skills-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.skills-form input, .inline-input input, .fit-form input { flex: 1 1 200px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--text); }
.skills-form input:focus, .inline-input input:focus, .fit-form input:focus { outline: none; border-color: var(--mint); }
.skills-form .form-status { flex-basis: 100%; }
.match-list { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.match-list .card { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; }
.match-list .card:last-child { border-bottom: 0; }
.match-block:not(.has-matches) { grid-template-columns: minmax(0, 640px); }
.match-block:not(.has-matches) .match-list { display: none; }
.browse { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.cat-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); column-gap: 24px; }
.cat { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text-2); transition: color .15s, background .15s; }
.cat:hover { color: var(--text); background: var(--surface); }
.cat-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); color: var(--mint); display: flex; align-items: center; justify-content: center; }
.cat-icon svg { width: 16px; height: 16px; }
.cat-name { font-weight: 500; font-size: 15px; }
.cat-count { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.region-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); column-gap: 24px; }
.region { display: flex; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--text-2); text-decoration: none; font-size: 15px; }
.region:hover { color: var(--text); background: var(--surface); }
.region-count { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.company-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; background: var(--bg); text-decoration: none; color: var(--text); transition: background .15s; }
.company-tile:hover { background: var(--surface); color: var(--text); }
.company-tile .logo { grid-row: span 2; }
.company-tile-name { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.company-tile-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta { border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border: 1px solid var(--line-2); background: var(--surface); }
.cta .mono { color: var(--mint); }
.cta h2 { font-size: 30px; letter-spacing: -0.035em; }
.cta-hire { background: radial-gradient(120% 140% at 100% 0%, rgba(124,245,201,.16), transparent 55%), var(--surface); }
.inline-input { display: flex; gap: 8px; width: 100%; flex-wrap: wrap; }
.form-status { font-size: 13px; color: var(--mint); }
.form-status:empty { display: none; }

/* cards */
.logo { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex: 0 0 auto; border: 1px solid var(--line-2); }
.logo.t1 { background: var(--mint-dim); color: var(--mint); } .logo.t2 { background: var(--violet-dim); color: var(--violet); } .logo.t3 { background: var(--amber-dim); color: var(--amber); } .logo.t4 { background: var(--surface-3); color: var(--text); }
.logo-lg { width: 56px; height: 56px; font-size: 24px; border-radius: 13px; }
.logo-xl { width: 80px; height: 80px; font-size: 34px; border-radius: 18px; }
.verified { width: 16px; height: 16px; fill: var(--mint); stroke: none; flex: 0 0 auto; display: inline-block; vertical-align: -2px; margin-left: 5px; }
.verified .verified-tick { fill: none; stroke: var(--mint-ink); stroke-width: 2.6; }
.card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .15s, background .15s; cursor: default; }
.card:hover { border-color: var(--line-2); background: var(--surface-2); }
.card.is-active { border-color: var(--mint); background: var(--surface-2); box-shadow: 0 0 0 3px var(--mint-dim); }
.card-main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.card-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 6px; line-height: 1.6; }
.badge-new { background: var(--mint); color: var(--mint-ink); }
.badge-early { background: var(--violet-dim); color: var(--violet); }
.badge-fit { background: var(--amber-dim); color: var(--amber); }
.card-title { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--r); }
.card-title a:hover { color: var(--mint); }
.card-company { font-size: 14px; color: var(--text-2); display: flex; align-items: center; position: relative; z-index: 1; width: fit-content; }
.card-company a { color: var(--text-2); text-decoration: none; }
.card-company a:hover { color: var(--mint); }
.card-meta { display: flex; flex-wrap: wrap; gap: 3px 12px; color: var(--muted); font-size: 13px; }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-meta svg { width: 14px; height: 14px; }
.card-pay { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--mint); width: fit-content; margin-top: 4px; }
.card-pay svg { width: 15px; height: 15px; }
.card-points { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.card-points li { font-size: 12.5px; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; }
.card-summary { font-size: 14px; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; position: relative; z-index: 1; }
.card-age { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.save-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; color: var(--text-2); transition: background .15s, border-color .15s, color .15s; }
.save-btn svg { width: 17px; height: 17px; }
.save-btn:hover { border-color: var(--text-2); color: var(--text); }
.save-btn.is-saved { background: var(--mint-dim); border-color: var(--mint); color: var(--mint); }
.save-btn.is-saved svg { fill: currentColor; }
.job-actions .save-btn { width: auto; padding: 0 16px; min-height: 44px; height: auto; font-weight: 600; font-size: 15px; color: var(--text); }
.btn-apply { background: var(--mint); color: var(--mint-ink); min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn-apply:hover { background: #A8FFE0; color: var(--mint-ink); }
.card-compact { padding: 14px 18px; gap: 14px; }
.card-compact .logo { width: 38px; height: 38px; font-size: 16px; border-radius: 9px; }
.card-compact .card-title { font-size: 15.5px; }
.card-compact .card-meta span:nth-child(n+2) { display: none; }
.card-compact .save-btn { width: 34px; height: 34px; }
.empty-note { color: var(--muted); font-size: 15px; padding: 18px; }

/* search page */
.search-top { border-bottom: 1px solid var(--line); padding: 20px 0 16px; background: var(--bg); }
.filters-toggle { display: none; margin-top: 12px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin-top: 16px; }
.f { display: flex; flex-direction: column; gap: 5px; border: 0; margin: 0; padding: 0; min-width: 0; }
.f > .mono, .f legend { color: var(--muted); font-size: 11.5px; text-transform: lowercase; padding: 0; }
.f select, .field select { min-height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA3B2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; appearance: none; cursor: pointer; color: var(--text); font-size: 14px; }
.f select:focus, .field select:focus { outline: none; border-color: var(--mint); }
.f-pay { min-width: 190px; }
.f-pay input { width: 100%; }
input[type=range] { accent-color: var(--mint); height: 24px; cursor: pointer; }
.range-out { color: var(--mint); font-size: 12px; }
.f-types .checks { display: flex; gap: 4px; flex-wrap: wrap; }
.check { position: relative; display: inline-flex; cursor: pointer; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 14px; color: var(--text-2); background: var(--surface); }
.check input:checked + span { border-color: var(--mint); color: var(--mint); background: var(--mint-dim); }
.check input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.filter-row .link-btn { min-height: 40px; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; padding-top: 28px; padding-bottom: 96px; align-items: start; }
.split-preview { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); padding: 28px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.split-preview:empty { display: none; }
.preview-empty { color: var(--muted); text-align: center; padding: 60px 0; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.results-head h1 { font-size: clamp(24px, 2.6vw, 32px); }
.results-count { color: var(--muted); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.active-filters:empty { display: none; }
.pill-active { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: 8px; background: var(--mint-dim); color: var(--mint); border: 1px solid rgba(124,245,201,.3); font-family: var(--mono); font-size: 12.5px; cursor: pointer; }
.pill-active svg { width: 13px; height: 13px; }
.pill-understood { background: transparent; color: var(--text-2); border-style: dashed; border-color: var(--line-2); cursor: default; }
.result-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.split-list .card { cursor: pointer; }
.split-list .card-points { display: none; }
.inline-alert { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 18px; border-radius: var(--r); border: 1px dashed var(--line-2); background: transparent; }
.inline-alert-text { flex: 1 1 220px; display: flex; flex-direction: column; font-size: 14px; }
.inline-alert-text span { color: var(--muted); }
.inline-alert input { flex: 1 1 180px; min-height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); }
.inline-alert .form-status { flex-basis: 100%; }
.empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.empty h3 { font-size: 22px; }
.empty p { color: var(--muted); max-width: 420px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 24px; }
.pager-btn { min-width: 40px; min-height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; font-family: var(--mono); font-size: 13px; cursor: pointer; color: var(--text-2); }
.pager-btn:hover:not(:disabled) { border-color: var(--text-2); color: var(--text); }
.pager-btn.is-current { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); }
.pager-btn:disabled { opacity: .35; cursor: default; }
.related { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.related:empty { display: none; }
.related-label { color: var(--muted); font-family: var(--mono); font-size: 13px; }

/* job page + preview */
.page-job { padding-top: 24px; padding-bottom: 96px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--mint); }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.job-detail { display: flex; flex-direction: column; gap: 24px; }
.job-head { display: flex; flex-direction: column; gap: 14px; }
.job-company { display: flex; gap: 14px; align-items: center; }
.job-company-name { font-weight: 600; color: var(--text); text-decoration: none; }
.job-company-name:hover { color: var(--mint); }
.job-company-meta { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.job-title { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.is-preview .job-title { font-size: 30px; }
.job-title a { color: inherit; text-decoration: none; }
.job-title a:hover { color: var(--mint); }
.job-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.job-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.is-preview .job-facts { grid-template-columns: repeat(2, 1fr); }
.fact { padding: 14px 16px; background: var(--surface); }
.page-job .fact { background: var(--bg); }
.fact dt { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: lowercase; }
.fact dt svg { width: 14px; height: 14px; }
.fact dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; }
.fact:first-child dd { color: var(--mint); font-family: var(--mono); font-weight: 500; font-size: 14px; }
.signals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reply-signal, .competition { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); }
.reply-signal svg, .competition svg { width: 20px; height: 20px; color: var(--mint); flex: 0 0 auto; margin-top: 1px; }
.reply-signal strong { display: block; color: var(--text); }
.competition { align-items: center; }
.competition svg { color: var(--violet); }
.fit { border-radius: var(--r-lg); padding: 24px; border: 1px solid rgba(255,198,107,.28); background: linear-gradient(180deg, var(--amber-dim), transparent 120%); }
.fit h2 { font-size: 21px; }
.fit-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fit-score { font-family: var(--mono); font-size: 13px; color: var(--amber); border: 1px solid rgba(255,198,107,.4); padding: 4px 10px; border-radius: 8px; }
.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.fit-sub { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: lowercase; margin-bottom: 10px; letter-spacing: 0; }
.fit-have { color: var(--mint); } .fit-gap { color: var(--amber); }
.fit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 15px; }
.fit-list li { display: flex; gap: 8px; align-items: center; color: var(--text-2); }
.fit-list li svg { width: 16px; height: 16px; color: var(--mint); stroke-width: 2.6; }
.fit-list li.gap::before { content: '+'; width: 16px; text-align: center; color: var(--amber); font-family: var(--mono); }
.fit-list li.none { color: var(--muted); }
.fit-empty p { color: var(--text-2); margin: 8px 0 14px; font-size: 15px; }
.fit-form { display: flex; gap: 8px; flex-wrap: wrap; }
.fit .link-btn { margin-top: 12px; }
.job-desc { font-size: 16.5px; line-height: 1.7; color: var(--text-2); max-width: 720px; }
.job-desc h2 { font-size: 22px; color: var(--text); margin-bottom: 10px; }
.job-desc h3 { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--mint); text-transform: lowercase; margin: 24px 0 8px; letter-spacing: 0; }
.job-desc ul { padding-left: 20px; margin: 0; }
.job-desc li { margin: 4px 0; }
.job-desc li::marker { color: var(--muted); }
.skill-tags { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tags li { margin: 0; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line-2); font-size: 13px; font-family: var(--mono); }
.similar { margin-top: 52px; }
.similar h2 { font-size: 22px; margin-bottom: 14px; }
.similar-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.job-aside { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 84px; }
.apply { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 26px; background: var(--surface); display: flex; flex-direction: column; gap: 14px; }
.apply-head h2 { font-size: 24px; }
.apply-head p { color: var(--muted); margin-top: 4px; font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-family: var(--mono); font-size: 12px; color: var(--text-2); padding: 0; }
.optional { color: var(--muted); }
.field input, .field textarea { min-height: 46px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--text); width: 100%; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-dim); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field-error { font-size: 13px; color: var(--red); }
.field-error:empty { display: none; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 16px; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--bg); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone svg { width: 24px; height: 24px; color: var(--mint); }
.dropzone:hover, .dropzone.is-drag { border-color: var(--mint); background: var(--mint-dim); }
.dropzone.has-file { border-style: solid; border-color: var(--mint); }
.dropzone-title { font-weight: 600; word-break: break-all; }
.dropzone-hint { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.field:focus-within .dropzone { border-color: var(--mint); }
.apply-small { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.5; }
.apply-done { align-items: center; text-align: center; border-color: rgba(124,245,201,.4); }
.done-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--mint-dim); }
.done-icon svg { width: 28px; height: 28px; stroke-width: 3; }
.apply-done p { color: var(--text-2); }
.company-box { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; }
.company-box a { font-weight: 600; color: var(--text); text-decoration: none; }
.company-box p { color: var(--muted); margin: 6px 0 10px; }
.company-box .link-arrow { color: var(--mint); }
.apply-bar { display: none; }

/* other pages */
.page-company, .page-salaries, .page-saved, .page-404 { padding-top: 32px; padding-bottom: 96px; }
.page-head { padding: 24px 0 32px; max-width: 760px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.045em; }
.page-head p { color: var(--text-2); font-size: 17px; margin-top: 12px; }
.company-head { display: flex; gap: 22px; align-items: center; padding: 12px 0 26px; }
.company-head h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.company-head h1 .verified { width: 24px; height: 24px; }
.company-head p { color: var(--text-2); margin-top: 8px; max-width: 640px; }
.company-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0 0 44px; }
.company-stats div { padding: 16px 18px; background: var(--bg); }
.company-stats dt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.company-stats dd { margin: 4px 0 0; font-weight: 600; }
.company-stats div:nth-child(2) dd { color: var(--mint); }
.section-title { font-size: 24px; }
.page-company .result-list { margin-top: 16px; }
.salary-chart { padding-top: 30px; }
.salary-axis { position: relative; height: 20px; margin-left: 280px; margin-right: 180px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.salary-axis span { position: absolute; transform: translateX(-50%); }
.salary-row { display: grid; grid-template-columns: 260px minmax(0, 1fr) 160px; gap: 20px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.salary-name { font-weight: 500; color: var(--text); text-decoration: none; display: flex; flex-direction: column; }
.salary-name:hover { color: var(--mint); }
.salary-name span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.salary-track { position: relative; height: 8px; background: var(--surface-2); border-radius: 999px; }
.salary-bar { position: absolute; top: 0; bottom: 0; background: rgba(124,245,201,.35); border-radius: 999px; }
.salary-mid { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-dim); }
.salary-value { font-family: var(--mono); font-size: 13px; text-align: right; display: flex; flex-direction: column; color: var(--text); }
.salary-value small { color: var(--muted); font-size: 11.5px; }
.saved-section { margin-bottom: 44px; }
.tracker { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tracker li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; background: var(--surface); }
.tracker li:last-child { border-bottom: 0; }
.tracker a { font-weight: 600; color: var(--text); text-decoration: none; }
.tracker a:hover { color: var(--mint); }
.tracker span { display: block; font-size: 13px; color: var(--muted); }
.tracker .status { font-family: var(--mono); font-size: 12px; color: var(--mint); border: 1px solid rgba(124,245,201,.35); padding: 4px 10px; border-radius: 8px; }

/* employers */
.emp-hero { border-bottom: 1px solid var(--line); padding: 96px 0; background: radial-gradient(80% 120% at 85% 0%, rgba(124,245,201,.12), transparent 60%); }
.emp-hero .eyebrow { font-family: var(--mono); font-size: 13px; color: var(--mint); margin-bottom: 18px; }
.emp-hero h1 { font-size: clamp(38px, 6vw, 76px); font-weight: 800; letter-spacing: -0.05em; line-height: .98; max-width: 900px; }
.emp-hero .lead { max-width: 620px; }
.emp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.emp-why { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); margin-top: 0; }
.why { padding: 30px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-num { font-family: var(--mono); font-size: 13px; color: var(--mint); }
.why h2 { font-size: 20px; margin: 12px 0 6px; }
.why p { color: var(--muted); font-size: 15px; }
.section-head { margin-bottom: 26px; max-width: 720px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.04em; }
.section-head p { color: var(--muted); margin-top: 10px; }
.pricing { padding-top: 88px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); }
.plan h3 { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--text-2); letter-spacing: 0; text-transform: lowercase; }
.plan-price { color: var(--muted); font-size: 15px; }
.plan-price span { font-size: 46px; font-weight: 800; color: var(--text); letter-spacing: -0.045em; margin-right: 4px; }
.plan-pitch { color: var(--text-2); }
.plan ul { list-style: none; padding: 16px 0 0; margin: 0 0 8px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; flex: 1; font-size: 15px; color: var(--text-2); }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: '→'; position: absolute; left: 0; color: var(--mint); font-family: var(--mono); font-size: 13px; top: 1px; }
.plan-featured { border-color: var(--mint); box-shadow: 0 0 0 4px var(--mint-dim), 0 30px 80px -30px rgba(124,245,201,.35); }
.plan-tag { position: absolute; top: 26px; right: 24px; font-family: var(--mono); font-size: 11.5px; color: var(--mint-ink); background: var(--mint); padding: 3px 8px; border-radius: 6px; }
.small-print { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 14px; }
.post { padding-top: 88px; padding-bottom: 96px; scroll-margin-top: 70px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.post-form { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); }
.post-form .field input, .post-form .field textarea { background: var(--bg); }
.post-form .field select { min-height: 46px; width: 100%; font-size: 15px; background-color: var(--bg); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; border: 0; margin: 0; padding: 0; }
.pay-row legend { margin-bottom: 6px; }
.ad-preview { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--mint); box-shadow: 0 0 0 4px var(--mint-dim); scroll-margin-top: 84px; }
.ad-preview[hidden] { display: none; }
.ad-preview-head h3 { font-size: 22px; }
.ad-preview-head p { color: var(--muted); margin-top: 4px; }
.ad-preview-body { font-size: 15px; color: var(--text-2); }
.ad-preview-body h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--mint); margin: 14px 0 4px; text-transform: lowercase; letter-spacing: 0; }
.ad-preview-body ul { margin: 0; padding-left: 20px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); margin-top: 12px; max-width: 300px; }
.status-line { display: flex; align-items: center; color: var(--text-2) !important; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; text-transform: lowercase; margin-bottom: 12px; }
.footer-cols a { display: block; color: var(--text-2); text-decoration: none; font-size: 15px; padding: 4px 0; }
.footer-cols a:hover { color: var(--mint); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--surface-3); color: var(--text); border: 1px solid var(--line-2); padding: 11px 18px; border-radius: 10px; font-family: var(--mono); font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.toast::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); margin-right: 10px; vertical-align: 1px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
  .split-preview { display: none; }
  .split-list .card { cursor: default; }
  .job-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .salary-row { grid-template-columns: 200px minmax(0, 1fr) 140px; }
  .salary-axis { margin-left: 220px; margin-right: 160px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 24px 20px; gap: 2px; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 10px; font-size: 16px; }
  .site-nav .btn { margin: 10px 0 0; }
  .hero-inner, .match-block, .browse, .cta-row, .plans, .emp-why, .post-layout, .job-layout { grid-template-columns: 1fr; }
  .job-aside { position: static; }
  .filters-toggle { display: inline-flex; }
  .filter-row { display: none; }
  .filter-row.is-open { display: flex; }
  .apply-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 10px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(17,20,26,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line-2); }
  .apply-bar div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
  .apply-bar strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .apply-bar span { color: var(--mint); font-family: var(--mono); font-size: 12px; }
  .page-job { padding-bottom: 120px; }
  .company-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .cmd-search { flex-wrap: wrap; padding: 8px 8px 8px 14px; }
  .cmd-search input[name=q] { flex-basis: calc(100% - 40px); }
  .cmd-where { flex-basis: 100%; border-left: 0 !important; border-top: 1px solid var(--line-2) !important; padding-left: 0 !important; }
  .cmd-search .btn { width: 100%; }
  .slash-hint { display: none; }
  .principles, .cat-list, .region-list { grid-template-columns: 1fr; }
  .card { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .card-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .card-side .btn-apply { margin-left: auto; }
  .job-facts, .is-preview .job-facts { grid-template-columns: 1fr 1fr; }
  .signals, .fit-cols { grid-template-columns: 1fr; }
  .salary-axis { display: none; }
  .salary-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .salary-track { grid-column: 1 / -1; grid-row: 2; }
  .cta, .plan, .apply, .post-form, .ad-preview, .match-copy { padding: 22px; }
  .company-head { flex-direction: column; align-items: flex-start; }
  .similar-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
