/* nda.careers — фирменный стиль по брендбуку NDA.careers (октябрь 2026): тёмная тема с фиолетовым
   оттенком, плоские контрастные блоки, без неона, градиентов на кнопках и свечений. Сетка,
   компоненты и классы унаследованы от витрины партнёра — менялись только цвета, шрифты и декор. */
:root {
  /* Палитра брендбука */
  --brand-purple: #3A004A;   /* NDA Purple: плашки, логотип, текст на белой кнопке */
  --brand-deep: #230032;     /* Deep Purple: подложка hero, затемнение */
  --brand-indigo: #2E347B;   /* Digital Indigo: бейдж беттинга, выделение текста */
  --brand-violet: #76548B;   /* Muted Violet: бейдж iGaming, рамки при наведении, подчёркивания */
  --brand-white: #F4F3F1;    /* Soft White: текст, контрастные блоки */
  --brand-ink: #09090B;      /* Ink Black: текст на светлом фоне */

  /* Фон и поверхности — затемнённые и приглушённые производные Deep Purple: чистые #230032/#3A004A
     на всю страницу слишком насыщенные, фирменные цвета остаются на плашках и акцентах. */
  --bg: #160A1E; --bg-2: #0F0615;
  --surface: #21122B; --surface-2: #2B1A36; --surface-3: #362342;
  --border: #3F2C4C; --border-soft: #2E1E3A;
  --text: var(--brand-white); --text-2: #D3CAD9; --text-3: #9C8CA8;
  --surface-glass: color-mix(in oklab, var(--bg) 82%, transparent);
  --text-inverse: var(--brand-purple); --text-inverse-2: var(--brand-ink);
  --accent: var(--brand-white);           /* главный акцент: контрастная белая плашка */
  --accent-soft: var(--brand-violet);     /* мягкий акцент: рамки, hover, подчёркивания */
  --accent-indigo: var(--brand-indigo);   /* заливка выделения */
  --accent-salary: var(--brand-white); --accent-live: var(--brand-white);
  --accent-vertical-igaming: var(--brand-violet); --accent-vertical-betting: var(--brand-indigo); --accent-vertical-adult: var(--brand-white);
  --accent-remote: var(--brand-white);
  /* Шрифты: Monument Extended (заголовки) и Monument Grotesk (текст) коммерческие; до лицензии
     заголовки — Montserrat, интерфейс и текст — Inter. Rubik Glitch — короткие акценты (рубрика на главной, номер 404). */
  --font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-glitch: "Rubik Glitch", "Montserrat", sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-20: 80px;
  --radius-sm: 6px; --radius: 8px; --radius-md: 10px; --radius-lg: 14px; --radius-pill: 100px; --radius-field: 12px;
  --shadow-inset: inset 3px 3px 5px rgba(9, 9, 11, .16); --focus-ring: 0 0 0 3px color-mix(in oklab, var(--brand-violet) 35%, transparent);
  --shadow-card-hover: 0 14px 32px -20px rgba(9, 9, 11, .8);
  --blur-nav: blur(14px) saturate(1.1);
  --dur-fast: 0.15s; --dur-base: 0.2s; --dur-slow: 0.35s;
  --grid-line: #1F1128; --grid-size: 48px;
}
[data-theme="light"] {
  --bg: var(--brand-white); --bg-2: #ECE8EE; --surface: #ffffff; --surface-2: #F2EEF4; --surface-3: #E8E1EB;
  --border: #D6CBDC; --border-soft: #E7E0EA; --text: var(--brand-ink); --text-2: #3E2E48; --text-3: #6E5A7A;
  --surface-glass: color-mix(in oklab, var(--bg) 85%, transparent);
  --text-inverse: var(--brand-white); --text-inverse-2: var(--brand-purple);
  --accent: var(--brand-purple); --accent-soft: var(--brand-violet);
  --accent-salary: var(--brand-purple); --accent-live: var(--brand-purple);
  --accent-vertical-igaming: var(--brand-violet); --accent-vertical-betting: var(--brand-indigo); --accent-vertical-adult: var(--brand-purple);
  --accent-remote: var(--brand-purple);
  --shadow-card-hover: 0 8px 20px -8px color-mix(in oklab, var(--text) 18%, transparent);
  --grid-line: #E7E0EA;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
::selection { background: var(--accent-indigo); color: var(--brand-white); }
* { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }

.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.muted { color: var(--text-3); }
.accent-glitch { font-family: var(--font-glitch); font-weight: 400; font-size: 28px; letter-spacing: .04em; text-transform: none; }
.hairline-grid { position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: var(--grid-size) var(--grid-size); opacity: 0.6; }
.app { position: relative; min-height: 100vh; z-index: 1; display: flex; flex-direction: column; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--surface-glass); backdrop-filter: var(--blur-nav); -webkit-backdrop-filter: var(--blur-nav); border-bottom: 1px solid var(--border-soft); }
.nav-inner { max-width: 1320px; margin: 0 auto; padding: 10px 32px; display: flex; align-items: center; gap: 24px; }
/* Логотип: мастер-PNG с вырезанной подложкой (static/img/logo-on-dark.png), без теней и свечений */
.wordmark, .footer .brand { display: inline-flex; align-items: center; line-height: 0; flex-shrink: 0; }
.wordmark img { display: block; height: 38px; width: auto; }
.footer .brand img { display: block; height: 48px; width: auto; }

