:root {
  --bg: #eef4ff;
  --bg-deep: #dfe8ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-muted: rgba(244, 247, 255, 0.92);
  --line: rgba(32, 30, 41, 0.09);
  --line-strong: rgba(32, 30, 41, 0.14);
  --text: #201d29;
  --muted: #6c6579;
  --accent: #2f67ff;
  --accent-strong: #174ad9;
  --success: #1f8c5c;
  --warning: #c47b15;
  --danger: #bf3d3d;
  --info: #2b6cb0;
  --neutral: #55637f;
  --shadow: 0 26px 72px rgba(38, 61, 129, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1280px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8f9fc 0%, var(--bg) 100%);
  color: var(--text);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.45;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: rgba(47, 103, 255, 0.18);
  top: -80px;
  right: -120px;
}

.orb-b {
  width: 360px;
  height: 360px;
  background: rgba(90, 176, 255, 0.16);
  bottom: 10%;
  left: -100px;
}

.grid-noise {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(19, 31, 54, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 31, 54, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-top {
  padding-top: 18px;
}

.page {
  padding-bottom: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(244, 246, 251, 0.72);
  border-bottom: 1px solid rgba(19, 31, 54, 0.06);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  min-width: 0;
}

.brand img {
  width: 38px;
  height: 38px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  min-width: 0;
}

.site-nav a,
.footer-links a,
.text-link {
  transition: color 180ms ease;
}

.site-nav a {
  font-size: 0.97rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

.nav-actions,
.nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions,
.dashboard-content,
.list-content,
.detail-main,
.detail-side,
.hero-copy,
.hero-scene {
  min-width: 0;
}

.nav-user__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.nav-user__meta span,
.result-count,
.muted-text {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  padding: 13px 20px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  box-shadow: 0 14px 24px rgba(39, 94, 254, 0.18);
  overflow-wrap: anywhere;
}

.button:hover {
  transform: translateY(-1px);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.button-danger {
  color: var(--danger);
}

.button-small {
  padding: 10px 14px;
  font-size: 0.92rem;
}

.button-block {
  width: 100%;
  justify-content: center;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 56px 0 24px;
}

.hero-home {
  min-height: min(820px, calc(100svh - 108px));
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.hero-copy,
.hero-scene,
.content-card,
.auth-card,
.auth-aside,
.filter-panel,
.preview-card,
.dashboard-nav,
.stat-card,
.banner-card,
.tile,
.brand-card,
.story-panel,
.cta-shell,
.error-card,
.vacancy-card,
.candidate-card,
.table-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-copy,
.auth-card,
.auth-aside,
.content-card,
.story-panel,
.error-card,
.tile,
.brand-card,
.stat-card,
.banner-card,
.vacancy-card,
.candidate-card,
.table-card,
.filter-panel,
.preview-card,
.dashboard-nav {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.3rem, 4.2vw, 4.2rem);
}

h2 {
  font-size: clamp(1.45rem, 1.85vw, 1.9rem);
}

h3 {
  font-size: 1.15rem;
}

.hero h1,
.section-head h2,
.auth-aside h1,
.error-card h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
}

p,
li {
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero-text {
  max-width: 620px;
  font-size: 1.05rem;
}

.hero-actions,
.card-actions,
.card-top,
.section-head,
.detail-meta,
.meta-row,
.brand-card__head,
.brand-card__meta,
.hero-search,
.mode-switch,
.panel-label,
.card-footer,
.filter-row,
.inline-form,
.stacked-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
  flex-wrap: wrap;
}

.mode-switch {
  margin: 26px 0 18px;
  background: rgba(19, 31, 54, 0.04);
  padding: 6px;
  border-radius: 999px;
  width: fit-content;
}

.mode-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.mode-switch button.is-active {
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(30, 51, 84, 0.08);
}

.hero-search {
  max-width: 680px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 31, 54, 0.08);
  border-radius: 999px;
}

.hero-search input {
  border: 0;
  background: transparent;
  flex: 1;
  padding: 12px 16px;
}

.hero-search input:focus {
  outline: none;
}

.hero-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 18px;
  padding: 28px;
  overflow: visible;
}

.hero-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 31, 54, 0.08);
  border-radius: 24px;
  padding: 24px;
  min-width: 0;
}

.panel-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.panel-main ul {
  padding-left: 18px;
  margin: 18px 0 0;
}

.panel-metric {
  grid-column: 2 / 3;
  width: auto;
  min-height: 180px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.panel-metric span {
  display: block;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--text);
}

.panel-metric.accent {
  background: linear-gradient(160deg, rgba(39, 94, 254, 0.12), rgba(255, 255, 255, 0.92));
}

.section {
  padding: 32px 0;
}

