:root {
  color-scheme: light;
  --ink: var(--color-text-900);
  --muted: var(--color-text-500);
  --line: var(--color-border);
  --panel: var(--color-surface);
  --soft: var(--color-primary-50);
  --deep: var(--color-text-900);
  --green: var(--color-primary-600);
  --green-dark: var(--color-primary-700);
  --gold: #c68a2c;
  --blue: #2d5f8f;
  --shadow: var(--shadow-lg);
}

.turnstile-load-error {
  display: inline-block;
  color: #6d7e79;
  margin-right: 12px;
}

.turnstile-retry-button {
  border: 1px solid #00866b;
  border-radius: 6px;
  padding: 7px 12px;
  background: #fff;
  color: #00866b;
  font: inherit;
  cursor: pointer;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  color: var(--ink);
  background: #f8fbf9;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: #fff;
  border-bottom: 1px solid rgba(219, 228, 223, 0.78);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: #30413c;
  font-size: 14px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--green-dark);
  border-color: var(--green);
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.header-action,
.btn.primary {
  color: #fff;
  background: var(--green);
}

.btn.secondary {
  color: var(--deep);
  background: #fff;
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.header-action:hover,
.header-action:focus-visible,
.btn.primary:hover,
.btn.primary:focus-visible,
.expert-more:hover,
.expert-more:focus-visible {
  color: #fff;
  border-color: var(--green-dark);
  background: var(--green-dark);
  box-shadow: 0 16px 34px rgba(15, 123, 99, 0.24);
  transform: translateY(-2px);
}

.btn.secondary:hover,
.btn.secondary:focus-visible,
.btn.ghost:hover,
.btn.ghost:focus-visible {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 16px 34px rgba(15, 123, 99, 0.22);
  transform: translateY(-2px);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal[hidden] {
  display: none;
}

body.pcb-site-header-mounted .auth-modal {
  /* 身份选择是独立的登录流程，遮罩必须覆盖已有会话的页头，
     避免企业名称或企业端导航在背景中继续显示。 */
  inset: 0;
  z-index: 1200;
  padding: 24px;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 28, 25, 0.52);
  backdrop-filter: blur(4px);
}

.auth-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 560px;
  height: 520px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  padding: 40px 56px 28px;
  overflow: auto;
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}

.auth-close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 22px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text-700);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.auth-close:hover,
.auth-close:focus-visible {
  background: rgba(18, 135, 105, 0.12);
  color: var(--green-dark);
}

.auth-header {
  text-align: center;
}

.auth-header h2 {
  margin: 0;
  color: var(--color-text-900);
  font-size: 28px;
  line-height: 1.35;
}

.auth-subtitle {
  margin: var(--space-2) 0 0;
  color: var(--color-text-500);
  font-size: 14px;
  text-align: center;
}

.auth-role-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  flex: 1;
  align-items: center;
  margin: var(--space-5) 0;
}

.auth-role-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: var(--space-6) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text-900);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.auth-role-option.is-selected,
.auth-role-option:hover,
.auth-role-option:focus-visible {
  border-color: var(--color-primary-600);
  background: var(--color-primary-50);
  box-shadow: var(--shadow-sm);
}

.auth-role-option:hover,
.auth-role-option:focus-visible {
  transform: translateY(-1px);
}