.nav-links { display: flex; gap: 22px; margin-left: 32px; align-self: stretch; }
.nav-links a { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; color: var(--text-3); position: relative; transition: color var(--dur-fast); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 2px; background: var(--accent); }
.nav-spacer { flex: 1; }
.nav-tools { display: flex; align-items: center; gap: 12px; white-space: nowrap; }

/* Buttons, badges, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 1px solid var(--accent); background: var(--accent); color: var(--text-inverse); font-family: var(--font-sans); font-size: 14px; font-weight: 600; border-radius: var(--radius); transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base), transform .1s; white-space: nowrap; cursor: pointer; }
.btn:hover { background: color-mix(in oklab, var(--accent) 86%, var(--accent-soft)); border-color: color-mix(in oklab, var(--accent) 86%, var(--accent-soft)); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--accent); color: var(--text); background: color-mix(in oklab, var(--accent) 6%, transparent); }
.btn.sm { padding: 7px 12px; font-size: 12px; border-radius: var(--radius-sm); }
.btn.full { width: 100%; }
.btn.disabled { opacity: .4; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.vtag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--border); color: var(--text-2); }
.vtag.igaming { color: var(--brand-white); border-color: var(--accent-vertical-igaming); background: var(--accent-vertical-igaming); }
.vtag.betting { color: var(--brand-white); border-color: var(--accent-vertical-betting); background: var(--accent-vertical-betting); }
.vtag.adult { color: var(--text-inverse); border-color: var(--accent-vertical-adult); background: var(--accent-vertical-adult); }
.vtag.remote { color: var(--text); border-color: var(--accent-remote); background: transparent; }
a.vtag:hover { filter: brightness(1.12); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 12px; color: var(--text-2); background: var(--surface-2); }
.dot-live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-live); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent-soft) 80%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.page-enter { animation: pageIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes pageIn { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: translateY(0); } }

/* Inputs */
.input { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-field); box-shadow: var(--shadow-inset); transition: border-color .2s, box-shadow .2s; }
.input:focus-within { border-color: var(--accent-soft); box-shadow: var(--focus-ring); }
.input-icon { color: var(--text-3); font-size: 16px; line-height: 1; }
.input input { border: 0; outline: none; background: transparent; color: var(--text); font-size: 13px; font-weight: 500; flex: 1; min-width: 0; }
.input input::placeholder { color: var(--text-3); }
.select { font-family: var(--font-sans); font-size: 12px; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); outline: none; cursor: pointer; padding: 9px 6px; transition: border-color var(--dur-base); }
.select:focus { border-color: var(--accent); }
.select option { background: var(--surface); color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 9px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-2); font-size: 12px; color: var(--text-2); cursor: pointer; user-select: none; transition: border-color .15s, color .15s, background .15s; }
.pill:hover { border-color: var(--text-2); color: var(--text); }
.pill.on { border-color: var(--accent); color: var(--text-inverse); background: var(--accent); }
.pill:has(input:focus-visible), .preset:focus-visible, .filter-chip:focus-visible { outline: none; border-color: var(--accent-soft); box-shadow: var(--focus-ring); }
.pill input { appearance: none; width: 12px; height: 12px; border: 1px solid var(--border); border-radius: 3px; margin: 0; display: inline-grid; place-content: center; }
.pill input:checked { background: currentColor; border-color: currentColor; }
.clear-all { background: transparent; border: 0; padding: 0; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.clear-all:hover { color: var(--text); }

/* Выпадающие списки фильтров — панель в стиле партнёра (.select-panel): поле с вводом, панель на 6px ниже
   со своей рамкой и тенью, скруглённые строки, подпись (количество) справа приглушённым цветом. Нативный
   select остаётся в разметке и прячется только после того, как site.js его обернул. */
.select-field { position: relative; min-width: 0; }
.select.is-enhanced { display: none; }
.select-input { width: 100%; height: 40px; border: 1px solid var(--border); border-radius: var(--radius-field); background: var(--surface-2); color: var(--text); font: 500 13px var(--font-sans); padding: 0 32px 0 14px; outline: none; box-shadow: var(--shadow-inset); transition: border-color .2s, box-shadow .2s; text-overflow: ellipsis; cursor: pointer; }
.select-input:focus-visible, .select-field.open .select-input { border-color: var(--accent-soft); box-shadow: var(--focus-ring); cursor: text; }
.select-chevron { position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; transition: transform .2s; }
.select-field.open .select-chevron { transform: translateY(-30%) rotate(225deg); }
.select-panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 100%; width: max-content; max-width: min(320px, calc(100vw - 32px)); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-field); box-shadow: 0 4px 6px rgba(9, 9, 11, .28), 0 16px 40px -16px rgba(9, 9, 11, .7); overflow: hidden; padding: 8px 4px 8px 8px; }
.select-panel.align-right { left: auto; right: 0; }
.select-list { max-height: 270px; overflow-y: auto; scroll-behavior: smooth; padding-right: 4px; scrollbar-width: thin; scrollbar-color: color-mix(in oklab, var(--text) 45%, transparent) transparent; }
.select-list::-webkit-scrollbar { width: 14px; }
.select-list::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.select-list::-webkit-scrollbar-track { background: transparent; }
.select-list::-webkit-scrollbar-thumb { background: color-mix(in oklab, var(--text) 45%, transparent); border-radius: 30px; border: 5px solid var(--bg); }
.select-option { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 0; background: none; border-radius: var(--radius); color: var(--text-2); font-family: var(--font-sans); font-size: 13px; text-align: left; cursor: pointer; transition: background .12s ease, color .12s ease; }
.select-option.active { background: var(--surface-3); color: var(--text); }
@media (hover: hover) { .select-option:not(.active):hover { color: var(--text); background: color-mix(in oklab, var(--brand-white) 6%, transparent); } }
.select-option-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.select-option-sub { margin-left: auto; color: var(--text-3); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.select-empty { padding: 11px 14px; color: var(--text-3); font-size: 13px; }

/* Hero (compact) */
.hero-mini { padding: var(--space-12) 0 var(--space-10); border-bottom: 1px solid var(--border-soft); background: linear-gradient(180deg, color-mix(in oklab, var(--brand-deep) 45%, transparent), transparent); }
.hero-mini-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-12); align-items: end; }
.hero-eyebrow { font-family: var(--font-glitch); font-size: 14px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.hero-headline { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 18ch; color: var(--text); }
.hero-headline em { font-style: normal; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .14em; text-decoration-color: var(--accent-soft); }
.hero-sub { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 54ch; margin: 0; }
.hero-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.hero-meta .cell { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .n { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--text); }
.hero-meta .k { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

.hero-mini.compact { padding: 12px 0; background: none; }
.hero-line { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.hero-line-brand { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--text); }
.hero-line-stats { font-variant-numeric: tabular-nums; }
.hero-line-stats b { color: var(--text); font-weight: 600; }
.hero-line-stats a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
.hero-line-stats a:hover { color: var(--text); text-decoration-color: var(--accent-soft); }

/* Board */
.board { padding: var(--space-8) 32px 120px; scroll-margin-top: 64px; width: 100%; } /* width: иначе flex-колонка .app растягивает main до max-content ряда пресетов */
.filters-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); margin-bottom: var(--space-6); }
.filters-bar .search { flex: 3 1 240px; min-width: 0; }
.filters-bar .select { flex: 0 1 auto; max-width: 200px; }
.filters-bar .select-field { flex: 1 1 150px; min-width: 130px; max-width: 220px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: calc(-1 * var(--space-2)) 0 var(--space-6); }
.preset { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: transparent; font-size: 12.5px; font-weight: 500; color: var(--text-2); transition: border-color .15s, color .15s, background .15s; }
.preset .n { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; color: var(--text-3); font-variant-numeric: tabular-nums; }
.preset:hover { border-color: var(--accent-soft); color: var(--text); background: var(--surface-2); }
.preset.on { border-color: var(--accent); color: var(--text-inverse); background: var(--accent); }
.preset.on .n { color: var(--text-inverse); opacity: .75; }
.matches-head { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: var(--space-4); border-bottom: 1px solid var(--border-soft); margin-bottom: var(--space-5); gap: 16px; flex-wrap: wrap; }
.board-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.matches-head .sub { color: var(--text-3); font-size: 13px; margin-top: 6px; }
.chips-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; max-width: 100%; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 11px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-2); font-size: 12.5px; color: var(--text); max-width: 100%; transition: border-color .15s, background .15s; }
.filter-chip .x { font-size: 15px; line-height: 1; color: var(--text-3); }
.filter-chip:hover { border-color: var(--accent-soft); background: var(--surface-3); }
.filter-chip:hover .x { color: var(--text); }
.chips-bar .clear-all { margin-left: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.match-row-wrap { position: relative; padding: 2px; border-radius: var(--radius-lg); background: var(--border-soft); transition: background var(--dur-slow); margin-bottom: var(--space-4); }
.match-row-wrap:hover { background: var(--accent-soft); }
.match-row { display: grid; grid-template-columns: 1fr 160px 28px; gap: var(--space-5); padding: var(--space-6); border-radius: calc(var(--radius-lg) - 2px); background: var(--surface); align-items: center; position: relative; transition: box-shadow var(--dur-slow); }
.match-row-wrap:hover .match-row { box-shadow: var(--shadow-card-hover); }
.match-row .num { font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--text-3); letter-spacing: .1em; margin-bottom: var(--space-2); }
.match-row h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 8px; }
.match-row h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-soft); }
.match-row .meta { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 12.5px; flex-wrap: wrap; }
.match-row .tags, .job-main .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: var(--space-3); }
.match-row .row-summary { margin: var(--space-3) 0 0; font-size: 13px; color: var(--text-2); max-width: 70ch; line-height: 1.5; }
.match-row .side { display: flex; flex-direction: column; align-items: flex-end; }
.match-row .salary, .salary-inline { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--accent-salary); text-align: right; }
.match-row .salary.pay-note { color: var(--text-3); font-weight: 500; font-size: 12.5px; line-height: 1.4; }
.match-row .pay-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.match-row .meta .spec { color: var(--text-2); }
.badge.lang { color: var(--text); border-color: var(--accent-soft); text-transform: none; letter-spacing: .02em; font-size: 11px; }
.match-row .row-open { color: var(--text-3); justify-self: end; font-size: 18px; transition: transform .15s, color .15s; }
.match-row-wrap:hover .row-open { color: var(--text); transform: translateX(3px); }
.match-row .posted { position: absolute; top: var(--space-5); right: var(--space-6); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; color: var(--text-3); }
.empty { padding: 56px 0 72px; text-align: center; color: var(--text-3); }
.empty-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text); margin: 0 0 var(--space-4); }
.suggestions { list-style: none; margin: 0 auto var(--space-5); padding: 0; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.suggestions li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 14px; color: var(--text-2); }
.suggestions li a { text-decoration: none; color: var(--text); flex: 1; text-align: left; }
.suggestions li:hover { border-color: var(--accent-soft); }
.suggestions .n { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); white-space: nowrap; }
.empty-foot { margin: 0; font-size: 13px; }
.empty a, .notice a, .contact-list a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-soft); }
.empty a:hover, .notice a:hover, .contact-list a:hover { text-decoration-color: var(--text); }
.pagination { display: flex; align-items: center; gap: 12px; padding: 24px 0; border-top: 1px solid var(--border); margin-top: 16px; }
.pagination .mono { color: var(--text-3); }