.section-tight {
  padding-top: 12px;
}

.surface {
  position: relative;
}

.section-head {
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-head.compact {
  margin-bottom: 18px;
}

.tile-grid,
.brand-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

.tile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile,
.brand-card,
.story-panel,
.cta-shell,
.auth-card,
.auth-aside,
.content-card,
.table-card,
.filter-panel,
.preview-card,
.dashboard-nav,
.vacancy-card,
.candidate-card,
.stat-card,
.banner-card,
.error-card {
  padding: 24px;
}

.brand-card__head,
.brand-card__meta,
.card-top,
.card-footer {
  justify-content: space-between;
}

.card-footer {
  align-items: flex-start;
}

.job-stream,
.stack-list {
  display: grid;
  gap: 16px;
}

.job-stream__item,
.stack-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 31, 54, 0.06);
}

.split-grid,
.auth-shell,
.detail-shell,
.dashboard-grid,
.dashboard-shell,
.list-shell {
  display: grid;
  gap: 24px;
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-panel.alt {
  background: linear-gradient(180deg, rgba(39, 94, 254, 0.07), rgba(255, 255, 255, 0.82));
}

.flow-list {
  padding-left: 22px;
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-shell {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.auth-card.large {
  max-width: 760px;
}

.auth-page .page-top {
  padding-top: 18px;
}

.auth-aside--brand,
.auth-card--register,
.auth-card--login {
  position: relative;
  overflow: hidden;
}

.auth-aside--brand {
  padding: 34px 34px 36px;
  background:
    radial-gradient(circle at top right, rgba(47, 103, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.9));
}

.auth-card--register,
.auth-card--login {
  padding: 34px;
}

.auth-card__header {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.auth-note,
.auth-lead {
  margin: 0;
  max-width: 62ch;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form-grid {
  align-items: start;
}

.auth-country-strip,
.auth-benefits {
  display: grid;
  gap: 14px;
}

.auth-country-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 26px 0 22px;
}

.auth-country-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(47, 103, 255, 0.12);
  color: var(--text);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.auth-country-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 103, 255, 0.24);
  box-shadow: 0 16px 34px rgba(47, 103, 255, 0.08);
}

.auth-country-pill.is-active {
  border-color: rgba(47, 103, 255, 0.26);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(47, 103, 255, 0.1);
}

.auth-country-pill__flag {
  width: 42px;
  height: 30px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(33, 55, 112, 0.14);
  flex: 0 0 auto;
}

.auth-country-pill__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.auth-country-pill__body strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.auth-country-pill__body small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.auth-benefit {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(19, 31, 54, 0.06);
}

.auth-benefit strong {
  font-size: 1rem;
}

.auth-benefits--compact {
  margin-top: 26px;
}

.auth-terms {
  margin-top: -2px;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-links a {
  color: var(--accent-strong);
  font-weight: 700;
}

.flash-stack {
  display: grid;
  gap: 10px;
}

.flash {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(19, 31, 54, 0.08);
  box-shadow: 0 16px 36px rgba(30, 51, 84, 0.08);
}

.flash-success {
  border-color: rgba(31, 140, 92, 0.24);
}

.flash-error {
  border-color: rgba(191, 61, 61, 0.24);
}

.flash-warning {
  border-color: rgba(196, 123, 21, 0.24);
}

.flash-info {
  border-color: rgba(43, 108, 176, 0.24);
}

.list-shell {
  grid-template-columns: 290px minmax(0, 1fr) 320px;
  align-items: start;
}

.candidates-shell {
  grid-template-columns: 290px minmax(0, 1fr);
}

.filter-panel,
.preview-card,
.dashboard-nav,
.sticky-card {
  position: sticky;
  top: 102px;
}

.detail-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.detail-side > * {
  min-width: 0;
}

.detail-side__card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.detail-side__card h2,
.detail-side__card p {
  margin: 0;
}

.detail-side__card form {
  display: grid;
  gap: 14px;
}

.detail-side__card .button-block {
  margin-top: 2px;
}

.filter-form,
.form-grid,
.dashboard-content,
.stacked-right {
  display: grid;
  gap: 16px;
}

.filter-drawer {
  display: block;
}

.filter-drawer__summary {
  display: none;
  list-style: none;
}

.filter-drawer__summary::-webkit-details-marker {
  display: none;
}

.filter-drawer__content {
  display: grid;
  gap: 18px;
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-group__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.salary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.filter-form input,
.filter-form select,
.filter-row input,
.filter-row select,
.inline-form input,
.inline-form select,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(19, 31, 54, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  resize: vertical;
}

.filter-form input:focus,
.filter-form select:focus,
.filter-row input:focus,
.filter-row select:focus,
.inline-form input:focus,
.inline-form select:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(39, 94, 254, 0.5);
  box-shadow: 0 0 0 4px rgba(39, 94, 254, 0.08);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field > label {
  font-weight: 700;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: rgba(191, 61, 61, 0.45);
  box-shadow: 0 0 0 4px rgba(191, 61, 61, 0.08);
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.field-hint {
  margin: 0;
  font-size: 0.9rem;
}

.field-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: var(--text);
}

.checkbox-field input {
  width: auto;
  margin-top: 4px;
}

.phone-form-field {
  gap: 10px;
}

.phone-country-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
}

.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(19, 31, 54, 0.08);
  background: rgba(244, 248, 255, 0.94);
}

.country-badge__flag,
.phone-input-shell__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(47, 103, 255, 0.18), rgba(47, 103, 255, 0.06));
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.country-badge__code {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.phone-input-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(19, 31, 54, 0.1);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 8px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.phone-input-shell:focus-within {
  border-color: rgba(39, 94, 254, 0.5);
  box-shadow: 0 0 0 4px rgba(39, 94, 254, 0.08);
}

.phone-form-field.has-error .phone-input-shell {
  border-color: rgba(191, 61, 61, 0.45);
  box-shadow: 0 0 0 4px rgba(191, 61, 61, 0.08);
}

.phone-input-shell input {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 10px 8px 10px 0;
}

.phone-input-shell input:focus {
  box-shadow: none;
}

.phone-combo {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  min-height: 60px;
  border: 1px solid rgba(19, 31, 54, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.phone-combo:focus-within {
  border-color: rgba(39, 94, 254, 0.5);
  box-shadow: 0 0 0 4px rgba(39, 94, 254, 0.08);
}

.phone-combo__country {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 28px 0 10px;
  border-right: 1px solid rgba(19, 31, 54, 0.08);
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.96), rgba(255, 255, 255, 0.92));
  overflow: hidden;
}

.phone-combo__country::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(32, 29, 41, 0.56);
  border-bottom: 2px solid rgba(32, 29, 41, 0.56);
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.phone-combo__flag {
  width: 36px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(33, 55, 112, 0.14);
  flex: 0 0 auto;
}

.phone-combo__select {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  color: transparent;
  opacity: 0;
  cursor: pointer;
}

.phone-combo__input {
  display: flex;
  align-items: center;
  min-height: 60px;
  gap: 10px;
  padding: 0 14px 0 12px;
}

.phone-combo__prefix {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
  flex: 0 0 auto;
}

.phone-combo__input input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.phone-combo__input input:focus {
  box-shadow: none;
}

.phone-form-field.has-error .phone-combo {
  border-color: rgba(191, 61, 61, 0.45);
  box-shadow: 0 0 0 4px rgba(191, 61, 61, 0.08);
}

.badge,
.chip,
.progress-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  overflow-wrap: normal;
  white-space: nowrap;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.badge-muted,
.chip,
.progress-pill {
  background: rgba(19, 31, 54, 0.06);
  color: var(--neutral);
}

.badge-success {
  background: rgba(31, 140, 92, 0.12);
  color: var(--success);
}

.badge-verified {
  gap: 8px;
  padding-left: 10px;
}

.badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--success);
  flex: 0 0 auto;
}