.auth-role-icon {
  width: 84px;
  height: 84px;
  margin-bottom: var(--space-4);
  fill: none;
  stroke: var(--color-primary-700);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.auth-role-option strong {
  font-size: 22px;
  line-height: 1.35;
}

.auth-role-option span {
  margin-top: var(--space-3);
  color: var(--color-text-700);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.auth-agreement {
  margin: 0;
  color: var(--color-text-500);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.auth-agreement a {
  color: var(--color-primary-700);
  font-weight: 600;
}

.auth-card--candidate-login {
  width: 560px;
  height: 680px;
  padding: 38px 48px 30px;
}

.auth-card--enterprise-login {
  height: auto;
  min-height: 0;
  max-height: calc(100vh - 48px);
  padding: 32px 48px 30px;
}

.auth-card--enterprise-login .auth-login-form {
  gap: 18px;
  margin-top: 24px;
}

.auth-card--candidate-register {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 28px 48px 24px;
  overflow: visible;
}

.auth-card--candidate-register.auth-card--enterprise-register {
  width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.auth-card--enterprise-register .auth-register-form {
  gap: 8px;
  margin-top: 12px;
}

.auth-required { color: var(--color-danger); font-weight: 700; }
.auth-register-form label.auth-field-invalid input:not([type="checkbox"]) { border-color: var(--color-danger) !important; box-shadow: 0 0 0 3px rgba(216, 76, 76, .12); }

.auth-enterprise-register__notice {
  margin: 0 0 4px;
  color: var(--color-primary-600);
  font-size: 14px;
  font-weight: 600;
}

.auth-card--enterprise-register .auth-register-row--enterprise {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-card--enterprise-register .auth-register-hint {
  margin-top: 12px;
}

.auth-turnstile-field {
  align-items: flex-start !important;
}

.auth-turnstile-control {
  display: block;
  min-height: 65px;
  padding-top: 2px;
  color: var(--color-text-500);
  font-size: 14px;
}

.auth-card--candidate-register .auth-login-header h2 {
  font-size: 28px;
}

.auth-card--candidate-register .auth-login-header p {
  margin-top: 4px;
}

.auth-card--candidate-register .auth-register-form {
  gap: 10px;
  margin-top: 16px;
}

.auth-card--candidate-register .auth-register-form > label {
  gap: 6px;
}

.auth-card--candidate-register .auth-register-form input,
.auth-card--candidate-register .auth-code-request {
  height: 48px;
}

.auth-card--candidate-register .auth-register-hint {
  margin-top: 16px;
}

.auth-card--candidate-register:not(.auth-card--enterprise-register) {
  width: 440px;
  max-height: calc(100vh - var(--pcb-site-header-height) - 32px);
  padding: 16px 24px 14px;
  overflow-y: auto;
}

.auth-card--candidate-register:not(.auth-card--enterprise-register) .auth-login-header h2 {
  font-size: 24px;
}

.auth-card--candidate-register:not(.auth-card--enterprise-register) .auth-register-form {
  gap: 6px;
  margin-top: 8px;
}

.auth-card--candidate-register:not(.auth-card--enterprise-register) .auth-register-form > label {
  gap: 3px;
  font-size: 14px;
}

.auth-card--candidate-register:not(.auth-card--enterprise-register) .auth-register-form input,
.auth-card--candidate-register:not(.auth-card--enterprise-register) .auth-code-request {
  height: 40px;
  min-height: 40px;
}

.auth-card--candidate-register:not(.auth-card--enterprise-register) .auth-code-control {
  grid-template-columns: minmax(0, 1fr) 120px;
}

.auth-card--candidate-register:not(.auth-card--enterprise-register) .auth-login-submit {
  height: 48px;
  font-size: 16px;
}

.auth-card--candidate-register:not(.auth-card--enterprise-register) .auth-register-hint {
  margin-top: 8px;
}

.auth-card--candidate-reset {
  width: 560px;
  height: auto;
  min-height: 0;
  max-height: calc(100vh - 48px);
  padding: 30px 48px 26px;
}

.auth-card--candidate-reset .auth-reset-form {
  gap: 12px;
  margin-top: 20px;
}

.auth-card--candidate-reset .auth-reset-form > label {
  gap: 6px;
}

.auth-card--candidate-reset .auth-reset-form input,
.auth-card--candidate-reset .auth-code-request {
  height: 48px;
}

.auth-card--candidate-reset .auth-register-hint {
  margin-top: 16px;
}

.auth-card--wechat {
  width: 500px;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 40px 48px 34px;
  overflow: visible;
  text-align: center;
}

.auth-card--wechat .auth-login-header h2 {
  font-size: 28px;
}

.auth-card--wechat .auth-login-header p {
  margin-top: 8px;
  font-size: 16px;
}

.auth-wechat-qr {
  width: 220px;
  height: 220px;
  padding: 12px;
  margin: 24px auto 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-primary-50);
  box-sizing: border-box;
}

.auth-wechat-qr svg {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-surface);
}

.auth-wechat-note {
  margin: 0;
  color: var(--color-text-700);
  font-size: 16px;
}

.auth-wechat-hint {
  margin: var(--space-2) 0 0;
  color: var(--color-text-500);
  font-size: 12px;
}

.auth-wechat-return {
  margin-top: 20px;
}

.auth-login-view,
.auth-register-view {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.auth-login-header {
  text-align: center;
}

.auth-login-header h2 {
  margin: 0;
  color: var(--color-text-900);
  font-size: 30px;
  line-height: 1.35;
}

.auth-login-header p {
  margin: var(--space-1) 0 0;
  color: var(--color-text-500);
  font-size: 15px;
}

.auth-login-form {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.auth-login-form > label {
  display: grid;
  gap: var(--space-2);
  color: var(--color-text-900);
  font-size: 15px;
  font-weight: 600;
}

.auth-login-form input {
  width: 100%;
  height: 52px;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-900);
  outline: 0;
}

.auth-login-form input::placeholder {
  color: var(--color-text-500);
  font-weight: 400;
  opacity: 1;
}

.auth-login-form input:focus {
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 3px rgba(22, 160, 133, 0.12);
}

.auth-password-control {
  position: relative;
}

.auth-password-control input {
  padding-right: 52px;
}

.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: var(--space-3);
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-500);
  cursor: pointer;
  transform: translateY(-50%);
}

.auth-password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-code-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  gap: var(--space-3);
}

.auth-code-request {
  height: 52px;
  border: 1px solid var(--color-primary-600);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-primary-700);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.auth-code-request:hover,
.auth-code-request:focus-visible {
  background: var(--color-primary-50);
}

.auth-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: calc(var(--space-2) * -1);
}

.auth-enterprise-login-links {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.auth-enterprise-login-links .auth-text-action:first-child {
  font-size: 13px;
  font-weight: 400;
}

.auth-remember {
  display: inline-flex;
  gap: var(--space-2);
  align-items: center;
  color: var(--color-text-700);
  font-size: 14px;
}

.auth-remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-primary-600);
}

.auth-login-form .auth-remember {
  display: flex;
  align-items: center;
}

.auth-login-form .auth-remember input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 0;
}