/* Job detail */
.job-page { max-width: 1320px; margin: 0 auto; padding: var(--space-6) 32px 120px; display: grid; grid-template-columns: 1fr 380px; gap: var(--space-12); }
.breadcrumbs { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--space-4); flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .sep { color: var(--border); }
.job-main h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 var(--space-3); }
.job-main .subhead { display: flex; flex-wrap: wrap; gap: var(--space-5); color: var(--text-3); font-size: 14px; padding: var(--space-4) 0; border-bottom: 1px solid var(--border-soft); margin-bottom: var(--space-6); }
.job-main .subhead > span { color: var(--text-2); }
.notice { margin: 0 0 var(--space-5); padding: 12px 16px; border: 1px solid var(--accent-soft); background: color-mix(in oklab, var(--accent-soft) 22%, transparent); border-radius: var(--radius); font-size: 13px; color: var(--text-2); }
.job-main .lead { font-size: 16px; line-height: 1.6; max-width: 70ch; color: var(--text); }
.job-main h2 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; margin: var(--space-8) 0 var(--space-3); }
.job-main p, .job-main ul { line-height: 1.7; color: var(--text-2); }
.job-main ul { padding-left: 20px; }
.job-main pre.raw { white-space: pre-wrap; font-family: var(--font-sans); font-size: 14px; line-height: 1.6; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); }
.job-aside { position: sticky; top: 80px; align-self: start; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.job-aside section { padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--border-soft); }
.job-aside section:last-child { border-bottom: 0; }
.contacts-box { background: color-mix(in oklab, var(--accent-soft) 18%, var(--surface)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.contact-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: flex; flex-direction: column; gap: 8px; }
.contact-list li { display: flex; gap: 8px; align-items: baseline; font-size: 14px; flex-wrap: wrap; word-break: break-all; }
.aside-note { font-size: 12px; color: var(--text-3); margin: var(--space-3) 0 0; line-height: 1.45; }
.facts { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 0; font-size: 13px; }
.facts dt { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding-top: 2px; }
.facts dd { margin: 0; color: var(--text-2); }
.related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.related li { display: flex; justify-content: space-between; gap: 10px; }
.related a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-soft); }