.badge__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.badge__label {
  white-space: nowrap;
}

.badge-warning {
  background: rgba(196, 123, 21, 0.12);
  color: var(--warning);
}

.badge-danger {
  background: rgba(191, 61, 61, 0.12);
  color: var(--danger);
}

.badge-info {
  background: rgba(43, 108, 176, 0.12);
  color: var(--info);
}

.badge-neutral {
  background: rgba(85, 99, 127, 0.12);
  color: var(--neutral);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 6px;
}

.signal-row--compact {
  margin: 0;
  gap: 8px;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.signal-pill strong {
  color: inherit;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
}

.signal-row--compact .signal-pill {
  padding: 7px 12px;
  font-size: 0.8rem;
}

.signal-row--compact .signal-pill strong {
  font-size: 0.88rem;
}

.signal-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.signal-pill__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.signal-pill__pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  flex: 0 0 auto;
}

.signal-pill--hot {
  background: rgba(218, 144, 36, 0.14);
  color: #ab6a00;
}

.signal-pill--live {
  background: rgba(47, 103, 255, 0.1);
  color: var(--accent-strong);
}

.signal-pill--live .signal-pill__pulse {
  box-shadow: 0 0 0 5px rgba(47, 103, 255, 0.12);
  animation: signalPulse 2.2s ease-in-out infinite;
}

.vacancy-card.is-hot {
  background: linear-gradient(180deg, rgba(255, 247, 233, 0.96), rgba(255, 255, 255, 0.92));
  border-color: rgba(232, 139, 35, 0.22);
  box-shadow: 0 28px 70px rgba(182, 114, 22, 0.12);
}