.auth-text-action,
.auth-register-hint button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary-700);
  font-weight: 600;
  cursor: pointer;
}

.auth-login-submit {
  height: 54px;
  border: 1px solid var(--color-primary-700);
  border-radius: var(--radius-md);
  background: var(--color-primary-700);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.auth-login-error {
  margin: calc(var(--space-2) * -1) 0 0;
  color: var(--color-danger);
  font-size: 13px;
  line-height: 1.45;
}

.auth-existing-account {
  margin: 4px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--color-primary-200);
  border-radius: var(--radius-sm);
  background: var(--color-primary-50);
  color: var(--color-text-700);
  font-size: 13px;
  line-height: 1.5;
}

.auth-existing-account p { margin: 0; }

.auth-existing-account div {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.auth-existing-account button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary-700);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-login-submit:hover,
.auth-login-submit:focus-visible {
  background: var(--color-primary-600);
  box-shadow: var(--shadow-sm);
}

.auth-login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-3);
  align-items: center;
  margin: var(--space-6) 0 var(--space-4);
  color: var(--color-text-500);
  font-size: 14px;
}

.auth-login-divider::before,
.auth-login-divider::after {
  height: 1px;
  content: "";
  background: var(--color-border);
}

.auth-other-login-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.auth-other-login-actions button {
  height: 48px;
  border: 1px solid var(--color-primary-600);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-primary-700);
  font-weight: 600;
  cursor: pointer;
}

.auth-other-login-actions button:hover,
.auth-other-login-actions button:focus-visible {
  background: var(--color-primary-50);
}

.auth-other-login-actions span {
  margin-right: var(--space-2);
  color: var(--color-primary-600);
}

.auth-register-hint {
  margin: var(--space-6) 0 0;
  color: var(--color-text-500);
  font-size: 14px;
  text-align: center;
}

.auth-register-form {
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.auth-register-form .auth-register-agreement {
  margin-top: var(--space-1);
}

.auth-register-form .auth-login-submit {
  margin-top: var(--space-1);
}

@media (max-width: 680px) {
  .auth-card {
    width: min(520px, calc(100vw - 32px));
    height: auto;
    min-height: 0;
    padding: 36px 24px 24px;
  }

  .auth-card--candidate-login {
    height: auto;
    padding: 36px 24px 24px;
  }

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

  .auth-role-option {
    min-height: 170px;
  }
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 46;
  display: grid;
  place-items: center;
  padding: 24px;
}

.service-modal[hidden] {
  display: none;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 17, 0.5);
  backdrop-filter: blur(5px);
}

.executive-card {
  position: relative;
  width: min(360px, calc(100vw - 36px));
  padding: 28px 28px 24px;
  border: 1px solid rgba(219, 228, 223, 0.9);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(9, 28, 24, 0.24);
  text-align: center;
}

.service-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #65706c;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.service-modal-close:hover,
.service-modal-close:focus-visible {
  background: #edf8f4;
  color: var(--green);
  transform: rotate(90deg);
}

.executive-icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e5f6ef, #d7efe8);
}

.executive-icon::before,
.executive-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.executive-icon::before {
  top: 22px;
  width: 36px;
  height: 28px;
  border-radius: 5px;
  background: linear-gradient(135deg, #0f7b63, #08aa8e);
  box-shadow: inset 0 -10px 0 rgba(255, 255, 255, 0.16);
}

.executive-icon::after {
  top: 15px;
  width: 18px;
  height: 12px;
  border: 5px solid #0f7b63;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.executive-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.executive-intro {
  margin: 10px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.executive-divider {
  position: relative;
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, #dbe4df 20%, #dbe4df 80%, transparent);
}

.executive-divider::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 9px;
  height: 9px;
  background: #dbeee7;
  transform: translateX(-50%) rotate(45deg);
}

.executive-features {
  display: grid;
  gap: 14px;
  text-align: left;
}

.executive-features article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.executive-feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e4f5ef;
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}

.executive-features strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.executive-features p {
  margin: 0;
  color: #3d4a46;
  font-size: 12px;
  line-height: 1.55;
}

.executive-features b {
  color: var(--green);
}