/* Employers */
.employer-page { max-width: 1320px; margin: 0 auto; padding: var(--space-16) 32px 120px; }
.employer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: start; }
.employer-eyebrow { color: var(--text-3); margin-bottom: var(--space-5); }
.employer-grid h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 var(--space-4); }
.employer-sub { font-size: 17px; line-height: 1.55; color: var(--text-2); margin: 0 0 var(--space-8); }
.employer-bullets { list-style: none; margin: 0 0 var(--space-8); padding: 0; border-top: 1px solid var(--border-soft); }
.employer-bullets li { display: grid; grid-template-columns: 150px 1fr; gap: var(--space-5); padding: var(--space-5) 0; border-bottom: 1px solid var(--border-soft); }
.employer-bullets .k { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.employer-bullets .v { color: var(--text-2); line-height: 1.5; }
.hero-ctas { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.employer-stats { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: var(--space-6); }
.employer-stats-label { color: var(--text-3); margin-bottom: var(--space-4); }
.employer-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.employer-stats-grid .n { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--text); }
.employer-stats-grid .k { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }

/* Footer */
.footer { border-top: 1px solid var(--border-soft); padding: var(--space-12) 0 var(--space-8); background: var(--bg-2); margin-top: auto; }
.footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-12); }
.footer h5 { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 0 0 var(--space-4); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: var(--space-2); font-size: 13px; }
.footer li a { color: var(--text-2); }
.footer li a:hover { color: var(--text); }
.footer .brand { margin-bottom: var(--space-4); }
.footer .legal { display: flex; justify-content: space-between; margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--border-soft); font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; flex-wrap: wrap; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 1100px) {
  .job-page, .employer-grid, .hero-mini-grid { grid-template-columns: 1fr; }
  .job-aside { position: static; }
}
@media (max-width: 860px) {
  .match-row { grid-template-columns: 1fr 28px; grid-template-areas: "main go" "side side"; gap: var(--space-3) var(--space-4); align-items: start; }
  .match-row .main { grid-area: main; min-width: 0; }
  .match-row h3 { font-size: 19px; }
  .match-row .row-open { grid-area: go; align-self: start; }
  .match-row .side { grid-area: side; align-items: flex-start; }
  .match-row .salary { text-align: left; }
  .match-row .posted { position: static; display: block; margin-top: 6px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-tools .ghost { display: none; }
}
@media (max-width: 560px) {
  .nav-inner { padding: 10px 16px; gap: 12px; }
  .wordmark img { height: 34px; }
  .container, .job-page, .employer-page { padding-left: 16px; padding-right: 16px; }
  .board { padding-left: 16px; padding-right: 16px; }
  .hero-mini { padding: 28px 0 24px; }
  .hero-mini.compact { padding: 10px 0; }
  .hero-line-brand { font-size: 14px; }
  .hero-meta { gap: var(--space-4); padding: var(--space-4); }
  .hero-meta .n { font-size: 24px; }
  .filters-bar { padding: 10px; gap: 6px; }
  .filters-bar .search { flex: 1 1 100%; }
  .filters-bar .select { max-width: none; flex: 1 1 45%; }
  .filters-bar .select-field { max-width: none; flex: 1 1 calc(50% - 3px); min-width: 0; }
  .filters-bar .pill { flex: 1 1 calc(50% - 3px); justify-content: center; }
  .presets { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 2px 16px; }
  .presets::-webkit-scrollbar { display: none; }
  .preset { flex: 0 0 auto; }
  .hero-line-brand { display: none; }
  .select-input, .select-option, .input input { font-size: 16px; }
  .filters-bar .btn { flex: 1 1 100%; }
  .footer .grid { grid-template-columns: 1fr; gap: 24px; }
  .facts { grid-template-columns: 96px 1fr; }
}