.vacancy-card.is-hot.is-active {
  box-shadow: 0 30px 72px rgba(182, 114, 22, 0.16);
}

.preview-card__inner.is-hot {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 247, 233, 0.94), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(232, 139, 35, 0.2);
}

.detail-hero.is-hot {
  padding: 28px 28px 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 247, 233, 0.96), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(232, 139, 35, 0.18);
  box-shadow: 0 24px 58px rgba(182, 114, 22, 0.1);
}

.muted-note {
  margin: 6px 0 0;
}

.support-upsell {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(242, 246, 255, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(47, 103, 255, 0.1);
}

.support-upsell strong {
  font-size: 1rem;
}

.meta-row,
.detail-meta {
  flex-wrap: wrap;
  color: var(--muted);
}

.meta-row span,
.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 31, 54, 0.05);
}

.detail-meta.vertical {
  flex-direction: column;
  align-items: flex-start;
}

.detail-meta--hero {
  margin-top: 18px;
}

.detail-chip-row {
  margin-top: 14px;
}

.detail-chip-row--skills {
  margin-top: 18px;
}

.detail-meta--stacked {
  gap: 10px;
  margin-top: 2px;
}

.detail-meta--stacked span {
  padding: 9px 14px;
}

.detail-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.detail-topline .eyebrow {
  margin: 0;
}

.detail-status-line,
.vacancy-card__signals-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-status-line .badge,
.detail-status-line .signal-row,
.vacancy-card__signals-top .badge,
.vacancy-card__signals-top .signal-row {
  margin: 0;
}

.detail-side__company {
  gap: 16px;
}

.vacancy-list,
.candidate-list {
  display: grid;
  gap: 18px;
}

.vacancy-card.is-active,
.content-card.is-highlighted {
  box-shadow: 0 26px 64px rgba(39, 94, 254, 0.14);
  border-color: rgba(39, 94, 254, 0.18);
}