.executive-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0f7b63, #07a285);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(15, 123, 99, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.executive-submit:hover,
.executive-submit:focus-visible {
  background: linear-gradient(135deg, #0b634f, #078f78);
  box-shadow: 0 18px 34px rgba(15, 123, 99, 0.28);
  transform: translateY(-1px);
}

.enterprise-service-dialog {
  position: relative;
  width: min(980px, calc(100vw - 48px));
  padding: 34px;
  border: 1px solid rgba(219, 228, 223, 0.9);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(9, 28, 24, 0.24);
}

.enterprise-service-dialog h2 {
  margin: 8px 0 24px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.2;
}

.enterprise-service-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.enterprise-service-modal-grid button {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(13, 67, 56, 0.08);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.enterprise-service-modal-grid button:hover,
.enterprise-service-modal-grid button:focus-visible {
  border-color: rgba(14, 126, 103, 0.58);
  background: linear-gradient(135deg, #0f7b63, #0d5f78);
  color: #fff;
  box-shadow: 0 24px 42px rgba(13, 96, 78, 0.22);
  transform: translateY(-2px);
}

.enterprise-service-modal-grid strong {
  display: block;
  font-size: 42px;
  line-height: 1.15;
}

.enterprise-service-modal-grid span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 900;
}

.enterprise-service-modal-grid button:hover span,
.enterprise-service-modal-grid button:focus-visible span {
  color: rgba(255, 255, 255, 0.9);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 8px 12px;
}

.hero {
  position: relative;
  min-height: max(560px, calc(100vh - 178px));
  display: grid;
  align-items: start;
  overflow: hidden;
  background: var(--deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(4, 13, 12, 0.94), rgba(5, 24, 21, 0.72) 40%, rgba(7, 14, 13, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 96px));
  margin-left: clamp(18px, 7vw, 96px);
  min-height: max(560px, calc(100vh - 178px));
  display: flex;
  flex-direction: column;
  padding: 56px 0 28px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-points {
  display: grid;
  gap: 10px;
  max-width: 840px;
  padding: 0;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.52;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-points li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid #1fd29a;
  border-radius: 50%;
  color: #1fd29a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  background: rgba(10, 145, 107, 0.18);
}

.hero-metrics {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(540px, 42vw);
  margin-top: 26px;
  opacity: 0.9;
}

.hero-metrics span {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-metrics b {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: rgba(160, 239, 210, 0.82);
  font-size: 13px;
  font-weight: 800;
  background: rgba(20, 142, 105, 0.46);
  box-shadow: inset 0 0 0 1px rgba(139, 235, 199, 0.14);
}

.hero-metrics strong {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
  line-height: 1.2;
  font-weight: 600;
}

.hero-metrics em {
  flex: 0 0 auto;
  color: rgba(116, 218, 179, 0.8);
  font-size: clamp(21px, 1.55vw, 26px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-metrics i {
  min-width: 0;
  color: rgba(232, 242, 239, 0.62);
  font-size: clamp(17px, 1.2vw, 20px);
  font-style: normal;
  font-weight: 600;
}

.hero-portals {
  width: min(1220px, calc(100vw - 140px));
  margin-top: auto;
  gap: 22px;
  transform: translateY(-88px);
}

.section {
  padding: 84px clamp(18px, 5vw, 72px);
}

.section-tight {
  padding-top: 28px;
  padding-bottom: 36px;
}

.muted {
  background: var(--soft);
}

.section-head {
  max-width: 850px;
  margin-bottom: 34px;
}

.inline-head {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.expert-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.expert-head h2 {
  max-width: 760px;
}

.expert-head p:not(.eyebrow) {
  max-width: 980px;
}

.expert-more {
  min-width: 128px;
  color: #fff;
  background: var(--green);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3,
p {
  margin-top: 0;
}

.section-head p,
.section-copy p,
.salary-copy p,
.about-section p {
  color: var(--muted);
}

.logic-grid,
.expert-grid,
.report-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.logic-grid article,
.expert-card,
.report-grid article,
.service-grid article,
.panel,
.job-card,
.case-card,
.lead-form,
.salary-tool {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(17, 48, 43, 0.06);
}

.logic-grid article {
  padding: 24px;
}

.service-button-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 88px;
  padding: 14px 20px;
  border: 1px solid rgba(150, 232, 210, 0.46);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(11, 115, 91, 0.84), rgba(16, 86, 111, 0.82));
  text-align: left;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(3px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.portal-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: rgba(237, 255, 250, 0.94);
  background: rgba(37, 164, 127, 0.52);
  box-shadow: inset 0 0 0 1px rgba(198, 255, 239, 0.18);
  font-size: 20px;
  font-weight: 800;
}

.service-button-card strong {
  display: block;
  font-size: clamp(21px, 1.65vw, 28px);
  line-height: 1.2;
  font-weight: 900;
}

.service-button-card small {
  display: block;
  margin-top: 2px;
  color: rgba(236, 248, 245, 0.72);
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 600;
  line-height: 1.25;
}

.portal-arrow {
  color: rgba(255, 255, 255, 0.82);
  font-size: 36px;
  line-height: 1;
}

.service-button-card:hover,
.service-button-card:focus-visible {
  color: #fff;
  border-color: rgba(188, 248, 231, 0.5);
  background: linear-gradient(135deg, #12896c, #176481);
  box-shadow: 0 18px 42px rgba(15, 85, 72, 0.24);
  transform: translateY(-3px);
}

.home-job-search {
  position: relative;
  z-index: 2;
  min-height: 210px;
  display: grid;
  align-items: start;
  padding: 0 clamp(18px, 5vw, 72px) 28px;
  background: #f8fbf9;
}

.home-job-search-form {
  position: relative;
  z-index: 1;
  scroll-margin-top: 82px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(220px, 0.5fr) 150px;
  gap: 16px;
  width: min(1160px, 100%);
  margin: -76px auto 0;
  padding: 26px 30px 24px;
  border: 1px solid rgba(220, 231, 226, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 56px rgba(20, 58, 52, 0.12);
}

.home-job-search-field {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.home-job-search-field span {
  display: inline-block;
  width: 22px;
  height: 22px;
  color: #172220;
  font-size: 0;
  line-height: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.home-job-search-field:first-child span {
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='6.5' stroke='%23172220' stroke-width='2.2'/%3E%3Cpath d='M16.2 16.2L21 21' stroke='%23172220' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.home-job-search-region span {
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.4 7-12a7 7 0 1 0-14 0c0 6.6 7 12 7 12Z' stroke='%23172220' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='9' r='2.5' stroke='%23172220' stroke-width='2.2'/%3E%3C/svg%3E");
}

.home-job-search-field input,
.home-job-search-field select {
  padding-right: 22px;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 700;
}

.home-job-search-region .region-picker {
  width: 100%;
  min-width: 0;
}

.home-job-search-region .region-trigger {
  min-height: 0;
  padding: 0 22px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 700;
}

.home-job-search-region .region-trigger:hover,
.home-job-search-region .region-trigger:focus-visible,
.home-job-search-region .region-picker.open .region-trigger {
  box-shadow: none;
}

.home-job-search-region .region-trigger [data-region-value] {
  display: block;
  width: auto;
  height: auto;
  overflow: hidden;
  color: var(--ink);
  font-size: inherit;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-image: none;
}

.home-job-search-region .region-panel {
  left: -50px;
  width: min(360px, calc(100vw - 40px));
  max-height: 360px;
  text-align: left;
}

.home-job-search-field input::placeholder {
  color: var(--color-text-500);
  font-weight: 400;
}

.home-job-search-submit {
  display: inline-grid;
  place-items: center;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(13, 130, 96, 0.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-job-search-submit:hover,
.home-job-search-submit:focus-visible {
  background: #0aa078;
  box-shadow: 0 18px 36px rgba(13, 130, 96, 0.28);
  transform: translateY(-2px);
}

.home-hot-searches {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: #8b9995;
  font-size: 14px;
  line-height: 1.4;
}

.home-hot-searches span {
  color: #7f8d88;
}

.home-hot-searches a {
  color: #7e8b87;
  font-weight: 600;
}

.home-hot-searches a:last-child {
  color: var(--green);
  font-weight: 800;
}

.home-job-showcase {
  width: min(1120px, 100%);
  margin: 34px auto 0;
  overflow: hidden;
}

.home-job-showcase-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.home-job-showcase-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.home-job-showcase-head a {
  color: var(--green);
  font-weight: 900;
}

.home-job-showcase-head a::after {
  content: " →";
}

.job-marquee,
.logo-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.job-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: jobScrollLeft 56s linear infinite;
}

.job-marquee:hover .job-marquee-track,
.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.mini-job-card {
  flex: 0 0 224px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 34, 32, 0.08);
}

.mini-job-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.mini-job-card p {
  min-height: 36px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.mini-job-card span {
  display: block;
  margin-bottom: 8px;
  color: #425550;
  font-size: 13px;
  font-weight: 800;
}

.mini-job-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 17px;
  line-height: 1.2;
}

.mini-job-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.mini-job-card em {
  padding: 4px 9px;
  border: 1px solid rgba(13, 130, 96, 0.2);
  border-radius: 5px;
  color: var(--green);
  background: #eef8f4;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.mini-job-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mini-job-card a::after {
  content: "›";
  font-size: 22px;
  line-height: 1;
}

.mini-job-card a:hover,
.mini-job-card a:focus-visible {
  background: #0aa078;
  box-shadow: 0 12px 24px rgba(13, 130, 96, 0.2);
  transform: translateY(-2px);
}

.logo-marquee {
  margin-top: 14px;
  padding: 8px 0;
  border: 1px solid rgba(193, 215, 207, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.logo-marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: logoScrollRight 86s linear infinite;
}

.logo-marquee span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 112px;
  height: 46px;
  border-right: 1px solid #edf3f0;
}

.logo-marquee img {
  max-width: 90px;
  max-height: 34px;
  object-fit: contain;
}

@keyframes jobScrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-3600px);
  }
}

@keyframes logoScrollRight {
  from {
    transform: translateX(-1464px);
  }
  to {
    transform: translateX(0);
  }
}

.step {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--green);
  font-weight: 900;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #30413c;
  cursor: pointer;
}

.chip.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.job-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
}

.panel,
.job-card,
.expert-card,
.lead-form,
.salary-tool {
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #354844;
  font-weight: 700;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.required-mark {
  color: #d93025;
  font-weight: 900;
}

select,
input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-500);
  font-weight: 400;
  opacity: 1;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

.reserved {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-left: 4px solid var(--gold);
  background: #fff7ea;
  color: #5c4a2d;
}

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

.job-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-height: 330px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #dff2ea;
  font-size: 12px;
  font-weight: 800;
}

.job-card dl {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 8px 12px;
  margin: 0;
}

.job-card dt {
  color: var(--muted);
}

.job-card dd {
  margin: 0;
  font-weight: 800;
}

.job-card a,
.text-link {
  color: var(--green-dark);
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 16px 34px rgba(15, 123, 99, 0.22);
  transform: translateY(-2px);
}

.job-action {
  justify-self: end;
  align-self: end;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #b9dcd0;
  border-radius: 6px;
  background: #eef8f4;
}

.enterprise-service-grid {
  align-items: stretch;
}

.enterprise-service-card {
  display: grid;
  min-height: 230px;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(17, 48, 43, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.enterprise-service-card strong {
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1;
  font-weight: 900;
}

.enterprise-service-card span {
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
}

.enterprise-service-card:hover,
.enterprise-service-card:focus-visible {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 20px 44px rgba(15, 123, 99, 0.2);
  transform: translateY(-4px);
}

.enterprise-service-card:hover span,
.enterprise-service-card:focus-visible span {
  color: rgba(255, 255, 255, 0.82);
}

.split-section,
.salary-section,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 34px;
  align-items: stretch;
}

.split-section {
  align-items: stretch;
}

.split-section .section-copy {
  display: flex;
  flex-direction: column;
}

.headhunt-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.headhunt-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(15, 123, 99, 0.18);
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.headhunt-action:hover,
.headhunt-action:focus-visible {
  background: var(--green-dark);
  box-shadow: 0 18px 38px rgba(15, 123, 99, 0.24);
  transform: translateY(-2px);
}

.process {
  display: grid;
  flex: 1;
  grid-template-rows: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-left: 4px solid var(--green);
  background: #f1f7f4;
}

.process span {
  color: var(--muted);
}

.case-card {
  padding: 30px;
  box-shadow: var(--shadow);
}

.case-stack {
  display: grid;
  gap: 18px;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.case-stats span {
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
}

.case-stats strong {
  display: block;
  font-size: 24px;
}

.expert-card {
  display: grid;
}

.expert-profile-card {
  gap: 18px;
  padding: 0;
  overflow: hidden;
}

.expert-top {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 22px 0;
}

.expert-photo {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #e4eee9;
  box-shadow: 0 0 0 4px #d9ede5, 0 12px 24px rgba(15, 55, 47, 0.16);
}

.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-profile-card h3 {
  margin-bottom: 4px;
}

.expert-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.expert-summary {
  margin: 0 22px;
  color: #2f3e3a;
}

.expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px;
}

.expert-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid #cce2da;
  border-radius: 999px;
  color: var(--green-dark);
  background: #f3faf7;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.expert-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: auto;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  background: #f7fbf9;
}

.expert-foot a {
  display: inline-flex;
  min-width: 118px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #b7ddd4;
  border-radius: 8px;
  background: #eef8f4;
  color: var(--green-dark);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(13, 132, 104, 0.08);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.expert-foot a:hover,
.expert-foot a:focus-visible {
  border-color: var(--green);
  background: linear-gradient(135deg, var(--green), #10a88b);
  color: #fff;
  box-shadow: 0 14px 26px rgba(13, 132, 104, 0.22);
  transform: translateY(-1px);
}

.avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--gold));
  font-size: 24px;
  font-weight: 900;
}

.expert-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.report-grid article,
.service-grid article {
  padding: 22px;
}

.report-grid span {
  color: var(--gold);
  font-weight: 900;
}

.salary-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 760px);
  gap: 28px;
  align-items: stretch;
  padding-top: 54px;
  padding-bottom: 54px;
  background:
    radial-gradient(circle at 78% 24%, rgba(21, 170, 127, 0.18), transparent 34%),
    linear-gradient(135deg, #0b1f1b, #122b25);
  color: #fff;
}

.salary-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.salary-copy h2 {
  max-width: 620px;
  font-size: clamp(34px, 3.6vw, 60px);
  line-height: 1.08;
}

.salary-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
}

.salary-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
}

.salary-stats span {
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.salary-stats strong {
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.salary-tool {
  display: grid;
  gap: 14px;
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 760px;
  padding: 20px;
  color: var(--ink);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.salary-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 2px;
}

.salary-tool-head h3 {
  margin: 0;
  font-size: 20px;
}

.salary-insight-link {
  color: var(--green-dark);
  font-weight: 900;
  transition: color 180ms ease, transform 180ms ease;
}

.salary-insight-link::after {
  content: ">";
  margin-left: 6px;
}

.salary-insight-link:hover,
.salary-insight-link:focus-visible {
  color: var(--green);
  transform: translateX(2px);
}

.salary-tool.is-locked {
  position: relative;
}

.salary-tool.is-locked::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, .28);
  content: "";
  pointer-events: none;
}

.salary-tool.is-locked :is(input, select, button) {
  color: #7a8984;
  background: #f4f7f6;
  cursor: not-allowed;
}

.salary-locked-note {
  display: block;
  margin-top: 4px;
  color: #8a9792;
  font-size: 13px;
  font-weight: 500;
}

.salary-insight-link.is-locked {
  color: #8a9792;
  cursor: not-allowed;
  text-decoration: none;
}

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

.salary-field {
  position: relative;
  display: grid;
  gap: 6px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 900;
  color: var(--muted);
}

.salary-label {
  display: block;
}

.region-picker {
  position: relative;
}

.region-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.region-trigger::after {
  content: "⌄";
  color: var(--ink);
  font-size: 16px;
}

.region-picker.open .region-trigger {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(18, 135, 105, 0.16);
}

.region-trigger:hover,
.region-trigger:focus-visible {
  border-color: #b9dcd0;
  box-shadow: 0 0 0 2px rgba(18, 135, 105, 0.1);
}

.region-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow: auto;
  padding: 8px;
  border: 1px solid #c7d8d2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(16, 43, 38, 0.16);
}

.region-group,
.region-subgroup {
  border-bottom: 1px solid #edf3f0;
}

.region-group:last-child,
.region-subgroup:last-child {
  border-bottom: 0;
}

.region-group summary,
.region-subgroup summary {
  padding: 9px 8px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.region-group summary::-webkit-details-marker,
.region-subgroup summary::-webkit-details-marker {
  display: none;
}

.region-group summary::after,
.region-subgroup summary::after {
  content: ">";
  float: right;
  color: var(--muted);
  display: inline-block;
}

.region-group[open] > summary::after,
.region-subgroup[open] > summary::after {
  transform: rotate(90deg);
}

.region-subgroup {
  margin-left: 10px;
}

.region-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0 8px 8px 18px;
}

.region-options button {
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f5faf8;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.region-options button:hover,
.region-options button:focus-visible,
.region-options button.active {
  border-color: #b9dcd0;
  background: #e5f4ee;
  color: var(--green-dark);
}

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

.salary-tool label {
  margin-bottom: 0;
  font-size: 14px;
}

.salary-tool select,
.salary-tool input {
  min-height: 42px;
  padding: 8px 10px;
}

.checkbox-field,
.benefit-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  margin-bottom: 0;
}

.benefit-field {
  gap: 18px;
}

.mini-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.checkbox-field input,
.mini-checkbox input {
  width: 18px;
  height: 18px;
  min-height: auto;
  padding: 0;
  margin: 0;
  accent-color: var(--green);
}

.salary-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  gap: 12px;
}

.salary-submit {
  width: 100%;
  min-height: 46px;
}

.salary-reset {
  width: 100%;
  min-height: 46px;
  border-color: #b9dcd0;
  color: var(--green-dark);
  background: #fff;
}

.salary-insight-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 0;
  width: 100%;
  margin-top: 4px;
  padding: 0;
  color: var(--ink);
  border: 1px solid #e2ebe7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.salary-insight-card[hidden] {
  display: none;
}

.salary-insight-top,
.salary-insight-bottom {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 0;
}

.salary-insight-bottom {
  grid-template-columns: 1.05fr 1fr 1.05fr;
}

.salary-insight-card section {
  min-height: 148px;
  padding: 18px 22px;
  border-right: 1px solid #e7efec;
  border-bottom: 1px solid #e7efec;
  background: #fff;
}

.salary-insight-card section:last-child,
.salary-insight-top section:last-child {
  border-right: 0;
}

.salary-insight-bottom section {
  min-height: 210px;
  border-bottom: 0;
}

.salary-insight-card h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #243a35;
}

.salary-range-main {
  display: inline-block;
  margin-right: 18px;
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.salary-median {
  color: #506760;
  font-weight: 800;
}

.salary-range-line {
  position: relative;
  height: 24px;
  margin-top: 18px;
}

.salary-range-line span {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dce8e4, #b9dcd0, #cdd4e5);
}

.salary-range-line b {
  position: absolute;
  top: 2px;
  left: 51%;
  width: 16px;
  height: 16px;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.salary-range-ticks {
  display: flex;
  justify-content: space-between;
  color: #657971;
  font-size: 13px;
}

.salary-data-note {
  margin: 12px 0 0;
  padding: 7px 10px;
  border-radius: 6px;
  background: #ddf3eb;
  color: #347666;
  font-size: 13px;
  font-weight: 800;
}

.salary-signal-card {
  background: linear-gradient(180deg, #f9fdfb, #f3faf7);
}

.signal-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: #e3f4ee;
  color: var(--green);
  font-weight: 900;
}

.salary-signal-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 20px;
  letter-spacing: 1px;
}

.salary-signal-card p,
.salary-signal-card em,
.salary-advice-card p,
.salary-advice-card li {
  color: #506760;
  font-size: 14px;
  line-height: 1.65;
}

.salary-signal-card p {
  margin: 0 0 2px;
  font-weight: 900;
}

.salary-signal-card em {
  font-style: normal;
}

.compare-row {
  display: grid;
  grid-template-columns: 120px minmax(70px, 1fr) 118px;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
  color: #506760;
  font-size: 14px;
}

.compare-row b {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) var(--bar), #edf5f2 var(--bar));
}