.vacancy-card__head,
.candidate-card__head {
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.vacancy-card__salary,
.preview-salary {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.detail-shell {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 20px;
}

.detail-hero {
  padding: 30px 0 6px;
}

.dashboard-shell {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}

.dashboard-nav nav {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

.dashboard-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
}

.dashboard-nav a.is-active,
.dashboard-nav a:hover {
  background: rgba(19, 31, 54, 0.05);
  color: var(--text);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.banner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table-card {
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(19, 31, 54, 0.08);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.status-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.status-inline__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: rgba(19, 31, 54, 0.28);
  box-shadow: 0 0 0 5px rgba(19, 31, 54, 0.08);
}

.status-inline--success {
  color: #18794e;
}

.status-inline--success .status-inline__dot {
  background: #1ca168;
  box-shadow: 0 0 0 5px rgba(28, 161, 104, 0.14);
}

.status-inline--danger {
  color: #be3e4d;
}

.status-inline--danger .status-inline__dot {
  background: #df4458;
  box-shadow: 0 0 0 5px rgba(223, 68, 88, 0.13);
}

.status-inline--warning {
  color: #9a6700;
}

.status-inline--warning .status-inline__dot {
  background: #d89f23;
  box-shadow: 0 0 0 5px rgba(216, 159, 35, 0.14);
}

.status-inline--neutral {
  color: var(--muted);
}

.filter-row,
.inline-form {
  flex-wrap: wrap;
}

.inline-form {
  width: 100%;
}

.inline-form input {
  min-width: 220px;
}

.admin-vacancy-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.admin-vacancy-form > input[type="text"] {
  width: 100%;
  border: 1px solid rgba(19, 31, 54, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.admin-vacancy-form > input[type="text"]:focus {
  outline: none;
  border-color: rgba(39, 94, 254, 0.5);
  box-shadow: 0 0 0 4px rgba(39, 94, 254, 0.08);
}

.admin-checkbox {
  min-height: 56px;
  padding-top: 14px;
}

.card-actions {
  margin-top: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.preview-card__inner {
  display: grid;
  gap: 16px;
  align-content: start;
}

.preview-card__inner > * {
  min-width: 0;
}

.preview-card__inner .button-block {
  margin-top: 4px;
}

.ad-slot {
  display: grid;
  gap: 18px;
  margin: 0 0 22px;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.ad-slot__content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.8fr);
  gap: 18px;
  align-items: center;
}

.ad-slot__body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ad-slot__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-slot__body .eyebrow {
  margin-bottom: 0;
}

.ad-slot__body h3 {
  font-size: 1.55rem;
}

.ad-slot__body p:last-child {
  margin: 0;
}

.ad-slot__media {
  overflow: hidden;
  border-radius: 22px;
  min-height: 140px;
  background: rgba(255, 255, 255, 0.36);
}

.ad-slot__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-slot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ad-slot--brand {
  background: linear-gradient(135deg, rgba(47, 103, 255, 0.12), rgba(255, 255, 255, 0.92));
}

.ad-slot--brand .ad-slot__tag {
  background: rgba(47, 103, 255, 0.12);
  color: var(--accent-strong);
}

.ad-slot--soft {
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.98), rgba(255, 255, 255, 0.92));
}

.ad-slot--soft .ad-slot__tag {
  background: rgba(19, 31, 54, 0.06);
  color: var(--neutral);
}

.ad-slot--dark {
  background: linear-gradient(180deg, #21263a, #1d2232);
  border-color: rgba(255, 255, 255, 0.1);
}

.ad-slot--dark .ad-slot__body h3,
.ad-slot--dark .ad-slot__body p,
.ad-slot--dark .ad-slot__body .eyebrow {
  color: #f4f7ff;
}

.ad-slot--dark .ad-slot__tag {
  background: rgba(255, 255, 255, 0.1);
  color: #f4f7ff;
}

.ad-slot--spotlight {
  background: linear-gradient(135deg, rgba(36, 166, 255, 0.14), rgba(255, 255, 255, 0.92));
}

.ad-slot--spotlight .ad-slot__tag {
  background: rgba(36, 166, 255, 0.12);
  color: #0f66b8;
}

.ad-slot--placeholder {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.6);
}

.ad-slot--placeholder .ad-slot__tag {
  background: rgba(19, 31, 54, 0.06);
  color: var(--neutral);
}

.ad-slot--sidebar {
  position: sticky;
  top: 102px;
}

.ad-slot--sidebar .ad-slot__content,
.ad-slot--inline .ad-slot__content {
  grid-template-columns: 1fr;
}

.ad-slot--hero {
  margin-bottom: 0;
}

.card-actions-wide {
  align-items: flex-start;
}

.support-admin-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
}

.support-admin-list {
  display: grid;
  gap: 12px;
  align-content: start;
  max-height: 720px;
  overflow: auto;
}

.support-admin-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(19, 31, 54, 0.08);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.support-admin-item:hover,
.support-admin-item.is-active {
  border-color: rgba(47, 103, 255, 0.18);
  box-shadow: 0 18px 44px rgba(39, 67, 132, 0.09);
  transform: translateY(-1px);
}

.support-admin-item__head,
.support-admin-thread__head,
.support-widget__header,
.support-widget__actions,
.support-message__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-admin-item__head {
  align-items: flex-start;
}

.support-admin-item__head span,
.support-widget__hint,
.support-widget__meta-text,
.support-message__meta span,
.support-admin-item small {
  color: var(--muted);
  font-size: 0.84rem;
}

.support-admin-item p,
.support-admin-topic {
  margin: 0;
}

.support-admin-thread {
  display: grid;
  gap: 16px;
}

.support-admin-topic {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(47, 103, 255, 0.07);
  color: var(--accent-strong);
  font-weight: 700;
}

.support-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.support-status-pill--waiting_manager {
  background: rgba(218, 144, 36, 0.14);
  color: #ab6a00;
}

.support-status-pill--manager_connected {
  background: rgba(47, 103, 255, 0.1);
  color: var(--accent-strong);
}

.support-status-pill--closed {
  background: rgba(31, 140, 92, 0.12);
  color: var(--success);
}

.support-admin-messages {
  display: grid;
  gap: 14px;
  max-height: 440px;
  overflow: auto;
  padding-right: 4px;
}

.support-message {
  display: grid;
  gap: 8px;
  max-width: 86%;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(244, 247, 255, 0.94);
  border: 1px solid rgba(19, 31, 54, 0.06);
}

.support-message p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.support-message--manager {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(47, 103, 255, 0.13), rgba(255, 255, 255, 0.94));
  border-color: rgba(47, 103, 255, 0.14);
}

.support-message--system {
  background: rgba(242, 246, 255, 0.96);
}

.support-message--user {
  background: rgba(255, 255, 255, 0.92);
}

.support-admin-reply {
  display: grid;
  gap: 14px;
  padding-top: 6px;
}

.support-widget {
  position: fixed;
  right: 24px;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: auto;
  max-width: calc(100vw - 16px);
  pointer-events: none;
}

.support-widget__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 18px 0 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
  box-shadow: 0 22px 42px rgba(39, 94, 254, 0.24);
  font-weight: 800;
  white-space: nowrap;
  pointer-events: auto;
}

.support-widget__toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  flex: 0 0 auto;
}