.compare-row em,
.company-pay-row em {
  color: #506760;
  font-style: normal;
  text-align: right;
}

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

.salary-subhead a {
  color: var(--green);
  font-weight: 900;
}

.company-pay-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 7px 0;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f8fbfa;
  color: #506760;
  font-size: 14px;
}

.salary-advice-card strong {
  display: block;
  margin: 8px 0 4px;
  color: #243a35;
}

.salary-advice-card ul {
  margin: 0;
  padding-left: 18px;
}

.salary-advice-card p {
  margin: 0;
}

.form-section {
  background: #fff;
}

.lead-form {
  display: grid;
  height: 100%;
}

.lead-form input,
.lead-form textarea {
  font-weight: 400;
}

.lead-form-note {
  min-height: 22px;
  margin: 8px 0 0;
  color: #078066;
}

.lead-form-note[hidden] {
  display: none;
}

.lead-preview-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lead-preview-modal[hidden] { display: none; }

.lead-preview-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 38, 34, .56);
  backdrop-filter: blur(3px);
}

.lead-preview-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 36px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(12, 38, 31, .28);
}

.lead-preview-dialog__close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: 0;
  background: transparent;
  color: #243a35;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.lead-preview-dialog__header { display: flex; gap: 16px; align-items: flex-start; }
.lead-preview-dialog__header h2 { margin: 0; color: #1d2e29; font-size: 30px; }
.lead-preview-dialog__header p { margin: 8px 0 0; color: #70837d; }
.lead-preview-dialog__icon { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid #078066; border-radius: 8px; color: #078066; font-size: 26px; }
.lead-preview-card { margin-top: 24px; padding: 24px; border: 1px solid #bfe7dd; border-radius: 14px; background: #f4fbf9; }
.lead-preview-recipient { margin: 0 0 22px; color: #243a35; font-size: 18px; }
.lead-preview-card dl { display: grid; gap: 14px; margin: 0; }
.lead-preview-card dl div { display: grid; grid-template-columns: 118px 1fr; gap: 14px; }
.lead-preview-card dt, .lead-preview-card dd { margin: 0; color: #243a35; }
.lead-preview-card dt, .lead-preview-requirement strong { font-weight: 800; }
.lead-preview-requirement { margin-top: 20px; padding-top: 18px; border-top: 1px solid #d6ebe6; }
.lead-preview-requirement p { margin: 12px 0 0; color: #243a35; line-height: 1.7; white-space: pre-wrap; }
.lead-preview-dialog__actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 26px; }
.lead-preview-dialog__actions .btn { min-width: 142px; }

@media (max-width: 640px) {
  .lead-preview-dialog { padding: 26px 20px; }
  .lead-preview-dialog__header h2 { font-size: 25px; }
  .lead-preview-card { padding: 18px; }
  .lead-preview-card dl div { grid-template-columns: 96px 1fr; gap: 8px; }
  .lead-preview-dialog__actions .btn { min-width: 0; flex: 1; }
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(17, 48, 43, 0.06);
}

.logo-tile {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 48, 43, 0.06);
}

.logo-tile img {
  display: block;
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.about-section {
  max-width: 1180px;
}

.about-section h2 {
  margin-bottom: 18px;
  color: #0f1715;
  font-size: clamp(32px, 3.7vw, 52px);
  font-weight: 900;
  line-height: 1.08;
}

.about-section p {
  max-width: 1120px;
  font-size: 18px;
  line-height: 1.8;
}

.about-slogan {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 28px 0 8px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
}

.about-slogan span:nth-child(1) {
  color: #0f7b63;
}

.about-slogan span:nth-child(2) {
  color: #c68a2c;
}

.about-slogan span:nth-child(3) {
  color: #164c72;
}

.about-slogan span:nth-child(4) {
  color: #0f8c8c;
}

.about-slogan span:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--deep);
}

.site-footer strong {
  color: #fff;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-nav.open {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 6px;
    padding-top: 12px;
  }

  .logic-grid,
  .job-list,
  .expert-grid,
  .report-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-layout,
  .split-section,
  .salary-section,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .salary-insight-top,
  .salary-insight-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .salary-range-card,
  .salary-advice-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body { overflow-x: hidden; }
  .hero-portals, .logic-grid { grid-template-columns: 1fr; }
  .job-marquee-track > * { flex-basis: min(320px, calc(100vw - 32px)); }
  .hero-content { width: calc(100% - 32px); max-width: none; }
  .home-job-search-form { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .home-job-search-field, .home-job-search-field.home-job-search-region, .home-job-search-submit { width: 100%; min-width: 0; }
  .home-hot-searches { width: 100%; }
}

/* Homepage component token bridge */
.header-action,
.service-button-card,
.mini-job-card,
.expert-card,
.report-card,
.salary-tool {
  border-color: var(--color-border);
}

.service-button-card,
.mini-job-card,
.expert-card,
.report-card,
.salary-tool {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.service-button-card:hover,
.service-button-card:focus-visible,
.mini-job-card:hover,
.expert-card:hover,
.report-card:hover {
  border-color: var(--color-primary-500);
}

.mini-job-card em,
.expert-tags span {
  border-radius: var(--radius-pill);
  background: var(--color-primary-100);
  color: var(--color-primary-700);
}

.text-link,
.salary-insight-link { color: var(--color-primary-700); }

.mini-job-card a { color: #fff; }

@media (max-width: 680px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 48px 0 36px;
  }

  .inline-head {
    align-items: stretch;
    flex-direction: column;
  }

  .expert-head {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .headhunt-head {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .headhunt-action {
    justify-self: start;
  }

  .logic-grid,
  .expert-grid,
  .report-grid,
  .service-grid,
  .job-list,
  .case-stats {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics span {
    border: 0;
  }

  .hero-metrics span:last-child {
    border: 0;
  }

  .salary-field-grid,
  .salary-extra-grid,
  .salary-actions,
  .salary-stats {
    grid-template-columns: 1fr;
  }

  .salary-tool-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .salary-insight-top,
  .salary-insight-bottom {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .compare-row em {
    text-align: left;
  }

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

  .process li {
    grid-template-columns: 1fr;
  }

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