.support-widget__toggle-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.support-widget__toggle-label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.support-widget__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(392px, calc(100vw - 24px));
  max-height: min(74vh, 720px);
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 34px 82px rgba(38, 61, 129, 0.2);
  backdrop-filter: blur(28px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.support-widget.is-open .support-widget__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.support-widget__close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(19, 31, 54, 0.08);
  background: rgba(244, 247, 255, 0.92);
  color: var(--muted);
  font-size: 1.45rem;
  line-height: 1;
}

.support-widget__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.support-widget__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 140, 92, 0.12);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-widget__topic {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(47, 103, 255, 0.07);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.support-widget__messages {
  display: grid;
  gap: 12px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}

.support-widget__messages .support-message {
  max-width: 92%;
}

.support-widget__form {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.support-widget__label {
  font-weight: 800;
}

.support-widget__input {
  width: 100%;
  min-height: 96px;
  border: 1px solid rgba(19, 31, 54, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: 18px;
  padding: 14px 16px;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.support-widget__input:focus {
  outline: none;
  border-color: rgba(39, 94, 254, 0.5);
  box-shadow: 0 0 0 4px rgba(39, 94, 254, 0.08);
}

.support-widget__actions {
  align-items: flex-end;
}

.support-widget__hint {
  margin: 0;
  max-width: 220px;
}

.plain-list {
  margin: 0 0 24px;
  padding-left: 18px;
}

.empty-card,
.error-card {
  text-align: center;
}

.empty-card {
  padding: 32px;
  border: 1px dashed rgba(19, 31, 54, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.6);
}

.error-shell {
  padding-top: 48px;
}

.narrow {
  max-width: 760px;
}

.footer-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 58px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-copy {
  max-width: 520px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease, transform 420ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes signalPulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(47, 103, 255, 0.12);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(47, 103, 255, 0.05);
  }
}

@media (max-width: 1180px) {
  .list-shell,
  .detail-shell,
  .hero-grid,
  .auth-shell,
  .dashboard-shell,
  .dashboard-grid,
  .brand-grid,
  .tile-grid,
  .stats-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .preview-card,
  .dashboard-nav,
  .filter-panel,
  .sticky-card,
  .ad-slot--sidebar {
    position: static;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-scene {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .auth-country-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero-scene {
    grid-template-columns: 1fr;
  }

  .panel-main,
  .panel-metric {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100vw - 24px, 100vw);
  }

  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 0;
    min-height: auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .nav-actions {
    display: none;
  }

  .site-nav.is-open,
  .nav-actions.is-open {
    display: flex;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    grid-column: 1 / -1;
  }

  .auth-card--register,
  .auth-card--login,
  .auth-aside--brand {
    padding: 24px;
  }

  .auth-country-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-benefits {
    grid-template-columns: 1fr;
  }

  .phone-combo {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .phone-country-row {
    grid-template-columns: 1fr;
  }

  .country-badge {
    justify-content: center;
  }

  .site-nav.is-open {
    display: grid;
    gap: 8px;
    align-items: flex-start;
    padding-top: 8px;
  }

  .nav-actions.is-open {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
  }

  .nav-user {
    width: 100%;
    justify-content: space-between;
  }

  .nav-user__meta {
    text-align: left;
  }

  .hero-copy,
  .hero-scene,
  .content-card,
  .auth-card,
  .auth-aside,
  .filter-panel,
  .preview-card,
  .dashboard-nav,
  .stat-card,
  .banner-card,
  .tile,
  .brand-card,
  .story-panel,
  .cta-shell,
  .error-card,
  .vacancy-card,
  .candidate-card,
  .table-card,
  .ad-slot {
    padding: 20px;
  }

  .hero-search {
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search .button {
    width: 100%;
  }

  .hero-scene {
    gap: 14px;
  }

  .form-grid.two,
  .form-grid.three,
  .form-grid.four,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .job-stream__item,
  .stack-list__item,
  .card-top,
  .card-footer,
  .vacancy-card__head,
  .candidate-card__head,
  .section-head,
  .banner-card,
  .cta-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 2.4rem;
  }

  .inline-form input {
    min-width: 0;
  }

  .footer-shell {
    flex-direction: column;
  }

  .filter-panel-collapsible {
    padding: 0;
    overflow: hidden;
  }

  .filter-drawer__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
  }

  .filter-drawer__summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-strong);
    border-bottom: 2px solid var(--accent-strong);
    transform: rotate(45deg);
    transition: transform 180ms ease, translate 180ms ease;
    flex: 0 0 auto;
    translate: 0 -2px;
  }

  .filter-drawer[open] .filter-drawer__summary::after {
    transform: rotate(225deg);
    translate: 0 2px;
  }

  .filter-drawer__summary-text {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .filter-drawer__summary-text strong {
    font-size: 1rem;
    letter-spacing: -0.03em;
  }

  .filter-drawer__summary-text small {
    color: var(--muted);
    font-size: 0.86rem;
  }

  .filter-drawer__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(47, 103, 255, 0.12);
    color: var(--accent-strong);
    font-size: 0.84rem;
    font-weight: 800;
    flex: 0 0 auto;
  }

  .filter-drawer__content {
    padding: 4px 20px 20px;
    border-top: 1px solid rgba(19, 31, 54, 0.08);
  }

  .ad-slot__content {
    grid-template-columns: 1fr;
  }

  .support-widget {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    left: auto !important;
    gap: 8px;
    align-items: flex-end;
  }

  .support-widget__toggle {
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
    gap: 0;
    border-radius: 999px;
  }

  .support-widget__toggle-icon {
    min-width: 42px;
    width: 42px;
    height: 42px;
  }

  .support-widget__toggle-label {
    display: none;
  }

  .support-widget__panel {
    width: min(340px, calc(100vw - 14px));
    max-width: calc(100vw - 14px);
    max-height: min(70svh, 620px);
    right: 0;
    bottom: calc(100% + 10px);
  }

  .support-widget__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .support-widget__hint {
    max-width: none;
  }
}

@media (min-width: 861px) {
  .filter-drawer:not([open]) > :not(summary) {
    display: block;
  }

  .filter-drawer__content {
    gap: 18px;
  }
}

.home-page .page-bg {
  display: none;
}

.home-page .page {
  padding-bottom: 84px;
}

.home-page .page-top {
  padding-top: 10px;
}

.home-page .site-header {
  background: rgba(47, 103, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px);
}

.home-page .brand,
.home-page .site-nav,
.home-page .site-nav a,
.home-page .nav-user__meta strong,
.home-page .nav-user__meta span {
  color: #fff7f4;
}

.home-page .site-nav a:hover {
  color: #ffffff;
}

.home-page .nav-actions .button {
  background: #ffffff;
  color: var(--accent-strong);
  box-shadow: 0 14px 24px rgba(35, 62, 124, 0.16);
}

.home-page .nav-actions .button-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff7f4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.home-page .nav-toggle {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.home-page .nav-toggle span {
  background: #fff7f4;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 44px;
  background:
    radial-gradient(circle at 18% 22%, rgba(167, 218, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #2f67ff 0%, #4585ff 56%, #69abff 100%);
  color: #ffffff;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.home-hero::before {
  width: 380px;
  height: 380px;
  right: -120px;
  top: 64px;
  background: rgba(255, 255, 255, 0.09);
}

.home-hero::after {
  width: 280px;
  height: 280px;
  left: -100px;
  bottom: -90px;
  background: rgba(159, 214, 255, 0.18);
}

.home-hero__inner {
  position: relative;
  padding: clamp(42px, 7vw, 86px) 0 12px;
}

.home-hero__lead {
  max-width: 940px;
}

.home-kicker {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 247, 244, 0.88);
}

.home-hero h1 {
  max-width: 920px;
  color: #fff9f6;
  font-size: clamp(2.7rem, 4.9vw, 4.8rem);
  line-height: 0.98;
}

.home-hero__text,
.home-search__hint {
  max-width: 760px;
  color: rgba(255, 247, 244, 0.86);
  font-size: 1.04rem;
}

.home-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 26px 0 24px;
}

.home-stats__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(255, 247, 244, 0.94);
}

.home-stats__item strong {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.home-stats__item strong.is-counting {
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
}

.home-stats__item span {
  color: rgba(255, 247, 244, 0.78);
}

.home-mode-switch {
  margin: 0 0 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.home-mode-switch button {
  color: rgba(255, 247, 244, 0.72);
}

.home-mode-switch button.is-active {
  background: #fffaf7;
  color: var(--accent-strong);
}

.home-search {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(210px, 0.7fr) auto;
  gap: 0;
  align-items: stretch;
  max-width: 1120px;
  padding: 10px;
  border-radius: 34px;
  background: rgba(248, 251, 255, 0.96);
  box-shadow: 0 30px 70px rgba(35, 62, 124, 0.16);
}

.home-search__field {
  display: grid;
  gap: 6px;
  padding: 10px 18px;
}

.home-search__field + .home-search__field {
  border-left: 1px solid rgba(32, 30, 41, 0.08);
}

.home-search__field label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(32, 29, 41, 0.52);
}

.home-search__field input,
.home-search__field select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  min-height: 34px;
  font-size: 1rem;
}

.home-search__field input:focus,
.home-search__field select:focus {
  outline: none;
  box-shadow: none;
}

.home-search__submit {
  align-self: center;
  min-width: 214px;
  padding: 18px 28px;
  margin-left: 10px;
}

.home-search__hint {
  margin: 14px 0 0;
}

.home-chip-row {
  margin-top: 18px;
}

.home-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff7f4;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.home-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.34);
}

.home-utility,
.catalog-grid,
.fresh-grid {
  display: grid;
  gap: 18px;
}

.home-utility {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.utility-panel,
.catalog-panel,
.fresh-card {
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.utility-panel h2,
.catalog-panel h2 {
  font-size: 1.55rem;
}

.utility-panel .button {
  margin-top: 12px;
}

.utility-panel--accent {
  background: linear-gradient(180deg, rgba(232, 242, 255, 0.98), rgba(255, 255, 255, 0.92));
}

.utility-panel--soft {
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.98), rgba(255, 255, 255, 0.92));
}

.utility-panel--clear {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.9));
}

.employer-ribbon-shell {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.employer-ribbon {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  animation: ribbonDrift 42s linear infinite;
}

.employer-ribbon:hover {
  animation-play-state: paused;
}

.employer-ribbon__group {
  display: flex;
  gap: 14px;
}

.employer-ribbon__item,
.cloud-pill,
.city-pill {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 48px rgba(39, 67, 132, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.employer-ribbon__item {
  min-width: 276px;
  flex: 0 0 276px;
}

.employer-ribbon__item:hover,
.cloud-pill:hover,
.city-pill:hover,
.fresh-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(39, 67, 132, 0.12);
  border-color: rgba(47, 103, 255, 0.18);
}

.employer-ribbon__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(47, 103, 255, 0.14), rgba(171, 220, 255, 0.34));
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.employer-ribbon__body {
  display: grid;
  gap: 3px;
}

.employer-ribbon__body strong,
.cloud-pill strong,
.city-pill strong {
  color: var(--text);
}

.employer-ribbon__body small,
.cloud-pill span,
.city-pill span {
  color: var(--muted);
}

.catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resume-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resume-showcase__card {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.resume-showcase__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 62px rgba(39, 67, 132, 0.14);
  border-color: rgba(47, 103, 255, 0.2);
}

.resume-showcase__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.resume-showcase .chip {
  background: rgba(47, 103, 255, 0.08);
  color: var(--accent-strong);
}

.cloud-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cloud-pill {
  padding: 14px 16px;
  gap: 10px;
  flex-direction: column;
  align-items: flex-start;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.city-pill {
  flex-direction: column;
  align-items: flex-start;
  min-height: 120px;
  justify-content: space-between;
}

.fresh-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fresh-card {
  display: grid;
  gap: 18px;
}

.fresh-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.home-page .fresh-card .eyebrow {
  color: var(--accent);
  margin-bottom: 10px;
}

.home-page .fresh-card .chip {
  background: rgba(47, 103, 255, 0.08);
  color: var(--accent-strong);
}

@keyframes ribbonDrift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .employer-ribbon {
    animation: none;
  }
}

.home-page .site-footer {
  padding-top: 8px;
}

@media (max-width: 1180px) {
  .home-utility,
  .catalog-grid,
  .fresh-grid,
  .city-grid,
  .resume-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-search {
    grid-template-columns: 1fr;
    gap: 8px;
    border-radius: 28px;
  }

  .home-search__field + .home-search__field {
    border-left: 0;
    border-top: 1px solid rgba(32, 30, 41, 0.08);
    padding-top: 16px;
  }

  .home-search__submit {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .home-page .site-nav.is-open,
  .home-page .nav-actions.is-open {
    background: rgba(47, 103, 255, 0.96);
  }

  .home-hero {
    padding-top: 24px;
  }

  .home-hero h1 {
    font-size: 2.3rem;
  }

  .home-stats {
    gap: 12px 18px;
  }

  .home-utility,
  .catalog-grid,
  .fresh-grid,
  .city-grid,
  .resume-showcase {
    grid-template-columns: 1fr;
  }

  .utility-panel,
  .catalog-panel,
  .fresh-card,
  .resume-showcase__card {
    padding: 22px;
  }

  .employer-ribbon-shell {
    mask-image: none;
  }

  .employer-ribbon {
    animation-duration: 28s;
  }
}

@media (max-width: 640px) {
  .home-hero__inner {
    padding-top: 32px;
  }

  .home-mode-switch {
    width: 100%;
  }

  .home-mode-switch button {
    flex: 1;
  }

  .home-search__field {
    padding: 10px 14px;
  }

  .home-chip-row {
    gap: 8px;
  }

  .home-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .home-stats__item {
    width: 100%;
  }

  .resume-showcase__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .employer-ribbon__item {
    min-width: 244px;
    flex-basis: 244px;
  }
}
